POST api/Supervisors/Login
Request Information
URI Parameters
None.
Body Parameters
Info| Name | Description | Type | Additional information |
|---|---|---|---|
| userName | string |
None. |
|
| pass | string |
None. |
|
| token | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"userName": "sample string 1",
"pass": "sample string 2",
"token": "sample string 3"
}
application/xml, text/xml
Sample:
<Info xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoetAPI.Controllers"> <pass>sample string 2</pass> <token>sample string 3</token> <userName>sample string 1</userName> </Info>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UserResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| status | boolean |
None. |
|
| responseMessage | string |
None. |
|
| data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"responseMessage": "sample string 2",
"data": {}
}
application/xml, text/xml
Sample:
<UserResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoetAPI"> <data /> <responseMessage>sample string 2</responseMessage> <status>true</status> </UserResponse>