POST api/Coach/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": "b498a1e7-7c79-4dc2-9de8-456e4ea1d0c9",
"Name": "sample string 2",
"Path": "sample string 3",
"Description": "sample string 4",
"TypeId": 1,
"Token": "sample string 3"
},
"FirstName": "sample string 6",
"Siblings": [
{
"PlayerId": "b43f94b6-bb11-494d-ac91-7501411a37dc",
"PlayerName": "sample string 2",
"TeamId": "fecf1b1a-59f0-4797-8d23-80cb4ac7e11e",
"TeamName": "sample string 4",
"Photo": {
"Id": "b498a1e7-7c79-4dc2-9de8-456e4ea1d0c9",
"Name": "sample string 2",
"Path": "sample string 3",
"Description": "sample string 4",
"TypeId": 1,
"Token": "sample string 3"
}
},
{
"PlayerId": "b43f94b6-bb11-494d-ac91-7501411a37dc",
"PlayerName": "sample string 2",
"TeamId": "fecf1b1a-59f0-4797-8d23-80cb4ac7e11e",
"TeamName": "sample string 4",
"Photo": {
"Id": "b498a1e7-7c79-4dc2-9de8-456e4ea1d0c9",
"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.