Registrar Web Services

<back to all web services

R_RegistrationCountHistories

Requires Authentication
Required role:Admin
The following routes are available for this service:
GET,OPTIONS/R_CountHistories
GET,OPTIONS/R_CountHistories/{Ids}
GET,OPTIONS/R_CountHistories/Date/{Date}/PIds/{ProductIds}/BIds/{BrandIds}
GET,OPTIONS/R_CountHistories/Year/{Year}/PIds/{ProductIds}/BIds/{BrandIds}
GET,OPTIONS/R_CountHistories/Month/{Month}/PIds/{ProductIds}/BIds/{BrandIds}
GET,OPTIONS/R_CountHistories/Date/{Year}/{Month}/PIds/{ProductIds}/BIds/{BrandIds}
GET,OPTIONS/R_CountHistories/PIds/{ProductIds}
GET,OPTIONS/R_CountHistories/BIds/{BrandIds}
R_RegistrationCountHistories Parameters:
NameParameterData TypeRequiredDescription
IdspathList<long>No
DatepathDateTime?No
Yearpathint?No
Monthpathint?No
ProductIdspathList<long>No
BrandIdspathList<long>No

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/R_RegistrationCountHistories HTTP/1.1 
Host: regapi.pumpalarm.com 
Content-Type: application/json
Content-Length: length

{"Ids":[0],"Date":"\/Date(-62135596800000-0000)\/","Year":0,"Month":0,"ProductIds":[0],"BrandIds":[0]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

[{"Id":0,"Date":"\/Date(-62135596800000-0000)\/","ProductName":"String","RegistrationHistoryFilterTypeId":0,"RegistrationHistoryFilterValue":0,"Production":0,"Floating":0,"Active":0,"Cancelled":0,"Unsubscribed":0,"Transferred":0,"Exchanged":0,"Error":0}]