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

# Get applicable Contract Service Rates for Work Order edit

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

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/contractservicerates/get-rates/wo-edit`
- 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-edit/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, and Location of the Work Order at the moment of edit.
            A rate is applicable when there is a currently active contract for the provider, with matching trade, category, and location.
            Returns base amount, variable amount, NTE amount, and currency for each applicable rate.
            <br /><br />Available for subscriber usage.

## Request body

- ServiceChannelApiModelContractServiceApplicableRateForWOEditRequest
  - `ProviderId` integer
  - `TradeId` integer
  - `CategoryId` integer
  - `LocationId` 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)
