Skip to main content

Get Work Orders By User

GET 

/organizations/:organizationId/users/:userId/work-orders/all

Get work orders by user

Request

Path Parameters

    organizationId stringrequired

    The ID of organization.

    userId stringrequired

    The ID of user.

Query Parameters

    startDate numberrequired

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

    endDate numberrequired

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

    filterStatus string[]

    The status of work order. (Default: optional ; Options: Open, Accept, InProgress, OnHold, Complete, Close)

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
Loading...