POST api/findusersession

Request Information

URI Parameters

None.

Body Parameters

string

Request 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>

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

Response Information

Resource Description

SpaAuthApp
NameDescriptionTypeAdditional information
Id

integer

None.

AuthKey

string

None.

UserId

integer

None.

IsValid

boolean

None.

LoginTime

date

None.

ValidUntil

date

None.

LogoutTime

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "AuthKey": "sample string 1",
  "UserId": 1,
  "IsValid": true,
  "LoginTime": "2025-10-25T23:10:41.3951836+02:00",
  "ValidUntil": "2025-10-25T23:10:41.3951836+02:00",
  "LogoutTime": "2025-10-25T23:10:41.3951836+02:00"
}

application/xml, text/xml

Sample:
<SpaAuth xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
  <AuthKey>sample string 1</AuthKey>
  <Id>1</Id>
  <IsValid>true</IsValid>
  <LoginTime>2025-10-25T23:10:41.3951836+02:00</LoginTime>
  <LogoutTime>2025-10-25T23:10:41.3951836+02:00</LogoutTime>
  <UserId>1</UserId>
  <ValidUntil>2025-10-25T23:10:41.3951836+02:00</ValidUntil>
</SpaAuth>