GET /pos/statusΒΆ
Get a list of tills and their status.
Body parameters:
Name |
Type |
Description |
---|---|---|
|
boolean, optional, default: false |
readable output formatting |
|
string vector, optional |
one or more till UUIDs |
Example request:
GET /pos/status HTTP/1.1
Host: api.ereceipts.co.uk
Accept: application/json
Example response:
This response contains three tills, where the last till has had its store configured incorrectly (i.e., 99 is not a valid reference) and thus the store key is null. See POS Status Object for a description of the format.
HTTP/1.1 200 OK
Content-Length: 1295
Content-Type: application/json; charset=UTF-8
[
{
"address": "23.57.2.56",
"source_id": "OposPrinter",
"store": {
"address": [
"61 Hatton Garden"
],
"city": "London",
"country": "GBR",
"id": 1,
"name": "Paperless Fashion Clerkenwell",
"phone": "+440000000000",
"postcode": "EC1N 8LS"
},
"store_reference": "1",
"till_id": "Till 3",
"till_uuid": "0d0c54ac-07a3-4065-9b35-59663f72a439",
"timestamp": "2013-05-14T09:02:08.465000+00:00",
"version": "2.2.1.0"
},
{
"address": "23.57.2.58",
"source_id": "OposPrinter",
"store": {
"address": [
"61 Hatton Garden"
],
"city": "London",
"country": "GBR",
"id": 1,
"name": "Paperless Fashion Clerkenwell",
"phone": "+440000000000",
"postcode": "EC1N 8LS"
},
"store_reference": "1",
"till_id": "Till 2",
"till_uuid": "427fb9c1-06e8-4eee-99ae-2e82d77002d5",
"timestamp": "2013-05-21T20:04:19.192000+00:00",
"version": "2.2.0.0"
},
{
"address": "23.57.2.58",
"source_id": "OposPrinter",
"store": null,
"store_reference": "99",
"till_id": "Test till",
"till_uuid": "5595427c-5a37-4d00-af2a-9ad53e2eea05",
"timestamp": "2013-01-04T21:54:13.234000+00:00",
"version": "2.2.0.0"
}
]