GET api/Player/Account/ValidateToken
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": "ca1ff533-e969-4715-b634-a8a85d777297",
"Name": "sample string 2",
"Path": "sample string 3",
"Description": "sample string 4",
"TypeId": 1,
"Token": "sample string 3"
},
"FirstName": "sample string 6",
"Siblings": [
{
"PlayerId": "884d25b8-c9b6-4b2e-a88b-4c16f1a7e2ba",
"PlayerName": "sample string 2",
"TeamId": "12c9319b-5c3d-4a69-a92e-c1bb5fe01b9b",
"TeamName": "sample string 4",
"Photo": {
"Id": "ca1ff533-e969-4715-b634-a8a85d777297",
"Name": "sample string 2",
"Path": "sample string 3",
"Description": "sample string 4",
"TypeId": 1,
"Token": "sample string 3"
}
},
{
"PlayerId": "884d25b8-c9b6-4b2e-a88b-4c16f1a7e2ba",
"PlayerName": "sample string 2",
"TeamId": "12c9319b-5c3d-4a69-a92e-c1bb5fe01b9b",
"TeamName": "sample string 4",
"Photo": {
"Id": "ca1ff533-e969-4715-b634-a8a85d777297",
"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.