POST api/Process/UpdateCargoSimilarInvoice

Request Information

URI Parameters

None.

Body Parameters

GetSimilarProcess
NameDescriptionTypeAdditional information
InvoiceNumber

string

None.

InvoiceDate

date

None.

Amount

decimal number

None.

ChargeType

string

None.

IssuerLocation

string

None.

ShedId

integer

None.

PhoneNumber

string

None.

AgentCompany

string

None.

AgentName

string

None.

IssuerName

string

None.

Records

Collection of Records

None.

ChargeData

tbCharges

None.

UserId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "InvoiceNumber": "sample string 1",
  "InvoiceDate": "2025-08-29T02:10:07.2497755+00:00",
  "Amount": 3.0,
  "ChargeType": "sample string 4",
  "IssuerLocation": "sample string 5",
  "ShedId": 6,
  "PhoneNumber": "sample string 7",
  "AgentCompany": "sample string 8",
  "AgentName": "sample string 9",
  "IssuerName": "sample string 10",
  "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:10:07.2497755+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:10:07.2497755+00:00",
          "FlightNumber": "sample string 2"
        },
        {
          "AwbId": 1,
          "AirwayBillNumber": "sample string 1",
          "AirlineWeight": 1.0,
          "FlightDate": "2025-08-29T02:10:07.2497755+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:10:07.2497755+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:10:07.2497755+00:00",
          "FlightNumber": "sample string 2"
        },
        {
          "AwbId": 1,
          "AirwayBillNumber": "sample string 1",
          "AirlineWeight": 1.0,
          "FlightDate": "2025-08-29T02:10:07.2497755+00:00",
          "FlightNumber": "sample string 2"
        }
      ],
      "AwbId": 1,
      "FlightNumber": "sample string 11",
      "HAWB": 12,
      "AwbDuplicate": true,
      "CreatedBy": "sample string 13",
      "ManualEntry": true
    }
  ],
  "ChargeData": {
    "ChargeId": 1,
    "Type": "sample string 2",
    "Symbol": "sample string 3",
    "Value": 4.0,
    "updated": "2025-08-29T02:10:07.2497755+00:00",
    "updated_by": 6,
    "Association": "sample string 7",
    "Operation": "sample string 8",
    "RevenueCode": "sample string 9",
    "RevenueId": 10
  },
  "UserId": "sample string 11"
}

application/xml, text/xml

