Request Example
http://192.168.1.1:9080/api/server/keys.ds
Response Documents Structure
•XML response. •JSON response. XML Response Structure
<drweb-avdesk-api api_version="4.1.3" timestamp="1410158886" server="192.168.1.1" srv_version="10.01.0.201707130" status="true">
<keys>
<key id="22be0dead6fce942-0cb7d1ec6596a783" user="17a536bd-c6e5-8b37-c0b9-414b8bb7aa75" created="1353499897" expires="1448712697" activation="1353499897" clients="1400001"/>
</keys>
</drweb-avdesk-api>
|
Description of XML Response Parameters
•The <keys /> element contains information on all license keys used by this Server. ▫The <key /> element contains information on a specific license key. The <key /> element attributes:
Attribute
|
Description
|
id
|
Identifier of a key
|
user
|
Identifier of a user
|
created
|
Key creation date
|
expires
|
License expiration date
|
activation
|
License activation date
|
clients
|
Number of clients
|
JSON Response Structure
{ "head": {
"status": true,
"timestamp":1410159002,
"api":{
"version":40103
},
"server":{
"name":"192.168.1.1",
"version":1000201707130,
"uuid": "70c5f522-aaab-4c93-a180-a442a0da9c2a"
}
},
"data":{
"keys": [{"user_name":"17a536bd-c6e5-8b37-c0b9-414b8bb7aa75","clients":1400001,"id":"22be0dead6fce942-0cb7d1ec6596a783","created":1353499897,"expires":1448712697,"activation":1353499897}]
}}
|
Description of JSON Response Parameter
The keys block contains information on all license keys used by this Server.
The keys block elements:
Field name
|
Description
|
id
|
Identifier of a key
|
user
|
Identifier of a user
|
created
|
Key creation date
|
expires
|
License expiration date
|
activation
|
License activation date
|
clients
|
Number of clients
|
|