GetRestaurantSystems
Purpose | Get a list of systems connected to the restaurant |
---|---|
Request type | Synchronous only |
Supported agent version | All |
PluggetSystemType | WhiteServer |
Request format
JSON
|
Parameter | Type | Mandatory | Description |
---|---|---|---|
taskType | string | yes | The task type for this method is GetRestaurantSystems value |
params | yes | Request parameters | |
-sync | yes | Synchronous method | |
--objectId | int | yes | Restaurant code in the licensing system |
--timeout | int | no | Response timeout in seconds. Default is 120, maximum is 180 |
Response format
JSON
|
Parameter | Type | Description |
---|---|---|
-taskGuid | guid | Unique code for this task. Used when receiving a task via the queue |
-taskType | string enum | Task type |
-objectId | int | Restaurant code in the licensing system |
taskResponse | массив | Array of connected systems |
--name | string | System name |
--type | string | System type PluggetSystemType. PluggetSystemType — supported system types are added to agentGuid. Associate agentGuid, objectId, system type. The connected system type takes the following values:
|
error | Error container, for more details see the article Error Description |
If the value in name is specified as *_wsclient, these are legacy roles granted under the wsclient license. They can be ignored. These roles are fixed in the format [System_Type]_wsclient. During a silent installation, they do not appear, but if an agent uses the wsclient license, then these roles are assigned to the agent for compatibility purposes.
It is better not to specify *_wsclient in extended routing. Therefore, it is better to leave null in systemName.
Example request
JSON
|
Example answer
JSON
|