POST api/Process/CheckSimilarInvoice

Request Information

URI Parameters

None.

Body Parameters

ProcessChargeModel
NameDescriptionTypeAdditional information
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:
{
  "ShedId": 1,
  "PhoneNumber": "sample string 1",
  "AgentCompany": "sample string 2",
  "AgentName": "sample string 3",
  "IssuerName": "sample string 4",
  "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:46.9089657+00:00",
      "AirlineWeight": 1.0,
      "CustomWeight": 1.0,
      "AgreedWeight": 8.0,
      "Amount": 9.0,
      "CvsAmount": 10.0,
      "CvsType": 1,
      "BillFound": true,
      "MultipleAwbDetails": [
        {
          "AwbId": 1,
          "AirwayBillNumber": "sample string 1",
          "AirlineWeight": 1.0,
          "FlightDate": "2025-08-29T02:09:46.9089657+00:00",
          "FlightNumber": "sample string 2"
        },
        {
          "AwbId": 1,
          "AirwayBillNumber": "sample string 1",
          "AirlineWeight": 1.0,
          "FlightDate": "2025-08-29T02:09:46.9089657+00:00",
          "FlightNumber": "sample string 2"
        }
      ],
      "AwbId": 1,
      "FlightNumber": "sample string 11",
      "HAWB": 12,
      "AwbDuplicate": true,
      "CreatedBy": "sample string 13",
      "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:46.9089657+00:00",
      "AirlineWeight": 1.0,
      "CustomWeight": 1.0,
      "AgreedWeight": 8.0,
      "Amount": 9.0,
      "CvsAmount": 10.0,
      "CvsType": 1,
      "BillFound": true,
      "MultipleAwbDetails": [
        {
          "AwbId": 1,
          "AirwayBillNumber": "sample string 1",
          "AirlineWeight": 1.0,
          "FlightDate": "2025-08-29T02:09:46.9089657+00:00",
          "FlightNumber": "sample string 2"
        },
        {
          "AwbId": 1,
          "AirwayBillNumber": "sample string 1",
          "AirlineWeight": 1.0,
          "FlightDate": "2025-08-29T02:09:46.9089657+00:00",
          "FlightNumber": "sample string 2"
        }
      ],
      "AwbId": 1,
      "FlightNumber": "sample string 11",
      "HAWB": 12,
      "AwbDuplicate": true,
      "CreatedBy": "sample string 13",
      "ManualEntry": true
    }
  ],
  "UserId": "sample string 5"
}

application/xml, text/xml

Sample:
<ProcessChargeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cargo.Data.Model">
  <AgentCompany>sample string 2</AgentCompany>
  <AgentName>sample string 3</AgentName>
  <IssuerName>sample string 4</IssuerName>
  <PhoneNumber>sample string 1</PhoneNumber>
  <Records>
    <Records>
      <AgreedWeight>8</AgreedWeight>
      <AirlineId>1</AirlineId>
      <AirlineName>sample string 6</AirlineName>
      <AirlineWeight>1</AirlineWeight>
      <AirportCode>sample string 7</AirportCode>
      <Amount>9</Amount>
      <ArrivalDate>2025-08-29T02:09:46.9089657+00:00</ArrivalDate>
      <AwbDuplicate>true</AwbDuplicate>
      <AwbId>1</AwbId>
      <BillFound>true</BillFound>
      <BillType>1</BillType>
      <CreatedBy>sample string 13</CreatedBy>
      <CustomWeight>1</CustomWeight>
      <CvsAmount>10</CvsAmount>
      <CvsType>1</CvsType>
      <DepartureLocation>sample string 2</DepartureLocation>
      <DestinationLocation>sample string 3</DestinationLocation>
      <FlightNumber>sample string 11</FlightNumber>
      <GoodsCategory>sample string 4</GoodsCategory>
      <GoodsDescription>sample string 5</GoodsDescription>
      <HAWB>12</HAWB>
      <ManualEntry>true</ManualEntry>
      <MultipleAwbDetails>
        <MultiAwbDetails>
          <AirlineWeight>1</AirlineWeight>
          <AirwayBillNumber>sample string 1</AirwayBillNumber>
          <AwbId>1</AwbId>
          <FlightDate>2025-08-29T02:09:46.9089657+00:00</FlightDate>
          <FlightNumber>sample string 2</FlightNumber>
        </MultiAwbDetails>
        <MultiAwbDetails>
          <AirlineWeight>1</AirlineWeight>
          <AirwayBillNumber>sample string 1</AirwayBillNumber>
          <AwbId>1</AwbId>
          <FlightDate>2025-08-29T02:09:46.9089657+00:00</FlightDate>
          <FlightNumber>sample string 2</FlightNumber>
        </MultiAwbDetails>
      </MultipleAwbDetails>
      <NumberOfGoods>1</NumberOfGoods>
      <TypeNumber>sample string 1</TypeNumber>
    </Records>
    <Records>
      <AgreedWeight>8</AgreedWeight>
      <AirlineId>1</AirlineId>
      <AirlineName>sample string 6</AirlineName>
      <AirlineWeight>1</AirlineWeight>
      <AirportCode>sample string 7</AirportCode>
      <Amount>9</Amount>
      <ArrivalDate>2025-08-29T02:09:46.9089657+00:00</ArrivalDate>
      <AwbDuplicate>true</AwbDuplicate>
      <AwbId>1</AwbId>
      <BillFound>true</BillFound>
      <BillType>1</BillType>
      <CreatedBy>sample string 13</CreatedBy>
      <CustomWeight>1</CustomWeight>
      <CvsAmount>10</CvsAmount>
      <CvsType>1</CvsType>
      <DepartureLocation>sample string 2</DepartureLocation>
      <DestinationLocation>sample string 3</DestinationLocation>
      <FlightNumber>sample string 11</FlightNumber>
      <GoodsCategory>sample string 4</GoodsCategory>
      <GoodsDescription>sample string 5</GoodsDescription>
      <HAWB>12</HAWB>
      <ManualEntry>true</ManualEntry>
      <MultipleAwbDetails>
        <MultiAwbDetails>
          <AirlineWeight>1</AirlineWeight>
          <AirwayBillNumber>sample string 1</AirwayBillNumber>
          <AwbId>1</AwbId>
          <FlightDate>2025-08-29T02:09:46.9089657+00:00</FlightDate>
          <FlightNumber>sample string 2</FlightNumber>
        </MultiAwbDetails>
        <MultiAwbDetails>
          <AirlineWeight>1</AirlineWeight>
          <AirwayBillNumber>sample string 1</AirwayBillNumber>
          <AwbId>1</AwbId>
          <FlightDate>2025-08-29T02:09:46.9089657+00:00</FlightDate>
          <FlightNumber>sample string 2</FlightNumber>
        </MultiAwbDetails>
      </MultipleAwbDetails>
      <NumberOfGoods>1</NumberOfGoods>
      <TypeNumber>sample string 1</TypeNumber>
    </Records>
  </Records>
  <ShedId>1</ShedId>
  <UserId>sample string 5</UserId>
</ProcessChargeModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.