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 .jsv suffix or ?format=jsv

HTTP + JSV

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

POST /jsv/reply/R_RegistrationCountHistories 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

[
	{
		Id: 0,
		Date: 0001-01-01,
		ProductName: String,
		RegistrationHistoryFilterTypeId: 0,
		RegistrationHistoryFilterValue: 0,
		Production: 0,
		Floating: 0,
		Active: 0,
		Cancelled: 0,
		Unsubscribed: 0,
		Transferred: 0,
		Exchanged: 0,
		Error: 0
	}
]