GET api/Global/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": "3e10004b-75e3-4de6-bc5d-f1e082ae0892",
"Name": "sample string 2",
"Path": "sample string 3",
"Description": "sample string 4",
"TypeId": 1,
"Token": "sample string 3"
},
"FirstName": "sample string 6",
"Siblings": [
{
"PlayerId": "9cb330f5-4d8f-4e69-a4a3-d169d6009279",
"PlayerName": "sample string 2",
"TeamId": "d0237ded-bf3a-4059-a46d-689af219f2bb",
"TeamName": "sample string 4",
"Photo": {
"Id": "3e10004b-75e3-4de6-bc5d-f1e082ae0892",
"Name": "sample string 2",
"Path": "sample string 3",
"Description": "sample string 4",
"TypeId": 1,
"Token": "sample string 3"
}
},
{
"PlayerId": "9cb330f5-4d8f-4e69-a4a3-d169d6009279",
"PlayerName": "sample string 2",
"TeamId": "d0237ded-bf3a-4059-a46d-689af219f2bb",
"TeamName": "sample string 4",
"Photo": {
"Id": "3e10004b-75e3-4de6-bc5d-f1e082ae0892",
"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.