
Copyright © 2009, 2010 Black Box Network Services
724-746-5500 | blackbox.com 27
XML API version 2
Command for which status is being returned
is the same as was specified in the request.
Numeric value to indicate success or failure of requested operation.
3.5 Shared Return Codes
These return codes apply to all commands in a command list. Individual commands may have their own errors that start
from 100.
0 - The command executed successfully.
1 - There was an error while executing the command.
2 - The command was not executed due to error(s) in a previous command.
3.6 Response List
Root element for all responses
Indicates an overall status of all commands in the command list.
0 - All commands succeeded
1 - Invalid XML
2 - Partial Failure- At least one command failed.
3 - command_list contained a mix of state changing and non-state changing
commands.
4 - The request was not sent with correct HTTP headers.
99 - For all other errors.
Error format
<response_list status_code="1">
<CMD_NAME_PLACEHOLDER command_id="user specified id" status_code="100">
<status>ERROR_MESSAGE_PLACEHOLDER</status>
</CMD_NAME_PLACEHOLDER>
27
Comentarios a estos manuales