POST api/PathFinderSummary
Takes a vessel's starting location, departime date / time, speed, and end location and returns the summary details for the route.
Request Information
URI Parameters
None.
Body Parameters
The parameters for the route
PathFinder_ParametersName | Description | Type | Additional information |
---|---|---|---|
VesselStartDateTime | date |
None. |
|
VesselStartLocation | PathFinderLocation |
Required |
|
VesselEndLocation | PathFinderLocation |
Required |
|
VesselSpeed | Speed |
None. |
|
AllowSuezCanal | boolean |
None. |
|
AllowPanamaCanal | boolean |
None. |
|
AllowBeringStrait | boolean |
None. |
|
AllowRivers | boolean |
None. |
|
UseAutoGenerateEdges | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "VesselStartDateTime": "2023-10-03T13:44:47.1401796+00:00", "VesselStartLocation": { "Coordinates": null, "PortGuid": "aa2dbbf8-2b91-4bdd-b411-20e607b77e72", "PortLocode": "sample string 1", "PortWPINumber": "sample string 2" }, "VesselEndLocation": { "Coordinates": null, "PortGuid": "aa2dbbf8-2b91-4bdd-b411-20e607b77e72", "PortLocode": "sample string 1", "PortWPINumber": "sample string 2" }, "VesselSpeed": { "Knots": 7.9697624190064591, "Kph": 14.76, "Mph": 9.171438797423038, "Ms": 4.1 }, "AllowSuezCanal": true, "AllowPanamaCanal": true, "AllowBeringStrait": true, "AllowRivers": true, "UseAutoGenerateEdges": true }
Response Information
Resource Description
The date / time of arrival for the vessel.
PathFinderSummaryName | Description | Type | Additional information |
---|---|---|---|
Parameters | PathFinder_Parameters |
None. |
|
ETA | date |
None. |
|
OverallDistance | Distance |
None. |
Response Formats
application/json, text/json
Sample:
{ "Parameters": { "VesselStartDateTime": "2023-10-03T13:44:47.1558059+00:00", "VesselStartLocation": { "Coordinates": null, "PortGuid": "52f0e9f5-5a59-425c-a455-e2532b25e294", "PortLocode": "sample string 1", "PortWPINumber": "sample string 2" }, "VesselEndLocation": { "Coordinates": null, "PortGuid": "52f0e9f5-5a59-425c-a455-e2532b25e294", "PortLocode": "sample string 1", "PortWPINumber": "sample string 2" }, "VesselSpeed": { "Knots": 7.9697624190064591, "Kph": 14.76, "Mph": 9.171438797423038, "Ms": 4.1 }, "AllowSuezCanal": true, "AllowPanamaCanal": true, "AllowBeringStrait": true, "AllowRivers": true, "UseAutoGenerateEdges": true }, "ETA": "2023-10-03T13:44:47.1558059+00:00", "OverallDistance": { "Kilometers": 6.5983104, "Metres": 6598.3103999999994, "NauticalMiles": 3.5628025917926647, "StatuteMiles": 4.1 } }