GET api/TransitStageDurations?startAssetId={startAssetId}&endAssetId={endAssetId}

Gets all transit stage durations that are saved as templates between two assets, in a format which can be used in a transfer plan operation.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
startAssetId

The ID of the asset which defines the starting point of the transit.

integer

Required

endAssetId

The ID of the asset which defines the end point of the transit.

integer

Required

Body Parameters

None.

Response Information

Resource Description

A list of stage durations.

Collection of StageDurationNew
NameDescriptionTypeAdditional information
Stage

The stage of the operation.

StageNew

Required

DurationMinutes

The duration of the operation at this stage, in minutes.

integer

Required

Range: inclusive between 1 and 2147483647

Response Formats

application/json, text/json

Sample:
[
  {
    "Stage": {
      "ForecastPoint": {
        "Id": 1
      },
      "Order": 1
    },
    "DurationMinutes": 60
  },
  {
    "Stage": {
      "ForecastPoint": {
        "Id": 2
      },
      "Order": 2
    },
    "DurationMinutes": 30
  }
]

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.