POST api/Process/CheckSimilarAirSideInvoice

Request Information

URI Parameters

None.

Body Parameters

ProcessChargeModelAirSide
NameDescriptionTypeAdditional information
Records

Collection of RecordsAirShed

None.

ShedId

integer

Required

Range: inclusive between 1 and 32767

PhoneNumber

string

Required

Matching regular expression pattern: ^\s*\+?\s*([0-9][\s-]*){2,}$

String length: inclusive between 11 and 11

AgentCompany

string

None.

AgentName

string

Required

IssuerName

string

Required

Records

Collection of Records

None.

UserId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Records": [
    {
      "CvsType": 1,
      "Amount": 1.0,
      "GrandTotal": 2.0,
      "BillType": 1,
      "TypeNumber": "sample string 3",
      "DepartureLocation": "sample string 4",
      "DestinationLocation": "sample string 5",
      "NumberOfGoods": 1,
      "GoodsCategory": "sample string 6",
      "GoodsDescription": "sample string 7",
      "AirlineId": 1,
      "AirlineName": "sample string 8",
      "AirportCode": "sample string 9",
      "ArrivalDate": "2025-08-29T02:11:12.8504441+00:00",
      "AirlineWeight": 1.0,
      "CustomWeight": 1.0,
      "AgreedWeight": 10.0,
      "CvsAmount": 11.0,
      "BillFound": true,
      "MultipleAwbDetails": [
        {
          "AwbId": 1,
          "AirwayBillNumber": "sample string 1",
          "AirlineWeight": 1.0,
          "FlightDate": "2025-08-29T02:11:12.8504441+00:00",
          "FlightNumber": "sample string 2"
        },
        {
          "AwbId": 1,
          "AirwayBillNumber": "sample string 1",
          "AirlineWeight": 1.0,
          "FlightDate": "2025-08-29T02:11:12.8504441+00:00",
          "FlightNumber": "sample string 2"
        }
      ],
      "AwbId": 1,
      "FlightNumber": "sample string 12",
      "HAWB": 13,
      "AwbDuplicate": true,
      "CreatedBy": "sample string 14",
      "ManualEntry": true
    },
    {
      "CvsType": 1,
      "Amount": 1.0,
      "GrandTotal": 2.0,
      "BillType": 1,
      "TypeNumber": "sample string 3",
      "DepartureLocation": "sample string 4",
      "DestinationLocation": "sample string 5",
      "NumberOfGoods": 1,
      "GoodsCategory": "sample string 6",
      "GoodsDescription": "sample string 7",
      "AirlineId": 1,
      "AirlineName": "sample string 8",
      "AirportCode": "sample string 9",
      "ArrivalDate": "2025-08-29T02:11:12.8504441+00:00",
      "AirlineWeight": 1.0,
      "CustomWeight": 1.0,
      "AgreedWeight": 10.0,
      "CvsAmount": 11.0,
      "BillFound": true,
      "MultipleAwbDetails": [
        {
          "AwbId": 1,
          "AirwayBillNumber": "sample string 1",
          "AirlineWeight": 1.0,
          "FlightDate": "2025-08-29T02:11:12.8504441+00:00",
          "FlightNumber": "sample string 2"
        },
        {
          "AwbId": 1,
          "AirwayBillNumber": "sample string 1",
          "AirlineWeight": 1.0,
          "FlightDate": "2025-08-29T02:11:12.8504441+00:00",
          "FlightNumber": "sample string 2"
        }
      ],
      "AwbId": 1,
      "FlightNumber": "sample string 12",
      "HAWB": 13,
      "AwbDuplicate": true,
      "CreatedBy": "sample string 14",
      "ManualEntry": true
    }
  ],
  "ShedId": 1,
  "PhoneNumber": "sample string 1",
  "AgentCompany": "sample string 2",
  "AgentName": "sample string 3",
  "IssuerName": "sample string 4",
  "UserId": "sample string 5"
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'System.Collections.Generic.List`1[[Cargo.Data.Model.Records, Cargo.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' with data contract name 'ArrayOfRecords:http://schemas.datacontract.org/2004/07/Cargo.Data.Model' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'System.Collections.Generic.List`1[[Cargo.Data.Model.Records, Cargo.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' with data contract name 'ArrayOfRecords:http://schemas.datacontract.org/2004/07/Cargo.Data.Model' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.