- Get a conditional by Id
Create a new conditional
Update an existing conditional by Id
Delete a conditional by Id
Get a conditional by Id
This endpoint allows you to get the information about a given conditional.
Security
clientCredentials
- 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}
curl -i -X GET \
'https://developer.conundra.eu/_mock/apis/order-book/order-book-api/conditionals/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'OK
A generated identifier for a conditional. The identifier is returned in both the Location header and (optional) response body when creating the Conditional.
Example:"624ec196-4c5c-4fb4-bb43-9ffd8a6b8844"
A description for the conditional, helpful in determining the why or what.
Example:"a description"
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.
Response
{ "id": "624ec196-4c5c-4fb4-bb43-9ffd8a6b8844", "name": "a name", "description": "a description", "conditions": { "locations": [ … ], "temporals": [ … ], "categories": [ … ], "clients": [ … ] }, "effects": { "stop_time": "PT5M", "time_windows": [ … ], "requirements": { … } } }