Required role: | Admin |
GET,OPTIONS | /R_WirelessValueHistories | ||
---|---|---|---|
GET,OPTIONS | /R_WirelessValueHistories/{Ids} | ||
GET,OPTIONS | /R_WirelessValueHistories/Date/{Date}/PIds/{ProductIds}/BIds/{BrandIds} | ||
GET,OPTIONS | /R_WirelessValueHistories/Year/{Year}/PIds/{ProductIds}/BIds/{BrandIds} | ||
GET,OPTIONS | /R_WirelessValueHistories/Month/{Month}/PIds/{ProductIds}/BIds/{BrandIds} | ||
GET,OPTIONS | /R_WirelessValueHistories/Date/{Year}/{Month}/PIds/{ProductIds}/BIds/{BrandIds} | ||
GET,OPTIONS | /R_WirelessValueHistories/PIds/{ProductIds} | ||
GET,OPTIONS | /R_WirelessValueHistories/BIds/{BrandIds} |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Ids | path | List<long> | No | |
Date | path | DateTime? | No | |
Year | path | int? | No | |
Month | path | int? | No | |
ProductIds | path | List<long> | No | |
BrandIds | path | List<long> | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/R_RegistrationWirelessValueHistories HTTP/1.1
Host: regapi.pumpalarm.com
Content-Type: text/jsv
Content-Length: length
{
Ids:
[
0
],
Date: 0001-01-01,
Year: 0,
Month: 0,
ProductIds:
[
0
],
BrandIds:
[
0
]
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length [ { Ids: [ 0 ], Date: 0001-01-01, Year: 0, Month: 0, ProductIds: [ 0 ], BrandIds: [ 0 ] } ]