access_via_api
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
access_via_api [2020/04/07 11:57] – [Getting meters log] emozolyak | access_via_api [2020/04/07 12:01] – [Getting meters log] emozolyak | ||
---|---|---|---|
Line 2214: | Line 2214: | ||
To obtain entries from the meters log, you must perform follwing GET request on a URL http:// | To obtain entries from the meters log, you must perform follwing GET request on a URL http:// | ||
- | In the request headers, it is necessary to pass the API key, the boundaries of the time interval of interest, | + | In the request headers, it is necessary to pass the API key, the boundaries of the time interval of interest, X-WH-START and X-WH-END are transmitted in UnixTime format. |
X-WH-APIKEY: | X-WH-APIKEY: | ||
X-WH-START: 1422595501 | X-WH-START: 1422595501 | ||
X-WH-END: 1422599101 | X-WH-END: 1422599101 | ||
- | X-WH-REGISTERS: | ||
- | |||
| | ||
Also, in the headers, you must specify the desired data exchange format. Currently, only the JSON format is supported. | Also, in the headers, you must specify the desired data exchange format. Currently, only the JSON format is supported. | ||
Line 2239: | Line 2237: | ||
X-WH-START: 1422595501 | X-WH-START: 1422595501 | ||
X-WH-END: 1422599101 | X-WH-END: 1422599101 | ||
- | X-WH-REGISTERS: | ||
Reply example: | Reply example: |
access_via_api.txt · Last modified: 2023/03/02 10:53 by emozolyak