-
Notifications
You must be signed in to change notification settings - Fork 5
Response
ashleybrener edited this page May 6, 2013
·
5 revisions
A Dynect API Response object has the following structure.
-
job_idString. The ID of the job that was created in response to a request.. -
statusString. 'success' | 'failure' | 'incomplete'. -
msgsArray. A list of zero or more Message objects (structure described below) regarding the results. -
dataObject. The structure containing the actual results of the request. Format depends on the request made.
-
SOURCEString. A debugging field. If reporting an error to your Dynect Concierge, be sure to include this. -
LEVELString. The severity of the message. 'FATAL' | 'ERROR' | 'WARN' | 'INFO' -
INFOString. The actual message itself. -
ERR_CDString. An error code (if appropriate) regarding the message. Valid values:-
DEPRECATED_REQUEST: The requested command is deprecated -
ILLEGAL_OPERATION: The operation is not allowed with this data set -
INTERNAL_ERROR: An error occurred that cannot be classified. -
INVALID_DATA: A field contained data that was invalid -
INVALID_REQUEST: The request was not recognized as a valid command -
INVALID_VERSION: The version number passed in was invalid -
MISSING_DATA: A required field was not provided -
NOT_FOUND: No results were found -
OPERATION_FAILED: The operation failed to complete successfully -
PERMISSION_DENIED: This user does not have permission to perform this action -
SERVICE_UNAVAILABLE: The requested service is currently unavailable -
TARGET_EXISTS: Attempted to add a duplicate resource -
UNKNOWN_ERROR: An error occurred that cannot be classified
-