GET api/Login?username={username}&password={password}&expireDate={expireDate}
Authenticates the user
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| username |
Define this parameter in the request URI. |
|
| password |
Define this parameter in the request URI. |
|
| expireDate | Optional expire date, if left empty it will be 24 hours |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{
"ID": "5be49025-b1e2-4fc1-89a2-972813bb71e4",
"ExpireDate": "2026-03-28T04:41:57.7440135+00:00",
"ApiUserID": 2,
"ApiUser": {
"ID": 1,
"Name": "sample string 2",
"Username": "sample string 5",
"Created": "2026-03-28T04:41:57.7440135+00:00",
"Active": true,
"Admin": true
}
}