Home / API / ASP.NET Web API Details

POST api/v1/Token/PostAuthenticationToken

Description

Post Request to Get Authentication Token

Request Information

Parameters

NameDescriptionAdditional information
Username
No documentation available.

Define this parameter in the request body.

Password
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Password": "sample string 2"
}

application/xml, text/xml

Sample:
<tokenmodel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICOMMON">
  <Password>sample string 2</Password>
  <Username>sample string 1</Username>
</tokenmodel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Token": "d8e8bb29-5947-4360-ad2e-1ee463eab0c5",
  "TokenCreated": "2025-02-23T06:23:24.4019521+00:00",
  "TokenExpired": "2025-02-23T06:23:24.4019521+00:00",
  "Exception": "sample string 5"
}

application/xml, text/xml

Sample:
<tokenreturnmodel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICOMMON">
  <Exception>sample string 5</Exception>
  <Token>d8e8bb29-5947-4360-ad2e-1ee463eab0c5</Token>
  <TokenCreated>2025-02-23T06:23:24.4019521+00:00</TokenCreated>
  <TokenExpired>2025-02-23T06:23:24.4019521+00:00</TokenExpired>
  <Username>sample string 1</Username>
</tokenreturnmodel>