List of marks before or after a specific date
Returns a sorted list of marks based on the date, either from the greatest to the smallest (from smallest to greatest) after/before a specified date.
Headers | |||||||||
Authorization | Bearer token | ||||||||
Accept | application/json | ||||||||
X-Client | ios-cctv|android-cctv|thick-legal|web | ||||||||
X-UUID | unique device id |
Body | |||||||||
cameraoptional | int | Camera identifier | |||||||
fromrequired | date | Date from which the markers will be displayed | |||||||
rewindrequired | string | If the value is «next», the markers created after the specified date will be returned and sorted by date from the smallest to the greatest. If the value is «previous», the markers created before the specified date will be returned and sorted by date from the greatest to the smallest | |||||||
typesrequired | array | Only types from the «types» array will be included in the response. The list of available types can be found in Main configurations |
Response | |||||||||
Error rendering macro 'macro-html' : Page loading timed out | Successful response | ||||||||
JSON
| |||||||||
Error rendering macro 'macro-html' : Page loading timed out | Authorization token not provided or invalid | ||||||||
Error rendering macro 'macro-html' : Page loading timed out | If a requested mark type is not available to the current user | ||||||||
Error rendering macro 'macro-html' : Page loading timed out | Returns a JSON object with an error, see Validation | ||||||||
JSON
|
Example | |||||||||
JSON
|