BatchResponse

WebApiClient. BatchResponse

new BatchResponse(parametersopt)

Source:
See:

Response returned from WebApiClient.SendBatch method. You will usually not instantiate this yourself.

Parameters:
Name Type Attributes Description
parameters Object <optional>
Properties
Name Type Attributes Description
name String <optional>

The name of the batch response

changeSetResponses Array.<{name:string, responses:Array.<Response>}> <optional>

Array of responses for change sets, each change set has a separate response

batchResponses Array.<Response> <optional>

Array of responses for GET batch requests

isFaulted bool <optional>

Indicates whether any of the requests failed

errors Array.<string> <optional>

List of error messages if requests failed

xhr XMLHttpRequest <optional>

XMLHttpRequest to use for parsing the results and filling the other properties

Members

batchResponses

Source:
Properties:
Name Type Description
batchResponses Array.<Response>

Array of responses for GET batch requests

changeSetResponses

Source:
Properties:
Name Type Description
changeSetResponses Array.<{name:string, responses:Array.<Response>}>

Array of responses for change sets, each change set has a separate response

errors

Source:
Properties:
Name Type Description
errors Array.<string>

List of error messages if requests failed

isFaulted

Source:
Properties:
Name Type Description
isFaulted bool

Indicates whether any of the requests failed

name

Source:
Properties:
Name Type Description
name String

Name of the batch response