McMain icon

McMain

Interact with McMain API

Work Order → Get Hour Details

AI-generated

Summary

Fetch hour details for a work order

Inputs

  • id (required) — ID of the work order to retrieve hour details for
  • requestOptions — Optional HTTP request configuration such as batching, SSL verification, proxy, and timeout

Output shape

a JSON object containing the hourly details for the specified work order

The response may include pagination or batching metadata when batch settings are enabled; errors are returned as standard HTTP error responses.

Examples

Example 1: Retrieve hour details for work order 12345

Set Work Order ID = 12345, leave Request Options at defaults

Example 2: Apply batching with 100 items per batch

Enable Batching, set Batch Size = 100, keep other options default

Example 3: Ignore SSL certificate errors

Check "Ignore SSL Issues (Insecure)", leave other options unchanged

Discussion