POST api/Account/Register
Request Information
URI Parameters
None.
Body Parameters
UserModelName | Description | Type | Additional information |
---|---|---|---|
UserName | string |
Required |
|
Password | string |
Required Data type: Password String length: inclusive between 6 and 100 |
|
FirstName | string |
Required String length: inclusive between 0 and 100 |
|
LastName | string |
Required String length: inclusive between 0 and 100 |
|
BirthDate | date |
Required |
Request Formats
application/json, text/json
Sample:
{ "UserName": "sample string 1", "Password": "sample string 2", "FirstName": "sample string 3", "LastName": "sample string 4", "BirthDate": "2024-10-21T00:50:25.9012874+05:00" }
application/xml, text/xml
Sample:
<UserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomOAuthTutorial.WebAPI.Models"> <BirthDate>2024-10-21T00:50:25.9012874+05:00</BirthDate> <FirstName>sample string 3</FirstName> <LastName>sample string 4</LastName> <Password>sample string 2</Password> <UserName>sample string 1</UserName> </UserModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.