---
title: "Get Contract Service Rate details by RateId"
method: GET
path: "/contractservicerates/get-rates/by-rate-id"
tags: ["ContractServiceRates"]
---

# Get Contract Service Rate details by RateId

`GET /contractservicerates/get-rates/by-rate-id`

## Request

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

Returns applicable Contract Service Rates with contract Id based on the rate Id
            <br /><br />Available for subscriber usage.

## Query parameters

- `contractedServiceRateId` integer, required

## Response `200`

Rate found and contract is active.

- ServiceChannelApiModelContractServiceApplicableContractServiceRateWithContractResponse
  - `Rate` ServiceChannelApiModelContractServiceApplicableContractServiceRateWithContractModel
    - `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`: Rate exists but contract is not active.
- `401`: API call rejected by security permissions.
- `404`: Rate does not exist.

---

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