[POST] .../v1/cashserver/delete
Deletes cash server. Use this destructive method to delete a cash server record that is no longer used for POS synchronization. It requires positive id and returns row_affected after marking the record deleted and inactive in the persistent layer. The caller must have cash server delete permission; missing body, invalid id, denied access, missing records and storage errors are returned as HTTP 200 ErrorResult business errors.
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | Int64 | Required | Cash server ID. |
Request Example
{
"id": 1
}
Response Parameters
| Name | Type | Description |
|---|---|---|
| ok | Boolean | Indicates whether the request completed successfully. |
| result | Update | Update operation result. |
Response Example
{
"ok": true,
"result": {
"ids": [
null
],
"row_affected": 1
}
}