GET api/v1/SeaSchedulesAPI/Ports?direction={direction}&Name={Name}
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| direction | 'from' or 'to', which end of the journey is being looked up. |
Define this parameter in the request URI. |
| Name | Any partially typed name to match. |
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"
},
{
"Code": "sample string 1",
"Name": "sample string 2"
},
{
"Code": "sample string 1",
"Name": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfCodeAndNameDTO>
<CodeAndNameDTO>
<Code>sample string 1</Code>
<Name>sample string 2</Name>
</CodeAndNameDTO>
<CodeAndNameDTO>
<Code>sample string 1</Code>
<Name>sample string 2</Name>
</CodeAndNameDTO>
<CodeAndNameDTO>
<Code>sample string 1</Code>
<Name>sample string 2</Name>
</CodeAndNameDTO>
</ArrayOfCodeAndNameDTO>