GET v2/networks/{id}/leagues
Get all active leagues in the network specified by id
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
id | network id |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
[ { "allow_free_agent": true, "free_agent_fee_amount": 2.1, "id": "sample string 1", "name": "sample string 2", "logo": "sample string 3", "description": "sample string 4", "has_playoffs": true, "playoffs_list": [ { "id": "sample string 1", "name": "sample string 2" }, { "id": "sample string 1", "name": "sample string 2" }, { "id": "sample string 1", "name": "sample string 2" } ], "registration_start": "sample string 6", "registration_end": "sample string 7", "status": 0, "join_until": "sample string 8", "season_start": "sample string 9", "season_end": "sample string 10", "scheduling": 0, "show_waitlist": true, "waitlist_alias": "sample string 12", "min_player": 13, "allow_score_reporting": true, "charge_team": true, "charge_player": true, "team_payment_amount": 17.1, "player_payment_amount": 18.1, "cant_create_team_without_paying": true, "approve_team_after_payment": true, "restrict_team_pay": true, "restriction_message": "sample string 22", "player_cant_join_without_paying": true, "payment_instructions": "sample string 24", "team_only_accept_packages": true, "player_only_accept_packages": true, "sport": { "id": "sample string 1", "name": "sample string 2" }, "network": { "id": "sample string 1", "name": "sample string 2" } }, { "allow_free_agent": true, "free_agent_fee_amount": 2.1, "id": "sample string 1", "name": "sample string 2", "logo": "sample string 3", "description": "sample string 4", "has_playoffs": true, "playoffs_list": [ { "id": "sample string 1", "name": "sample string 2" }, { "id": "sample string 1", "name": "sample string 2" }, { "id": "sample string 1", "name": "sample string 2" } ], "registration_start": "sample string 6", "registration_end": "sample string 7", "status": 0, "join_until": "sample string 8", "season_start": "sample string 9", "season_end": "sample string 10", "scheduling": 0, "show_waitlist": true, "waitlist_alias": "sample string 12", "min_player": 13, "allow_score_reporting": true, "charge_team": true, "charge_player": true, "team_payment_amount": 17.1, "player_payment_amount": 18.1, "cant_create_team_without_paying": true, "approve_team_after_payment": true, "restrict_team_pay": true, "restriction_message": "sample string 22", "player_cant_join_without_paying": true, "payment_instructions": "sample string 24", "team_only_accept_packages": true, "player_only_accept_packages": true, "sport": { "id": "sample string 1", "name": "sample string 2" }, "network": { "id": "sample string 1", "name": "sample string 2" } }, { "allow_free_agent": true, "free_agent_fee_amount": 2.1, "id": "sample string 1", "name": "sample string 2", "logo": "sample string 3", "description": "sample string 4", "has_playoffs": true, "playoffs_list": [ { "id": "sample string 1", "name": "sample string 2" }, { "id": "sample string 1", "name": "sample string 2" }, { "id": "sample string 1", "name": "sample string 2" } ], "registration_start": "sample string 6", "registration_end": "sample string 7", "status": 0, "join_until": "sample string 8", "season_start": "sample string 9", "season_end": "sample string 10", "scheduling": 0, "show_waitlist": true, "waitlist_alias": "sample string 12", "min_player": 13, "allow_score_reporting": true, "charge_team": true, "charge_player": true, "team_payment_amount": 17.1, "player_payment_amount": 18.1, "cant_create_team_without_paying": true, "approve_team_after_payment": true, "restrict_team_pay": true, "restriction_message": "sample string 22", "player_cant_join_without_paying": true, "payment_instructions": "sample string 24", "team_only_accept_packages": true, "player_only_accept_packages": true, "sport": { "id": "sample string 1", "name": "sample string 2" }, "network": { "id": "sample string 1", "name": "sample string 2" } } ]
application/xml, text/xml
Sample:
<ArrayOfLeagueDtoV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO.V2"> <LeagueDtoV2> <allow_free_agent>true</allow_free_agent> <allow_score_reporting>true</allow_score_reporting> <approve_team_after_payment>true</approve_team_after_payment> <cant_create_team_without_paying>true</cant_create_team_without_paying> <charge_player>true</charge_player> <charge_team>true</charge_team> <description>sample string 4</description> <free_agent_fee_amount>2.1</free_agent_fee_amount> <has_playoffs>true</has_playoffs> <id>sample string 1</id> <join_until>sample string 8</join_until> <logo>sample string 3</logo> <min_player>13</min_player> <name>sample string 2</name> <network xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </network> <payment_instructions>sample string 24</payment_instructions> <player_cant_join_without_paying>true</player_cant_join_without_paying> <player_only_accept_packages>true</player_only_accept_packages> <player_payment_amount>18.1</player_payment_amount> <playoffs_list xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <d3p1:BasicInfoDto> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </d3p1:BasicInfoDto> <d3p1:BasicInfoDto> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </d3p1:BasicInfoDto> <d3p1:BasicInfoDto> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </d3p1:BasicInfoDto> </playoffs_list> <registration_end>sample string 7</registration_end> <registration_start>sample string 6</registration_start> <restrict_team_pay>true</restrict_team_pay> <restriction_message>sample string 22</restriction_message> <scheduling>roundrobin</scheduling> <season_end>sample string 10</season_end> <season_start>sample string 9</season_start> <show_waitlist>true</show_waitlist> <sport xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </sport> <status>waitlist</status> <team_only_accept_packages>true</team_only_accept_packages> <team_payment_amount>17.1</team_payment_amount> <waitlist_alias>sample string 12</waitlist_alias> </LeagueDtoV2> <LeagueDtoV2> <allow_free_agent>true</allow_free_agent> <allow_score_reporting>true</allow_score_reporting> <approve_team_after_payment>true</approve_team_after_payment> <cant_create_team_without_paying>true</cant_create_team_without_paying> <charge_player>true</charge_player> <charge_team>true</charge_team> <description>sample string 4</description> <free_agent_fee_amount>2.1</free_agent_fee_amount> <has_playoffs>true</has_playoffs> <id>sample string 1</id> <join_until>sample string 8</join_until> <logo>sample string 3</logo> <min_player>13</min_player> <name>sample string 2</name> <network xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </network> <payment_instructions>sample string 24</payment_instructions> <player_cant_join_without_paying>true</player_cant_join_without_paying> <player_only_accept_packages>true</player_only_accept_packages> <player_payment_amount>18.1</player_payment_amount> <playoffs_list xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <d3p1:BasicInfoDto> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </d3p1:BasicInfoDto> <d3p1:BasicInfoDto> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </d3p1:BasicInfoDto> <d3p1:BasicInfoDto> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </d3p1:BasicInfoDto> </playoffs_list> <registration_end>sample string 7</registration_end> <registration_start>sample string 6</registration_start> <restrict_team_pay>true</restrict_team_pay> <restriction_message>sample string 22</restriction_message> <scheduling>roundrobin</scheduling> <season_end>sample string 10</season_end> <season_start>sample string 9</season_start> <show_waitlist>true</show_waitlist> <sport xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </sport> <status>waitlist</status> <team_only_accept_packages>true</team_only_accept_packages> <team_payment_amount>17.1</team_payment_amount> <waitlist_alias>sample string 12</waitlist_alias> </LeagueDtoV2> <LeagueDtoV2> <allow_free_agent>true</allow_free_agent> <allow_score_reporting>true</allow_score_reporting> <approve_team_after_payment>true</approve_team_after_payment> <cant_create_team_without_paying>true</cant_create_team_without_paying> <charge_player>true</charge_player> <charge_team>true</charge_team> <description>sample string 4</description> <free_agent_fee_amount>2.1</free_agent_fee_amount> <has_playoffs>true</has_playoffs> <id>sample string 1</id> <join_until>sample string 8</join_until> <logo>sample string 3</logo> <min_player>13</min_player> <name>sample string 2</name> <network xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </network> <payment_instructions>sample string 24</payment_instructions> <player_cant_join_without_paying>true</player_cant_join_without_paying> <player_only_accept_packages>true</player_only_accept_packages> <player_payment_amount>18.1</player_payment_amount> <playoffs_list xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <d3p1:BasicInfoDto> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </d3p1:BasicInfoDto> <d3p1:BasicInfoDto> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </d3p1:BasicInfoDto> <d3p1:BasicInfoDto> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </d3p1:BasicInfoDto> </playoffs_list> <registration_end>sample string 7</registration_end> <registration_start>sample string 6</registration_start> <restrict_team_pay>true</restrict_team_pay> <restriction_message>sample string 22</restriction_message> <scheduling>roundrobin</scheduling> <season_end>sample string 10</season_end> <season_start>sample string 9</season_start> <show_waitlist>true</show_waitlist> <sport xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </sport> <status>waitlist</status> <team_only_accept_packages>true</team_only_accept_packages> <team_payment_amount>17.1</team_payment_amount> <waitlist_alias>sample string 12</waitlist_alias> </LeagueDtoV2> </ArrayOfLeagueDtoV2>