Skip to main content

Create Work Request

POST 

/organizations/:organizationId/work-requests

Create work request

Request

Path Parameters

    organizationId stringrequired

    The ID of organization.

Body

required
    isTemplate boolean

    The work request is template.

    subject stringrequired

    The subject of work request.

    description string

    The description of work request.

    locationId string

    The location ID of work order.

    images string[]

    The images of work request.

    files string[]

    The files of work request.

    assetId string[]

    The assetId of work request.

    priority stringrequired

    The priority of work order.

Responses

Schema
    data objectrequired

    Data of the newly created work request.

    id stringrequired
    organizationId stringrequired
    isTemplate booleanrequired
    subject stringrequired
    description stringrequired
    images string[]required
    assetIds string[]required
    reason stringrequired
    status stringrequired
    priority stringrequired
    locationId stringrequired
    createdBy stringrequired
    createdAtDateString stringrequired
    createdAt numberrequired
Loading...