Create Work Order

Creates a category.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Endpoint URL

https://{{base_url}}/api/v2/work_order

Authentication and rate limits

ItemDetails
Authentication methodOAuth 2.0 Bearer token
Rate limitRate Limit

Requests Example

curl --request POST \
  --url "https://{{base_url}}/api/v2/work_order?company=1" \
  --header "Authorization: Bearer $BEARER_TOKEN" \
  --header "Content-Type: application/json" \
  --data-raw "$JSON"

Request Syntax

{
  "type": "string",
  "status": "string",
  "priority": "string",
  "location": "string",
  "sub_location": "string",
  "symptom": "string",
  "assignee": "string",
  "requested_by": "string",
  "completed_on":"string"
  "assets": [integer, integer],
  "requirements": "string",
  "activity_description": "string",
  "failure_datetime": "string"
  "templates":[
    {
      "id":integer,
      "fields": [
        {"id": integer, "value": "string"}
      ]
    },
    {
      "id": integer,
      "fields": []
    }
    ],
  "form_template":[
        {
            "id": integer,
            "custom_form_data":{
                "value1": decimal| integer|"string",
                "value2": decimal| integer|"string"
            }    
        }
    ]

}

Body Parameters

  • type (string) --

    The type of work order to be created.
    Max characters = 50

  • status (string) --

    The current status of the work order.
    Max characters = 50

  • priority (string) --

    The priority level assigned to the work order.
    Max characters = 50

  • location (string) --

    The location associated with the work order.
    Max characters = 50

  • sub_location (string) --

    The sub-location associated with the work order.
    Max characters = 50

  • symptom (string) --

    The symptom or issue reported for the work order.
    Max characters = 50

  • assignee (string) --

    The user or personnel assigned to perform the work order.
    Max characters = 50

  • requested_by (string) --

    The user or personnel who requested the work order.
    Max characters = 50

  • completed_on (string) --

    The date or date and time when the work order was completed.
    Accepted formats:

    • Date only: YYYY-MM-DD
    • ISO 8601 date and time: YYYY-MM-DDThh:mm[:ss[.uuuuuu]][+HH:MM|-HH:MM|Z]

    Examples: 2026-10-21 | 2026-10-21T14:30:00Z

  • assets (array of integers) --

    An array of asset IDs associated with the work order.
    Multiple assets can be linked to a single work order.
    Example: [101, 102, 103]

  • requirements (string) --

    The requirements or instructions that must be fulfilled when performing the work order.
    Max characters = 50

  • activity_description (string) --

    The description of the activities or tasks associated with the work order.
    Max characters = 50

  • failure_datetime (string) --

    The date and time when the reported failure or malfunction occurred.
    The accepted date-time format should follow the Work Order API field validation rules.

  • templates (array of objects) --

    An array of custom field templates associated with the work order.
    Multiple custom field templates can be included in a single request.

    • id (integer) --

      The ID of the custom field template.
      To look up a specific custom field template ID, see the List Custom Field Template API.

    • fields (array of objects) --

      An array of custom fields and their corresponding values for the selected template.
      Can be an empty array if no field values are provided.

      • id (integer) --

        The ID of the custom field.
        To look up a specific field ID, see the List Custom Field Template API.

      • value (decimal | integer | string) --

        The value assigned to the custom field.
        The accepted data type depends on the configuration of the custom field.

        • If the value data-type is money (decimal) --

          Min value = 0.00
          Max value = 999999999999999.00

        • If the value data-type is number (integer) --

          Min value = -999999999999999
          Max value = 999999999999999

        • If the value data-type is date (string) --

          Format = yyyy-MM-dd

        • If the value data-type is text (string) --

          Max characters = 50

  • form_template (array of objects) --

    An array of custom form templates associated with the work order.
    Multiple custom forms can be submitted in a single request.
    Each form template contains an ID and the corresponding custom form data.

    • id (integer) --

      The ID of the custom form template.
      The ID must correspond to an existing custom form template.

    • custom_form_data (dict / object) --

      An object containing the field names and corresponding values for the selected custom form template.
      The field names must match the fields configured in the custom form.
      The accepted values depend on the field's data type.

      • field_name  (string) --

        The configured field name or key in the custom form.
        Example: value1, value2

      • field_value  (decimal | integer | string) --

        The value assigned to the corresponding custom form field.
        The accepted data type depends on the configuration of the custom form field.

        • If the value data-type is decimal --

          A decimal numeric value.

        • If the value data-type is integer --

          A whole number value.

        • If the value data-type is string --

          A text value.
          Max characters = 50

      Example:

      {
          "value1": 125.50,
          "value2": "Inspection completed"
      }
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json