Registrar Web Services

<back to all web services

R_ProtectedAccountHolder

Requires Authentication
Required role:User
The following routes are available for this service:
PUT/UserApi/R_AccountHolders
R_ProtectedAccountHolder Parameters:
NameParameterData TypeRequiredDescription
DatabodyR_AccountHolderNo
R_AccountHolder Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
AccountIdformlongNo
CreationDateTimeformDateTime?No
EmailformstringNo
PhoneNumberformstringNo
FirstNameformstringNo
LastNameformstringNo
Address1formstringNo
Address2formstringNo
CityformstringNo
StateProvinceformstringNo
ZipCodeformstringNo
CountryformstringNo
CreditCardNumberformstringNo
CardCodeformstringNo
ExpirationMonthformint?No
ExpirationYearformint?No
NeedToUpdatePaymentInfoformboolNo
UpdatePaymentInfoDateformDateTime?No
TotalNumberOfRecordsformlongNo
R_AccountHolder Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
AccountIdformlongNo
CreationDateTimeformDateTime?No
EmailformstringNo
PhoneNumberformstringNo
FirstNameformstringNo
LastNameformstringNo
Address1formstringNo
Address2formstringNo
CityformstringNo
StateProvinceformstringNo
ZipCodeformstringNo
CountryformstringNo
CreditCardNumberformstringNo
CardCodeformstringNo
ExpirationMonthformint?No
ExpirationYearformint?No
NeedToUpdatePaymentInfoformboolNo
UpdatePaymentInfoDateformDateTime?No
TotalNumberOfRecordsformlongNo

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

HTTP + XML

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

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

<R_ProtectedAccountHolder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Data">
  <Data>
    <AccountId>0</AccountId>
    <Address1>String</Address1>
    <Address2>String</Address2>
    <CardCode>String</CardCode>
    <City>String</City>
    <Country>String</Country>
    <CreationDateTime>0001-01-01T00:00:00</CreationDateTime>
    <CreditCardNumber>String</CreditCardNumber>
    <Email>String</Email>
    <ExpirationMonth>0</ExpirationMonth>
    <ExpirationYear>0</ExpirationYear>
    <FirstName>String</FirstName>
    <Id>0</Id>
    <LastName>String</LastName>
    <NeedToUpdatePaymentInfo>false</NeedToUpdatePaymentInfo>
    <PhoneNumber>String</PhoneNumber>
    <StateProvince>String</StateProvince>
    <TotalNumberOfRecords>0</TotalNumberOfRecords>
    <UpdatePaymentInfoDate>0001-01-01T00:00:00</UpdatePaymentInfoDate>
    <ZipCode>String</ZipCode>
  </Data>
</R_ProtectedAccountHolder>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<R_AccountHolder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Data">
  <AccountId>0</AccountId>
  <Address1>String</Address1>
  <Address2>String</Address2>
  <CardCode>String</CardCode>
  <City>String</City>
  <Country>String</Country>
  <CreationDateTime>0001-01-01T00:00:00</CreationDateTime>
  <CreditCardNumber>String</CreditCardNumber>
  <Email>String</Email>
  <ExpirationMonth>0</ExpirationMonth>
  <ExpirationYear>0</ExpirationYear>
  <FirstName>String</FirstName>
  <Id>0</Id>
  <LastName>String</LastName>
  <NeedToUpdatePaymentInfo>false</NeedToUpdatePaymentInfo>
  <PhoneNumber>String</PhoneNumber>
  <StateProvince>String</StateProvince>
  <TotalNumberOfRecords>0</TotalNumberOfRecords>
  <UpdatePaymentInfoDate>0001-01-01T00:00:00</UpdatePaymentInfoDate>
  <ZipCode>String</ZipCode>
</R_AccountHolder>