POST api/Pro/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": "5fe086cf-18de-47ee-8c7b-3b4378b0a33d",
"Name": "sample string 2",
"Path": "sample string 3",
"Description": "sample string 4",
"TypeId": 1,
"Token": "sample string 3"
},
"FirstName": "sample string 6",
"Siblings": [
{
"PlayerId": "02c5a737-75a6-45aa-92a4-5498d0f821cb",
"PlayerName": "sample string 2",
"TeamId": "11689f7d-fc7c-4935-9c40-2b0fbbde8b38",
"TeamName": "sample string 4",
"Photo": {
"Id": "5fe086cf-18de-47ee-8c7b-3b4378b0a33d",
"Name": "sample string 2",
"Path": "sample string 3",
"Description": "sample string 4",
"TypeId": 1,
"Token": "sample string 3"
}
},
{
"PlayerId": "02c5a737-75a6-45aa-92a4-5498d0f821cb",
"PlayerName": "sample string 2",
"TeamId": "11689f7d-fc7c-4935-9c40-2b0fbbde8b38",
"TeamName": "sample string 4",
"Photo": {
"Id": "5fe086cf-18de-47ee-8c7b-3b4378b0a33d",
"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.