PUT api/ordFreightFee/{id}

Update an existing record from the FreightFees table.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

ordFreightFeeDb
NameDescriptionTypeAdditional information
FreightFeeID

integer

None.

FreightPayableID

integer

None.

FeeTypeID

integer

Required

OnInvoiceID

integer

None.

InputCurrencyCode

string

Max length: 3

InputExchangeRate

decimal number

None.

InputBaseAmount

decimal number

None.

InputAmount

decimal number

None.

MarkupAmount

decimal number

None.

MarkupPercent

decimal number

None.

CommissionPercent

decimal number

None.

FuelSurchargePercent

decimal number

None.

CustomBillableAmount

decimal number

None.

ShowNameOnInvoice

boolean

None.

ShowBillableOnInvoice

boolean

None.

InvoicedAmount

decimal number

None.

InvoicedApprovedBy

integer

None.

InvoicedApprovedDate

date

None.

BilledCurrencyCode

string

None.

BilledExchangeRate

decimal number

None.

BilledBaseAmount

decimal number

None.

BilledAmount

decimal number

None.

BilledEnteredBy

integer

None.

BilledEnteredDate

date

None.

BilledReferenceNumber

string

None.

FeeStatus

string

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

FBSubPayablesID

integer

None.

FBSubChargesLegID

integer

None.

results

Collection of ValidationResult

None.

Request Formats

application/json, text/json

Sample:
{
  "results": null,
  "FreightFeeID": 1,
  "FreightPayableID": 1,
  "FeeTypeID": 2,
  "OnInvoiceID": 1,
  "InputCurrencyCode": "sample string 3",
  "InputExchangeRate": 1.0,
  "InputBaseAmount": 1.0,
  "InputAmount": 1.0,
  "MarkupAmount": 1.0,
  "MarkupPercent": 1.0,
  "CommissionPercent": 1.0,
  "FuelSurchargePercent": 1.0,
  "CustomBillableAmount": 1.0,
  "ShowNameOnInvoice": true,
  "ShowBillableOnInvoice": true,
  "InvoicedAmount": 1.0,
  "InvoicedApprovedBy": 1,
  "InvoicedApprovedDate": "2025-12-06T23:40:55.0689949+00:00",
  "BilledCurrencyCode": "sample string 6",
  "BilledExchangeRate": 1.0,
  "BilledBaseAmount": 1.0,
  "BilledAmount": 1.0,
  "BilledEnteredBy": 1,
  "BilledEnteredDate": "2025-12-06T23:40:55.0689949+00:00",
  "BilledReferenceNumber": "sample string 7",
  "FeeStatus": "sample string 8",
  "CreatedBy": 9,
  "CreatedDate": "2025-12-06T23:40:55.0689949+00:00",
  "UpdatedBy": 11,
  "UpdatedDate": "2025-12-06T23:40:55.0689949+00:00",
  "FBSubPayablesID": 1,
  "FBSubChargesLegID": 1
}

application/xml, text/xml

Sample:
<ordFreightFeeDb 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" />
  <BilledAmount>1</BilledAmount>
  <BilledBaseAmount>1</BilledBaseAmount>
  <BilledCurrencyCode>sample string 6</BilledCurrencyCode>
  <BilledEnteredBy>1</BilledEnteredBy>
  <BilledEnteredDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:40:55.0689949Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </BilledEnteredDate>
  <BilledExchangeRate>1</BilledExchangeRate>
  <BilledReferenceNumber>sample string 7</BilledReferenceNumber>
  <CommissionPercent>1</CommissionPercent>
  <CreatedBy>9</CreatedBy>
  <CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:40:55.0689949Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreatedDate>
  <CustomBillableAmount>1</CustomBillableAmount>
  <FBSubChargesLegID>1</FBSubChargesLegID>
  <FBSubPayablesID>1</FBSubPayablesID>
  <FeeStatus>sample string 8</FeeStatus>
  <FeeTypeID>2</FeeTypeID>
  <FreightFeeID>1</FreightFeeID>
  <FreightPayableID>1</FreightPayableID>
  <FuelSurchargePercent>1</FuelSurchargePercent>
  <InputAmount>1</InputAmount>
  <InputBaseAmount>1</InputBaseAmount>
  <InputCurrencyCode>sample string 3</InputCurrencyCode>
  <InputExchangeRate>1</InputExchangeRate>
  <InvoicedAmount>1</InvoicedAmount>
  <InvoicedApprovedBy>1</InvoicedApprovedBy>
  <InvoicedApprovedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:40:55.0689949Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </InvoicedApprovedDate>
  <MarkupAmount>1</MarkupAmount>
  <MarkupPercent>1</MarkupPercent>
  <OnInvoiceID>1</OnInvoiceID>
  <ShowBillableOnInvoice>true</ShowBillableOnInvoice>
  <ShowNameOnInvoice>true</ShowNameOnInvoice>
  <UpdatedBy>11</UpdatedBy>
  <UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:40:55.0689949Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </UpdatedDate>
