SensusRF gateway user manual
| 29/10/2019
]
}
}
17.2.13 Request the latest packet for a specific OMS meter
The “Request the latest encrypted packet for a specific OMS meter” method returns a JSON embodying
the serial number, date and time, signal and last reading of the OMS meter requested. The method must
contain the JWS in its HTTP header as “Authorization”.
17.2.13.1 Request
REQUEST
TAG DESCRIPTION
Scheme https://<GATEWAY IP>/api/oms/<serial>
HTTP Method GET
Parameters Authorization with JWT
Example:
GET /api/oms/41253805 HTTP/1.1
Authorization: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhcGlfdmVyc2lvbiI6IjEuMCIsInNlc3Npb25faWQiOi
JDNzY2MTMwMTBGNjc4NjA5IiwidXNlciI6ImFkbWluIiwibG9nZ2VkIjoidHJ1ZSIsIm1hYyI6IjFDOkJBOjhDOkEyO
kEzOjAyIiwibWFudWZhY3RvciI6IkNBUyBURUNOT0xPR0lBIiwiZXhwaXJhdGlvbl9kYXRlIjoxNTY2NDk1NTIyfQ.3
zcy7tIxe7otsjzUsLNy5ePAtE_oh26U5WIIqAnU4Hw
Host: 192.168.7.2