POST api/Core/Login
Request Information
URI Parameters
None.
Body Parameters
LoginInfo| 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"
}
application/xml, text/xml
Sample:
<CoreController.LoginInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBT.Api"> <password>sample string 2</password> <username>sample string 1</username> </CoreController.LoginInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
WebApiLoginResult| Name | Description | Type | Additional information |
|---|---|---|---|
| LoginResult | LoginResult |
None. |
|
| Username | string |
None. |
|
| string |
None. |
||
| MemberId | integer |
None. |
|
| Access | Permissions |
None. |
|
| MembershipStarted | date |
None. |
|
| LastLoginDate | date |
None. |
|
| Noun | string |
None. |
|
| Firstname | string |
None. |
|
| Lastname | string |
None. |
|
| Sex | byte |
None. |
|
| PhotoUrl | string |
None. |
|
| AvatarUrl | string |
None. |
|
| Token | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"LoginResult": 0,
"Username": "sample string 1",
"Email": "sample string 2",
"MemberId": 3,
"Access": 1,
"MembershipStarted": "2026-06-10T13:36:53.9093126+03:00",
"LastLoginDate": "2026-06-10T13:36:53.9093126+03:00",
"Noun": "sample string 5",
"Firstname": "sample string 6",
"Lastname": "sample string 7",
"Sex": 64,
"PhotoUrl": "sample string 9",
"AvatarUrl": "sample string 10",
"Token": "sample string 11"
}
application/xml, text/xml
Sample:
<CoreController.WebApiLoginResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBT.Api"> <Access>StaticContentAdmin</Access> <AvatarUrl>sample string 10</AvatarUrl> <Email>sample string 2</Email> <Firstname>sample string 6</Firstname> <LastLoginDate>2026-06-10T13:36:53.9093126+03:00</LastLoginDate> <Lastname>sample string 7</Lastname> <LoginResult>Loggedin</LoginResult> <MemberId>3</MemberId> <MembershipStarted>2026-06-10T13:36:53.9093126+03:00</MembershipStarted> <Noun>sample string 5</Noun> <PhotoUrl>sample string 9</PhotoUrl> <Sex>64</Sex> <Token>sample string 11</Token> <Username>sample string 1</Username> </CoreController.WebApiLoginResult>
