PUT api/Login/Login

Request Information

URI Parameters

None.

Body Parameters

MDLUserLogin
NameDescriptionTypeAdditional information
Username

string

None.

Password

string

None.

ToolName

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<MDLUserLogin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Asanus.BarCon.Middleware.Shared">
  <Password>sample string 2</Password>
  <ToolName>sample string 3</ToolName>
  <Username>sample string 1</Username>
</MDLUserLogin>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MDLUserData
NameDescriptionTypeAdditional information
UserName

string

None.

FirstName

string

None.

Surname

string

None.

ShortCut

string

None.

PersonnelNumber

string

None.

UserMandatorId

integer

None.

Message

string

None.

Sucessful

boolean

None.

Token

string

None.

ExpireAt

date

None.

UserType

ENMUserType

None.

Response Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "FirstName": "sample string 2",
  "Surname": "sample string 3",
  "ShortCut": "sample string 4",
  "PersonnelNumber": "sample string 5",
  "UserMandatorId": 6,
  "Message": "sample string 7",
  "Sucessful": true,
  "Token": "sample string 9",
  "ExpireAt": "2025-12-31T16:30:30.5828263+01:00",
  "UserType": 1
}

application/xml, text/xml

Sample:
<MDLUserData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Asanus.BarCon.Middleware.Shared">
  <ExpireAt>2025-12-31T16:30:30.5828263+01:00</ExpireAt>
  <FirstName>sample string 2</FirstName>
  <Message>sample string 7</Message>
  <PersonnelNumber>sample string 5</PersonnelNumber>
  <ShortCut>sample string 4</ShortCut>
  <Sucessful>true</Sucessful>
  <Surname>sample string 3</Surname>
  <Token>sample string 9</Token>
  <UserMandatorId>6</UserMandatorId>
  <UserName>sample string 1</UserName>
  <UserType>TreatmentAndUsage</UserType>
</MDLUserData>