Map

Map request will allow you to get the floor data. When we say “floor data” we mean, the list of “floors” and each table under those floors.

diagram_map_1

Get Master

Let’s see the entire list of floors and tables.

Request
Definitions Example
                
{
    "requestType": String,
    "actionType": String
}
                
            
            
{
    "requestType": "map",
    "actionType": "getMaster"
}
            
        

See definitions

Response
Definitions Example
                
{
    "status": String,
    "map": Object
}
                
            
            
{
    "status": "OK",
    "map": {
        "name": "WANGCHO RS",
        "width": 1024,
        "height": 768,
        "floorList": [...],
        "itemList": [...],
        "type": "MAP",
        "id": "28118",
        "modified": "1621341676",
        "created": "1621341615",
        "lock_id": "0",
        "deleted": 0
    }
}
            
        

See definitions

Definitions

Request Definitions
Definition Type Description
requestType String ("map") Unique request identifier.
actionType String ("getMaster") Unique action identifier for your request
Response Definitions
Definition Type Description
status String (["OK", "ERROR"]) Request status.
map Object Map data See more