Camera Webservice

Update camera details V2

Update hardware details of camera.

post/api/camera/updateDetailsV2

Request

  • Base URL: https://api2.rhombussystems.com
  • URL: https://api2.rhombussystems.com/api/camera/updateDetailsV2
  • Auth: API key in header x-auth-apikey

Headers

x-auth-scheme'api-token' | 'api' | 'partner-api-token' | 'partner-api' required

Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.

Request body

customDatastring nullable

Custom data for the camera

customDataUpdatedboolean nullable

Whether custom data was updated

deletedboolean nullable

Whether the camera is deleted

deletedUpdatedboolean nullable

Whether deleted status was updated

descriptionstring nullable

Description of the camera

descriptionUpdatedboolean nullable

Whether description was updated

directionRadiansnumber float nullable

Direction in radians

directionRadiansUpdatedboolean nullable

Whether direction radians was updated

facetNameMapobject nullable

Mapping of device facets to names

facetNameMapUpdatedboolean nullable

Whether facet name map was updated

floorNumberinteger nullable

Floor number

floorNumberUpdatedboolean nullable

Whether floor number was updated

latitudenumber double nullable

Latitude coordinate

latitudeUpdatedboolean nullable

Whether latitude was updated

locationUuidstring RUUID nullable

base 64 (url-safe) uuid string

locationUuidUpdatedboolean nullable

Whether location UUID was updated

longitudenumber double nullable

Longitude coordinate

longitudeUpdatedboolean nullable

Whether longitude was updated

mummifiedboolean nullable

Whether the camera is mummified

mummifiedUpdatedboolean nullable

Whether mummified status was updated

namestring nullable

Name of the camera

nameUpdatedboolean nullable

Whether name was updated

policyUuidstring RUUID nullable

base 64 (url-safe) uuid string

policyUuidUpdatedboolean nullable

Whether policy UUID was updated

subLocationsHierarchyKeystring SubLocationsHierarchyKey nullable

A sequence of one or more base 64 (url-safe) uuid substrings. These substrings are separated by dots (.).

subLocationsHierarchyKeyUpdatedboolean nullable

Whether sub-locations hierarchy key was updated

uuidstring RUUID nullable

base 64 (url-safe) uuid string

Example request

{
  "description": "Camera monitoring the front entrance",
  "directionRadians": 1.5708,
  "floorNumber": 1,
  "latitude": 37.7749,
  "locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
  "longitude": -122.4194,
  "name": "Front Door Camera",
  "policyUuid": "AAAAAAAAAAAAAAAAAAAAAA",
  "subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
  "uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}

Response

OK

errorboolean nullable
errorCodestring nullable

Stable, machine-readable code for the failure (one of the ApiErrorCode catalog) when error is true. Branch on this, not on errorMsg.

errorMsgstring nullable
warningMsgstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.