Check device relocation progress

Checks the progress of the currently running device relocation process. For more details, see Relocate devices.

Resource Name: /api/v1/device/relocation

Request Method: GET

Request URL Parameters:

Element

Type

Description

uuid

Mandatory

String

The UUID of the currently running relocation process. Retrieve the UUID from the POST /api/v1/device/relocation method of the Device Relocation Controller.

Response:

Code

Description

200

Operation completed successfully

400

Bad request

401

Unauthorized

Request example

curl -X GET --cookie "PHPSESSID=24l2tk7p8skuk4bbv20krqe7s7" --header "Content-Type: application/json"
0:8080/afa/api/v1/device/relocation?uuid=bd98c84e-f88c-42b4-899c-9a7584a75951

Response example

{ "uuid": " bd98c84e-f88c-42b4-899c-9a7584a75951", "taskName": "device-relocation", "startTaskTime": 1582540248574, "endTaskTime": 1582540255994, "taskState": "COMPLETE", "result": { "successes": [ "10_20_26_1" ] } }