POST v1/User/Register
Register a Web User
Request Information
URI Parameters
None.
Body Parameters
UserRegisterInput| Name | Description | Type | Additional information |
|---|---|---|---|
| firstName |
The First Name for the User. |
string |
Required |
| lastName |
The Last Name for the User. |
string |
Required |
|
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:
Response Information
Resource Description
UserRegisterOutput| Name | Description | Type | Additional 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>