Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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).

 

URLhttps://api.order.boknett.no/orders
MethodGET
Request
headers

Authorization

Required

The token acquired from the Authentication Service.

Formated "Boknett TGT-...."

DateRequiredThe timestamp the request was made. Must comply with RFC 1123 date formats. Example: Tue, 10 Jun 2014 16:23:42 GMT
Request query parametersupdatedDateRequired

From date you you want to get the list of orders based on (based on last update date of the order)

YYYYMMDDHHMMSS

modeOptionalRequiredSENT_TO_ME | SENT_BY_ME | ALL (default)
Response
body
Response HAL JSON document (see example below)
Response headersContent-typeapplication/hal+json
Returns200OK
40xOn error

...