Post

Create a new member

Parameters:

Name

Optional / Required

Data type

Description

Default

username

required

String

min. 2 characters, max. 50 characters, allowed characters a-z, 0-9, dot (.), @, hyphen (-) and underscore (_)

password

required

String

The value must be transmitted as md5

comment

optional

String

min. 4 characters, max. 50 characters

access_tags

optional

String

One or multiple access_tag ids (myid1 or myid1,myid2)

kiosks

optional

String

One or multiple kiosk ids (webkiosk_123 or webkiosk_123,appkiosk_456), values must start with webkiosk_ or appkiosk_

Demo

URL Find your token on - yumpu.com Token

username password

Optional parameters:

comment access_tags kiosks

Add optional parametersRun request

Example:

curl -X POST -H "X-ACCESS-TOKEN: YOUR_ACCESS_TOKEN" -d "username=user8" -d "password=f5bd63761dfd505514a7c94501825441" -d "comment=user8" -d "access_tags=zxeeYReHnxeg8RqZ" "https://api.yumpu.com/2.0/account/member.json"

Whatever language you are using, the result will be the same.

{
  "member": {
    "id": "GuTIyoCZmWlnHjXP",
    "create_date": "2015-02-03 09:28:07",
    "update_date": "0000-00-00 00:00:00",
    "username": "user7",
    "password": "f5bd63761dfd505514a7c94501825441",
    "comment": "user8",
    "access_tags": [
      {
        "id": "zxeeYReHnxeg8RqZ",
        "name": "accesstag1",
        "default": true
      }
    ],
    "kiosks": [

    ]
  },
  "state": "success",
  "completed_in": "0.1563"
}

Last updated