Retrieve an existing member

Parameters:

Name Optional / Required Data type Description Default
id required String One of your member ids
return_fields optional String Customize the responses by setting the return fields ('id', 'username', 'comment', 'password', 'access_tags', 'kiosks', 'create_date', 'update_date') 'id', 'username', 'comment', 'password', 'access_tags', 'kiosks', 'create_date', 'update_date'

Demo

URL
Find your token on - yumpu.com
Token
id

Optional parameters:

return_fields
Add optional parameters
Run request

Example:

curl -X GET -H "X-ACCESS-TOKEN: YOUR_ACCESS_TOKEN" "http://api.yumpu.com/2.0/account/member.json?id=vGbxpwFZuvvdAGnS"

Example:

require_once('../yumpu.php');
$yumpu = new Yumpu();
$data = array(
    'id' => 'vGbxpwFZuvvdAGnS'
);
$listMember = $yumpu->getMember($data);
print_r($listMember);

Example:

var yumpu = require('yumpu');
yumpu.setToken('yourToken');
var parameters = {
  id: 'vGbxpwFZuvvdAGnS'
};
yumpu.getMember(parameters, function(statusCode, document){
   console.log('Status: ' + statusCode);
   console.log(document);
});

Example:

Yumpu y = new Yumpu("your access token");
String[] params = {"id=vGbxpwFZuvvdAGnS"};
System.out.println(y.getMember(params));

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

{
  "member": {
    "id": "vGbxpwFZuvvdAGnS",
    "create_date": "2014-11-03 12:59:52",
    "update_date": "0000-00-00 00:00:00",
    "username": "user1",
    "password": "password",
    "comment": "user1",
    "access_tags": [
      {
        "id": "zxeeYReHnxeg8RqZ",
        "name": "accesstag1",
        "default": true
      }
    ],
    "kiosks": [
      {
        "id": "1572",
        "type": "webkiosk"
      }
    ]
  },
  "state": "success",
  "completed_in": "0.0809"
}

results matching ""

    No results matching ""