RMail API

Back to Account (v1)

POST api/V1/Account/RegisterUser

This method is used to Register a new user.

Prerequisites

none

Request Information

Lorem ipsum

URI Parameters

none

Header Parameters

Header Description

Name Description Type
Content-Type This is a request content type application/json
Accept This is a response content type application/json
AuthToken This is user’s authorization token. example@example.com^296f1f85-35d4-4dd4-a350-67131c926546^rps^en-US

Note: From the Header parameters mentioned, “AuthToken” is not required for the below mentioned services.

  • Account/RegisterUser
  • Authentication/AuthenticateUser

Body Parameters

Name Description Type Additional information
FirstName This will set user’s First Name stringNone.
LastName This will set user’s Last Name string None
EmailId This will set user’s Email Id string None
Password This will set user’s Password string None
PhoneNumber This is User Alternate Email Address string None
ComparePassword This is Use’s Password Confirmation string None
Language This is User language string None
TimeZone This is User timezone string None
RegistrationApp string None
ClientId string None
CustomerCode string None
IsAdminUser string None
CompanyName string None

Request Formats

application/json, text/json
Sample:
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"EmailId": "sample string 3",
"Password": "sample string 4",
"PhoneNumber": "sample string 5",
"ComparePassword": "sample string 6",
"Language": "sample string 7",
"TimeZone": "sample string 8",
"RegistrationApp": "sample string 9",
"ClientId": "sample string 10",
"CustomerCode": "sample string 11",
"IsAdminUser": true,
"CompanyName": "sample string 13"
}
application/xml, text/xml
Sample:
<UserProfileToken xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<FirstName>sample string 1</FirstName>
<LastName>sample string 2</LastName>
<EmailId>sample string 3</EmailId>
<Password>sample string 4</Password>
<PhoneNumber>sample string 5</PhoneNumber>
<ComparePassword>sample string 6</ComparePassword>
<Language>sample string 7</Language>
<TimeZone>sample string 8</TimeZone>
<RegistrationApp>sample string 9</RegistrationApp>
<ClientId>sample string 10</ClientId>
<CustomerCode>sample string 11</CustomerCode>
<IsAdminUser>true</IsAdminUser>
<CompanyName>sample string 13</CompanyName>
</UserProfileToken>

Response Information

Resource Description

Name Description Type Additional information
StatusCode This will return Status Code.

HttpStatusCode None.

StatusMessage This will return Status Message.

string None
Message This will return response message for corresponding status code.

string None
data Object None

Response Formats

application/json, text/json
Sample:
{
"StatusCode": 100,
"StatusMessage": "sample string 1",
"Message": "sample string 2",
"data": {}
}
application/xml, text/xml
Sample:
<ResponseMessage xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<StatusCode>Continue</StatusCode>
<StatusMessage>sample string 1</StatusMessage>
<Message>sample string 2</Message>
<data ></data>
</ResponseMessage>

Was this page helpful?