POST api/Process/UpdateCargoExportSimilarInvoice

Request Information

URI Parameters

None.

Body Parameters

GetSimilarExportProcess
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 ExportRecords

None.

ChargeData

tbCharges

None.

UserId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "InvoiceNumber": "sample string 1",
  "InvoiceDate": "2025-08-29T02:10:08.8978273+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:08.8978273+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:10:08.8978273+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
    }
  ],
  "ChargeData": {
    "ChargeId": 1,
    "Type": "sample string 2",
    "Symbol": "sample string 3",
    "Value": 4.0,
    "updated": "2025-08-29T02:10:08.8978273+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:
<GetSimilarExportProcess 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:08.8978273+00:00</updated>
    <updated_by>6</updated_by>
  </ChargeData>
  <ChargeType>sample string 4</ChargeType>
  <InvoiceDate>2025-08-29T02:10:08.8978273+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:ExportRecords>
      <d2p1:AgreedWeight>9</d2p1:AgreedWeight>
      <d2p1:AirlineId>1</d2p1:AirlineId>
      <d2p1:AirlineName>sample string 6</d2p1:AirlineName>
      <d2p1:AirportCode>sample string 7</d2p1:AirportCode>
      <d2p1:Amount>10</d2p1:Amount>
      <d2p1:ArrivalDate>2025-08-29T02:10:08.8978273+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 16</d2p1:CreatedBy>
      <d2p1:CvsAmount>11</d2p1:CvsAmount>
      <d2p1:CvsType>1</d2p1:CvsType>
      <d2p1:DepartureLocation>sample string 2</d2p1:DepartureLocation>
      <d2p1:DestinationLocation>sample string 3</d2p1:DestinationLocation>
      <d2p1:Duplicate>true</d2p1:Duplicate>
      <d2p1:FieldWeight>8</d2p1:FieldWeight>
      <d2p1:GoodsCategory>sample string 4</d2p1:GoodsCategory>
      <d2p1:GoodsDescription>sample string 5</d2p1:GoodsDescription>
      <d2p1:HAWB>15</d2p1:HAWB>
      <d2p1:ManualEntry>true</d2p1:ManualEntry>
      <d2p1:NumberOfGoods>1</d2p1:NumberOfGoods>
      <d2p1:ShedAcceptanceNumber>sample string 12</d2p1:ShedAcceptanceNumber>
      <d2p1:ShedWeight>14</d2p1:ShedWeight>
      <d2p1:TypeNumber>sample string 1</d2p1:TypeNumber>
    </d2p1:ExportRecords>
    <d2p1:ExportRecords>
      <d2p1:AgreedWeight>9</d2p1:AgreedWeight>
      <d2p1:AirlineId>1</d2p1:AirlineId>
      <d2p1:AirlineName>sample string 6</d2p1:AirlineName>
      <d2p1:AirportCode>sample string 7</d2p1:AirportCode>
      <d2p1:Amount>10</d2p1:Amount>
      <d2p1:ArrivalDate>2025-08-29T02:10:08.8978273+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 16</d2p1:CreatedBy>
      <d2p1:CvsAmount>11</d2p1:CvsAmount>
      <d2p1:CvsType>1</d2p1:CvsType>
      <d2p1:DepartureLocation>sample string 2</d2p1:DepartureLocation>
      <d2p1:DestinationLocation>sample string 3</d2p1:DestinationLocation>
      <d2p1:Duplicate>true</d2p1:Duplicate>
      <d2p1:FieldWeight>8</d2p1:FieldWeight>
      <d2p1:GoodsCategory>sample string 4</d2p1:GoodsCategory>
      <d2p1:GoodsDescription>sample string 5</d2p1:GoodsDescription>
      <d2p1:HAWB>15</d2p1:HAWB>
      <d2p1:ManualEntry>true</d2p1:ManualEntry>
      <d2p1:NumberOfGoods>1</d2p1:NumberOfGoods>
      <d2p1:ShedAcceptanceNumber>sample string 12</d2p1:ShedAcceptanceNumber>
      <d2p1:ShedWeight>14</d2p1:ShedWeight>
      <d2p1:TypeNumber>sample string 1</d2p1:TypeNumber>
    </d2p1:ExportRecords>
  </Records>
  <ShedId>6</ShedId>
  <UserId>sample string 11</UserId>
</GetSimilarExportProcess>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.