---
url: /nestjs-odata/api/generated/interfaces/BatchResponsePart.md
---
# Interface: BatchResponsePart

Defined in: [batch/batch-types.ts:58](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/batch/batch-types.ts#L58)

Represents the HTTP response for a single operation within a batch response.

## Properties

### body?

> `readonly` `optional` **body?**: `string` | `Buffer`<`ArrayBufferLike`>

Defined in: [batch/batch-types.ts:66](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/batch/batch-types.ts#L66)

Serialized response body, if any: text, or the raw bytes of a binary body

***

### contentId?

> `readonly` `optional` **contentId?**: `string`

Defined in: [batch/batch-types.ts:60](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/batch/batch-types.ts#L60)

Content-ID from the corresponding request part, if any

***

### headers

> `readonly` **headers**: `Readonly`<`Record`<`string`, `string` | readonly `string`\[]>>

Defined in: [batch/batch-types.ts:64](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/batch/batch-types.ts#L64)

Response headers for this operation (one entry per value for `Set-Cookie`)

***

### statusCode

> `readonly` **statusCode**: `number`

Defined in: [batch/batch-types.ts:62](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/batch/batch-types.ts#L62)

HTTP status code for this operation
