<back to all web services
SetProviderTranlationRates
The following routes are available for this service:| POST | /Service/ProviderTranslationRates/{Id} | | |
|---|
SetProviderTranlationRates Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| Id | path | Guid | No | |
| Rates | body | TranslationProviderRates | No | |
TranslationProviderRates Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| HourlyRate | form | string | No | |
| Hours | form | string | No | |
| Miles | form | string | No | |
| RatePerMile | form | string | No | |
| CancellationRate | form | string | No | |
| CancellationHours | form | string | No | |
| NoShow | form | string | No | |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /Service/ProviderTranslationRates/{Id} HTTP/1.1
Host: set-api-service-prod.azurewebsites.net
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<SetProviderTranlationRates xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SET.API.Services.ServiceModel">
<Id>00000000-0000-0000-0000-000000000000</Id>
<Rates>
<CancellationHours>String</CancellationHours>
<CancellationRate>String</CancellationRate>
<HourlyRate>String</HourlyRate>
<Hours>String</Hours>
<Miles>String</Miles>
<NoShow>String</NoShow>
<RatePerMile>String</RatePerMile>
</Rates>
</SetProviderTranlationRates>