POST api/Process/ProcessExportCheckSimilarInvoice

Request Information

URI Parameters

None.

Body Parameters

ProcessExportChargeModel
NameDescriptionTypeAdditional information
Records

Collection of ExportRecords

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": [
    {
      "BillType": 1,
      "TypeNumber": "sample string 1",
      "DepartureLocation": "sample string 2",
      "DestinationLocation": "sample string 3",
      "NumberOfGoods": 1,
      "GoodsCategory": "sample string 4",
      "GoodsDescription": "sample string 5",
      "AirlineId": 1,
      "AirlineName": "sample string 6",
      "AirportCode": "sample string 7",
      "ArrivalDate": "2025-08-29T02:09:10.1667487+00:00",
      "FieldWeight": 8.0,
      "AgreedWeight": 9.0,
      "Amount": 10.0,
      "CvsAmount": 11.0,
      "CvsType": 1,
      "BillFound": true,
      "ShedAcceptanceNumber": "sample string 12",
      "Duplicate": true,
      "ShedWeight": 14.0,
      "AwbId": 1,
      "HAWB": 15,
      "AwbDuplicate": true,
      "CreatedBy": "sample string 16",
      "ManualEntry": true
    },
    {
      "BillType": 1,
      "TypeNumber": "sample string 1",
      "DepartureLocation": "sample string 2",
      "DestinationLocation": "sample string 3",
      "NumberOfGoods": 1,
      "GoodsCategory": "sample string 4",
      "GoodsDescription": "sample string 5",
      "AirlineId": 1,
      "AirlineName": "sample string 6",
      "AirportCode": "sample string 7",
      "ArrivalDate": "2025-08-29T02:09:10.1667487+00:00",
      "FieldWeight": 8.0,
      "AgreedWeight": 9.0,
      "Amount": 10.0,
      "CvsAmount": 11.0,
      "CvsType": 1,
      "BillFound": true,
      "ShedAcceptanceNumber": "sample string 12",
      "Duplicate": true,
      "ShedWeight": 14.0,
      "AwbId": 1,
      "HAWB": 15,
      "AwbDuplicate": true,
      "CreatedBy": "sample string 16",
      "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 'ProcessExportChargeModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.