POST api/ordFreightCalculator
Insert a new record into the FreightCalculator table.
Request Information
URI Parameters
None.
Body Parameters
ordFreightCalculatorEx| Name | Description | Type | Additional information |
|---|---|---|---|
| CreatedByName | string |
None. |
|
| CreatedByInitials | string |
None. |
|
| UpdatedByName | string |
None. |
|
| UpdatedByInitials | string |
None. |
|
| InvoiceNumber | string |
None. |
|
| FreightCalculatorID | integer |
None. |
|
| OrderID | integer |
Required |
|
| DataVersion | string |
Required |
|
| Revision | integer |
None. |
|
| IsLocked | boolean |
None. |
|
| SpecifiedMarkupPercent | decimal number |
None. |
|
| SpecifiedMarkupMargin | decimal number |
None. |
|
| SpecifiedTotalMarkupMargin | decimal number |
None. |
|
| SpecifiedShipmentRate | decimal number |
None. |
|
| SpecifiedBillableRate | decimal number |
None. |
|
| SpecifiedGrossMargin | decimal number |
None. |
|
| CarrierCost | decimal number |
None. |
|
| AccessorialCharges | decimal number |
None. |
|
| CustomCharges | decimal number |
None. |
|
| ShipmentCost | decimal number |
None. |
|
| MarkupPercent | decimal number |
None. |
|
| MarkupMargin | decimal number |
None. |
|
| CustomMarkUpMargin | decimal number |
None. |
|
| TotalMarkUpMargin | decimal number |
None. |
|
| ShipmentRate | decimal number |
None. |
|
| HandlingFees | decimal number |
None. |
|
| ShipmentHandlingRate | decimal number |
None. |
|
| BrokerageCost | decimal number |
None. |
|
| BrokerageRate | decimal number |
None. |
|
| InsuranceCost | decimal number |
None. |
|
| InsuranceRate | decimal number |
None. |
|
| OtherCost | decimal number |
None. |
|
| OtherRate | decimal number |
None. |
|
| BillRate | decimal number |
None. |
|
| COGS | decimal number |
None. |
|
| COGSMarkupPercent | decimal number |
None. |
|
| GrossMargin | decimal number |
None. |
|
| Commission | decimal number |
None. |
|
| NetMargin | decimal number |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| UpdatedBy | integer |
None. |
|
| UpdatedDate | date |
None. |
|
| FBRateCalculatorID | integer |
None. |
|
| results | Collection of ValidationResult |
None. |
Request Formats
application/json, text/json
Sample:
{
"results": null,
"CreatedByName": "sample string 1",
"CreatedByInitials": "sample string 2",
"UpdatedByName": "sample string 3",
"UpdatedByInitials": "sample string 4",
"InvoiceNumber": "sample string 5",
"FreightCalculatorID": 6,
"OrderID": 7,
"DataVersion": "sample string 8",
"Revision": 9,
"IsLocked": true,
"SpecifiedMarkupPercent": 1.0,
"SpecifiedMarkupMargin": 1.0,
"SpecifiedTotalMarkupMargin": 1.0,
"SpecifiedShipmentRate": 1.0,
"SpecifiedBillableRate": 1.0,
"SpecifiedGrossMargin": 1.0,
"CarrierCost": 1.0,
"AccessorialCharges": 1.0,
"CustomCharges": 1.0,
"ShipmentCost": 1.0,
"MarkupPercent": 1.0,
"MarkupMargin": 1.0,
"CustomMarkUpMargin": 1.0,
"TotalMarkUpMargin": 1.0,
"ShipmentRate": 1.0,
"HandlingFees": 1.0,
"ShipmentHandlingRate": 1.0,
"BrokerageCost": 1.0,
"BrokerageRate": 1.0,
"InsuranceCost": 1.0,
"InsuranceRate": 1.0,
"OtherCost": 1.0,
"OtherRate": 1.0,
"BillRate": 1.0,
"COGS": 1.0,
"COGSMarkupPercent": 1.0,
"GrossMargin": 1.0,
"Commission": 1.0,
"NetMargin": 1.0,
"CreatedBy": 11,
"CreatedDate": "2025-12-06T23:39:24.1906387+00:00",
"UpdatedBy": 13,
"UpdatedDate": "2025-12-06T23:39:24.1906387+00:00",
"FBRateCalculatorID": 1
}
application/xml, text/xml
Sample:
<ordFreightCalculatorEx 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" />
<AccessorialCharges>1</AccessorialCharges>
<BillRate>1</BillRate>
<BrokerageCost>1</BrokerageCost>
<BrokerageRate>1</BrokerageRate>
<COGS>1</COGS>
<COGSMarkupPercent>1</COGSMarkupPercent>
<CarrierCost>1</CarrierCost>
<Commission>1</Commission>
<CreatedBy>11</CreatedBy>
<CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-12-06T23:39:24.1906387Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</CreatedDate>
<CustomCharges>1</CustomCharges>
<CustomMarkUpMargin>1</CustomMarkUpMargin>
<DataVersion>sample string 8</DataVersion>
<FBRateCalculatorID>1</FBRateCalculatorID>
<FreightCalculatorID>6</FreightCalculatorID>
<GrossMargin>1</GrossMargin>
<HandlingFees>1</HandlingFees>
<InsuranceCost>1</InsuranceCost>
<InsuranceRate>1</InsuranceRate>
<IsLocked>true</IsLocked>
<MarkupMargin>1</MarkupMargin>
<MarkupPercent>1</MarkupPercent>
<NetMargin>1</NetMargin>
<OrderID>7</OrderID>
<OtherCost>1</OtherCost>
<OtherRate>1</OtherRate>
<Revision>9</Revision>
<ShipmentCost>1</ShipmentCost>
<ShipmentHandlingRate>1</ShipmentHandlingRate>
<ShipmentRate>1</ShipmentRate>
<SpecifiedBillableRate>1</SpecifiedBillableRate>
<SpecifiedGrossMargin>1</SpecifiedGrossMargin>
<SpecifiedMarkupMargin>1</SpecifiedMarkupMargin>
<SpecifiedMarkupPercent>1</SpecifiedMarkupPercent>
<SpecifiedShipmentRate>1</SpecifiedShipmentRate>
<SpecifiedTotalMarkupMargin>1</SpecifiedTotalMarkupMargin>
<TotalMarkUpMargin>1</TotalMarkUpMargin>
<UpdatedBy>13</UpdatedBy>
<UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-12-06T23:39:24.1906387Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</UpdatedDate>
<CreatedByInitials>sample string 2</CreatedByInitials>
<CreatedByName>sample string 1</CreatedByName>
<InvoiceNumber>sample string 5</InvoiceNumber>
<UpdatedByInitials>sample string 4</UpdatedByInitials>
<UpdatedByName>sample string 3</UpdatedByName>
</ordFreightCalculatorEx>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
UpsertRetOfordFreightCalculatorDb| Name | Description | Type | Additional information |
|---|---|---|---|
| returnID | integer |
None. |
|
| results | Collection of ValidationResult |
None. |
|
| returnItem | ordFreightCalculatorDb |
None. |
|
| displayMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"returnID": 1,
"results": null,
"returnItem": {
"results": null,
"FreightCalculatorID": 1,
"OrderID": 2,
"DataVersion": "sample string 3",
"Revision": 4,
"IsLocked": true,
"SpecifiedMarkupPercent": 1.0,
"SpecifiedMarkupMargin": 1.0,
"SpecifiedTotalMarkupMargin": 1.0,
"SpecifiedShipmentRate": 1.0,
"SpecifiedBillableRate": 1.0,
"SpecifiedGrossMargin": 1.0,
"CarrierCost": 1.0,
"AccessorialCharges": 1.0,
"CustomCharges": 1.0,
"ShipmentCost": 1.0,
"MarkupPercent": 1.0,
"MarkupMargin": 1.0,
"CustomMarkUpMargin": 1.0,
"TotalMarkUpMargin": 1.0,
"ShipmentRate": 1.0,
"HandlingFees": 1.0,
"ShipmentHandlingRate": 1.0,
"BrokerageCost": 1.0,
"BrokerageRate": 1.0,
"InsuranceCost": 1.0,
"InsuranceRate": 1.0,
"OtherCost": 1.0,
"OtherRate": 1.0,
"BillRate": 1.0,
"COGS": 1.0,
"COGSMarkupPercent": 1.0,
"GrossMargin": 1.0,
"Commission": 1.0,
"NetMargin": 1.0,
"CreatedBy": 6,
"CreatedDate": "2025-12-06T23:39:24.1906387+00:00",
"UpdatedBy": 8,
"UpdatedDate": "2025-12-06T23:39:24.1906387+00:00",
"FBRateCalculatorID": 1
},
"displayMessage": "sample string 1"
}
application/xml, text/xml
Sample:
<UpsertRetOfordFreightCalculatorDb66KPc_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:AccessorialCharges>1</d2p1:AccessorialCharges>
<d2p1:BillRate>1</d2p1:BillRate>
<d2p1:BrokerageCost>1</d2p1:BrokerageCost>
<d2p1:BrokerageRate>1</d2p1:BrokerageRate>
<d2p1:COGS>1</d2p1:COGS>
<d2p1:COGSMarkupPercent>1</d2p1:COGSMarkupPercent>
<d2p1:CarrierCost>1</d2p1:CarrierCost>
<d2p1:Commission>1</d2p1:Commission>
<d2p1:CreatedBy>6</d2p1:CreatedBy>
<d2p1:CreatedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:DateTime>2025-12-06T23:39:24.1906387Z</d3p1:DateTime>
<d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
</d2p1:CreatedDate>
<d2p1:CustomCharges>1</d2p1:CustomCharges>
<d2p1:CustomMarkUpMargin>1</d2p1:CustomMarkUpMargin>
<d2p1:DataVersion>sample string 3</d2p1:DataVersion>
<d2p1:FBRateCalculatorID>1</d2p1:FBRateCalculatorID>
<d2p1:FreightCalculatorID>1</d2p1:FreightCalculatorID>
<d2p1:GrossMargin>1</d2p1:GrossMargin>
<d2p1:HandlingFees>1</d2p1:HandlingFees>
<d2p1:InsuranceCost>1</d2p1:InsuranceCost>
<d2p1:InsuranceRate>1</d2p1:InsuranceRate>
<d2p1:IsLocked>true</d2p1:IsLocked>
<d2p1:MarkupMargin>1</d2p1:MarkupMargin>
<d2p1:MarkupPercent>1</d2p1:MarkupPercent>
<d2p1:NetMargin>1</d2p1:NetMargin>
<d2p1:OrderID>2</d2p1:OrderID>
<d2p1:OtherCost>1</d2p1:OtherCost>
<d2p1:OtherRate>1</d2p1:OtherRate>
<d2p1:Revision>4</d2p1:Revision>
<d2p1:ShipmentCost>1</d2p1:ShipmentCost>
<d2p1:ShipmentHandlingRate>1</d2p1:ShipmentHandlingRate>
<d2p1:ShipmentRate>1</d2p1:ShipmentRate>
<d2p1:SpecifiedBillableRate>1</d2p1:SpecifiedBillableRate>
<d2p1:SpecifiedGrossMargin>1</d2p1:SpecifiedGrossMargin>
<d2p1:SpecifiedMarkupMargin>1</d2p1:SpecifiedMarkupMargin>
<d2p1:SpecifiedMarkupPercent>1</d2p1:SpecifiedMarkupPercent>
<d2p1:SpecifiedShipmentRate>1</d2p1:SpecifiedShipmentRate>
<d2p1:SpecifiedTotalMarkupMargin>1</d2p1:SpecifiedTotalMarkupMargin>
<d2p1:TotalMarkUpMargin>1</d2p1:TotalMarkUpMargin>
<d2p1:UpdatedBy>8</d2p1:UpdatedBy>
<d2p1:UpdatedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:DateTime>2025-12-06T23:39:24.1906387Z</d3p1:DateTime>
<d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
</d2p1:UpdatedDate>
</returnItem>
</UpsertRetOfordFreightCalculatorDb66KPc_SrH>