GET api/Info?POL={POL}&POD={POD}&nDays={nDays}&ShowTS={ShowTS}
Point to Point Sailing Schedule departures. All voyages with estimate departure at Port of Loading from today for number of days as specified in nDays parameter. Security Token needed.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
POL |
Port of Loading UNCODE |
string |
Required |
POD |
Port of Discharge UNCODE |
string |
Required |
nDays |
Days from today |
integer |
Required |
ShowTS |
false = get direct voyages only | true = get T/Shipments |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
Collection of TSailingSchedulePointToPointName | Description | Type | Additional information |
---|---|---|---|
pk | string |
None. |
|
vessel_name | string |
None. |
|
pol_serv | string |
None. |
|
pol | string |
None. |
|
pol_call_id | string |
None. |
|
pol_vyg | string |
None. |
|
pol_ets | string |
None. |
|
pot | string |
None. |
|
pot_eta | string |
None. |
|
pot_gap | string |
None. |
|
pot_vyg | string |
None. |
|
pod | string |
None. |
|
pod_vyg | string |
None. |
|
pod_eta | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "pk": "sample string 1", "vessel_name": "sample string 2", "pol_serv": "sample string 3", "pol": "sample string 4", "pol_call_id": "sample string 5", "pol_vyg": "sample string 6", "pol_ets": "sample string 7", "pot": "sample string 8", "pot_eta": "sample string 9", "pot_gap": "sample string 10", "pot_vyg": "sample string 11", "pod": "sample string 12", "pod_vyg": "sample string 13", "pod_eta": "sample string 14" }, { "pk": "sample string 1", "vessel_name": "sample string 2", "pol_serv": "sample string 3", "pol": "sample string 4", "pol_call_id": "sample string 5", "pol_vyg": "sample string 6", "pol_ets": "sample string 7", "pot": "sample string 8", "pot_eta": "sample string 9", "pot_gap": "sample string 10", "pot_vyg": "sample string 11", "pod": "sample string 12", "pod_vyg": "sample string 13", "pod_eta": "sample string 14" } ]
application/xml, text/xml
Sample:
<ArrayOfTSailingSchedulePointToPoint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GNetAPI.Models"> <TSailingSchedulePointToPoint> <pk>sample string 1</pk> <pod>sample string 12</pod> <pod_eta>sample string 14</pod_eta> <pod_vyg>sample string 13</pod_vyg> <pol>sample string 4</pol> <pol_call_id>sample string 5</pol_call_id> <pol_ets>sample string 7</pol_ets> <pol_serv>sample string 3</pol_serv> <pol_vyg>sample string 6</pol_vyg> <pot>sample string 8</pot> <pot_eta>sample string 9</pot_eta> <pot_gap>sample string 10</pot_gap> <pot_vyg>sample string 11</pot_vyg> <vessel_name>sample string 2</vessel_name> </TSailingSchedulePointToPoint> <TSailingSchedulePointToPoint> <pk>sample string 1</pk> <pod>sample string 12</pod> <pod_eta>sample string 14</pod_eta> <pod_vyg>sample string 13</pod_vyg> <pol>sample string 4</pol> <pol_call_id>sample string 5</pol_call_id> <pol_ets>sample string 7</pol_ets> <pol_serv>sample string 3</pol_serv> <pol_vyg>sample string 6</pol_vyg> <pot>sample string 8</pot> <pot_eta>sample string 9</pot_eta> <pot_gap>sample string 10</pot_gap> <pot_vyg>sample string 11</pot_vyg> <vessel_name>sample string 2</vessel_name> </TSailingSchedulePointToPoint> </ArrayOfTSailingSchedulePointToPoint>