White Server White Server White Server API White Server API v2 Description of Methods Current: ServicePushAgentSettings ServicePushAgentSettings PurposeSend new settings to the agent. Method access is limitedRequest typeAsynchronous/synchronousSupported agent versionv2PluggetSystemTypeAgentInternalRequest formatJSON{ "taskType": "ServicePushAgentSettings", "params": { "async": { "objectId": number, "timeout": number }, "sync": { "objectId": number, "timeout": number }, "settings":{} }}ParameterTypeMandatoryDescriptiontaskTypestringyesTask type. For this method, the value is ServicePushAgentSettings-asyncAsynchronous method call: either synchronous or asynchronous-syncSynchronous method call: either synchronous or asynchronous--timeoutintnoAgent response time in seconds. Default is 120 seconds--objectIdintyesRestaurant code in the licensing systemsettingsobjectyesAgent settings as a json objectSynchronous response formatJSON{ "responseCommon":{ "taskGuid":"guid", "taskType":"ServicePushAgentSettings", "objectId": 0 }, "error":{ "wsError":{ "code":"string", "desc":"string" } }}ParameterTypeDescription-taskGuidguidUnique code for this task. Used when receiving a task via the queue-taskTypestring enumТип задачи-objectIdintRestaurant code in the licensing systemerrorError container, for more details see the article Error DescriptionAsynchronous response formatSuccessful responseJSON{ "responseCommon": { "taskGuid": "string", "taskType": "ServicePushAgentSettings", "objectId": 0 }}Response with errorJSON{ "taskResponse":{ }, "responseCommon": { "taskGuid": "string", "taskType": "ServicePushAgentSettings", "objectId": 0 }, "error": { "wsError": { "code": "string", "desc": "string" }, "agentError": { "code": "string", "desc": "string" } }}ParameterParameter typeMandatoryDescriptiontaskResponseobjectyesFor the contents of the taskResponse block, see the GetAgentInfo model article.errorstring enumError container, see article Error descriptionResponse with access errorJSON{ "responseCommon": { "taskGuid": "34398dc7-5488-49d1-a499-fef9e8826f40", "taskType": "ServicePushAgentSettings", "objectId": 199995826 }, "error": { "wsError": { "code": "AuthFailed" } }} ×