POST api/GramaUsers/create
Request Information
URI Parameters
None.
Body Parameters
UserCreateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Username | string |
Required String length: inclusive between 0 and 100 |
|
| FullName | string |
Required String length: inclusive between 0 and 200 |
|
| Password | string |
Required Min length: 8 |
|
| RoleId | integer |
Range: inclusive between 1 and 2147483647 |
Request Formats
application/json, text/json
Sample:
{
"Username": "sample string 1",
"FullName": "sample string 2",
"Password": "sample string 3",
"RoleId": 4
}
application/xml, text/xml
Sample:
<UserCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SeaShellMarket.Models"> <FullName>sample string 2</FullName> <Password>sample string 3</Password> <RoleId>4</RoleId> <Username>sample string 1</Username> </UserCreateDto>
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.