POST v1/User/Register

Register a Web User

Request Information

URI Parameters

None.

Body Parameters

UserRegisterInput
NameDescriptionTypeAdditional information
firstName

The First Name for the User.

string

Required

lastName

The Last Name for the User.

string

Required

email

The UserId/Email for the User.

string

Required

password

The password for the User.

string

Required

Request Formats

application/json, text/json

Sample:
{
  "firstName": "sample string 1",
  "lastName": "sample string 2",
  "email": "sample string 3",
  "password": "sample string 4"
}

text/html

Sample:
{"firstName":"sample string 1","lastName":"sample string 2","email":"sample string 3","password":"sample string 4"}

application/xml, text/xml

Sample:
<v1_User_UserEndpointController.UserRegisterInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_User_UserEndpoint">
  <email>sample string 3</email>
  <firstName>sample string 1</firstName>
  <lastName>sample string 2</lastName>
  <password>sample string 4</password>
</v1_User_UserEndpointController.UserRegisterInput>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserRegisterInput'.

Response Information

Resource Description

UserRegisterOutput
NameDescriptionTypeAdditional information
UserID

The Id of registered user

string

None.

Response Formats

application/json, text/json

Sample:
{
  "UserID": "sample string 1"
}

text/html

Sample:
{"UserID":"sample string 1"}

application/xml, text/xml

Sample:
<v1_User_UserEndpointController.UserRegisterOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_User_UserEndpoint">
  <UserID>sample string 1</UserID>
</v1_User_UserEndpointController.UserRegisterOutput>