PUT api/ordFreightHandling/{id}

Update an existing record from the FreightHandling table.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

ordFreightHandlingDb
NameDescriptionTypeAdditional information
FreightHandlingID

integer

None.

OrderID

integer

Required

DataVersion

string

Required

ServiceCode

integer

None.

InputCurrencyCode

string

Max length: 3

InputCharge

decimal number

Required

Charge

decimal number

Required

PerSkid

boolean

None.

TotalCharge

decimal number

Required

Comment

string

Max length: 240

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

FBSubChargesWOID

integer

None.

results

Collection of ValidationResult

None.

Request Formats

application/json, text/json

Sample:
{
  "results": null,
  "FreightHandlingID": 1,
  "OrderID": 2,
  "DataVersion": "sample string 3",
  "ServiceCode": 1,
  "InputCurrencyCode": "sample string 4",
  "InputCharge": 5.0,
  "Charge": 6.0,
  "PerSkid": true,
  "TotalCharge": 8.0,
  "Comment": "sample string 9",
  "CreatedBy": 10,
  "CreatedDate": "2025-12-06T23:42:47.1792992+00:00",
  "UpdatedBy": 12,
  "UpdatedDate": "2025-12-06T23:42:47.1792992+00:00",
  "FBSubChargesWOID": 1
}

application/xml, text/xml

Sample:
<ordFreightHandlingDb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
  <results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" />
  <Charge>6</Charge>
  <Comment>sample string 9</Comment>
  <CreatedBy>10</CreatedBy>
  <CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:42:47.1792992Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreatedDate>
  <DataVersion>sample string 3</DataVersion>
  <FBSubChargesWOID>1</FBSubChargesWOID>
  <FreightHandlingID>1</FreightHandlingID>
  <InputCharge>5</InputCharge>
  <InputCurrencyCode>sample string 4</InputCurrencyCode>
  <OrderID>2</OrderID>
  <PerSkid>true</PerSkid>
  <ServiceCode>1</ServiceCode>
  <TotalCharge>8</TotalCharge>
  <UpdatedBy>12</UpdatedBy>
  <UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:42:47.1792992Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </UpdatedDate>
</ordFreightHandlingDb>

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

Response Information

Resource Description

UpsertRetOfordFreightHandlingDb
NameDescriptionTypeAdditional information
returnID

integer

None.

results

Collection of ValidationResult

None.

returnItem

ordFreightHandlingDb

None.

displayMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "returnID": 1,
  "results": null,
  "returnItem": {
    "results": null,
    "FreightHandlingID": 1,
    "OrderID": 2,
    "DataVersion": "sample string 3",
    "ServiceCode": 1,
    "InputCurrencyCode": "sample string 4",
    "InputCharge": 5.0,
    "Charge": 6.0,
    "PerSkid": true,
    "TotalCharge": 8.0,
    "Comment": "sample string 9",
    "CreatedBy": 10,
    "CreatedDate": "2025-12-06T23:42:47.1792992+00:00",
    "UpdatedBy": 12,
    "UpdatedDate": "2025-12-06T23:42:47.1792992+00:00",
    "FBSubChargesWOID": 1
  },
  "displayMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<UpsertRetOfordFreightHandlingDb66KPc_SrH xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility">
  <displayMessage>sample string 1</displayMessage>
  <results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" />
  <returnID>1</returnID>
  <returnItem xmlns:d2p1="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
    <results xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" />
    <d2p1:Charge>6</d2p1:Charge>
    <d2p1:Comment>sample string 9</d2p1:Comment>
    <d2p1:CreatedBy>10</d2p1:CreatedBy>
    <d2p1:CreatedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2025-12-06T23:42:47.1792992Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </d2p1:CreatedDate>
    <d2p1:DataVersion>sample string 3</d2p1:DataVersion>
    <d2p1:FBSubChargesWOID>1</d2p1:FBSubChargesWOID>
    <d2p1:FreightHandlingID>1</d2p1:FreightHandlingID>
    <d2p1:InputCharge>5</d2p1:InputCharge>
    <d2p1:InputCurrencyCode>sample string 4</d2p1:InputCurrencyCode>
    <d2p1:OrderID>2</d2p1:OrderID>
    <d2p1:PerSkid>true</d2p1:PerSkid>
    <d2p1:ServiceCode>1</d2p1:ServiceCode>
    <d2p1:TotalCharge>8</d2p1:TotalCharge>
    <d2p1:UpdatedBy>12</d2p1:UpdatedBy>
    <d2p1:UpdatedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2025-12-06T23:42:47.1792992Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </d2p1:UpdatedDate>
  </returnItem>
</UpsertRetOfordFreightHandlingDb66KPc_SrH>