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_Parameters
NameDescriptionTypeAdditional 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": "2024-04-20T00:05:56.156361+00:00",
  "VesselStartLocation": {
    "Coordinates": null,
    "PortGuid": "b979e56c-bbd9-4981-94b1-2270932ab615",
    "PortLocode": "sample string 1",
    "PortWPINumber": "sample string 2"
  },
  "VesselEndLocation": {
    "Coordinates": null,
    "PortGuid": "b979e56c-bbd9-4981-94b1-2270932ab615",
    "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.

PathFinderSummary
NameDescriptionTypeAdditional information
Parameters

PathFinder_Parameters

None.

ETA

date

None.

OverallDistance

Distance

None.

Response Formats

application/json, text/json

Sample:
{
  "Parameters": {
    "VesselStartDateTime": "2024-04-20T00:05:56.156361+00:00",
    "VesselStartLocation": {
      "Coordinates": null,
      "PortGuid": "c90e43b1-6c87-4689-b71b-b01624fa3075",
      "PortLocode": "sample string 1",
      "PortWPINumber": "sample string 2"
    },
    "VesselEndLocation": {
      "Coordinates": null,
      "PortGuid": "c90e43b1-6c87-4689-b71b-b01624fa3075",
      "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": "2024-04-20T00:05:56.156361+00:00",
  "OverallDistance": {
    "Kilometers": 6.5983104,
    "Metres": 6598.3103999999994,
    "NauticalMiles": 3.5628025917926647,
    "StatuteMiles": 4.1
  }
}