Order Book provides ready-to-run domain-specific logistic data governance for your route optimization.
- Delete a conditional by Id
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.
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 description for the conditional, helpful in determining the why or what.
The rules that will determine whether this conditional is applicable to an order or not.
At least one conditional needs to be provided. The different top-level conditions are combined with AND logic, ie: they all need to match for an order to match this conditional.
Use this condition to target orders based on their site_location, by providing the Location's business ID in the list.
When providing multiple references, only one of the Locations needs to be present on the Order.
This is a time-based condition for targeting orders. Each temporal condition provided will look for orders where at least one timeFrame (either absolute or windowed) overlaps with this range.
Should the order contain timeframes without an end_at, the default period of two weeks will be used to determine whether the timeframe overlaps with the temporal condition.
When providing multiple temporal conditions, only one of them needs to match the order's timeframe.
When providing filters on categories of multiple types, each type needs to match for an order to match the condition.
At least one property has to be filled.
An ISO-formatted Duration, see wikipedia ISO-8601 and RFC-3339
- Mock serverhttps://developer.conundra.eu/_mock/apis/order-book/order-book-api/conditionals/{id}
- Order Book API Productionhttps://api.conundra.eu/orderbook/v1/conditionals/{id}
OK
A generated identifier for a conditional. The identifier is returned in both the Location header and (optional) response body when creating the Conditional.
A description for the conditional, helpful in determining the why or what.
The rules that will determine whether this conditional is applicable to an order or not.
At least one conditional needs to be provided. The different top-level conditions are combined with AND logic, ie: they all need to match for an order to match this conditional.
Use this condition to target orders based on their site_location, by providing the Location's business ID in the list.
When providing multiple references, only one of the Locations needs to be present on the Order.
This is a time-based condition for targeting orders. Each temporal condition provided will look for orders where at least one timeFrame (either absolute or windowed) overlaps with this range.
Should the order contain timeframes without an end_at, the default period of two weeks will be used to determine whether the timeframe overlaps with the temporal condition.
When providing multiple temporal conditions, only one of them needs to match the order's timeframe.
When providing filters on categories of multiple types, each type needs to match for an order to match the condition.
At least one property has to be filled.
An ISO-formatted Duration, see wikipedia ISO-8601 and RFC-3339
{ "id": "624ec196-4c5c-4fb4-bb43-9ffd8a6b8844", "name": "a name", "description": "a description", "conditions": { "locations": [ … ], "temporals": [ … ], "categories": [ … ], "clients": [ … ] }, "effects": { "stop_time": "PT5M", "time_windows": [ … ], "requirements": { … } } }
- Mock serverhttps://developer.conundra.eu/_mock/apis/order-book/order-book-api/conditionals/{id}
- Order Book API Productionhttps://api.conundra.eu/orderbook/v1/conditionals/{id}