McMain icon

McMain

Interact with McMain API

Work Order → Get List

AI-generated

Summary

Retrieve work orders matching SCIM filter criteria

Inputs

  • filters — SCIM-standard filter parameters for the work order query
  • requestOptions — Additional request settings such as batching, SSL verification, proxy, and timeout

Output shape

a list of work order records

Returns an array of work order objects; fields defined by the McMain API

Examples

Example 1: Filter work orders by status equal to Open

Set Filters: field=woStat, operator=eq, value=Open; leave Request Options unchanged

Example 2: Retrieve first 20 work orders using batching

Set Request Options → Batch → batchSize=20; execute Get List

Example 3: Call with custom proxy and ignore SSL errors

Set Request Options → Proxy to http://proxy:3128; enable Allow SSL Issues; execute Get List

Discussion