</ordFreightFeeDb>

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

Response Information

Resource Description

UpsertRetOfordFreightFeeDb
NameDescriptionTypeAdditional information
returnID

integer

None.

results

Collection of ValidationResult

None.

returnItem

ordFreightFeeDb

None.

displayMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "returnID": 1,
  "results": null,
  "returnItem": {
    "results": null,
    "FreightFeeID": 1,
    "FreightPayableID": 1,
    "FeeTypeID": 2,
    "OnInvoiceID": 1,
    "InputCurrencyCode": "sample string 3",
    "InputExchangeRate": 1.0,
    "InputBaseAmount": 1.0,
    "InputAmount": 1.0,
    "MarkupAmount": 1.0,
    "MarkupPercent": 1.0,
    "CommissionPercent": 1.0,
    "FuelSurchargePercent": 1.0,
    "CustomBillableAmount": 1.0,
    "ShowNameOnInvoice": true,
    "ShowBillableOnInvoice": true,
    "InvoicedAmount": 1.0,
    "InvoicedApprovedBy": 1,
    "InvoicedApprovedDate": "2025-12-06T23:40:55.0689949+00:00",
    "BilledCurrencyCode": "sample string 6",
    "BilledExchangeRate": 1.0,
    "BilledBaseAmount": 1.0,
    "BilledAmount": 1.0,
    "BilledEnteredBy": 1,
    "BilledEnteredDate": "2025-12-06T23:40:55.0689949+00:00",
    "BilledReferenceNumber": "sample string 7",
    "FeeStatus": "sample string 8",
    "CreatedBy": 9,
    "CreatedDate": "2025-12-06T23:40:55.0689949+00:00",
    "UpdatedBy": 11,
    "UpdatedDate": "2025-12-06T23:40:55.0689949+00:00",
    "FBSubPayablesID": 1,
    "FBSubChargesLegID": 1
  },
  "displayMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<UpsertRetOfordFreightFeeDb66KPc_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:BilledAmount>1</d2p1:BilledAmount>
    <d2p1:BilledBaseAmount>1</d2p1:BilledBaseAmount>
    <d2p1:BilledCurrencyCode>sample string 6</d2p1:BilledCurrencyCode>
    <d2p1:BilledEnteredBy>1</d2p1:BilledEnteredBy>
    <d2p1:BilledEnteredDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2025-12-06T23:40:55.0689949Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </d2p1:BilledEnteredDate>
    <d2p1:BilledExchangeRate>1</d2p1:BilledExchangeRate>
    <d2p1:BilledReferenceNumber>sample string 7</d2p1:BilledReferenceNumber>
    <d2p1:CommissionPercent>1</d2p1:CommissionPercent>
    <d2p1:CreatedBy>9</d2p1:CreatedBy>
    <d2p1:CreatedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2025-12-06T23:40:55.0689949Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </d2p1:CreatedDate>
    <d2p1:CustomBillableAmount>1</d2p1:CustomBillableAmount>
    <d2p1:FBSubChargesLegID>1</d2p1:FBSubChargesLegID>
    <d2p1:FBSubPayablesID>1</d2p1:FBSubPayablesID>
    <d2p1:FeeStatus>sample string 8</d2p1:FeeStatus>
    <d2p1:FeeTypeID>2</d2p1:FeeTypeID>
    <d2p1:FreightFeeID>1</d2p1:FreightFeeID>
    <d2p1:FreightPayableID>1</d2p1:FreightPayableID>
    <d2p1:FuelSurchargePercent>1</d2p1:FuelSurchargePercent>
    <d2p1:InputAmount>1</d2p1:InputAmount>
    <d2p1:InputBaseAmount>1</d2p1:InputBaseAmount>
    <d2p1:InputCurrencyCode>sample string 3</d2p1:InputCurrencyCode>
    <d2p1:InputExchangeRate>1</d2p1:InputExchangeRate>
    <d2p1:InvoicedAmount>1</d2p1:InvoicedAmount>
    <d2p1:InvoicedApprovedBy>1</d2p1:InvoicedApprovedBy>
    <d2p1:InvoicedApprovedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2025-12-06T23:40:55.0689949Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </d2p1:InvoicedApprovedDate>
    <d2p1:MarkupAmount>1</d2p1:MarkupAmount>
    <d2p1:MarkupPercent>1</d2p1:MarkupPercent>
    <d2p1:OnInvoiceID>1</d2p1:OnInvoiceID>
    <d2p1:ShowBillableOnInvoice>true</d2p1:ShowBillableOnInvoice>
    <d2p1:ShowNameOnInvoice>true</d2p1:ShowNameOnInvoice>
    <d2p1:UpdatedBy>11</d2p1:UpdatedBy>
    <d2p1:UpdatedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2025-12-06T23:40:55.0689949Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </d2p1:UpdatedDate>
  </returnItem>
</UpsertRetOfordFreightFeeDb66KPc_SrH>