...
Code Block |
---|
{ "DeliveryReference": "orderNumber", "Reference2": "RMA", "Reference3": "", "Origin": { "Id": 0, "Name": "OriginName", "Address": { "BuildingName": "", "StreetAddress": "285 Main Street", "Suburb": "Torrance", "City": "CALIFORNIA", "PostCode": "90501", "CountryCode": "US" }, "ContactPerson": "Origin person name", "PhoneNumber": "02 9111 01101", "Email": "originemail@test.com" }, "Destination": { "Id": 0, "Name": "DestinationName", "Address": { "BuildingName": "VIC", "StreetAddress": "285 Coward Street", "Suburb": "CARSON", "City": "CALIFORNIA", "PostCode": "90810", "CountryCode": "US" }, "ContactPerson": "JOHN SMITH", "PhoneNumber": "02 9111 1111", "Email": "destinationemail@test.com", "DeliveryInstructions": "", "SendTrackingEmail": "truefalse" }, "Commodities": [ { "Description": "Food Bar", "Units": "1", "UnitValue": 50, "UnitKg": 0.6, "Currency": "USD", "Country": "AU" }, { "Description": "Food Bar", "Units": "1", "UnitValue": 50, "UnitKg": 0.6, "Currency": "USD", "Country": "AU" } ], "Packages": [ { "Height": 1, "Length": 1, "Width": 1, "Kg": 2, "Name": "PARCEL", "Type": "Box", "OverLabelBarcode": "" } ], "issignaturerequired":false, "PrintToPrinter":false, "IncludeLineDetails":true, "ShipType":"INBOUND", "SendTrackingEmail":false, "CostCentreName":""} ], } } |
Response
Code Block |
---|
{ "Available":[ { "QuoteId":"e7fdf36c-8f6a-4d3f-8d96-c8b5893a0e7f", "CarrierId":604, "CarrierName":"Omni Parcel", "DeliveryType":"AIR TRACKED", "Cost":5.82, "ServiceStandard":"", "Comments":"", "Route":"OFFSHORE->AKL- SI", "IsRuralDelivery":false, "IsSaturdayDelivery":false, "IsFreightForward":false, "CarrierServiceType":"InternationalCourier" } ], "Rejected":[ ], "ValidationErrors":{ } } |
...