BatchResponse
Entity to encapsulate the response to a BatchRequest. Data returned from a call the BatchService is a collection of these entities.
ResponseEntities come in three varieties:
data
field.
result
field.
error
field.
For a more complete rendition of a batch response, see the BatchService page.
Fields
Field | Type | Mode † | Description |
---|---|---|---|
data | Object | read-only | The data returned by this call, if appropriate. If this BatchResponse contains an expanded results collection, the data field is not present. |
error | Object | read-only | An object explaining what went wrong. |
href | String | read-only | The URI of endpoint used in this call. If this BatchResponse contains an expanded results collection, the href field is not present. |
id | String | read-only | The id of this response. The value of this field directly correlates to BatchItem.key. If this BatchResponse is part of an expanded results collection, the id field is not present. |
result | BatchResponse[] | read-only | The collection of expanded results. |
status | Integer | read-only | The HTTP status code returned by this call. |