POST auth/signin

Request Information

URI Parameters

None.

Body Parameters

CredentialDTO
NameDescriptionTypeAdditional information
username

string

None.

password

string

None.

logintype

string

None.

Request Formats

application/json, text/json

Sample:
{
  "username": "sample string 1",
  "password": "sample string 2",
  "logintype": "sample string 3"
}

application/xml, text/xml

Sample:
<CredentialDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/palmeo.api.Models.DTO">
  <logintype>sample string 3</logintype>
  <password>sample string 2</password>
  <username>sample string 1</username>
</CredentialDTO>

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

Response Information

Resource Description

LoginReturnDTO
NameDescriptionTypeAdditional information
token

string

None.

date

string

None.

statuscode

string

None.

description

string

None.

Response Formats

application/json, text/json

Sample:
{
  "token": "sample string 1",
  "date": "sample string 2",
  "statuscode": "sample string 3",
  "description": "sample string 4"
}

application/xml, text/xml

Sample:
<LoginReturnDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/palmeo.api.Models.DTO">
  <description>sample string 4</description>
  <statuscode>sample string 3</statuscode>
  <date>sample string 2</date>
  <token>sample string 1</token>
</LoginReturnDTO>