---
title: "Get list of providers per service request"
method: GET
path: "/servicerequest/providers"
tags: ["ServiceRequest"]
---

# Get list of providers per service request

`GET /servicerequest/providers`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/servicerequest/providers`
- 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/servicerequest/providers/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns providers for specified location and trade or equipment. If no location, trade specified in request equipment values are used.
            <br /><br />Available for provider and subscriber usage.

## Query parameters

- `locationId` integer
- `tradeId` integer
- `trade` string
- `equipmentType` string
- `providerRank` integer
- `equipmentId` integer

## Response `200`

Request succeeded and the requested information is in the response.

- ServiceChannelServicesMessagingProvidersGetServiceRequestProvidersResponse
  - `Providers` ServiceChannelServicesMessagingProvidersServiceRequestProvider[]
    - `Rank` integer: Rank
    - `Category` string: Category
    - `Priority` string: Priority
    - `Nte` number, double: Nte
    - `GeneralEmail` string: General Email
    - `IsDefault` boolean: Is Default
    - `ServiceRequestEmails` string: ServiceRequestEmails
    - `Phone` string
    - `FullName` string: Full Name
    - `Address1` string: Address1
    - `Address2` string: Adress2
    - `City` string: City
    - `State` string: State
    - `Zip` string: Zip
    - `Country` string: Country
    - `MainContact` string: Main Contact
    - `DateCreated` string, date-time: Date Created
    - `LastUserDate` string: Last User Date
    - `SuperUser` string: SuperUser
    - `WebSite` string: WebSite
    - `Email` string: Email
    - `TaxId` string: Tax Id
    - `Trade` string: Trade
    - `ProcessingEmail` string: Processing Email
    - `FaxNumber` string: Fax Number
    - `SuiteFloor` string: Suite Floor
    - `MailInfo` string: Mail Info
    - `ImageFile` string: Image File
    - `ReturnMail` string: Return Mail
    - `MailFrequency` integer: Mail Frequency
    - `FormId` integer: Form Id
    - `Pager` string: Pager
    - `NightRequest` integer: NightRequest
    - `ShortFormatEmail` string: Short Format Email
    - `LastTrainingDate` string, date-time: Last Training Date
    - `LastTrainingDateStr` string: Last Training Date as a string
    - `IsInternal` boolean: Is Internal
    - `IsOnOffShoreFeatureEnabled` boolean: Is OnOffShoreFeature Enabled
    - `Id` integer: Id
    - `Name` string: Name
    - `DoNotDispatch` boolean: DoNotDispatch enabled?

## Other responses

- `400`: Bad Request - the request could not be understood or was missing required parameters.

---

[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)
