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 .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /csv/reply/R_RegistrationWirelessValueHistories HTTP/1.1
Host: regapi.pumpalarm.com
Content-Type: text/csv
Content-Length: length
{"Ids":[0],"Date":"\/Date(-62135596800000-0000)\/","Year":0,"Month":0,"ProductIds":[0],"BrandIds":[0]}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length [{"Ids":[0],"Date":"\/Date(-62135596800000-0000)\/","Year":0,"Month":0,"ProductIds":[0],"BrandIds":[0]}]