Package version:

Interface BatchSubResponse

The response data associated with a single request within a batch operation.

interface BatchSubResponse {
    _request: BatchSubRequest;
    bodyAsText?: string;
    errorCode?: string;
    headers: HttpHeadersLike;
    status: number;
    statusMessage: string;
}

Properties

_request: BatchSubRequest

The batch sub request corresponding to the sub response.

bodyAsText?: string

The body as text.

errorCode?: string

The error code of the sub operation, if the sub operation failed.

headers: HttpHeadersLike

The HTTP response headers.

status: number

The status code of the sub operation.

statusMessage: string

The status message of the sub operation.