Request Parameters
Parameter
|
Description
|
Note
|
Mandatory
|
login
|
Administrator account login
|
This parameter can be defined in the request several times to delete multiple administrators at a time
|
yes
|
Request Example
http://192.168.1.1:9080/api/admins/delete.ds?login=adm4
Response Documents Structure
•XML response. •JSON response. XML Response Structure
<drweb-avdesk-api api_version="4.1.3" timestamp="1395657955" server="192.168.1.1" srv_version="10.01.0.201707130" status="true">
<administrators total="1">
<administrator id="4"/>
</administrators>
</drweb-avdesk-api>
|
Description of XML Response Parameters
•The <administrators /> element contains information about all deleted administrators. The <administrators /> element attributes:
Attribute
|
Description
|
total
|
Total number of deleted administrators
|
▫The <administrator /> element contains information about a specific deleted administrator account. The <administrator /> element attributes:
Attribute
|
Description
|
id
|
Identifier of deleted account
|
JSON Response Structure
{ "head": {
"status": true,
"timestamp": 1395658145,
"api": {
"version": 40103
},
"server": {
"name": "192.168.10.144",
"version": 1000201707130,
"uuid": "1023dcd7-d11d-b211-896d-8804c0842edb"
}
},
"data": {
"administrators": {
"total": 2,
"list": [{
"id": "10ccf4d9-d11d-b211-a9f9-840701ce1bdd"
},{
"id": "40830429-d21d-b211-a9fd-840701ce1bdd"
}]
}
}}
|
Description of JSON Response Parameters
•The administrators block contains information about all deleted administrators. The administrators block elements:
Field name
|
Description
|
total
|
Total number of deleted accounts
|
▫The list array contains information about specific deleted tariff groups. Elements in the list array:
Field name
|
Description
|
id
|
Identifier of deleted account
|
|