POST product/AutoCalculateShipmentDetails
Action will auto calculate the shipment details.
Pass HTTP Authorization request header with value "Bearer {token}" to perform this action.
Sandbox Url: https://sandbox-api.freightpop.com/product/AutoCalculateShipmentDetails
Pass HTTP Authorization request header with value "Bearer {token}" to perform this action.
EndPoint
Production Url: https://enterprise.freightpop.com/product/AutoCalculateShipmentDetailsSandbox Url: https://sandbox-api.freightpop.com/product/AutoCalculateShipmentDetails
Request Information
URI Parameters
None.
Body Parameters
RequestAutoCalculateShipmentDetailsName | Description | Type | Additional information |
---|---|---|---|
ListOfItems |
Product and Packing Details |
Collection of AutoCalculateItems |
Required. Length should be greater than zero
|
Request Formats
application/json, text/json
Sample:
{ "ListOfItems": [ { "QtyToPack": 1, "Item": "sample string 2", "Description": "sample string 3", "FreightClass": "sample string 4", "Category": "sample string 5", "Length": 6.1, "Height": 7.1, "Width": 8.1, "Weight": 9.1, "PackageType": 1, "BulkPackQtyFrom": 10.1, "BulkPackQtyTo": 11.1, "BulkPackPackageType": 1, "BulkPackLength": 12.1, "BulkPackWidth": 13.1, "BulkPackHeight": 14.1, "BulkPackAddtlWeight": 15.1, "UseItemFreightClass": true, "CBFT": 17.0, "L2BulkPackQtyFrom": 18.1, "L2BulkPackQtyTo": 19.1, "L2BulkPackPackageType": 1, "L2BulkPackLength": 20.1, "L2BulkPackWidth": 21.1, "L2BulkPackHeight": 22.1, "L2BulkPackAddtlWeight": 23.1, "MakeBulkPackLeftOver": 24, "NMFC": "sample string 25", "AllowMixingParts": true }, { "QtyToPack": 1, "Item": "sample string 2", "Description": "sample string 3", "FreightClass": "sample string 4", "Category": "sample string 5", "Length": 6.1, "Height": 7.1, "Width": 8.1, "Weight": 9.1, "PackageType": 1, "BulkPackQtyFrom": 10.1, "BulkPackQtyTo": 11.1, "BulkPackPackageType": 1, "BulkPackLength": 12.1, "BulkPackWidth": 13.1, "BulkPackHeight": 14.1, "BulkPackAddtlWeight": 15.1, "UseItemFreightClass": true, "CBFT": 17.0, "L2BulkPackQtyFrom": 18.1, "L2BulkPackQtyTo": 19.1, "L2BulkPackPackageType": 1, "L2BulkPackLength": 20.1, "L2BulkPackWidth": 21.1, "L2BulkPackHeight": 22.1, "L2BulkPackAddtlWeight": 23.1, "MakeBulkPackLeftOver": 24, "NMFC": "sample string 25", "AllowMixingParts": true } ] }
Response Information
Resource Description
AutoCalculateApiResponseName | Description | Type | Additional information |
---|---|---|---|
Data |
Shipment details after calculations. you can pass them directly in any of our ratShop or shipment API's |
Collection of ItemV4_AutoCalculationItems |
None. |
Code |
Response code returned by api |
HttpStatusCode |
None. |
Message |
Human readable message |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ { "Quantity": 1, "PackageType": 1, "PackageTypeName": "sample string 2", "Unit": 1, "Length": 3.1, "Width": 4.1, "Height": 5.1, "Weight": 6.1, "TotalWeight": 7.1, "Description": "sample string 8", "FreightClass": 9.1, "NMFC": "sample string 10", "Hazmat": true, "PackageId": "sample string 12", "HazmatDetails": [ { "UnNo": "sample string 1", "ReportableQuantity": 2, "PackingGroup": 0, "UnitOfMeasure": 0, "NoOfContainers": 3, "RegulatoryQuantity": 4, "AircraftType": 0, "AllPackedInOne": true, "ReferenceNumber": "sample string 6", "ProperShippingName": "sample string 7", "RadioActiveContainerClass": 0, "Quantity": 8, "ContainerType": 0, "EmergencyContact": "sample string 9", "EmergencyPhone": "sample string 10", "Options": 0, "OverPacked": true, "RegulationSet": 0, "TechnicalName": "sample string 12", "HazardousClass": "sample string 13", "SubsidiaryClass": "sample string 14", "AdditionalDescription": "sample string 15", "PackingInstructions": "sample string 16", "Accessibility": 0, "Autorization": "sample string 17", "QValues": "sample string 18", "TransportCategory": 19, "ERRegistrant": "sample string 20" }, { "UnNo": "sample string 1", "ReportableQuantity": 2, "PackingGroup": 0, "UnitOfMeasure": 0, "NoOfContainers": 3, "RegulatoryQuantity": 4, "AircraftType": 0, "AllPackedInOne": true, "ReferenceNumber": "sample string 6", "ProperShippingName": "sample string 7", "RadioActiveContainerClass": 0, "Quantity": 8, "ContainerType": 0, "EmergencyContact": "sample string 9", "EmergencyPhone": "sample string 10", "Options": 0, "OverPacked": true, "RegulationSet": 0, "TechnicalName": "sample string 12", "HazardousClass": "sample string 13", "SubsidiaryClass": "sample string 14", "AdditionalDescription": "sample string 15", "PackingInstructions": "sample string 16", "Accessibility": 0, "Autorization": "sample string 17", "QValues": "sample string 18", "TransportCategory": 19, "ERRegistrant": "sample string 20" } ], "InnerPieces": [ { "ItemNumber": "sample string 1", "Quantity": 2, "PackageType": 1, "PackageTypeName": "sample string 3", "Unit": 1, "Length": 4.1, "Width": 5.1, "Height": 6.1, "Weight": 7.1, "PerPieceWeight": 8.1, "Description": "sample string 9", "FreightClass": "sample string 10", "NMFC": "sample string 11", "Hazmat": true, "UnNumber": "sample string 13" }, { "ItemNumber": "sample string 1", "Quantity": 2, "PackageType": 1, "PackageTypeName": "sample string 3", "Unit": 1, "Length": 4.1, "Width": 5.1, "Height": 6.1, "Weight": 7.1, "PerPieceWeight": 8.1, "Description": "sample string 9", "FreightClass": "sample string 10", "NMFC": "sample string 11", "Hazmat": true, "UnNumber": "sample string 13" } ] }, { "Quantity": 1, "PackageType": 1, "PackageTypeName": "sample string 2", "Unit": 1, "Length": 3.1, "Width": 4.1, "Height": 5.1, "Weight": 6.1, "TotalWeight": 7.1, "Description": "sample string 8", "FreightClass": 9.1, "NMFC": "sample string 10", "Hazmat": true, "PackageId": "sample string 12", "HazmatDetails": [ { "UnNo": "sample string 1", "ReportableQuantity": 2, "PackingGroup": 0, "UnitOfMeasure": 0, "NoOfContainers": 3, "RegulatoryQuantity": 4, "AircraftType": 0, "AllPackedInOne": true, "ReferenceNumber": "sample string 6", "ProperShippingName": "sample string 7", "RadioActiveContainerClass": 0, "Quantity": 8, "ContainerType": 0, "EmergencyContact": "sample string 9", "EmergencyPhone": "sample string 10", "Options": 0, "OverPacked": true, "RegulationSet": 0, "TechnicalName": "sample string 12", "HazardousClass": "sample string 13", "SubsidiaryClass": "sample string 14", "AdditionalDescription": "sample string 15", "PackingInstructions": "sample string 16", "Accessibility": 0, "Autorization": "sample string 17", "QValues": "sample string 18", "TransportCategory": 19, "ERRegistrant": "sample string 20" }, { "UnNo": "sample string 1", "ReportableQuantity": 2, "PackingGroup": 0, "UnitOfMeasure": 0, "NoOfContainers": 3, "RegulatoryQuantity": 4, "AircraftType": 0, "AllPackedInOne": true, "ReferenceNumber": "sample string 6", "ProperShippingName": "sample string 7", "RadioActiveContainerClass": 0, "Quantity": 8, "ContainerType": 0, "EmergencyContact": "sample string 9", "EmergencyPhone": "sample string 10", "Options": 0, "OverPacked": true, "RegulationSet": 0, "TechnicalName": "sample string 12", "HazardousClass": "sample string 13", "SubsidiaryClass": "sample string 14", "AdditionalDescription": "sample string 15", "PackingInstructions": "sample string 16", "Accessibility": 0, "Autorization": "sample string 17", "QValues": "sample string 18", "TransportCategory": 19, "ERRegistrant": "sample string 20" } ], "InnerPieces": [ { "ItemNumber": "sample string 1", "Quantity": 2, "PackageType": 1, "PackageTypeName": "sample string 3", "Unit": 1, "Length": 4.1, "Width": 5.1, "Height": 6.1, "Weight": 7.1, "PerPieceWeight": 8.1, "Description": "sample string 9", "FreightClass": "sample string 10", "NMFC": "sample string 11", "Hazmat": true, "UnNumber": "sample string 13" }, { "ItemNumber": "sample string 1", "Quantity": 2, "PackageType": 1, "PackageTypeName": "sample string 3", "Unit": 1, "Length": 4.1, "Width": 5.1, "Height": 6.1, "Weight": 7.1, "PerPieceWeight": 8.1, "Description": "sample string 9", "FreightClass": "sample string 10", "NMFC": "sample string 11", "Hazmat": true, "UnNumber": "sample string 13" } ] } ], "Code": 100, "Message": "sample string 1" }