Home / API / ASP.NET Web API Details

GET api/v1/Token/GetAuthenticationToken?username={username}&password={password}

Description

Get Authentication Token

Request Information

Parameters

NameDescriptionAdditional information
username
Username

Define this parameter in the request URI.

password
Password

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Token": "8d5ee103-3ef1-4db9-89f8-64f8fe7032cb",
  "TokenCreated": "2025-02-23T06:07:56.7490306+00:00",
  "TokenExpired": "2025-02-23T06:07:56.7490306+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>8d5ee103-3ef1-4db9-89f8-64f8fe7032cb</Token>
  <TokenCreated>2025-02-23T06:07:56.7490306+00:00</TokenCreated>
  <TokenExpired>2025-02-23T06:07:56.7490306+00:00</TokenExpired>
  <Username>sample string 1</Username>
</tokenreturnmodel>