GET api/v1/RatesPorts?carrierCode={carrierCode}&direction={direction}&Name={Name}&otherPort={otherPort}
GetPorts
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| carrierCode |
Define this parameter in the request URI. |
|
| direction |
Define this parameter in the request URI. |
|
| Name |
Define this parameter in the request URI. |
|
| otherPort |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
[
{
"Code": "sample string 1",
"Name": "sample string 2",
"CountryCode": "sample string 3"
},
{
"Code": "sample string 1",
"Name": "sample string 2",
"CountryCode": "sample string 3"
},
{
"Code": "sample string 1",
"Name": "sample string 2",
"CountryCode": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfRatePortDTO>
<RatePortDTO>
<Code>sample string 1</Code>
<Name>sample string 2</Name>
<CountryCode>sample string 3</CountryCode>
</RatePortDTO>
<RatePortDTO>
<Code>sample string 1</Code>
<Name>sample string 2</Name>
<CountryCode>sample string 3</CountryCode>
</RatePortDTO>
<RatePortDTO>
<Code>sample string 1</Code>
<Name>sample string 2</Name>
<CountryCode>sample string 3</CountryCode>
</RatePortDTO>
</ArrayOfRatePortDTO>