> For the complete documentation index, see [llms.txt](https://developers.praxedo.com/under-dev-1/llms.txt)

# Get list of used items on a work order

> GET /eTech/rest/ws/fieldService/v1/workOrders/code:{workOrderCode}/usedItems
> 
> Returns the used items declared on a work order, sorted by `lastUpdate` ascending.
> 
> **Rules**
> - Items are returned only for work orders in status SYNCHRONIZED or above, else the list is empty.
> - Booked and ordered items are not returned.
> 
> Pair with the `workorder.validation` webhook to fetch the used items once the work order is validated.
> 
> Rate limit range : High



## Servers
- The node of your Praxedo instance (eu1, am1...).: https://ws-eu1.praxedo.com (The node of your Praxedo instance (eu1, am1...).)


## Authentication methods
- Bearer authentication


## Parameters

### Path parameters

- **workOrderCode** (string)
  Business code of the work order. Case insensitive.


### Query parameters

- **continuationToken** (string)
  The continuation token which was received in the previous request. It contains information on the page to fetch. If not present, then the first page of results will be returned.

- **size** (integer)
  Maximum number of items returned per page. Hard limit 200.

- **invoiceMode** (string)
  Filter items by billing ownership. Omit it to get every item. Any other value is refused.
  - `external` - catalog item flagged for invoicing, or on-the-fly item (no catalog article).
  - `internal` - catalog item not flagged for invoicing.



## Responses
### 200
OK - Paginated list of used items on the work order.

#### Body: application/json (object)
- **continuationToken** (string | null)
  Opaque token. Pass on next request. null means last page. Do not parse or construct.

- **data** (array[object])


### 400
Bad Request - invalid `invoiceMode`, invalid `size` or invalid continuation token.

#### Body: application/json (object)
- **errors** (array[object])
  Array of errors. Contains at least one element.

- **errorReference** (string)
  Error unique reference. Communicated to support, this will help to locate the issue.


### 401
Unauthorized - authentication issue.

#### Body: application/json (object)
- **errors** (array[object])
  Array of errors. Contains at least one element.

- **errorReference** (string)
  Error unique reference. Communicated to support, this will help to locate the issue.


### 403
Forbidden - not enough rights.

#### Body: application/json (object)
- **errors** (array[object])
  Array of errors. Contains at least one element.

- **errorReference** (string)
  Error unique reference. Communicated to support, this will help to locate the issue.


### 404
Not Found - Work order not found or outside caller's org unit.

#### Body: application/json (object)
- **errors** (array[object])
  Array of errors. Contains at least one element.

- **errorReference** (string)
  Error unique reference. Communicated to support, this will help to locate the issue.


### 429
Too Many Requests.

#### Body: application/json (object)
- **errors** (array[object])
  Array of errors. Contains at least one element.

- **errorReference** (string)
  Error unique reference. Communicated to support, this will help to locate the issue.


### 500
Internal server error.

#### Body: application/json (object)
- **errors** (array[object])
  Array of errors. Contains at least one element.

- **errorReference** (string)
  Error unique reference. Communicated to support, this will help to locate the issue.



[Powered by Bump.sh](https://bump.sh)
