EasyManua.ls Logo

Sensus SensusRF - Read Datetime

Sensus SensusRF
124 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
85
SensusRF gateway user manual
| 29/10/2019
17.2.3 Read datetime
The “read datetime” method returns a JSON embodying the GATEWAY Date and time (yyyy-MM-dd
hh:mm:ss). The method must contain the JWS in its HTTP header as “Authorization”.
17.2.3.1 Request
REQUEST
TAG DESCRIPRION
Scheme https://<GATEWAY IP>/api/info/datetime
HTTP Method GET
Parameters Authorization with JWT
Example:
GET /api/info/datetime HTTP/1.1
Authorization:
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhcGlfdmVyc2lvbiI6IjEuMCIsInNlc3Npb25faWQiOiIyM0FFMTMw
MTBGNjdGN0Y1IiwidXNlciI6ImFkbWluIiwibG9nZ2VkIjoidHJ1ZSIsIm1hYyI6IjFDOkJBOjhDOkEwOkYzOjMxIiwi
bWFudWZhY3RvciI6IkNBUyBURUNOT0xPR0lBIiwiZXhwaXJhdGlvbl9kYXRlIjo5NDcyOTgwMzl9.a-eaQz6--
ggaX8rZjPWLilQnjWfdnwqgqRMIDncs2tE
Host: 192.168.7.2
17.2.3.2 Response
RESPONSE
TAG DESCRIPTION
api_version The version of the GATEWAY REST API
request_status The status of the request

Table of Contents