POST api/User/ValidateUserCredentials

Request Information

URI Parameters

None.

Body Parameters

LoginDto
NameDescriptionTypeAdditional information
Username

string

None.

Password

string

None.

AccountId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Password": "sample string 2",
  "AccountId": "c68e6a22-dc6b-4988-b100-c2e1f6507e1b"
}

application/xml, text/xml

Sample:
<LoginDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.UserModule.Model">
  <AccountId>c68e6a22-dc6b-4988-b100-c2e1f6507e1b</AccountId>
  <Password>sample string 2</Password>
  <Username>sample string 1</Username>
</LoginDto>

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

Response Information

Resource Description

UserDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Username

string

None.

Password

string

None.

Role_Id

globally unique identifier

None.

RefId

globally unique identifier

None.

ErrorMessage

string

None.

Message

string

None.

MessageFr

string

None.

ErrorMessageFr

string

None.

Token

string

None.

NovaAPIId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "77b0eb40-50aa-44cc-8722-a96876d217c5",
  "Username": "sample string 2",
  "Password": "sample string 3",
  "Role_Id": "d4ce0df5-de66-4cbe-9374-744281a65c5e",
  "RefId": "72c4c84f-deb3-4d68-a963-c06bf088d2a0",
  "ErrorMessage": "sample string 4",
  "Message": "sample string 5",
  "MessageFr": "sample string 6",
  "ErrorMessageFr": "sample string 7",
  "Token": "sample string 8",
  "NovaAPIId": "sample string 9"
}

application/xml, text/xml

Sample:
<UserDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.UserModule.Model">
  <ErrorMessage>sample string 4</ErrorMessage>
  <ErrorMessageFr>sample string 7</ErrorMessageFr>
  <Id>77b0eb40-50aa-44cc-8722-a96876d217c5</Id>
  <Message>sample string 5</Message>
  <MessageFr>sample string 6</MessageFr>
  <NovaAPIId>sample string 9</NovaAPIId>
  <Password>sample string 3</Password>
  <RefId>72c4c84f-deb3-4d68-a963-c06bf088d2a0</RefId>
  <Role_Id>d4ce0df5-de66-4cbe-9374-744281a65c5e</Role_Id>
  <Token>sample string 8</Token>
  <Username>sample string 2</Username>
</UserDto>