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

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

Represents a single parsed sub-request from a batch body.
Produced by parseBatchBody() for individual requests and changeset sub-parts.

## Properties

### body?

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

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

Raw body string for POST/PATCH/PUT requests, undefined for GET/DELETE

***

### contentId?

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

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

Content-ID header value for referencing the result within a changeset

***

### headers

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

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

Parsed headers from the embedded HTTP request

***

### kind

> `readonly` **kind**: `"request"`

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

***

### method

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

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

HTTP method: GET, POST, PATCH, PUT, DELETE

***

### url

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

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

The URL from the embedded HTTP request line
