POST api/users
Request Information
URI Parameters
None.
Body Parameters
UsersCreateDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| name | string |
Required String length: inclusive between 0 and 250 |
|
| username | string |
Required String length: inclusive between 0 and 100 |
|
| phoneNumber | string |
Required String length: inclusive between 0 and 15 |
|
| password | string |
Required String length: inclusive between 0 and 100 |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"username": "sample string 2",
"phoneNumber": "sample string 3",
"password": "sample string 4"
}
application/xml, text/xml
Sample:
<UsersCreateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.Models.DTO"> <name>sample string 1</name> <password>sample string 4</password> <phoneNumber>sample string 3</phoneNumber> <username>sample string 2</username> </UsersCreateDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.