POST api/Register
Use this method to register a new account
Request Information
URI Parameters
None.
Body Parameters
The email and password you want to register for a new account.
RegisterViewModelName | Description | Type | Additional information |
---|---|---|---|
The Email address to associate with the account. Also used as the user name. |
string |
Required |
|
Password |
The password the new account should be created with |
string |
Required Data type: Password String length: inclusive between 6 and 100 |
ConfirmPassword |
This is compared with the previous password to ensure the user typed in the password they intended to |
string |
Data type: Password |
AddressLine1 |
Line 1 of the user's address |
string |
None. |
AddressLine2 |
Line 2 of the user's address |
string |
None. |
City |
The user's city |
string |
None. |
State |
The user's state. |
string |
None. |
Zip |
The user's zip code |
string |
None. |
FilingInterval |
The filing interval that the user must abide by. Valid values are: 1 - Quarterly Prepay 2 - Quarterly 3 - Monthly 4 - Fiscal Yearly 5 - Yearly |
byte |
None. |
AccountNumber |
The user's account number to be used when filing with the board of equalization |
string |
None. |
Request Formats
application/json, text/json
{ "email": "sample string 1", "password": "sample string 2", "confirmPassword": "sample string 3", "addressLine1": "sample string 4", "addressLine2": "sample string 5", "city": "sample string 6", "state": "sample string 7", "zip": "sample string 8", "filingInterval": 64, "accountNumber": "sample string 10" }
application/xml, text/xml
<RegisterViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TScunts.Models"> <AccountNumber>sample string 10</AccountNumber> <AddressLine1>sample string 4</AddressLine1> <AddressLine2>sample string 5</AddressLine2> <City>sample string 6</City> <ConfirmPassword>sample string 3</ConfirmPassword> <Email>sample string 1</Email> <FilingInterval>64</FilingInterval> <Password>sample string 2</Password> <State>sample string 7</State> <Zip>sample string 8</Zip> </RegisterViewModel>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
The account registration information created, if successful
RegisterViewModelName | Description | Type | Additional information |
---|---|---|---|
The Email address to associate with the account. Also used as the user name. |
string |
Required |
|
Password |
The password the new account should be created with |
string |
Required Data type: Password String length: inclusive between 6 and 100 |
ConfirmPassword |
This is compared with the previous password to ensure the user typed in the password they intended to |
string |
Data type: Password |
AddressLine1 |
Line 1 of the user's address |
string |
None. |
AddressLine2 |
Line 2 of the user's address |
string |
None. |
City |
The user's city |
string |
None. |
State |
The user's state. |
string |
None. |
Zip |
The user's zip code |
string |
None. |
FilingInterval |
The filing interval that the user must abide by. Valid values are: 1 - Quarterly Prepay 2 - Quarterly 3 - Monthly 4 - Fiscal Yearly 5 - Yearly |
byte |
None. |
AccountNumber |
The user's account number to be used when filing with the board of equalization |
string |
None. |
Response Formats
application/json, text/json
{ "email": "sample string 1", "password": "sample string 2", "confirmPassword": "sample string 3", "addressLine1": "sample string 4", "addressLine2": "sample string 5", "city": "sample string 6", "state": "sample string 7", "zip": "sample string 8", "filingInterval": 64, "accountNumber": "sample string 10" }
application/xml, text/xml
<RegisterViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TScunts.Models"> <AccountNumber>sample string 10</AccountNumber> <AddressLine1>sample string 4</AddressLine1> <AddressLine2>sample string 5</AddressLine2> <City>sample string 6</City> <ConfirmPassword>sample string 3</ConfirmPassword> <Email>sample string 1</Email> <FilingInterval>64</FilingInterval> <Password>sample string 2</Password> <State>sample string 7</State> <Zip>sample string 8</Zip> </RegisterViewModel>