A
A
API
Search…
Get

Retrieve one access tag

Parameters:

Name
Optional / Required
Data type
Description
Default
id
required
String
One of your access tag ids
return_fields
optional
String
Customize the responses by setting the return fields (id, name, description, default, iap, kiosks, create_date, update_date)
id, name, description, default, iap, 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/access_tag.json?id=HnD4YrKMeGjxH3xT"
Copied!
Example:
1
require_once('../yumpu.php');
2
$yumpu = new Yumpu();
3
$data = array(
4
'id' => 'HnD4YrKMeGjxH3xT',
5
'limit' => '2',
6
'offset' => '0'
7
);
8
$listAccesstag = $yumpu->getAccessTag($data);
9
print_r($listAccesstag);
Copied!
Example:
1
var yumpu = require('yumpu');
2
yumpu.setToken('yourToken');
3
var parameters = {
4
id: HnD4YrKMeGjxH3xT,
5
limit: 2,
6
offset: 0
7
};
8
yumpu.getAccessTag(parameters, function(statusCode, document){
9
console.log('Status: ' + statusCode);
10
console.log(document);
11
});
Copied!
Example:
1
Yumpu y = new Yumpu("your access token");
2
String[] params = { "id=HnD4YrKMeGjxH3xT", "limit=2", "offset=0" };
3
System.out.println(y.getAccessTag(params));
Copied!
Whatever language you are using, the result will be the same.
1
{
2
"access_tag": {
3
"id": "HnD4YrKMeGjxH3xT",
4
"create_date": "2015-01-27 08:54:41",
5
"update_date": "0000-00-00 00:00:00",
6
"name": "accesstag1",
7
"description": "accesstag1",
8
"default": false,
9
"iap": true,
10
"kiosks": [
11
{
12
"id": "72",
13
"type": "appkiosk"
14
}
15
]
16
},
17
"state": "success",
18
"completed_in": "0.0234"
19
}
Copied!
Last modified 1yr ago