GET api/Coach/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": "fc5a47f7-9eeb-4d25-97fa-7ce0bb854e13",
"Name": "sample string 2",
"Path": "sample string 3",
"Description": "sample string 4",
"TypeId": 1,
"Token": "sample string 3"
},
"FirstName": "sample string 6",
"Siblings": [
{
"PlayerId": "54a7368e-6b19-4fa5-80aa-07200677ba28",
"PlayerName": "sample string 2",
"TeamId": "a1bd0653-bf9c-4409-b3fe-9abceb98ed8d",
"TeamName": "sample string 4",
"Photo": {
"Id": "fc5a47f7-9eeb-4d25-97fa-7ce0bb854e13",
"Name": "sample string 2",
"Path": "sample string 3",
"Description": "sample string 4",
"TypeId": 1,
"Token": "sample string 3"
}
},
{
"PlayerId": "54a7368e-6b19-4fa5-80aa-07200677ba28",
"PlayerName": "sample string 2",
"TeamId": "a1bd0653-bf9c-4409-b3fe-9abceb98ed8d",
"TeamName": "sample string 4",
"Photo": {
"Id": "fc5a47f7-9eeb-4d25-97fa-7ce0bb854e13",
"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.