|
|
|
API RESPONSE - XML Format.
|
| |
|
|
Anveo server responses to API Requests are XML Message in the following format.
|
|
<?xml version="1.0" standalone="no" ?>
<RESPONSE>
<RESULT>TEXT MESSAGE OF THE RESPONSE</RESULT>
<VALUE NAME="RESULT NAME 1 like REQUESTID">RESULT VALUE 1</VALUE>
<VALUE NAME="RESULT NAME 2 like REQUESTID">RESULT VALUE 2</VALUE>
<ERROR>TEXT OF THE ERROR MESSAGE</ERROR>
</RESPONSE>
|
|
|
-
RESULT XML tag contains a description of the returned message.
-
When ERROR XML tag is not empty it means that there was an error processing the API Request and it will have a description of the error.
-
VALUE XML tag is used to return data. The NAME attribute describes a name of the returned value.
|
|
|
To verify the success or failure of the API request you can check for the presence of ERROR XML tag and in case of API errors it will have description of the error.
|
|
|
Please remember that XML is CASE SENSITIVE. All ANVEO API XML tags and attributes should be in upper case.
|
|
|