> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AddOperationResourceCommandRequestInput

> Assigns a resource to an operation. errorCode is `OPERATION_NOT_FOUND` if the operation does not exist, `RESOURCE_NOT_FOUND` if the resource does not exist and `OPERATION_RESOURCE_ALREADY_ASSIGNED` if the resource is already assigned to the operation. - Request



**Kind**: `input`

## Fields

**`operationId`**: `ID!` (required)

The ID of the operation.

---

**`resourceId`**: `ID!` (required)

The ID of the resource to assign.

---

**`idempotencyKey`**: `String`

Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.

