Moving resources
Resource movement between resource groups.
502 Bad Gateway
Headers | |||||||||
Authorization | Bearer token | ||||||||
Accept | application/json | ||||||||
X-Client | ios-cctv|android-cctv|thick-legal|web | ||||||||
X-UUID | unique device id |
Body | |||||||||
json |
JSON
| ||||||||
current_groupoptional | int | Unique identifier of the resource group from which the resource will be moved | |||||||
target_groupoptional | int | Unique identifier of the resource group to which the resource will be moved | |||||||
resourcesrequired | array | Array of resource IDs. The IDs must be unique, and in the case of plate_resource, the license plate numbers should not be duplicated among the resources, seeCreating a resource | |||||||
typerequired | string | Type of resource movement |
Response | |||||||||
Error rendering macro 'macro-html' : Page loading timed out | Returns an array of resource objects | ||||||||
JSON
| |||||||||
Error rendering macro 'macro-html' : Page loading timed out | Authorization token not provided or invalid, see Obtaining a token | ||||||||
Error rendering macro 'macro-html' : Page loading timed out | Returns a JSON object with an error, see Validation | ||||||||
JSON
|
Example | |||||||||
JSON
|