POS Status Object¶
The POS status object contains information about a single till, including a heartbeat time stamp which can be used to determine if the Yocuda software on the till is still operating:
Name |
Type |
Description |
---|---|---|
|
string, required |
the name of the source of this heartbeat |
|
integer or string, required |
the store identifier |
|
string, required |
the descriptive identifier of this till |
|
string, required |
the client software version |
|
string, optional |
the client software runtime version |
|
string, optional |
the client software OS version |
|
string, required |
the client’s IP address |
|
Store Object, optional |
see Store Object |
|
string, required |
the UUID of this till |
|
string, required |
the date and time of the last heartbeat request, in UTC, formatted as an ISO 8601 date |
Notes¶
The key
store
will either be a fully populated Store Object or the valuenull
. If the value isnull
, then this indicates that thestore_reference
does not correspond with a valid store.The store identifier in
store_reference
may be invalid (in which casestore
has been set tonull
)
Example¶
{
"address": "23.57.2.58",
"source_id": "OposPrinter",
"store": {
"address": [
"61 Hatton Garden"
],
"city": "London",
"country": "GBR",
"id": 1,
"locale": null,
"name": "Paperless Fashion Clerkenwell",
"phone": "+440000000000",
"postcode": "EC1N 8LS",
"reference": 4,
"timezone": null
},
"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"
}