2.1. General Structure of Response Documents |
To receive a response in the XML format, send a request in the following format: http://<host>:9080/api/<object>/<script>.ds?<parameters> or https://<host>:9081/api/<object>/<script>.ds?<parameters> where: <host>—IP address or DNS name of a computer with the Server installed <object>—managing object: station, group, Server, administrator available scripts and their parameters are described below As a response, you receive an xml document with the following content:
Attributes of the <drweb-avdesk-api /> root element
If an error occurred during operation(status=’false’), then the <error> element containing an error text and code will be included in the XML body. An error is described in the <message> element while an error code is in the <errno> element.
Error codes are given in the Returned error codes section. Date and time in all elements of Web API 4.1.3 scripts are returned in the Unix timestamp format. |