POST api/account/Create
Request Information
URI Parameters
None.
Body Parameters
UserModel| Name | Description | Type | Additional information |
|---|---|---|---|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| string |
None. |
||
| Username | string |
None. |
|
| Password | string |
None. |
|
| UserType | string |
None. |
|
| Settings | Dictionary of integer [key] and boolean [value] |
None. |
Request Formats
application/json, text/json
Sample:
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"Email": "sample string 3",
"Username": "sample string 4",
"Password": "sample string 5",
"UserType": "sample string 6",
"Settings": {
"1": true,
"3": true
}
}
application/xml, text/xml
Sample:
<UserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WisspNetApi.Models">
<Email>sample string 3</Email>
<FirstName>sample string 1</FirstName>
<LastName>sample string 2</LastName>
<Password>sample string 5</Password>
<Settings xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfintboolean>
<d2p1:Key>1</d2p1:Key>
<d2p1:Value>true</d2p1:Value>
</d2p1:KeyValueOfintboolean>
<d2p1:KeyValueOfintboolean>
<d2p1:Key>3</d2p1:Key>
<d2p1:Value>true</d2p1:Value>
</d2p1:KeyValueOfintboolean>
</Settings>
<UserType>sample string 6</UserType>
<Username>sample string 4</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.