POST api/Login

Request Information

URI Parameters

None.

Body Parameters

AuthToken
NameDescriptionTypeAdditional information
InsertDate

date

None.

ExpireDate

date

None.

UserId

integer

None.

Claims

Dictionary of integer [key] and string [value]

None.

Request Formats

application/json, text/json

Sample:
{
  "InsertDate": "2026-02-02T15:57:40.8555202+00:00",
  "ExpireDate": "2026-02-02T15:57:40.8555202+00:00",
  "UserId": 3,
  "Claims": {
    "1": "sample string 2",
    "3": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<AuthToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AbbApi.Models">
  <Claims xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfintstring>
      <d2p1:Key>1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfintstring>
    <d2p1:KeyValueOfintstring>
      <d2p1:Key>3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfintstring>
  </Claims>
  <ExpireDate>2026-02-02T15:57:40.8555202+00:00</ExpireDate>
  <InsertDate>2026-02-02T15:57:40.8555202+00:00</InsertDate>
  <UserId>3</UserId>
</AuthToken>

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 'AuthToken'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>