Get Date and Time
Get Date and Time from Camera
URL
camera/getdateandtime
Method
POST
Request Media type
application/json
Response Media type
application/json
Request Parameters
| Parameter | Data Type | Min | Max | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| key | String | 32 | 32 | M | Ib5H3hxIfPeLYPcjcDNDdhCBWBF2WWJl | Key obtained from authentiaction. |
| CameraName | String | M | cameraname | Camera Name |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| DateTime | String | M | 2023-06-28 11:45:20 | Date Time in camera |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"CameraName": "cameraname"
}
Sample Success Response
{
"DateTime": "2023-06-28 11:45:20",
"e": 200,
"msg": "Success"
}
Sample Failure Responses
{
"e": 400,
"msg": "Bad Request."
}