...
Get a list of orders based on our access rights, if you are both sending and receiving orders with the same user this list will contain both. You can you need to use the query parameter mode to filter this, select if you are only either sending orders or receiving them you can ignore this parameterwanter orders that you have sent to check their status (SENT_BY_ME) or orders you are receiving (SENT_TO_ME).
URL | https://api.order.boknett.no/orders | ||
Method | GET | ||
Request headers | Authorization | Required | The token acquired from the Authentication Service. Formated "Boknett TGT-...." |
Date | Required | The timestamp the request was made. Must comply with RFC 1123 date formats. Example: Tue, 10 Jun 2014 16:23:42 GMT | |
Request query parameters | updatedDate | Required | From date you you want to get the list of orders based on (based on last update date of the order) YYYYMMDDHHMMSS |
mode | OptionalRequired | SENT_TO_ME | SENT_BY_ME | ALL (default) | |
Response body | Response HAL JSON document (see example below) | ||
Response headers | Content-type | application/hal+json | |
Returns | 200 | OK | |
40x | On error |
...