McMain icon

McMain

Interact with McMain API

Work Order → Get Item Details

AI-generated

Summary

Retrieve details of a work order by ID

Inputs

  • id (required) — ID of the work order
  • requestOptions — Additional request configuration such as batching, SSL validation, proxy, and timeout

Output shape

a single work order record

The response contains the work order details returned by the API; fields may be omitted if not applicable, and errors follow the standard error envelope

Examples

Example 1: Retrieve details for a specific work order

Set Id to the target work order ID; leave Request Options empty to use defaults

Example 2: Fetch with custom batching

Set Id to 98765 and enable batching with batchSize 100 to throttle the request

Discussion