GET teams/{id}/views/home
[User Permission Required] get view model to build team page
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
id | team id |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "payment_instructions": "sample string 1", "team_fee": { "restrict_pay": true, "restrict_message": "sample string 2", "show": true, "payment_amount": 4.1 }, "individual_fee": { "show": true, "payment_amount": 2.1 }, "id": "sample string 2", "name": "sample string 3", "logo": "sample string 4", "network": { "id": "sample string 1", "name": "sample string 2" }, "sport": { "id": "sample string 1", "name": "sample string 2" }, "league": { "id": "sample string 1", "name": "sample string 2" }, "division": { "id": "sample string 1", "name": "sample string 2" }, "captain": { "id": "sample string 1", "name": "sample string 2" }, "approved": true, "auto_accept_requests": true, "looking_for_players": true, "co_captains": [ { "id": "sample string 1", "name": "sample string 2" }, { "id": "sample string 1", "name": "sample string 2" }, { "id": "sample string 1", "name": "sample string 2" } ] }
application/xml, text/xml
Sample:
<TeamVMDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <approved>true</approved> <auto_accept_requests>true</auto_accept_requests> <captain> <id>sample string 1</id> <name>sample string 2</name> </captain> <co_captains> <BasicInfoDto> <id>sample string 1</id> <name>sample string 2</name> </BasicInfoDto> <BasicInfoDto> <id>sample string 1</id> <name>sample string 2</name> </BasicInfoDto> <BasicInfoDto> <id>sample string 1</id> <name>sample string 2</name> </BasicInfoDto> </co_captains> <division> <id>sample string 1</id> <name>sample string 2</name> </division> <id>sample string 2</id> <league> <id>sample string 1</id> <name>sample string 2</name> </league> <logo>sample string 4</logo> <looking_for_players>true</looking_for_players> <name>sample string 3</name> <network> <id>sample string 1</id> <name>sample string 2</name> </network> <sport> <id>sample string 1</id> <name>sample string 2</name> </sport> <individual_fee> <payment_amount>2.1</payment_amount> <show>true</show> </individual_fee> <payment_instructions>sample string 1</payment_instructions> <team_fee> <payment_amount>4.1</payment_amount> <show>true</show> <restrict_message>sample string 2</restrict_message> <restrict_pay>true</restrict_pay> </team_fee> </TeamVMDto>