POST api/Report/GenerateIataReport

Request Information

URI Parameters

None.

Body Parameters

IataSearchModel
NameDescriptionTypeAdditional information
StartDate

date

None.

EndDate

date

None.

NotifyEmail

string

None.

AirportCode

string

None.

AirlineCode

Collection of string

None.

ReportFolderPath

string

None.

Request Formats

application/json, text/json

Sample:
{
  "StartDate": "2025-08-29T02:10:08.3039783+00:00",
  "EndDate": "2025-08-29T02:10:08.3039783+00:00",
  "NotifyEmail": "sample string 1",
  "AirportCode": "sample string 2",
  "AirlineCode": [
    "sample string 1",
    "sample string 2"
  ],
  "ReportFolderPath": "sample string 3"
}

application/xml, text/xml

Sample:
<IataSearchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cargo.Data.Model">
  <AirlineCode xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </AirlineCode>
  <AirportCode>sample string 2</AirportCode>
  <EndDate>2025-08-29T02:10:08.3039783+00:00</EndDate>
  <NotifyEmail>sample string 1</NotifyEmail>
  <ReportFolderPath>sample string 3</ReportFolderPath>
  <StartDate>2025-08-29T02:10:08.3039783+00:00</StartDate>
</IataSearchModel>

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 'IataSearchModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.