Postman Collection
This collection contains request & response examples
https://documenter.getpostman.com/view/22736309/2s8YemuEU4
Note:
Depending on the environment you are configured on you either need to use API Version 1 or 2
API Version 1
Environment {{URL}}: https://www.shipmentserver.com/ship/ShipmentServerModule.dll
In order to use these requests against your own configuration/actor you need to:
- Click on the button Run in Postman in the top right corner
- Select the Environment DeliveryHub API - SA2 inside Postman in the top right corner
- Update the Initial Value & Current Value on the variables ID, KEY and URL
Remember to Save the Environment
Note:
Check the pre-request section on each request to see the {{DATA}} and {{OPTIONS}} variables
API Version 2
Environment {{URL}}: https://api.shipmentserver.com
In order to use these requests against your own configuration/actor you need to:
- Click on the button Run in Postman in the top right corner
- Select the Environment DeliveryHub API - SA2 inside Postman in the top right corner
If you are using Bearer Token
- Update the Initial Value & Current Value on the variables CLIENT_ID, CLIENT_SECRET, ID and URL
https://helpcenter.nshift.com/hc/en-us/articles/5420490221852#bearer
If you are using Basic authentication
- Update the Initial Value & Current Value on the variables Username, Password, ID and URL
https://helpcenter.nshift.com/hc/en-us/articles/5420490221852#basic_auth
Remember to Save the Environment
Request body
The configuration of the request see the documentation page:
Version 1: https://helpcenter.nshift.com/hc/en-us/articles/360001457853#GetDropPoints
Version 2: https://helpcenter.nshift.com/hc/en-us/articles/4401176907676#post_dropPoints
Supported configurations
Closed to the Address
[{
"Kind": 1,
"Street1": "Silkeborgvej 56",
"PostCode": "8000",
"CountryCode": "DK"
}]
Closed to the PostCode
[{
"Kind": 1,
"PostCode": "8000",
"CountryCode": "DK"
}]
Lattitude & Longitude
[{
"Kind": 1,
"Latitude": 56.1830539,
"Longitude": 10.1232453
}]