White Server White Server White Server API White Server API v2 Description of Methods Current: PushDishSettings PushDishSettings PurposeRequest to edit dish parametersRequest typeAsynchronous/synchronousSupported agent versionv1PluggetSystemTypeRKRefRequest formatJSON{ "taskType": "PushDishSettings", "params": { "async": { "objectId": number, "timeout": number }, "sync": { "objectId": number, "timeout": number }, "identity": number, "extProperties": [ { "name": "string", "value": "string" } ] }}ParameterTypeMandatoryDescriptionDefault valuetaskTypestringyesTask type-asyncAsynchronous method call: either synchronous or asynchronous-syncSynchronous method call: either synchronous or asynchronous--objectIdintyesRestaurant code in the licensing system--timeoutintnoResponse timeout in seconds120 sec-identityintyesDish ID-extPropertiesyesSet of additional properties for menu item in r_keeper--namestringyesProperty name--valuestringyesProperty valueExtended property of the dishDescriptionPhotoForDeliveryLink to dish image, extended dish propertyDescriptionForDeliveryProduct DescriptionDefaultModifierForDeliveryDefault modifiers. The identifiers of the modifiers are specified, with more than one possible, separated by a semicolon.NameForDeliveryName of the dish for deliverySynchronous Response FormatJSON{ "responseCommon":{ "taskGuid":"guid", "taskType":"PushDishSettings", "objectId":number }, "error":{ "wsError":{ "code":"string", "desc":"string" } }}ParameterTypeDescription-taskGuidguidUnique code for this task. Used when receiving a task via the queue-taskTypestringTask type-objectIdintRestaurant code in the licensing systemerrorError container, for more details see the article Error DescriptionAsynchronous response formatSuccessful responseJSON{ "responseCommon": { "taskGuid": "string", "taskType": "PushDishSettings", "objectId": 0 }}Response with errorJSON{ "responseCommon": { "taskGuid": "string", "taskType": "PushDishSettings", "objectId": 0 }, "error": { "wsError": { "code": "string", "desc": "string" }, "agentError": { "code": string, "desc": "string" } }}ParameterParameter typeMandatoryDescriptiontaskGuidguidyesRequest ID-taskTypestringTask type-objectIdintRestaurant code in the licensing systemerrorError container, for more details see the article Error DescriptionExample requestJSON{ "taskType": "PushDishSettings", "params": { "async": { "objectId": 199990000, "timeout": 20 }, "identity": 1122, "extProperties": [ { "name": "NameForDelivery", "value": "A dish" } ] }} ×