Cameras

This API endpoint is used to create or update a camera object used while integrating your data. You are advised to create a few cameras (Entrance or Exit) before using the integration API.

post/api/v1/create-camera/

Request

  • Base URL: https://docs.parkpow.com (the document declares no server; this is the origin it was published from)
  • URL: https://docs.parkpow.com/api/v1/create-camera/
  • Auth: one of:
    • API key in cookie sessionid
    • API key in header Authorization

Request body

codestring required

Unique camera identifier. It should match the camera id sent to the API.

namestring

Human-readable camera name.

type0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
  • 0 - Entrance - Front and rear of vehicle
  • 1 - Exit - Front and rear of vehicle
  • 2 - Entrance & Exit 🔺
  • 3 - Entrance - Front of vehicle; ignore rear of vehicle 🔺
  • 4 - Entrance - Rear of vehicle; ignore front of vehicle 🔺
  • 5 - Exit - Front of vehicle; ignore rear of vehicle 🔺
  • 6 - Exit - Rear of vehicle; ignore front of vehicle 🔺
  • 7 - Spot Camera
  • 8 - Entrance - Use direction of travel
  • 9 - Exit - Use direction of travel
latitudenumber double nullable

Camera latitude.

longitudenumber double nullable

Camera longitude.

notesstring

Long description about the camera.

site_idinteger

Response

The result includes an extra type field.

codestring required

Unique camera identifier. It should match the camera id sent to the API.

namestring

Human-readable camera name.

type0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
  • 0 - Entrance - Front and rear of vehicle
  • 1 - Exit - Front and rear of vehicle
  • 2 - Entrance & Exit 🔺
  • 3 - Entrance - Front of vehicle; ignore rear of vehicle 🔺
  • 4 - Entrance - Rear of vehicle; ignore front of vehicle 🔺
  • 5 - Exit - Front of vehicle; ignore rear of vehicle 🔺
  • 6 - Exit - Rear of vehicle; ignore front of vehicle 🔺
  • 7 - Spot Camera
  • 8 - Entrance - Use direction of travel
  • 9 - Exit - Use direction of travel
latitudenumber double nullable

Camera latitude.

longitudenumber double nullable

Camera longitude.

notesstring

Long description about the camera.

site_idinteger

Changes

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