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

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

An operation to run through the application.

## Properties

### body?

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

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

***

### headers

> `readonly` **headers**: `Readonly`<`Record`<`string`, `string`>>

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

Request headers, as built by [batchOperationHeaders](../functions/batchOperationHeaders.md).

***

### method

> `readonly` **method**: `string`

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

***

### remoteAddress?

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

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

Client address of the `$batch` request, so IP-based policies see the real client.

***

### timeoutMs?

> `readonly` `optional` **timeoutMs?**: `number`

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

Milliseconds to wait for the operation's response; then the dispatch rejects with
[BatchOperationTimeoutError](../classes/BatchOperationTimeoutError.md). Default: no limit.

***

### url

> `readonly` **url**: `string`

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

Path and query, e.g. `/odata/Products?$top=1`.
