POST api/Account/IsUserAdmin

Request Information

URI Parameters

None.

Body Parameters

AppUser
NameDescriptionTypeAdditional information
UserId

integer

None.

UserName

string

None.

UserPassword

string

None.

IsAdmin

boolean

None.

IsLoggedIn

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "UserName": "sample string 2",
  "UserPassword": "sample string 3",
  "IsAdmin": true,
  "IsLoggedIn": true
}

application/xml, text/xml

Sample:
<AppUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DriverTracker.WebApi.Models">
  <IsAdmin>true</IsAdmin>
  <IsLoggedIn>true</IsLoggedIn>
  <UserId>1</UserId>
  <UserName>sample string 2</UserName>
  <UserPassword>sample string 3</UserPassword>
</AppUser>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.