POST api/ATCTTC

Request Information

URI Parameters

None.

Body Parameters

Collection of ATC_TTC
NameDescriptionTypeAdditional information
Id

integer

None.

Corridor

string

None.

FromDate

string

None.

ToDate

string

None.

TimePeriod

string

None.

TTC

string

None.

ReliabilityMargin

string

None.

ATC

string

None.

LTA

string

None.

STOA

string

None.

ChangesTTC

string

None.

Comments

string

None.

Period

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Corridor": "sample string 2",
    "FromDate": "sample string 3",
    "ToDate": "sample string 4",
    "TimePeriod": "sample string 5",
    "TTC": "sample string 6",
    "ReliabilityMargin": "sample string 7",
    "ATC": "sample string 8",
    "LTA": "sample string 9",
    "STOA": "sample string 10",
    "ChangesTTC": "sample string 11",
    "Comments": "sample string 12",
    "Period": "sample string 13"
  },
  {
    "Id": 1,
    "Corridor": "sample string 2",
    "FromDate": "sample string 3",
    "ToDate": "sample string 4",
    "TimePeriod": "sample string 5",
    "TTC": "sample string 6",
    "ReliabilityMargin": "sample string 7",
    "ATC": "sample string 8",
    "LTA": "sample string 9",
    "STOA": "sample string 10",
    "ChangesTTC": "sample string 11",
    "Comments": "sample string 12",
    "Period": "sample string 13"
  }
]

application/xml, text/xml

Sample:
<ArrayOfATC_TTC xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <ATC_TTC>
    <ATC>sample string 8</ATC>
    <ChangesTTC>sample string 11</ChangesTTC>
    <Comments>sample string 12</Comments>
    <Corridor>sample string 2</Corridor>
    <FromDate>sample string 3</FromDate>
    <Id>1</Id>
    <LTA>sample string 9</LTA>
    <Period>sample string 13</Period>
    <ReliabilityMargin>sample string 7</ReliabilityMargin>
    <STOA>sample string 10</STOA>
    <TTC>sample string 6</TTC>
    <TimePeriod>sample string 5</TimePeriod>
    <ToDate>sample string 4</ToDate>
  </ATC_TTC>
  <ATC_TTC>
    <ATC>sample string 8</ATC>
    <ChangesTTC>sample string 11</ChangesTTC>
    <Comments>sample string 12</Comments>
    <Corridor>sample string 2</Corridor>
    <FromDate>sample string 3</FromDate>
    <Id>1</Id>
    <LTA>sample string 9</LTA>
    <Period>sample string 13</Period>
    <ReliabilityMargin>sample string 7</ReliabilityMargin>
    <STOA>sample string 10</STOA>
    <TTC>sample string 6</TTC>
    <TimePeriod>sample string 5</TimePeriod>
    <ToDate>sample string 4</ToDate>
  </ATC_TTC>
</ArrayOfATC_TTC>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

None.