POST api/v1/Rates/GetRate
Request Information
URI Parameters
None.
Body Parameters
RateRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | string |
Required |
|
| Password | string |
Required |
|
| CustomerCode | string |
Required |
|
| OriginCode | string |
Required |
|
| DestinationCode | string |
Required |
|
| Weight | decimal number |
Required |
Request Formats
application/json, text/json
Sample:
{
"UserID": "sample string 1",
"Password": "sample string 2",
"CustomerCode": "sample string 3",
"OriginCode": "sample string 4",
"DestinationCode": "sample string 5",
"Weight": 6.1
}
application/xml, text/xml
Sample:
<RateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mobile_WebApi.Models"> <CustomerCode>sample string 3</CustomerCode> <DestinationCode>sample string 5</DestinationCode> <OriginCode>sample string 4</OriginCode> <Password>sample string 2</Password> <UserID>sample string 1</UserID> <Weight>6.1</Weight> </RateRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.