Back
POST api/v1/Account/Register
Register a new user. An email with an activation link will be sent to the user.Request body must be in jSon format.
ContentType for this request should be "application/json; charset=UTF-8".
Request Information
URI Parameters
None.
Body Parameters
UserRegisterBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
|
A valid email address to be used as username |
string |
Required Max length: 256 |
|
| Password |
Password should be a minimum of 8 and maximum of 25 characters, including at least one uppercase letter, one lowercase letter, one number, and no spaces. |
string |
Required |
| ConfirmPassword |
Confirm Password |
string |
None. |
| FirstName |
User's first Name |
string |
Required Data type: Text Max length: 255 |
| LastName |
User's last Name |
string |
Required Data type: Text Max length: 255 |
| PhoneNumber |
Phone Number |
string |
Max length: 100 |
| AlternateEmail |
A valid email address to be used as an alternate email address. |
string |
Max length: 256 |
| ConfirmationCallbackUrl |
Confirmation callback url. URL to navigate to after email activation. This is optional for registration |
string |
Max length: 250 |
| RegistrationApp |
App used for registration. |
string |
Required Max length: 30 |
| Language |
Language code. List of supported languages can be retrieved using the endpoint : api/v1/Lookup/Language |
string |
Required Max length: 10 |
| TimeZone |
Timezone code. List of timezones can be retrieved using the endpoint : api/v1/Lookup/TimeZone |
string |
Max length: 100 |
| NotificationEmail |
A valid email address to be used as an alternate notification address. |
string |
Max length: 255 |
| Country |
Country Code. Max allowed length is 5 characters |
string |
Max length: 5 |
| CompanyName |
Company Name . Max allowed length is 250 characters |
string |
Max length: 250 |
| Industry |
Industry Code.Max allowed length is 50 characters |
string |
Max length: 50 |
| RPostTermCondition |
RPost App Terms and Conditions Aggreed |
boolean |
None. |
| ClientId |
RPost verified ClientID |
string |
None. |
| CustomerCode |
Valid Customer Code/ reference key |
string |
None. |
| IsAdminUser |
true if user should be added as a Customer Administrator, false otherwise |
boolean |
None. |
| ActivateViaCallbackUrl |
If true activation code will be appended to the callbackurl, this is optional and if false or no value found, |
boolean |
None. |
| IPAddress |
IP address |
string |
None. |
| OriginatingURL |
Originating URL |
string |
None. |
| RegistrationAppSite |
Registration App Site |
string |
None. |
Sample Request
Request Formats
application/json, text/json
{
"Email": "user@company.com",
"Password": "Secret007",
"ConfirmPassword": "Secret007",
"FirstName": "John",
"LastName": "Smith",
"PhoneNumber": "3102100990",
"AlternateEmail": null,
"ConfirmationCallbackUrl": null,
"RegistrationApp": "[App]",
"Language": "en-us",
"TimeZone": "US Eastern Standard Time",
"NotificationEmail": null,
"Country": null,
"CompanyName": null,
"Industry": null,
"RPostTermCondition": null,
"ClientId": null,
"CustomerCode": null,
"IsAdminUser": null,
"ActivateViaCallbackUrl": null,
"IPAddress": null,
"OriginatingURL": null,
"RegistrationAppSite": null
}