> ## 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.

# GetWorkbenchResourceById

> Retrieves a single workbench resource by its ID



**query** `GetWorkbenchResourceById(id: ID!): WorkbenchResource!`

## Arguments

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

## Returns

`WorkbenchResource!`

**`id`**: `ID!`

This workbench resource's unique ID.

---

**`number`**: `String!`

This workbench resource's unique number.

---

**`name`**: `String!`

This workbench resource's name.

---

**`description`**: `String!`

This workbench resource's description.

---

**`workbenchResourceTypeId`**: `ID!`

The ID of the resource type assigned to this workbench resource.

---

**`hostName`**: `String!`

The name of the host assigned to this workbench resource.

---

**`warehouseId`**: `ID!`

The ID of the warehouse assigned to this workbench resource.

---

**`reservationMode`**: `ReservationMode!`

The reservation mode of this workbench resource.

---

**`autoShowProcessParameterValuesInProduction`**: `Boolean!`

Specifies whether the dialog for displaying and/or capturing process parameter values in the context of production should be displayed automatically when process parameter values can/must be displayed or captured.

---

**`expiredComponentsUsage`**: `ExpiredComponentsUsage!`

Specifies whether and to what extent the use of expired components is permitted.

---

**`replenishmentCreationStockReservationMode`**: `ReplenishmentCreationAvailableStockReservationMode!`

Specifies wthether and how available stock should be reserved when creating a replenishment order.

## Examples

```graphql Query
query GetWorkbenchResourceById($id: ID!) {
  GetWorkbenchResourceById(id: $id) {
    id
    number
    name
    description
    workbenchResourceTypeId
    hostName
  }
}
```

```json Variables
{
  "id": "id"
}
```

```json Response
{
  "data": {
    "GetWorkbenchResourceById": {
      "id": "id",
      "number": "string",
      "name": "string",
      "description": "string",
      "workbenchResourceTypeId": "id",
      "hostName": "string"
    }
  }
}
```
