GET hasta/hastalogin
Request Information
URI Parameters
None.
Body Parameters
PatientLoginParams| Name | Description | Type | Additional information |
|---|---|---|---|
| userName | string |
None. |
|
| password | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"userName": "sample string 1",
"password": "sample string 2"
}
text/html
Sample:
{"userName":"sample string 1","password":"sample string 2"}
application/xml, text/xml
Sample:
<PatientLoginParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MEDWEB.Dtos"> <password>sample string 2</password> <userName>sample string 1</userName> </PatientLoginParams>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PatientLoginReturns| Name | Description | Type | Additional information |
|---|---|---|---|
| isLoggin | boolean |
None. |
|
| userData | Object |
None. |
|
| refData | string |
None. |
|
| loginMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"isLoggin": true,
"userData": {},
"refData": "sample string 3",
"loginMessage": "sample string 4"
}
text/html
Sample:
{"isLoggin":true,"userData":{},"refData":"sample string 3","loginMessage":"sample string 4"}
application/xml, text/xml
Sample:
<PatientLoginReturns xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MEDWEB.Dtos"> <isLoggin>true</isLoggin> <loginMessage>sample string 4</loginMessage> <refData>sample string 3</refData> <userData /> </PatientLoginReturns>