A
A
API
Search…
Get

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 parametersRun request
1
Copied!
curl
PHP
JavaScript
Java
Example:
1
curl -X GET -H "X-ACCESS-TOKEN: YOUR_ACCESS_TOKEN" "http://api.yumpu.com/2.0/account/member.json?id=vGbxpwFZuvvdAGnS"
Copied!
Example:
1
require_once('../yumpu.php');
2
$yumpu = new Yumpu();
3
$data = array(
4
'id' => 'vGbxpwFZuvvdAGnS'
5
);
6
$listMember = $yumpu->getMember($data);
7
print_r($listMember);
Copied!
Example:
1
var yumpu = require('yumpu');
2
yumpu.setToken('yourToken');
3
var parameters = {
4
id: 'vGbxpwFZuvvdAGnS'
5
};
6
yumpu.getMember(parameters, function(statusCode, document){
7
console.log('Status: ' + statusCode);
8
console.log(document);
9
});
Copied!
Example:
1
Yumpu y = new Yumpu("your access token");
2
String[] params = {"id=vGbxpwFZuvvdAGnS"};
3
System.out.println(y.getMember(params));
Copied!
Whatever language you are using, the result will be the same.
1
{
2
"member": {
3
"id": "vGbxpwFZuvvdAGnS",
4
"create_date": "2014-11-03 12:59:52",
5
"update_date": "0000-00-00 00:00:00",
6
"username": "user1",
7
"password": "password",
8
"comment": "user1",
9
"access_tags": [
10
{
11
"id": "zxeeYReHnxeg8RqZ",
12
"name": "accesstag1",
13
"default": true
14
}
15
],
16
"kiosks": [
17
{
18
"id": "1572",
19
"type": "webkiosk"
20
}
21
]
22
},
23
"state": "success",
24
"completed_in": "0.0809"
25
}
Copied!
Last modified 1yr ago