McMain icon

McMain

Interact with McMain API

Work Order → Get Details

AI-generated

Summary

Fetch a work order's details by ID.

Inputs

  • workOrderId (required) — ID of the work order to retrieve
  • requestOptions — Configuration options for batching, SSL, proxy, and timeout

Output shape

a work order object

Returns the requested work order details; omitted fields are left out

Examples

Example 1: Retrieve details for a specific work order

workOrderId: 'PM000176'; requestOptions.batchSize: 50

Discussion