Skip to main content

List Work Orders

GET 

/organizations/:organizationId/work-orders

List work orders

Request

Path Parameters

    organizationId stringrequired

    The ID of organization.

Query Parameters

    type stringrequired

    Possible values: [Normal, Template]

    The type of work order.

    assetId string

    The Id of asset.

    startDate number

    The start date number of timestamp. (Default: 1700000000000)

    endDate number

    The end date number of timestamp. (Default: 1700000000000)

    maxResults string

    The maximum number of results to return.

    nextToken string

    To retrieve the next set of results.

Responses

Schema
    data objectrequired

    Data of the work order.

    type stringrequired
    subject stringrequired
    description stringrequired
    expiredAt stringrequired
    workTime numberrequired
    scheduleType stringrequired
    daysOfWeek boolean[]required
    everyWeeks numberrequired
    dayOfMonth numberrequired
    everyMonths numberrequired
    everyYears numberrequired
    aheadOfTime numberrequired
    assignee objectrequired
    priority stringrequired
    workRequestId stringrequired
    locationId stringrequired
    procedures stringrequired
    images string[]required
    files string[]required
    partIds string[]required
    assetIds string[]required
    enableNotify booleanrequired
    status stringrequired
    timeTrackingType stringrequired
    createdBy stringrequired
    createdAtDateString stringrequired
    createdAt numberrequired
    updatedAtDateString stringrequired
    updatedAt numberrequired
    nextToken required

    To retrieve the next set of results.

Loading...