Registrar Web Services

<back to all web services

R_UpdateAccountRequest

Requires Authentication
Requires the role:Admin
The following routes are available for this service:
POST,OPTIONS/R_UpdateAccountRequest
R_UpdateAccountRequest Parameters:
NameParameterData TypeRequiredDescription
UserAuthIdbodylongNo
PhoneNumberbodystringNo
FirstNamebodystringNo
LastNamebodystringNo
Address1bodystringNo
Address2bodystringNo
CitybodystringNo
StateProvincebodystringNo
ZipCodebodystringNo
CountrybodystringNo
CreditCardNumberbodystringNo
CardCodebodystringNo
ExpirationMonthbodyintNo
ExpirationYearbodyintNo
EmailbodystringNo
ValidateOnlybodyboolNo
BaseAdminRequest Parameters:
NameParameterData TypeRequiredDescription
RequesterformstringNoIdentity of the caller
R_UpdateAccountResponse Parameters:
NameParameterData TypeRequiredDescription
AccountIdformlongNo
AccountHolderIdformlongNo

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

HTTP + CSV

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

POST /csv/reply/R_UpdateAccountRequest HTTP/1.1 
Host: regapi.pumpalarm.com 
Content-Type: text/csv
Content-Length: length

{"UserAuthId":0,"PhoneNumber":"String","FirstName":"String","LastName":"String","Address1":"String","Address2":"String","City":"String","StateProvince":"String","ZipCode":"String","Country":"String","CreditCardNumber":"String","CardCode":"String","ExpirationMonth":0,"ExpirationYear":0,"Email":"String","ValidateOnly":false,"Requester":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"AccountId":0,"AccountHolderId":0}