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

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

The response of an operation run through the application.

## Properties

### body?

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

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

Response body bytes, `undefined` when empty.

***

### headers

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

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

Response headers, lower-case, without connection-level headers. Multi-valued headers
(`Set-Cookie`) keep one entry per value.

***

### statusCode

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

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