Skip to main content

List Work Orders By User

GET 

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

List work orders by user

Request

Path Parameters

    organizationId stringrequired

    The ID of organization.

    userId stringrequired

    The ID of user.

Query Parameters

    teamId string

    The id of team.

    maxResults number

    The maximum number of results to return.

    nextToken string

    To retrieve the next set of results.

    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
    nextToken required

    To retrieve the next set of results.

Loading...