POST api/Stakeholder/GenerateReport

Request Information

URI Parameters

None.

Body Parameters

GenerateAwbSearchModel
NameDescriptionTypeAdditional information
StaffName

string

None.

AirlineId

integer

None.

AirlineName

string

None.

ShedId

integer

None.

StartDate

date

Required

Data type: Date

EndDate

date

Required

BillFound

boolean

None.

ChargeType

integer

None.

ManifestNumber

string

None.

AirwayBillNumber

string

None.

Airport

string

None.

ReporterEmail

string

Required

VoidStatus

integer

Range: inclusive between 0 and 2

Request Formats

application/json, text/json

Sample:
{
  "StaffName": "sample string 1",
  "AirlineId": 1,
  "AirlineName": "sample string 2",
  "ShedId": 1,
  "StartDate": "2025-08-29T02:16:08.6672892+00:00",
  "EndDate": "2025-08-29T02:16:08.6672892+00:00",
  "BillFound": true,
  "ChargeType": 1,
  "ManifestNumber": "sample string 3",
  "AirwayBillNumber": "sample string 4",
  "Airport": "sample string 5",
  "ReporterEmail": "sample string 6",
  "VoidStatus": 7
}

application/xml, text/xml

Sample:
<GenerateAwbSearchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cargo.Data.Model">
  <AirlineId>1</AirlineId>
  <AirlineName>sample string 2</AirlineName>
  <Airport>sample string 5</Airport>
  <AirwayBillNumber>sample string 4</AirwayBillNumber>
  <BillFound>true</BillFound>
  <ChargeType>1</ChargeType>
  <EndDate>2025-08-29T02:16:08.6672892+00:00</EndDate>
  <ManifestNumber>sample string 3</ManifestNumber>
  <ReporterEmail>sample string 6</ReporterEmail>
  <ShedId>1</ShedId>
  <StaffName>sample string 1</StaffName>
  <StartDate>2025-08-29T02:16:08.6672892+00:00</StartDate>
  <VoidStatus>7</VoidStatus>
</GenerateAwbSearchModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.