---
title: "GET /feedbacks/workorders"
method: GET
path: "/feedbacks/workorders"
tags: ["Feedback"]
---

# GET /feedbacks/workorders

`GET /feedbacks/workorders`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/feedbacks/workorders`
- Auth: OAuth 2
  - Authorization code: `https://sb2login.servicechannel.com/oauth/authorize`
  - Token URL: `https://sb2login.servicechannel.com/oauth/token`
- TypeScript: <https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/docs/feedbacks/workorders/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `locationId` integer
- `setupId` integer
- `orderByField` 'TrackingNumber' | 'Trade' | 'ScheduledDate' | 'Vendor' | 'Priority' | 'Caller' | 'Status' | 'Area' | 'CompletionDate' | 'FeedbackLeft'
- `orderDirection` 'Ascending' | 'Descending'
- `showMyWorkOrders` boolean
- `subscriberId` integer
- `isStarRating` boolean
- `loadResolutions` boolean
- `isMaintenanceOnly` boolean
- `dashboardFeedbackFiltersEnabled` boolean
- `withNotesCount` boolean
- `dashboardUniversal` boolean
- `showDays` integer
- `futureCompletedDate` boolean

## Response `200`

Return work orders ready for feedback.

- ServiceChannelServicesMessagingFeedbackWorkorderFeedback[]
  - `TrackingNumber` integer
  - `Description` string
  - `Caller` string
  - `CallDateString` string
  - `CallDate_DTO` string, date-time
  - `ScheduledDateString` string
  - `ScheduledDate_DTO` string, date-time
  - `CreatedBy` string
  - `Vendor` string
  - `VendorPhone` string
  - `PrioritySub` string
  - `Trade` string
  - `Category` string
  - `Review` ServiceChannelServicesMessagingFeedbackFeedbackReview
    - `Id` integer: Entity Id
    - `TrackingNumber` integer: Work order tracking number. For provider reviews it is null
    - `SubscriberName` string: Subscriber display name
    - `LocationName` string: Location name (Store Id)
    - `UserFullName` string: User name who submit a review
    - `ReviewedDate` string, date-time: Date when user posted or updated a review
    - `StarScore` integer: Review star score. From 1 to 5
    - `Comment` string: User comment
  - `Status` ServiceChannelServicesMessagingWorkordersWorkorderStatusDescriptor
    - `Primary` string: Primary work order status value, you can pass status id or its name here. To get all subscriber's statuses see [Statuses] in Statuses section
    - `Extended` string: Extended status value
    - `CanCreateInvoice` boolean: True if invoice creation is allowed
  - `Area` string
  - `CompletedDate` string, date-time
  - `NotesCount` integer
  - `TradeId` integer
  - `CategoryId` integer
  - `PriorityId` integer
  - `ProviderId` integer
  - `Resolution` string
  - `Questions` ServiceChannelApiModelEntitiesSurveyQuestionsSurveyQuestionWithAnswers[]
    - `SurveyQuestion` ServiceChannelApiModelEntitiesSurveyQuestionsSurveyQuestion
      - `Question` string
      - `Disabled` boolean
      - `Locations` ServiceChannelApiModelEntitiesSurveyQuestionsSurveyLocation[]
        - `Id` integer
        - `Name` string
      - `Trades` ServiceChannelApiModelEntitiesSurveyQuestionsSurveyTrade[]
        - `Id` integer
        - `Name` string
      - `Categories` ServiceChannelApiModelEntitiesSurveyQuestionsSurveyCategory[]
        - `Id` integer
        - `Name` string
      - `Priorities` ServiceChannelApiModelEntitiesSurveyQuestionsSurveyPriority[]
        - `Id` integer
        - `Name` string
      - `Providers` ServiceChannelApiModelEntitiesSurveyQuestionsSurveyProvider[]
        - `Id` integer
        - `Name` string
      - `Id` integer
      - `SubscriberId` integer
      - `UserId` integer
    - `SurveyAnswers` ServiceChannelApiModelEntitiesSurveyQuestionsSurveyAnswer[]
      - `Id` integer
      - `Answer` string
      - `SortOrder` integer
    - `LocationIds` integer[]
    - `TradeIds` integer[]
    - `CategoryIds` integer[]
    - `PriorityIds` integer[]
    - `ProviderIds` integer[]

## Other responses

- `401`: Indicates that the requested resource requires authentication.<br>Error codes:<br> 504 - API call rejected by security permissions;

---

[API](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3.md) - [All operations](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/llms.txt) - [OpenAPI document](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/revisions/d490d6596809?raw)
