Work Order

Create a work order from job operations. Each entry in `operations` becomes one work-order operation owning the job operations it lists; every job operation is claimed for this work order, so a later request naming one of them is refused. `status` accepts only `needsReview` (the default) or `approved`.

post/api/work-orders

Request body

namestring nullable

Name of the work order. When omitted, the work order is named by its number.

status'needsReview' | 'approved' | 'scheduled' | 'inProgress' | 'complete' | 'cancelled'

Work order status

priority'low' | 'moderate' | 'high'

Job priority

productionDueDateUtcstring date-time nullable

Production due date. When omitted, the earliest production due date among the jobs is used.

Response

The id of the created work order.

idstring required

The id of the created record

Changes

Changed in 2 of the 33 revisions of this API.8161

  • c3bdc499d639816See the full diff
    • ▲

      the request property's minItems was increased to 1 (media type: application/json-patch+json)

      request-property-min-items-increased

    • ▲

      the request property's minItems was increased to 1 (media type: application/json)

      request-property-min-items-increased

    • ▲

      the request property's minItems was increased to 1 (media type: text/json)

      request-property-min-items-increased

    • ▲

      the request property's minItems was increased to 1 (media type: application/*+json)

      request-property-min-items-increased

    • ▲

      the // request property's minItems was increased to 1 (media type: application/json-patch+json)

      request-property-min-items-increased

    • ▲

      the // request property's minItems was increased to 1 (media type: application/json)

      request-property-min-items-increased

    • ▲

      the // request property's minItems was increased to 1 (media type: text/json)

      request-property-min-items-increased

    • ▲

      the // request property's minItems was increased to 1 (media type: application/*+json)

      request-property-min-items-increased

    • ●

      the // request property's max was set to 1000000000000000.00 (media type: application/json-patch+json)

      request-property-max-set

    • ●

      the // request property's max was set to 1000000000000000.00 (media type: application/json)

      request-property-max-set

    • ●

      the // request property's max was set to 1000000000000000.00 (media type: text/json)

      request-property-max-set

    • ●

      the // request property's max was set to 1000000000000000.00 (media type: application/*+json)

      request-property-max-set

    • ●

      the // request property's max was set to 1000000000000000.00 (media type: application/json-patch+json)

      request-property-max-set

    • ●

      the // request property's max was set to 1000000000000000.00 (media type: application/json)

      request-property-max-set

    • ●

      the // request property's max was set to 1000000000000000.00 (media type: text/json)

      request-property-max-set

    • ●

      the // request property's max was set to 1000000000000000.00 (media type: application/*+json)

      request-property-max-set

    • ●

      the // request property's min was set to 0.00 (media type: application/json-patch+json)

      request-property-min-set

    • ●

      the // request property's min was set to 0.00 (media type: application/json)

      request-property-min-set

    • ●

      the // request property's min was set to 0.00 (media type: text/json)

      request-property-min-set

    • ●

      the // request property's min was set to 0.00 (media type: application/*+json)

      request-property-min-set

    • ●

      the // request property's min was set to 0.00 (media type: application/json-patch+json)

      request-property-min-set

    • ●

      the // request property's min was set to 0.00 (media type: application/json)

      request-property-min-set

    • ●

      the // request property's min was set to 0.00 (media type: text/json)

      request-property-min-set

    • ●

      the // request property's min was set to 0.00 (media type: application/*+json)

      request-property-min-set

    • ○

      endpoint added

      endpoint-added