Skip to content

Get store equipment

Request

Returns every room at the store with its current status, including inactive rooms, and a summary for each bed type with the number in the tan line and the estimated wait time.

The estimated wait time is per bed type. It is calculated by the SunLync Timer Server, which updates it about once a minute. When there is no wait time, or it was last updated more than 30 minutes ago (the Timer Server is not running), it is returned as null.

Security
BasicAuthCredentials
Query
storecodestring, <= 10 charactersrequired
Examples:
example
storecode=0000000001
curl -i -X GET \
  -u '<username>:<password>' \
  'http://sandbox.sunlync.net:9000/slapi/setup/getstoreequipment?storecode=0000000001'

Responses

Returns the store's rooms and bed types

Bodyapplication/json
storecodestring
Example:"0000000001"
roomsArray of objects(storeequipmentroom)
bedTypesArray of objects(storeequipmentbedtype)
Response
{ "storecode": "0000000001", "rooms": [ { … } ], "bedTypes": [ { … } ] }