POST api/User/authenticate

Request Information

URI Parameters

None.

Body Parameters

UserDto
NameDescriptionTypeAdditional information
UserID

The user ID

integer

None.

UserName

The username (required for login)

string

None.

Password

The password (required for login)

string

None.

Token

The JWT token used for securing calls to the API

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "UserName": "sample string 2",
  "Password": "sample string 3",
  "Token": "sample string 4"
}

application/xml, text/xml

Sample:
<UserDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPI.Models">
  <Password>sample string 3</Password>
  <Token>sample string 4</Token>
  <UserID>1</UserID>
  <UserName>sample string 2</UserName>
</UserDto>

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.