A
A
API
Search…
A
A
API
Yumpu documentations
JS
Introduction
Quick setup
Magazine example's
Bookshelf example's
FAQs
API
Introduction
Getting started
Limits
Flowchart of basic processes
Documents
Document
Document hotspots
Document hotspot
Document progress
Document categories
Document languages
Countries
Collections
Collection
Section
Section document
Search
User
Embeds
Embed
Members
Member
Access tags
Access tag
Get
Post
Put
Delete
Subscriptions
Subscription
Powered By
GitBook
Put
Update an existing access tag
Parameters:
Name
Optional / Required
Data type
Description
Default
id
required
String
One of your access tag ids
​
name
required
String
min. 1 characters, max. 50 characters
​
description
optional
String
min. 1 characters, max. 255 characters
​
default
optional
String
yes or no (y or n)
n
iap
optional
String
yes or no (y or n)
n
kiosks
optional
String
One or multiple kiosk ids (webkiosk_123 or webkiosk_123,appkiosk_456), values must start with webkiosk_ or appkiosk_
​
curl
PHP
JavaScript
Java
Example:
1
curl -X PUT -H "X-ACCESS-TOKEN: YOUR_ACCESS_TOKEN" -d "id=pR0VV9tCh5q4ZrEx" -d "name=accesstag7" -d "description=accesstag7" -d "default=n" -d "iap=n" -d "kiosks=webkiosk_25,webkiosk_1572" "https://api.yumpu.com/2.0/account/access_tag.json"
Copied!
Example:
1
require_once
(
'../yumpu.php'
);
2
$yumpu
=
new
Yumpu
();
3
$data
=
array
(
4
'id'
=>
'pR0VV9tCh5q4ZrEx'
,
5
'name'
=>
'accesstag7'
,
6
'description'
=>
'accesstag7'
,
7
'default'
=>
'n'
,
8
'iap'
=>
'n'
,
9
'kiosks'
=>
'webkiosk_25,webkiosk_1572'
10
);
11
$putAccessTag
=
$yumpu
->
putAccessTag
(
$data
);
12
print_r
(
$putAccessTag
);
Copied!
Example:
1
var
yumpu
=
require
(
'yumpu'
);
2
yumpu
.
setToken
(
'yourToken'
);
3
var
parameters
=
{
4
id
:
'pR0VV9tCh5q4ZrEx'
,
5
name
:
'accesstag7'
,
6
description
:
'accesstag7'
,
7
default
:
'n'
,
8
iap
:
'n'
,
9
kiosks
:
'webkiosk_25,webkiosk_1572'
10
};
11
yumpu
.
putAccessTag
(
parameters
,
function
(
statusCode
,
document
){
12
console
.
log
(
'Status: '
+
statusCode
);
13
console
.
log
(
document
);
14
});
Copied!
Example:
1
Yumpu
y
=
new
Yumpu
(
"your access token"
);
2
String
[]
params
=
{
"id=pR0VV9tCh5q4ZrEx"
,
"name=accesstag7"
,
"description=accesstag7"
,
"defaul=n"
,
"iap=n"
,
"kiosks=webkiosk_25,webkiosk_1572"
};
3
System
.
out
.
println
(
y
.
putAccessTag
(
params
));
Copied!
Whatever language you are using, the result will be the same.
1
{
2
"access_tag"
:
{
3
"id"
:
"pR0VV9tCh5q4ZrEx"
,
4
"create_date"
:
"2015-02-03 11:45:01"
,
5
"update_date"
:
"2015-02-03 12:10:08"
,
6
"name"
:
"accesstag7"
,
7
"description"
:
"accesstag7"
,
8
"default"
:
false
,
9
"iap"
:
false
,
10
"kiosks"
:
[
11
{
12
"id"
:
"25"
,
13
"type"
:
"webkiosk"
14
},
15
{
16
"id"
:
"1572"
,
17
"type"
:
"webkiosk"
18
}
19
]
20
},
21
"state"
:
"success"
,
22
"completed_in"
:
"0.2296"
23
}
Copied!
Previous
Post
Next
Delete
Last modified
4mo ago
Copy link
Contents
Update an existing access tag
Parameters: