Share via


BatchSubResponse interface

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

Properties

bodyAsText

The body as text.

errorCode

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

headers

The HTTP response headers.

status

The status code of the sub operation.

statusMessage

The status message of the sub operation.

Property Details

bodyAsText

The body as text.

TypeScript
bodyAsText?: string

Property Value

string

errorCode

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

TypeScript
errorCode?: string

Property Value

string

headers

The HTTP response headers.

TypeScript
headers: HttpHeadersLike

Property Value

status

The status code of the sub operation.

TypeScript
status: number

Property Value

number

statusMessage

The status message of the sub operation.

TypeScript
statusMessage: string

Property Value

string