POST api/TTCATC

Request Information

URI Parameters

None.

Body Parameters

Collection of TTC_ATC_Regional_Flow
NameDescriptionTypeAdditional information
Id

integer

None.

Corridor

string

None.

TTC

string

None.

TRM

string

None.

ATC

string

None.

Period

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Corridor": "sample string 2",
    "TTC": "sample string 3",
    "TRM": "sample string 4",
    "ATC": "sample string 5",
    "Period": "sample string 6"
  },
  {
    "Id": 1,
    "Corridor": "sample string 2",
    "TTC": "sample string 3",
    "TRM": "sample string 4",
    "ATC": "sample string 5",
    "Period": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTTC_ATC_Regional_Flow xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <TTC_ATC_Regional_Flow>
    <ATC>sample string 5</ATC>
    <Corridor>sample string 2</Corridor>
    <Id>1</Id>
    <Period>sample string 6</Period>
    <TRM>sample string 4</TRM>
    <TTC>sample string 3</TTC>
  </TTC_ATC_Regional_Flow>
  <TTC_ATC_Regional_Flow>
    <ATC>sample string 5</ATC>
    <Corridor>sample string 2</Corridor>
    <Id>1</Id>
    <Period>sample string 6</Period>
    <TRM>sample string 4</TRM>
    <TTC>sample string 3</TTC>
  </TTC_ATC_Regional_Flow>
</ArrayOfTTC_ATC_Regional_Flow>

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.