POST User/GetUserBearerToken

Verkrijg een UserBearer om mee te kunnen sturen in requests.

Request Information

URI Parameters

None.

Body Parameters

UserCredentials
NameDescriptionTypeAdditional information
UserName

Gebruikersnaam

string

Required

Password

Wachtwoord

string

Required

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Password": "sample string 2"
}

application/xml, text/xml

Sample:
<UserCredentials xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Models">
  <Password>sample string 2</Password>
  <UserName>sample string 1</UserName>
</UserCredentials>

Response Information

Resource Description

Logic4ResponseOfString
NameDescriptionTypeAdditional information
Value

string

None.

ValidationMessages

Eventuele foutmeldingen

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Value": "sample string 1",
  "ValidationMessages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Logic4ResponseOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.ResponseModels">
  <ValidationMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ValidationMessages>
  <Value>sample string 1</Value>
</Logic4ResponseOfstring>