White Server White Server White Server API White Server API v2 Description of Methods Current: SetEmployee SetEmployee PurposeRequest to update employee data or add data about a new employeeRequest typeAsynchronous, synchronousSupported agent versionv2PluggetSystemTypeRKRefRequest formatJSON{ "taskType": "SetEmployee", "params": { "Employee": { // Employee } "sync": { "objectId": 0, "timeout": 0 } }}ParameterTypeMandatoryDescriptiontaskTypeTask type-EmployeeobjectyesEmployee data being changed or added-syncSynchronous method call--timeoutintnoAgent response time in seconds. Default is 120 seconds--objectIdintyesRestaurant code in the licensing systemResponse formatSuccessful responseJSON{ "responseCommon": { "taskGuid": "string", "taskType": "SetEmployee", "objectId": 0 }, "taskResponse": {} }ParameterTypeDescription-taskGuidguidUnique code for this task. Used when receiving a task via the queue-taskTypestring enumTask type-objectIdintRestaurant code in the licensing systemerrorError container, for more details see the article Error DescriptionResponse with errorJSON{ "responseCommon": { "taskGuid": "fa1bdcbf-1e96-425c-9159-eb57d4accb6f", "taskType": "SetEmployee", "objectId": 199990106, }, "error": { "wsError": { "code": "WsaOrderError", "desc": "something is wrong" } }} ×