POST,OPTIONS | /UserApi/R_CreateAccountRegistrationRequest |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
FirstName | body | string | No | |
LastName | body | string | No | |
Address1 | body | string | No | |
Address2 | body | string | No | |
City | body | string | No | |
StateProvince | body | string | No | |
ZipCode | body | string | No | |
Country | body | string | No | |
PhoneNumber | body | string | No | |
CreditCardNumber | body | string | No | |
CardCode | body | string | No | |
ExpirationMonth | body | int | No | |
ExpirationYear | body | int | No | |
body | string | No | ||
Password | body | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /xml/oneway/R_CreateAccountRegistrationRequest HTTP/1.1
Host: regapi.pumpalarm.com
Content-Type: application/xml
Content-Length: length
<R_CreateAccountRegistrationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Transactions.Account">
<Address1>String</Address1>
<Address2>String</Address2>
<CardCode>String</CardCode>
<City>String</City>
<Country>String</Country>
<CreditCardNumber>String</CreditCardNumber>
<Email>String</Email>
<ExpirationMonth>0</ExpirationMonth>
<ExpirationYear>0</ExpirationYear>
<FirstName>String</FirstName>
<LastName>String</LastName>
<Password>String</Password>
<PhoneNumber>String</PhoneNumber>
<StateProvince>String</StateProvince>
<ZipCode>String</ZipCode>
</R_CreateAccountRegistrationRequest>