Visits

Allows you to integrate your cameras and ALPR software. This endpoint is used to create visits which are listed on the dashboard. Also, if it is the first vehicle visit, the new vehicle will be added to the database. If the 'pm' option is True, the entrance and exit will be combined into one visit (one record). If the 'pm' option is False, a new visit will be created for each entrance and exit.

post/api/v1/log-vehicle/

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/log-vehicle/
  • Auth: one of:
    • API key in cookie sessionid
    • API key in header Authorization

Query parameters

pageinteger

A page number within the paginated result set.

page_sizeinteger

Number of results to return per page.

Request body

camerastring required

Code of the camera capturing the image.

imagestring uri nullable required

Image captured by the camera. Both base64 format, or attached image are accepted.

resultsunknown required
timestring date-time

Time of the visit.

Response

nextstring uri nullable
previousstring uri nullable
estimated_countinteger

Example response

{
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2",
  "estimated_count": 123
}

Changes

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