Created
September 3, 2019 16:02
-
-
Save kzorluoglu/06fe50ddb8fa16c654b64a3a14aafe33 to your computer and use it in GitHub Desktop.
DHL Express REST API Example Request
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ShipmentRequest": { | |
"RequestedShipment": { | |
"ShipmentInfo": { | |
"DropOffType": "REGULAR_PICKUP", | |
"ServiceType": "P", | |
"Account": 143816942, | |
"Currency": "SGD", | |
"UnitOfMeasurement": "SI" | |
}, | |
"ShipTimestamp": "2017-09-21T12:30:47GMT+01:00", | |
"PaymentInfo": "DAP", | |
"InternationalDetail": { | |
"Commodities": { | |
"NumberOfPieces": 2, | |
"Description": "Customer Reference 1", | |
"CountryOfManufacture": "CN", | |
"Quantity": 1, | |
"UnitPrice": 5, | |
"CustomsValue": 10 | |
}, | |
"Content": "NON_DOCUMENTS" | |
}, | |
"Ship": { | |
"Shipper": { | |
"Contact": { | |
"PersonName": "Tester 1", | |
"CompanyName": "DHL", | |
"PhoneNumber": 2175441239, | |
"EmailAddress": "jb@acme.com" | |
}, | |
"Address": { | |
"StreetLines": "#05-33 Singapore Post Centre", | |
"City": "Singapore ", | |
"PostalCode": 408600, | |
"CountryCode": "SG" | |
} | |
}, | |
"Recipient": { | |
"Contact": { | |
"PersonName": "Tester 2", | |
"CompanyName": "Acme Inc", | |
"PhoneNumber": 88347346643, | |
"EmailAddress": "jackie.chan@eei.com" | |
}, | |
"Address": { | |
"StreetLines": "500 Hunt Valley Road", | |
"City": "New Kensington PA", | |
"StateOrProvinceCode": "PA", | |
"PostalCode": 15068, | |
"CountryCode": "US" | |
} | |
} | |
}, | |
"Packages": { | |
"RequestedPackages": [ | |
{ | |
"@number": "1", | |
"Weight": 2, | |
"Dimensions": { | |
"Length": 1, | |
"Width": 2, | |
"Height": 3 | |
}, | |
"CustomerReferences": "Piece 1" | |
}, | |
{ | |
"@number": "2", | |
"Weight": 2, | |
"Dimensions": { | |
"Length": 1, | |
"Width": 2, | |
"Height": 3 | |
}, | |
"CustomerReferences": "Piece 2" | |
} | |
] | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, you receive a Swagger Endpoint/URL for Development after the contract.