GET api/Pro/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": "56825ee4-7a18-40ac-80be-ca1cce5c43ef",
"Name": "sample string 2",
"Path": "sample string 3",
"Description": "sample string 4",
"TypeId": 1,
"Token": "sample string 3"
},
"FirstName": "sample string 6",
"Siblings": [
{
"PlayerId": "2697b39b-410f-42b0-96c9-c79abc6ddec5",
"PlayerName": "sample string 2",
"TeamId": "0c2f8adf-3561-4b2f-969a-d5ec2a1ac893",
"TeamName": "sample string 4",
"Photo": {
"Id": "56825ee4-7a18-40ac-80be-ca1cce5c43ef",
"Name": "sample string 2",
"Path": "sample string 3",
"Description": "sample string 4",
"TypeId": 1,
"Token": "sample string 3"
}
},
{
"PlayerId": "2697b39b-410f-42b0-96c9-c79abc6ddec5",
"PlayerName": "sample string 2",
"TeamId": "0c2f8adf-3561-4b2f-969a-d5ec2a1ac893",
"TeamName": "sample string 4",
"Photo": {
"Id": "56825ee4-7a18-40ac-80be-ca1cce5c43ef",
"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.