GET api/TransitStageDurations?startAssetId={startAssetId}&endAssetId={endAssetId}&order={order}
Gets the transit stage duration that is saved as a template with the given order between two assets, in a format which can be used in a transfer plan operation.
Request Information
URI Parameters
| Name | Description | Type | Additional 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 |
| order |
The order of the stage within the transit. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
The requested stage duration.
StageDurationNew| Name | Description | Type | Additional 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
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.