SensusRF gateway user manual
| 29/10/2019
REQUEST
TAG DESCRIPTION
Parameters Authorization with JWT
Example:
GET /api/oms HTTP/1.1
Authorization:
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhcGlfdmVyc2lvbiI6IjEuMCIsInNlc3Npb25faWQiOiJDNzY2MTMw
MTBGNjc4NjA5IiwidXNlciI6ImFkbWluIiwibG9nZ2VkIjoidHJ1ZSIsIm1hYyI6IjFDOkJBOjhDOkEyOkEzOjAyIiwibW
FudWZhY3RvciI6IkNBUyBURUNOT0xPR0lBIiwiZXhwaXJhdGlvbl9kYXRlIjoxNTY2NDk1NTIyfQ.3zcy7tIxe7otsjzU
sLNy5ePAtE_oh26U5WIIqAnU4Hw
Host: 192.168.7.2
17.2.7.2 Response
RESPONSE
TAG DESCRIPTION
api_version The version of the GATEWAY REST API
request_status The status of the request
payload The payload of the requested information
total_oms_endpoints Total number of OMS meters the GATEWAY reads
Example:
HTTP/1.1 200 OK
X-Powered-By: CAS_GATEWAY
Server: CAS_GATEWAY
Content-type: text/html
Content-Length: 82
Date: Thu, 15 Aug 2019 17:46:16 GMT
{
"api_version":"1.0",
"request_status":"OK",