POST api/Login?api={api}
Lấy về tất cả các dòng dữ liệu bởi điều kiện truyền vào
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| api |
Mã API do hệ thống cung cấp |
string |
Required |
Body Parameters
Tài khoản được hệ thống cung cấp
UserPass| Name | Description | Type | Additional information |
|---|---|---|---|
| username |
Tên đăng nhập |
string |
None. |
| password |
Mật khẩu |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"username": "sample string 1",
"password": "sample string 2"
}
application/xml, text/xml
Sample:
<UserPass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiIVF.Controllers"> <password>sample string 2</password> <username>sample string 1</username> </UserPass>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AlertLogin| Name | Description | Type | Additional information |
|---|---|---|---|
| status |
Trạng thái |
string |
None. |
| message |
Thông báo |
string |
None. |
| token |
Token |
string |
None. |
| linkapi |
Địa chỉ api |
string |
None. |
| keyapi |
Key api |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": "sample string 1",
"message": "sample string 2",
"token": "sample string 3",
"linkapi": "sample string 4",
"keyapi": "sample string 5"
}
application/xml, text/xml
Sample:
<AlertLogin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiIVF.Controllers"> <keyapi>sample string 5</keyapi> <linkapi>sample string 4</linkapi> <message>sample string 2</message> <status>sample string 1</status> <token>sample string 3</token> </AlertLogin>