Registrar Web Services

<back to all web services

R_CreateRegistrationRequest

Requires Authentication
Required role:Admin
The following routes are available for this service:
POST/R_CreateRegistrationRequest
OPTIONS/R_CreateRegistrationRequest
R_CreateRegistrationRequest Parameters:
NameParameterData TypeRequiredDescription
UnitIdbodystringNo
ProductIdbodylongNo
DeviceIdbodystringNo
DeviceSerialNumberbodystringNo
CellularProfileIdbodylongNo
PcbSerialbodystringNo
BoardFirmwareVersionbodystringNo
RadioFirmwareVersionbodystringNo
BrandIdbodylongNo
ElligibleBundleIdbodylong?No
ResellerIdbodylong?No
CustomFieldsbodyDictionary<string, string>No
ValidatebodyboolNo
IdbodylongNo
BaseAdminRequest Parameters:
NameParameterData TypeRequiredDescription
RequesterformstringNoIdentity of the caller
R_CreateRegistrationResponse Parameters:
NameParameterData TypeRequiredDescription
RegistrationIdformlongNo

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_CreateRegistrationRequest HTTP/1.1 
Host: regapi.pumpalarm.com 
Content-Type: text/jsv
Content-Length: length

{
	UnitId: String,
	ProductId: 0,
	DeviceId: String,
	DeviceSerialNumber: String,
	CellularProfileId: 0,
	PcbSerial: String,
	BoardFirmwareVersion: String,
	RadioFirmwareVersion: String,
	BrandId: 0,
	ElligibleBundleId: 0,
	ResellerId: 0,
	CustomFields: 
	{
		String: String
	},
	Validate: False,
	Id: 0,
	Requester: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	RegistrationId: 0
}