POST api/FP/login-users

Request Information

URI Parameters

None.

Body Parameters

LoginDTO
NameDescriptionTypeAdditional information
UserID

string

None.

UserPass

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": "sample string 1",
  "UserPass": "sample string 2"
}

application/xml, text/xml

Sample:
<LoginDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PDAAPI.Controllers">
  <UserID>sample string 1</UserID>
  <UserPass>sample string 2</UserPass>
</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

ApiResponse
NameDescriptionTypeAdditional information
status

boolean

None.

message

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "message": "sample string 2",
  "data": {}
}

application/xml, text/xml

Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <data />
  <message>sample string 2</message>
  <status>true</status>
</ApiResponse>