Order Book provides ready-to-run domain-specific logistic data governance for your route optimization.
- Get a Company with specified business id
Conundra Order Book API (1.6.1)
- Mock serverhttps://developer.conundra.eu/_mock/apis/order-book/order-book-api/companies/{business_id}
- Order Book API Productionhttps://api.conundra.eu/orderbook/v1/companies/{business_id}
{ "business_id": "624ec196-4c5c-4fb4-bb43-9ffd8a6b8844", "name": "a name" }
Request
This endpoint allows you to update (default behaviour) or insert a new Company. You are responsible to give a unique business identifier with your company. If this business identifier can't be found then a new company will be created. If a company with the given business identifier can be found then it will be updated.
When you specify 'if-match', which is filled in with a weak ETAG representing a version, then you can protect yourself from updates by someone else before committing your updates. (see also Optimistic locking). When such a conflict is detected, a 412 PreconditionFailed response is returned.
The RFC7240 Prefer header indicates that a particular server behavior is preferred by the client but is not required for successful completion of the request (see RFC 7240).
The following behavior is supported by this API:
- return=<minimal|representation> is used to suggest the server to return using status code 204 without a resource in the response body (minimal) or using status codes 200 or 201 with the resource in the response body on success (representation).
A unique reference ID
- Mock serverhttps://developer.conundra.eu/_mock/apis/order-book/order-book-api/companies/{business_id}
- Order Book API Productionhttps://api.conundra.eu/orderbook/v1/companies/{business_id}
{ "business_id": "624ec196-4c5c-4fb4-bb43-9ffd8a6b8844", "name": "a name" }
- Mock serverhttps://developer.conundra.eu/_mock/apis/order-book/order-book-api/companies/{business_id}
- Order Book API Productionhttps://api.conundra.eu/orderbook/v1/companies/{business_id}
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.