POST api/Coach/TeamStatus/FindTeams
Request Information
URI Parameters
None.
Body Parameters
PagedRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Page | integer |
None. |
|
| PageIndex | integer |
None. |
|
| PageSize | integer |
None. |
|
| Ordering | string |
None. |
|
| Sort | Dictionary of string [key] and string [value] |
None. |
|
| SortField | string |
None. |
|
| SortOrder | string |
None. |
|
| Filters | Collection of FilterModel |
None. |
|
| FilterCondition | FilterConditionsEnum |
None. |
|
| ContinuationToken | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Page": 1,
"PageIndex": 1,
"PageSize": 2,
"Ordering": "sample string 1 sample string 2,sample string 3 sample string 4",
"Sort": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"SortField": "sample string 3",
"SortOrder": "sample string 4",
"Filters": [
{
"Id": "sample string 1",
"Name": "sample string 2",
"Value": "sample string 3",
"Operator": 1,
"RelatedField": "sample string 4",
"RadioId": "sample string 5",
"RenderValue": "sample string 6",
"GroupId": "sample string 7"
},
{
"Id": "sample string 1",
"Name": "sample string 2",
"Value": "sample string 3",
"Operator": 1,
"RelatedField": "sample string 4",
"RadioId": "sample string 5",
"RenderValue": "sample string 6",
"GroupId": "sample string 7"
}
],
"FilterCondition": 1,
"ContinuationToken": "sample string 5"
}
application/xml, text/xml
Sample:
<PagedRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FootballISM.Infrastructure.Pagination">
<ContinuationToken>sample string 5</ContinuationToken>
<FilterCondition>And</FilterCondition>
<Filters xmlns:d2p1="http://schemas.datacontract.org/2004/07/FootballISM.Infrastructure.Filtering">
<d2p1:FilterModel>
<d2p1:GroupId>sample string 7</d2p1:GroupId>
<d2p1:Id>sample string 1</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:Operator>Equal</d2p1:Operator>
<d2p1:RadioId>sample string 5</d2p1:RadioId>
<d2p1:RelatedField>sample string 4</d2p1:RelatedField>
<d2p1:RenderValue>sample string 6</d2p1:RenderValue>
<d2p1:Value>sample string 3</d2p1:Value>
</d2p1:FilterModel>
<d2p1:FilterModel>
<d2p1:GroupId>sample string 7</d2p1:GroupId>
<d2p1:Id>sample string 1</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:Operator>Equal</d2p1:Operator>
<d2p1:RadioId>sample string 5</d2p1:RadioId>
<d2p1:RelatedField>sample string 4</d2p1:RelatedField>
<d2p1:RenderValue>sample string 6</d2p1:RenderValue>
<d2p1:Value>sample string 3</d2p1:Value>
</d2p1:FilterModel>
</Filters>
<Page>1</Page>
<PageSize>2</PageSize>
<Sort xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</Sort>
<SortField>sample string 3</SortField>
<SortOrder>sample string 4</SortOrder>
</PagedRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceResultOfPagedModelOfTeamListItem| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | PagedModelOfTeamListItem |
None. |
|
| ErrorCode | ServiceErrorCode |
None. |
|
| ErrorMessage | Collection of string |
None. |
|
| Success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": {
"PageIndex": 1,
"PageSize": 2,
"Rows": [
{
"Id": "53e66d8c-9444-4b90-b08c-b10dd3bf0c4e",
"Name": "sample string 2",
"EchelonId": "145e6275-9e28-4216-8eb9-060f462bc0c8",
"EchelonName": "sample string 3",
"SubEchelonId": "4aead271-2edc-43ac-bd52-930aee383eb3",
"SubEchelonName": "sample string 4",
"CoachId": "sample string 5",
"CoachName": "sample string 6",
"ClubId": "2aa23bf7-bdc4-4dc5-86bd-24ae71ec0f55",
"ClubName": "sample string 7",
"SeasonId": "6f5fa760-5228-4211-86f6-52364dc08669",
"SeasonName": "sample string 9",
"Injuries": 1
},
{
"Id": "53e66d8c-9444-4b90-b08c-b10dd3bf0c4e",
"Name": "sample string 2",
"EchelonId": "145e6275-9e28-4216-8eb9-060f462bc0c8",
"EchelonName": "sample string 3",
"SubEchelonId": "4aead271-2edc-43ac-bd52-930aee383eb3",
"SubEchelonName": "sample string 4",
"CoachId": "sample string 5",
"CoachName": "sample string 6",
"ClubId": "2aa23bf7-bdc4-4dc5-86bd-24ae71ec0f55",
"ClubName": "sample string 7",
"SeasonId": "6f5fa760-5228-4211-86f6-52364dc08669",
"SeasonName": "sample string 9",
"Injuries": 1
}
],
"TotalPages": 3,
"TotalRows": 4,
"ContinuationToken": "sample string 5"
},
"ErrorCode": 0,
"ErrorMessage": [
"sample string 1",
"sample string 2"
],
"Success": true
}
application/xml, text/xml
Sample:
<ServiceResultOfPagedModelOfTeamListItemCMK_P7KWBTgR_SlPqt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FootballISM.Api.Contracts.Results">
<ErrorCode>None</ErrorCode>
<ErrorMessage xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ErrorMessage>
<Success>true</Success>
<Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/FootballISM.Infrastructure.Pagination">
<d2p1:ContinuationToken>sample string 5</d2p1:ContinuationToken>
<d2p1:PageIndex>1</d2p1:PageIndex>
<d2p1:PageSize>2</d2p1:PageSize>
<d2p1:Rows xmlns:d3p1="http://schemas.datacontract.org/2004/07/FootballISM.Api.Contracts.Coach">
<d3p1:TeamListItem>
<d3p1:ClubId>2aa23bf7-bdc4-4dc5-86bd-24ae71ec0f55</d3p1:ClubId>
<d3p1:ClubName>sample string 7</d3p1:ClubName>
<d3p1:CoachId>sample string 5</d3p1:CoachId>
<d3p1:CoachName>sample string 6</d3p1:CoachName>
<d3p1:EchelonId>145e6275-9e28-4216-8eb9-060f462bc0c8</d3p1:EchelonId>
<d3p1:EchelonName>sample string 3</d3p1:EchelonName>
<d3p1:Id>53e66d8c-9444-4b90-b08c-b10dd3bf0c4e</d3p1:Id>
<d3p1:Injuries>1</d3p1:Injuries>
<d3p1:Name>sample string 2</d3p1:Name>
<d3p1:SeasonId>6f5fa760-5228-4211-86f6-52364dc08669</d3p1:SeasonId>
<d3p1:SeasonName>sample string 9</d3p1:SeasonName>
<d3p1:SubEchelonId>4aead271-2edc-43ac-bd52-930aee383eb3</d3p1:SubEchelonId>
<d3p1:SubEchelonName>sample string 4</d3p1:SubEchelonName>
</d3p1:TeamListItem>
<d3p1:TeamListItem>
<d3p1:ClubId>2aa23bf7-bdc4-4dc5-86bd-24ae71ec0f55</d3p1:ClubId>
<d3p1:ClubName>sample string 7</d3p1:ClubName>
<d3p1:CoachId>sample string 5</d3p1:CoachId>
<d3p1:CoachName>sample string 6</d3p1:CoachName>
<d3p1:EchelonId>145e6275-9e28-4216-8eb9-060f462bc0c8</d3p1:EchelonId>
<d3p1:EchelonName>sample string 3</d3p1:EchelonName>
<d3p1:Id>53e66d8c-9444-4b90-b08c-b10dd3bf0c4e</d3p1:Id>
<d3p1:Injuries>1</d3p1:Injuries>
<d3p1:Name>sample string 2</d3p1:Name>
<d3p1:SeasonId>6f5fa760-5228-4211-86f6-52364dc08669</d3p1:SeasonId>
<d3p1:SeasonName>sample string 9</d3p1:SeasonName>
<d3p1:SubEchelonId>4aead271-2edc-43ac-bd52-930aee383eb3</d3p1:SubEchelonId>
<d3p1:SubEchelonName>sample string 4</d3p1:SubEchelonName>
</d3p1:TeamListItem>
</d2p1:Rows>
<d2p1:TotalPages>3</d2p1:TotalPages>
<d2p1:TotalRows>4</d2p1:TotalRows>
</Result>
</ServiceResultOfPagedModelOfTeamListItemCMK_P7KWBTgR_SlPqt>