---
title: "Get applicable Contract Service Rates for Work Order creation"
method: POST
path: "/contractservicerates/get-rates/wo-creation"
tags: ["ContractServiceRates"]
---

# Get applicable Contract Service Rates for Work Order creation

`POST /contractservicerates/get-rates/wo-creation`

## Request

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

Returns applicable Contract Service Rates based on the Provider, Trade, Category, Location and Call Date of the Work Order.
            A rate is applicable when there is an active contract (based on Call Date) for the provider, with matching trade, category, and location.
            Returns NTE amount, base amount, variable amount, and currency for each applicable rate.
            ContractedServiceId is required and must reference the listed Contract Service.
            <br /><br />Available for subscriber usage.

## Request body

- ServiceChannelApiModelContractServiceApplicableRateForWOCreationRequest
  - `ProviderId` integer
  - `TradeId` integer
  - `CategoryId` integer
  - `LocationId` integer
  - `CallDate` string, date-time
  - `ContractedServiceId` integer

## Response `200`

Indicates that the request succeeded and that the requested information is in the response.

- ServiceChannelApiModelContractServiceApplicableContractServiceRateResponse
  - `Rates` ServiceChannelApiModelContractServiceApplicableContractServiceRateModel[]
    - `RateId` integer
    - `RateName` string
    - `ContractedServiceId` integer
    - `ContractedServiceName` string
    - `ContractId` string
    - `TradeId` integer
    - `CategoryId` integer
    - `RateType` string, byte
    - `BaseAmount` number, double
    - `VariableAmount` number, double
    - `NteAmount` number, double
    - `CurrencyId` integer
    - `CurrencyAlphabeticCode` string

## Other responses

- `400`: Bad Request - the request could not be understood or was missing required parameters.
- `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)
