POST api/TransferPlans/Update?operationId={operationId}

Replaces the existing stage durations of a transfer plan operation with another set of stage durations.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
operationId

The ID of a transfer plan operation.

integer

Required

Body Parameters

The stage durations to assign to the operation.

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

Request 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.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.