POST security/authorise

Request Information

URI Parameters

None.

Body Parameters

JwtAuthRequest
NameDescriptionTypeAdditional information
TenantId

integer

None.

UserId

integer

None.

Username

string

None.

ExpiryDate

date

None.

RxCustId

integer

None.

SecretKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TenantId": 1,
  "UserId": 2,
  "Username": "sample string 3",
  "ExpiryDate": "2026-04-17T11:35:30.621571+00:00",
  "RxCustId": 5,
  "SecretKey": "sample string 6"
}

text/html

Sample:
{"TenantId":1,"UserId":2,"Username":"sample string 3","ExpiryDate":"2026-04-17T11:35:30.621571+00:00","RxCustId":5,"SecretKey":"sample string 6"}

application/xml, text/xml

Sample:
<JwtAuthRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Users">
  <ExpiryDate>2026-04-17T11:35:30.621571+00:00</ExpiryDate>
  <RxCustId>5</RxCustId>
  <SecretKey>sample string 6</SecretKey>
  <TenantId>1</TenantId>
  <UserId>2</UserId>
  <Username>sample string 3</Username>
</JwtAuthRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.