Work Orders

API Endpoints to access Work Orders

Get Work Order Details

  • Endpoint: GET /work-orders/{work_order_id}

  • Description: Retrieves the details of a specific work order.

  • Path Parameters:

    • work_order_id (integer, required): The unique identifier of the work order.

  • Response: 200 OK Returns a JSON object representing the work order details.

List Work Orders by Project ID

  • Endpoint: GET /projects/{project_id}/work-orders

  • Description: Retrieves a list of work orders for a specific project with pagination.

  • Path Parameters:

    • project_id (integer, required): The unique identifier of the project.

  • Query Parameters:

    • page (integer): The page number of the results.

    • page_size (integer): The number of work orders per page.

  • Response: 200 OK Returns a JSON array containing work order objects.

Last updated