POST api/User/Login
Request Information
URI Parameters
None.
Body Parameters
HW_USER| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| user_id | string |
None. |
|
| user_name | string |
None. |
|
| full_name | string |
None. |
|
| country_code | string |
None. |
|
| country_name | string |
None. |
|
| mobile_no | string |
None. |
|
| string |
None. |
||
| password | string |
None. |
|
| identification_number | string |
None. |
|
| dob | string |
None. |
|
| tmc | boolean |
None. |
|
| preferred_language | string |
None. |
|
| verified | boolean |
None. |
|
| verified_at | date |
None. |
|
| active | boolean |
None. |
|
| login_type | integer |
None. |
|
| deleted | boolean |
None. |
|
| type_id | integer |
None. |
|
| country | string |
None. |
|
| city | string |
None. |
|
| province | string |
None. |
|
| address | string |
None. |
|
| created_at | date |
None. |
|
| created_by | string |
None. |
|
| modify_at | date |
None. |
|
| modify_by | string |
None. |
|
| image | string |
None. |
|
| role_id | integer |
None. |
|
| allow_login | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"user_id": "sample string 2",
"user_name": "sample string 3",
"full_name": "sample string 4",
"country_code": "sample string 5",
"country_name": "sample string 6",
"mobile_no": "sample string 7",
"email": "sample string 8",
"password": "sample string 9",
"identification_number": "sample string 10",
"dob": "sample string 11",
"tmc": true,
"preferred_language": "sample string 13",
"verified": true,
"verified_at": "2026-03-04T03:46:03.3404878+05:00",
"active": true,
"login_type": 1,
"deleted": true,
"type_id": 1,
"country": "sample string 17",
"city": "sample string 18",
"province": "sample string 19",
"address": "sample string 20",
"created_at": "2026-03-04T03:46:03.3404878+05:00",
"created_by": "sample string 21",
"modify_at": "2026-03-04T03:46:03.3404878+05:00",
"modify_by": "sample string 22",
"image": "sample string 23",
"role_id": 1,
"allow_login": true
}
text/html, multipart/form-data
Sample:
{"id":1,"user_id":"sample string 2","user_name":"sample string 3","full_name":"sample string 4","country_code":"sample string 5","country_name":"sample string 6","mobile_no":"sample string 7","email":"sample string 8","password":"sample string 9","identification_number":"sample string 10","dob":"sample string 11","tmc":true,"preferred_language":"sample string 13","verified":true,"verified_at":"2026-03-04T03:46:03.3404878+05:00","active":true,"login_type":1,"deleted":true,"type_id":1,"country":"sample string 17","city":"sample string 18","province":"sample string 19","address":"sample string 20","created_at":"2026-03-04T03:46:03.3404878+05:00","created_by":"sample string 21","modify_at":"2026-03-04T03:46:03.3404878+05:00","modify_by":"sample string 22","image":"sample string 23","role_id":1,"allow_login":true}
application/xml, text/xml
Sample:
<HW_USER xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Humwell_DALL.Dto"> <active>true</active> <address>sample string 20</address> <allow_login>true</allow_login> <city>sample string 18</city> <country>sample string 17</country> <country_code>sample string 5</country_code> <country_name>sample string 6</country_name> <created_at>2026-03-04T03:46:03.3404878+05:00</created_at> <created_by>sample string 21</created_by> <deleted>true</deleted> <dob>sample string 11</dob> <email>sample string 8</email> <full_name>sample string 4</full_name> <id>1</id> <identification_number>sample string 10</identification_number> <image>sample string 23</image> <login_type>1</login_type> <mobile_no>sample string 7</mobile_no> <modify_at>2026-03-04T03:46:03.3404878+05:00</modify_at> <modify_by>sample string 22</modify_by> <password>sample string 9</password> <preferred_language>sample string 13</preferred_language> <province>sample string 19</province> <role_id>1</role_id> <tmc>true</tmc> <type_id>1</type_id> <user_id>sample string 2</user_id> <user_name>sample string 3</user_name> <verified>true</verified> <verified_at>2026-03-04T03:46:03.3404878+05:00</verified_at> </HW_USER>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
JsonResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| response | response |
None. |
|
| result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"response": {
"responseCode": 1,
"responseMessage": "sample string 2"
},
"result": {}
}
text/html, multipart/form-data
Sample:
{"response":{"responseCode":1,"responseMessage":"sample string 2"},"result":{}}
application/xml, text/xml
Sample:
<JsonResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Humwell_DALL.Json">
<response>
<responseCode>1</responseCode>
<responseMessage>sample string 2</responseMessage>
</response>
<result />
</JsonResponse>