POST api/v1/user/{token}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
Required |
Body Parameters
PostUserViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ObjectID | integer |
Required |
|
| Name | string |
None. |
|
| IsActive | boolean |
None. |
|
| IsAdmin | boolean |
None. |
|
| State | integer |
None. |
|
| EmailAddress | string |
Required Data type: EmailAddress |
Request Formats
application/json, text/json
Sample:
{
"ObjectID": 1,
"Name": "sample string 2",
"IsActive": true,
"IsAdmin": true,
"State": 5,
"EmailAddress": "sample string 6"
}
application/xml, text/xml
Sample:
<PostUserViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataApi.Models.Users"> <EmailAddress>sample string 6</EmailAddress> <IsActive>true</IsActive> <IsAdmin>true</IsAdmin> <Name>sample string 2</Name> <ObjectID>1</ObjectID> <State>5</State> </PostUserViewModel>
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.