Capture API Function
This function is used to get details of a single capture via the Capture API
Endpoint
/capture/capture
This may be a GET or POST request.
For example, the full URL on the server mycompanyname in site default would be….
https://mycompanyname/s/default/capture/capture?name=mycapturetype&id=2025_10_10
Parameters
format: json, csv, txt or html (default).
name: The code of the capture type.
id: The unique ID/name of the capture.
Response
The response is in the chosen format.
JSON Example Output
{ "StartTime": "2025-08-03 20:00:00", "EndTime": "2025-08-04 20:00:00", "Date": "2025-08-03", "Day of Week": 7, "Day Name": "Sunday", "Day of Month": "3", "Painting Seconds": 79456, "Painting Percentage": 91.963, "Not Painting Seconds": 6944, "Not Painting Percentage": 8.037, "duration": 86400, "LocalStartTime": "2025-08-04 06:00:00", "LocalEndTime": "2025-08-05 06:00:00" }