Order Book provides ready-to-run domain-specific logistic data governance for your route optimization.
Conundra Order Book API (1.6.1)
Locations
Locations can be managed separately in Order Book, which allows the user to capture their related business rules in a reusable manner. This is especially valuable in business cases where a select set of Locations is reused across many orders.
Typical use cases include capturing regular opening hours or requirements tied to a specific Location.
- Mock serverhttps://developer.conundra.eu/_mock/apis/order-book/order-book-api/locations
- Order Book API Productionhttps://api.conundra.eu/orderbook/v1/locations
{ "data": [ { … } ], "errors": [ { … } ] }
Request
Retrieve a list of Locations in bulk, identified by the query parameters defined in the request. The query requires at least a page and page size, in which case all Locations will be returned in a paged format. Providing any additional filter will return the matching subset of Locations. When providing multiple filter parameters, all filters must match for a Location to be included in the response.
The returned list can be empty, but the request will not fail if no results are found.
- Mock serverhttps://developer.conundra.eu/_mock/apis/order-book/order-book-api/locations/by
- Order Book API Productionhttps://api.conundra.eu/orderbook/v1/locations/by
{ "data": [ { … } ], "page": { "total_items": 100, "total_pages": 10, "page_size": 10, "current_page": 1 } }
- Mock serverhttps://developer.conundra.eu/_mock/apis/order-book/order-book-api/locations/{business_id}
- Order Book API Productionhttps://api.conundra.eu/orderbook/v1/locations/{business_id}
OK
A location has an address and timewindows representing opening hours.
An alternative address and/or timewindows to be used for planning can be specified. When planning address and/or timewindows are specified the originals are only there for information purposes.
An address item can consist of an address and/or geo coordinates. The resolved version will be resolved based on the geo coordinates or the address (not both). The resolved version will be available when reading to make out what the original geo coordinates in the routing service are.
{ "data": { "business_id": "locationA", "location_category": "locationCategoryA", "name": "locationName", "description": "locationDescription", "comment": "locationComment", "address": { … }, "planning_address": { … }, "stop_time": "PT5M", "requirements": { … }, "time_window": { … }, "planning_time_window": { … }, "custom_data": { … }, "etag": "W/\"1\"" } }