Registrar Web Services

<back to all web services

UpdateUserRegistrationEmailRequest

Requires Authentication
Required roles:Admin, Admin
The following routes are available for this service:
POST/UpdateUserRegistrationEmail
UpdateUserRegistrationEmailRequest Parameters:
NameParameterData TypeRequiredDescription
OldEmailbodystringYesOriginal Customer Email Address
NewEmailbodystringYesNew Customer Email Address
NewPasswordbodystringYesWhen changing the email we must also supply the password
SendResetEmailbodyboolNoTrue if you want to send a Login Updated Email
BaseAdminRequest Parameters:
NameParameterData TypeRequiredDescription
RequesterformstringNoIdentity of the caller
UpdateUserRegistrationEmailResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
IdformlongNo
DisplayNameformstringNo
ResetEmailSentformboolNo

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

{
	OldEmail: String,
	NewEmail: String,
	NewPassword: String,
	SendResetEmail: False,
	Requester: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	Id: 0,
	DisplayName: String,
	ResetEmailSent: False
}