+

Search Tips   |   Advanced Search

The generic XML data sink result object

The IBM Digital Data Connector data sink returns a JSON string. The JSON string contains the result information for the outbound interaction call that was performed.

The JSON object makes the following data available:

    status
    This member provides the return status of the interaction. If the target service responded to the outbound request with an error response, the status is set to the value error. Otherwise, the value is set to success.

    httpStatusCode
    This member provides the HTTP status code returned for the HTTP outbound call by the remote REST service. Designers can use it to distinguish between the following types of operations:

    • Operations that are not available, for example because the item to operate on was not found

    • Operations that are not permitted, because the user does not have sufficient privileges on the remote service.

    message
    This member returns the error message in case of an error.

    resultAttributeData
    This JSON member contains a JSON object with the name-value pairs of attributes the data sink reads from the XML document the target service returns. It contains the values for all attributes the corresponding ddc.itemattribute.operation parameter references using the action value get.

    passbackData
    This member contains a JSON object with the name-value pairs for all parameters of the processed operation specified using the ddc.passback.name parameters.

    resultHeaderData
    This member contains a JSON object with the name-value pairs that represent the HTTP response header field names and values specified using ddc.resultheaders parameters for the processed operation. The HTTP response header values refer to the response of the remote REST service.


Parent The generic XML Digital Data Connector data sink