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": "927a511c-91d6-4114-b5c9-ca6c205e5b2e",
"ExpireDate": "2025-12-28T04:12:22.6915424+00:00",
"ApiUserID": 2,
"ApiUser": {
"ID": 1,
"Name": "sample string 2",
"Username": "sample string 5",
"Created": "2025-12-28T04:12:22.6915424+00:00",
"Active": true,
"Admin": true
}
}