Update a people count monitor's camera position if it exists, create a new object linking the given people count monitor to the given camera position otherwise.
Security
api_key
- Mock serverhttps://coreapi.hoxton.ai/_mock/v1/people-count-monitor-camera-positions
- https://nexus.hoxton.ai/api/v1https://nexus.hoxton.ai/api/v1/people-count-monitor-camera-positions
curl -i -X PUT \
https://coreapi.hoxton.ai/_mock/v1/people-count-monitor-camera-positions \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"cameraPositionId": "37eacd70-df6f-462c-b57e-ba61d0ee7150",
"direction1": "direction_1",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"peopleCountMonitorId": "af5c9ece-4147-4fc4-9db3-7065170e641f",
"state": "active"
}'Response
{ "cameraPositionId": "37eacd70-df6f-462c-b57e-ba61d0ee7150", "deletedAt": "2019-08-24T14:15:22Z", "direction1": "direction_1", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "peopleCountMonitorId": "af5c9ece-4147-4fc4-9db3-7065170e641f", "state": "active" }