Sample:
<GetSimilarProcess xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cargo.Data.Entities">
  <AgentCompany>sample string 8</AgentCompany>
  <AgentName>sample string 9</AgentName>
  <Amount>3</Amount>
  <ChargeData>
    <Association>sample string 7</Association>
    <ChargeId>1</ChargeId>
    <Operation>sample string 8</Operation>
    <RevenueCode>sample string 9</RevenueCode>
    <RevenueId>10</RevenueId>
    <Symbol>sample string 3</Symbol>
    <Type>sample string 2</Type>
    <Value>4</Value>
    <updated>2025-08-29T02:10:07.2497755+00:00</updated>
    <updated_by>6</updated_by>
  </ChargeData>
  <ChargeType>sample string 4</ChargeType>
  <InvoiceDate>2025-08-29T02:10:07.2497755+00:00</InvoiceDate>
  <InvoiceNumber>sample string 1</InvoiceNumber>
  <IssuerLocation>sample string 5</IssuerLocation>
  <IssuerName>sample string 10</IssuerName>
  <PhoneNumber>sample string 7</PhoneNumber>
  <Records xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cargo.Data.Model">
    <d2p1:Records>
      <d2p1:AgreedWeight>8</d2p1:AgreedWeight>
      <d2p1:AirlineId>1</d2p1:AirlineId>
      <d2p1:AirlineName>sample string 6</d2p1:AirlineName>
      <d2p1:AirlineWeight>1</d2p1:AirlineWeight>
      <d2p1:AirportCode>sample string 7</d2p1:AirportCode>
      <d2p1:Amount>9</d2p1:Amount>
      <d2p1:ArrivalDate>2025-08-29T02:10:07.2497755+00:00</d2p1:ArrivalDate>
      <d2p1:AwbDuplicate>true</d2p1:AwbDuplicate>
      <d2p1:AwbId>1</d2p1:AwbId>
      <d2p1:BillFound>true</d2p1:BillFound>
      <d2p1:BillType>1</d2p1:BillType>
      <d2p1:CreatedBy>sample string 13</d2p1:CreatedBy>
      <d2p1:CustomWeight>1</d2p1:CustomWeight>
      <d2p1:CvsAmount>10</d2p1:CvsAmount>
      <d2p1:CvsType>1</d2p1:CvsType>
      <d2p1:DepartureLocation>sample string 2</d2p1:DepartureLocation>
      <d2p1:DestinationLocation>sample string 3</d2p1:DestinationLocation>
      <d2p1:FlightNumber>sample string 11</d2p1:FlightNumber>
      <d2p1:GoodsCategory>sample string 4</d2p1:GoodsCategory>
      <d2p1:GoodsDescription>sample string 5</d2p1:GoodsDescription>
      <d2p1:HAWB>12</d2p1:HAWB>
      <d2p1:ManualEntry>true</d2p1:ManualEntry>
      <d2p1:MultipleAwbDetails>
        <d2p1:MultiAwbDetails>
          <d2p1:AirlineWeight>1</d2p1:AirlineWeight>
          <d2p1:AirwayBillNumber>sample string 1</d2p1:AirwayBillNumber>
          <d2p1:AwbId>1</d2p1:AwbId>
          <d2p1:FlightDate>2025-08-29T02:10:07.2497755+00:00</d2p1:FlightDate>
          <d2p1:FlightNumber>sample string 2</d2p1:FlightNumber>
        </d2p1:MultiAwbDetails>
        <d2p1:MultiAwbDetails>
          <d2p1:AirlineWeight>1</d2p1:AirlineWeight>
          <d2p1:AirwayBillNumber>sample string 1</d2p1:AirwayBillNumber>
          <d2p1:AwbId>1</d2p1:AwbId>
          <d2p1:FlightDate>2025-08-29T02:10:07.2497755+00:00</d2p1:FlightDate>
          <d2p1:FlightNumber>sample string 2</d2p1:FlightNumber>
        </d2p1:MultiAwbDetails>
      </d2p1:MultipleAwbDetails>
      <d2p1:NumberOfGoods>1</d2p1:NumberOfGoods>
      <d2p1:TypeNumber>sample string 1</d2p1:TypeNumber>
    </d2p1:Records>
    <d2p1:Records>
      <d2p1:AgreedWeight>8</d2p1:AgreedWeight>
      <d2p1:AirlineId>1</d2p1:AirlineId>
      <d2p1:AirlineName>sample string 6</d2p1:AirlineName>
      <d2p1:AirlineWeight>1</d2p1:AirlineWeight>
      <d2p1:AirportCode>sample string 7</d2p1:AirportCode>
      <d2p1:Amount>9</d2p1:Amount>
      <d2p1:ArrivalDate>2025-08-29T02:10:07.2497755+00:00</d2p1:ArrivalDate>
      <d2p1:AwbDuplicate>true</d2p1:AwbDuplicate>
      <d2p1:AwbId>1</d2p1:AwbId>
      <d2p1:BillFound>true</d2p1:BillFound>
      <d2p1:BillType>1</d2p1:BillType>
      <d2p1:CreatedBy>sample string 13</d2p1:CreatedBy>
      <d2p1:CustomWeight>1</d2p1:CustomWeight>
      <d2p1:CvsAmount>10</d2p1:CvsAmount>
      <d2p1:CvsType>1</d2p1:CvsType>
      <d2p1:DepartureLocation>sample string 2</d2p1:DepartureLocation>
      <d2p1:DestinationLocation>sample string 3</d2p1:DestinationLocation>
      <d2p1:FlightNumber>sample string 11</d2p1:FlightNumber>
      <d2p1:GoodsCategory>sample string 4</d2p1:GoodsCategory>
      <d2p1:GoodsDescription>sample string 5</d2p1:GoodsDescription>
      <d2p1:HAWB>12</d2p1:HAWB>
      <d2p1:ManualEntry>true</d2p1:ManualEntry>
      <d2p1:MultipleAwbDetails>
        <d2p1:MultiAwbDetails>
          <d2p1:AirlineWeight>1</d2p1:AirlineWeight>
          <d2p1:AirwayBillNumber>sample string 1</d2p1:AirwayBillNumber>
          <d2p1:AwbId>1</d2p1:AwbId>
          <d2p1:FlightDate>2025-08-29T02:10:07.2497755+00:00</d2p1:FlightDate>
          <d2p1:FlightNumber>sample string 2</d2p1:FlightNumber>
        </d2p1:MultiAwbDetails>
        <d2p1:MultiAwbDetails>
          <d2p1:AirlineWeight>1</d2p1:AirlineWeight>
          <d2p1:AirwayBillNumber>sample string 1</d2p1:AirwayBillNumber>
          <d2p1:AwbId>1</d2p1:AwbId>
          <d2p1:FlightDate>2025-08-29T02:10:07.2497755+00:00</d2p1:FlightDate>
          <d2p1:FlightNumber>sample string 2</d2p1:FlightNumber>
        </d2p1:MultiAwbDetails>
      </d2p1:MultipleAwbDetails>
      <d2p1:NumberOfGoods>1</d2p1:NumberOfGoods>
      <d2p1:TypeNumber>sample string 1</d2p1:TypeNumber>
    </d2p1:Records>
  </Records>
  <ShedId>6</ShedId>
  <UserId>sample string 11</UserId>
</GetSimilarProcess>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.