POST api/plan/copy

Request Information

URI Parameters

None.

Body Parameters

copy_dto
NameDescriptionTypeAdditional information
IntervalFromRAW

string

None.

IntervalToRAW

string

None.

Days

Collection of integer

None.

DaysUTC

Collection of integer

None.

FlightIds

Collection of integer

None.

RefDayRAW

string

None.

FromRAW

string

None.

ToRAW

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IntervalFromRAW": "sample string 1",
  "IntervalToRAW": "sample string 2",
  "Days": [
    1,
    2
  ],
  "DaysUTC": [
    1,
    2
  ],
  "FlightIds": [
    1,
    2
  ],
  "RefDayRAW": "sample string 3",
  "FromRAW": "sample string 4",
  "ToRAW": "sample string 5"
}

text/html

Sample:
{"IntervalFromRAW":"sample string 1","IntervalToRAW":"sample string 2","Days":[1,2],"DaysUTC":[1,2],"FlightIds":[1,2],"RefDayRAW":"sample string 3","FromRAW":"sample string 4","ToRAW":"sample string 5"}

application/xml, text/xml

Sample:
<copy_dto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiPlanning.ViewModels">
  <Days xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Days>
  <DaysUTC xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </DaysUTC>
  <FlightIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </FlightIds>
  <FromRAW>sample string 4</FromRAW>
  <IntervalFromRAW>sample string 1</IntervalFromRAW>
  <IntervalToRAW>sample string 2</IntervalToRAW>
  <RefDayRAW>sample string 3</RefDayRAW>
  <ToRAW>sample string 5</ToRAW>
</copy_dto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.