Black Box Version 1.0 Manual de usuario Pagina 27

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 42
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 26
Copyright © 2009, 2010 Black Box Network Services
724-746-5500 | blackbox.com 27
XML API version 2
Attribute
Notes
<response_list>
Details
status_code
<set_ad_hoc_item_info>
Command for which status is being returned
command_id
is the same as was specified in the request.
status_code
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
XML Node
Notes
<response_list>
Root element for all responses
status_code
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
Vista de pagina 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 41 42

Comentarios a estos manuales

Sin comentarios