POST api/Login

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
lc
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Account": "sample string 1",
  "Password": "sample string 2",
  "Platform": "sample string 3"
}

application/xml, text/xml

Sample:
<LoginCredentials xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThumbLib.Models">
  <Account>sample string 1</Account>
  <Password>sample string 2</Password>
  <Platform>sample string 3</Platform>
</LoginCredentials>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LoginCredentials'.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "UserEmail": "sample string 2",
  "APIToken": "954c407a-2dd5-4c01-b8c3-e2729eb3b0de",
  "IsAdmin": true
}

application/xml, text/xml

Sample:
<AccountContext xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThumbAPI.Models">
  <APIToken>954c407a-2dd5-4c01-b8c3-e2729eb3b0de</APIToken>
  <IsAdmin>true</IsAdmin>
  <UserEmail>sample string 2</UserEmail>
  <UserId>1</UserId>
</AccountContext>