[POST] .../v1/operatingcash/editsettings
Edits cash register settings. Use this batch method to update multiple retail cash register settings in one request after reading available settings with OperatingCash/GetSettings. The request body is an array and must contain 1 to 250 items; each item must have a positive id and a non-empty value no longer than 300 characters and the response returns row_affected. The caller must have operating cash edit permission; missing body, empty array, too many items, invalid item fields, denied access and storage errors are returned as HTTP 200 ErrorResult business errors.
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | Int64 | Required | System group ID. |
| value | String | Optional | Setting value. Maximum length is 300 characters. |
Request Example
[
{
"id": 41,
"value": "24"
}
]
Response Parameters
| Name | Type | Description |
|---|---|---|
| ok | Boolean | Indicates whether the request completed successfully. |
| result | Update | Update operation result. |
Response Example
{
"ok": true,
"result": {
"row_affected": 1
}
}