Update a peel off monitor's camera position if it exists, create a new object linking the given peel off monitor to the given camera position otherwise.
Security
api_key
A peel off monitor camera position to put.
- Mock serverhttps://coreapi.hoxton.ai/_mock/v1/peel-off-monitor-camera-positions
- https://nexus.hoxton.ai/api/v1https://nexus.hoxton.ai/api/v1/peel-off-monitor-camera-positions
curl -i -X PUT \
https://coreapi.hoxton.ai/_mock/v1/peel-off-monitor-camera-positions \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"cameraPositionId": "37eacd70-df6f-462c-b57e-ba61d0ee7150",
"countDirection": "direction_1",
"countType": "base",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"peelOffMonitorId": "cc189a22-8e7f-4749-b5e7-b00a5382d436",
"state": "active"
}'Created.
Response
{ "cameraPositionId": "37eacd70-df6f-462c-b57e-ba61d0ee7150", "countDirection": "direction_1", "countType": "base", "deletedAt": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "peelOffMonitorId": "cc189a22-8e7f-4749-b5e7-b00a5382d436", "state": "active" }