POST api/Account/Login
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ServiceResultOfAuthModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | AuthModel |
None. |
|
| ErrorCode | ServiceErrorCode |
None. |
|
| ErrorMessage | Collection of string |
None. |
|
| Success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": {
"AuthToken": "sample string 1",
"UserTypes": [
1,
2
],
"FullName": "sample string 2",
"ForceChangePassword": true,
"Email": "sample string 4",
"Username": "sample string 5",
"Photo": {
"Id": "c2390cfa-2226-4ec6-aed1-e00480e9b1da",
"Name": "sample string 2",
"Path": "sample string 3",
"Description": "sample string 4",
"TypeId": 1,
"Token": "sample string 3"
},
"FirstName": "sample string 6",
"Siblings": [
{
"PlayerId": "34346bc3-2f60-4a2f-8c58-3bfe018e0d29",
"PlayerName": "sample string 2",
"TeamId": "b8236f49-145f-4914-b5e6-af165bc62059",
"TeamName": "sample string 4",
"Photo": {
"Id": "c2390cfa-2226-4ec6-aed1-e00480e9b1da",
"Name": "sample string 2",
"Path": "sample string 3",
"Description": "sample string 4",
"TypeId": 1,
"Token": "sample string 3"
}
},
{
"PlayerId": "34346bc3-2f60-4a2f-8c58-3bfe018e0d29",
"PlayerName": "sample string 2",
"TeamId": "b8236f49-145f-4914-b5e6-af165bc62059",
"TeamName": "sample string 4",
"Photo": {
"Id": "c2390cfa-2226-4ec6-aed1-e00480e9b1da",
"Name": "sample string 2",
"Path": "sample string 3",
"Description": "sample string 4",
"TypeId": 1,
"Token": "sample string 3"
}
}
]
},
"ErrorCode": 0,
"ErrorMessage": [
"sample string 1",
"sample string 2"
],
"Success": true
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.