GET me/views/createteam?league={league}&division={division}&quizresult={quizresult}&skipquiz={skipquiz}
get view model for create team, which contains all information to generate a page for team creation
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
league | league id, optional if division id is specified |
Define this parameter in the request URI. |
division | division id (0- waitlist) |
Define this parameter in the request URI. |
quizresult | optional, if need to take quiz ,set this value of your quiz result |
Define this parameter in the request URI. |
skipquiz | optional, if need to take quiz and admin skip it,set to true |
Define this parameter in the request URI. |
Response Information
an object containing all information to generate a page for team creation
Response body formats
application/json, text/json
Sample:
{ "divisionList": [ { "id": "sample string 1", "objType": 0, "name": "sample string 2", "logo": "sample string 3" }, { "id": "sample string 1", "objType": 0, "name": "sample string 2", "logo": "sample string 3" }, { "id": "sample string 1", "objType": 0, "name": "sample string 2", "logo": "sample string 3" } ], "promptFor": "sample string 1", "enableCustomRegistrationQuestions": true, "teamColors": { "show": true, "teamColorList": [ { "name": "sample string 1", "nameText": "sample string 2", "hexCode": "sample string 3", "useImageBackground": true, "backgroundImage": "sample string 5", "allowed": true, "blackFont": true }, { "name": "sample string 1", "nameText": "sample string 2", "hexCode": "sample string 3", "useImageBackground": true, "backgroundImage": "sample string 5", "allowed": true, "blackFont": true }, { "name": "sample string 1", "nameText": "sample string 2", "hexCode": "sample string 3", "useImageBackground": true, "backgroundImage": "sample string 5", "allowed": true, "blackFont": true } ] }, "teamColorCompulsion": true, "rankTeamColorList": [ { "name": "sample string 1", "nameText": "sample string 2", "hexCode": "sample string 3", "useImageBackground": true, "backgroundImage": "sample string 5", "allowed": true, "blackFont": true }, { "name": "sample string 1", "nameText": "sample string 2", "hexCode": "sample string 3", "useImageBackground": true, "backgroundImage": "sample string 5", "allowed": true, "blackFont": true }, { "name": "sample string 1", "nameText": "sample string 2", "hexCode": "sample string 3", "useImageBackground": true, "backgroundImage": "sample string 5", "allowed": true, "blackFont": true } ], "showRankTeamColor": true, "registrationQuestions": null, "waiver": { "show": true, "statement": "sample string 2", "content": "sample string 3" }, "instructions": "sample string 1", "waiver_questions": [ "sample string 1", "sample string 2", "sample string 3" ], "default_team_name": "sample string 2", "can_edit_team_name": true, "show_email": true, "sid": { "show": true, "text": "sample string 2", "label": "sample string 3", "char_type": 0, "min_num_char": 4, "max_num_char": 5, "extra_info": "sample string 6" }, "additional_info": { "show": true, "label": "sample string 2", "text": "sample string 3" }, "show_auto_accept_members": true, "show_look_for_players": true, "show_jersey_number": true, "phone": { "show": true, "value": "sample string 2", "carrier_id": 3, "carrier_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" } ], "allow_sms_message": true }, "game_reminder": { "show": true, "allow_game_reminder": true, "member_remind_days": 3 }, "show_digital_signature": true, "showDivisionPreference": true }
application/xml, text/xml
Sample:
<CreateTeamVMDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Web.API.Models.Output"> <additional_info> <label>sample string 2</label> <show>true</show> <text>sample string 3</text> </additional_info> <can_edit_team_name>true</can_edit_team_name> <default_team_name>sample string 2</default_team_name> <divisionList xmlns:d2p1="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Common"> <d2p1:EntityItemOutVO> <d2p1:id>sample string 1</d2p1:id> <d2p1:logo>sample string 3</d2p1:logo> <d2p1:name>sample string 2</d2p1:name> <d2p1:objType>Member</d2p1:objType> </d2p1:EntityItemOutVO> <d2p1:EntityItemOutVO> <d2p1:id>sample string 1</d2p1:id> <d2p1:logo>sample string 3</d2p1:logo> <d2p1:name>sample string 2</d2p1:name> <d2p1:objType>Member</d2p1:objType> </d2p1:EntityItemOutVO> <d2p1:EntityItemOutVO> <d2p1:id>sample string 1</d2p1:id> <d2p1:logo>sample string 3</d2p1:logo> <d2p1:name>sample string 2</d2p1:name> <d2p1:objType>Member</d2p1:objType> </d2p1:EntityItemOutVO> </divisionList> <enableCustomRegistrationQuestions>true</enableCustomRegistrationQuestions> <game_reminder> <allow_game_reminder>true</allow_game_reminder> <member_remind_days>3</member_remind_days> <show>true</show> </game_reminder> <instructions>sample string 1</instructions> <phone> <allow_sms_message>true</allow_sms_message> <carrier_id>3</carrier_id> <carrier_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> </carrier_list> <show>true</show> <value>sample string 2</value> </phone> <promptFor>sample string 1</promptFor> <rankTeamColorList xmlns:d2p1="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Division"> <d2p1:TeamColorItemVO> <d2p1:allowed>true</d2p1:allowed> <d2p1:backgroundImage>sample string 5</d2p1:backgroundImage> <d2p1:blackFont>true</d2p1:blackFont> <d2p1:hexCode>sample string 3</d2p1:hexCode> <d2p1:name>sample string 1</d2p1:name> <d2p1:nameText>sample string 2</d2p1:nameText> <d2p1:useImageBackground>true</d2p1:useImageBackground> </d2p1:TeamColorItemVO> <d2p1:TeamColorItemVO> <d2p1:allowed>true</d2p1:allowed> <d2p1:backgroundImage>sample string 5</d2p1:backgroundImage> <d2p1:blackFont>true</d2p1:blackFont> <d2p1:hexCode>sample string 3</d2p1:hexCode> <d2p1:name>sample string 1</d2p1:name> <d2p1:nameText>sample string 2</d2p1:nameText> <d2p1:useImageBackground>true</d2p1:useImageBackground> </d2p1:TeamColorItemVO> <d2p1:TeamColorItemVO> <d2p1:allowed>true</d2p1:allowed> <d2p1:backgroundImage>sample string 5</d2p1:backgroundImage> <d2p1:blackFont>true</d2p1:blackFont> <d2p1:hexCode>sample string 3</d2p1:hexCode> <d2p1:name>sample string 1</d2p1:name> <d2p1:nameText>sample string 2</d2p1:nameText> <d2p1:useImageBackground>true</d2p1:useImageBackground> </d2p1:TeamColorItemVO> </rankTeamColorList> <registrationQuestions xmlns:d2p1="http://schemas.datacontract.org/2004/07/imLeagues.Business" i:nil="true" /> <showDivisionPreference>true</showDivisionPreference> <showRankTeamColor>true</showRankTeamColor> <show_auto_accept_members>true</show_auto_accept_members> <show_digital_signature>true</show_digital_signature> <show_email>true</show_email> <show_jersey_number>true</show_jersey_number> <show_look_for_players>true</show_look_for_players> <sid> <char_type>AnyCharacters</char_type> <extra_info>sample string 6</extra_info> <label>sample string 3</label> <max_num_char>5</max_num_char> <min_num_char>4</min_num_char> <show>true</show> <text>sample string 2</text> </sid> <teamColorCompulsion>true</teamColorCompulsion> <teamColors xmlns:d2p1="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Division"> <d2p1:show>true</d2p1:show> <d2p1:teamColorList> <d2p1:TeamColorItemVO> <d2p1:allowed>true</d2p1:allowed> <d2p1:backgroundImage>sample string 5</d2p1:backgroundImage> <d2p1:blackFont>true</d2p1:blackFont> <d2p1:hexCode>sample string 3</d2p1:hexCode> <d2p1:name>sample string 1</d2p1:name> <d2p1:nameText>sample string 2</d2p1:nameText> <d2p1:useImageBackground>true</d2p1:useImageBackground> </d2p1:TeamColorItemVO> <d2p1:TeamColorItemVO> <d2p1:allowed>true</d2p1:allowed> <d2p1:backgroundImage>sample string 5</d2p1:backgroundImage> <d2p1:blackFont>true</d2p1:blackFont> <d2p1:hexCode>sample string 3</d2p1:hexCode> <d2p1:name>sample string 1</d2p1:name> <d2p1:nameText>sample string 2</d2p1:nameText> <d2p1:useImageBackground>true</d2p1:useImageBackground> </d2p1:TeamColorItemVO> <d2p1:TeamColorItemVO> <d2p1:allowed>true</d2p1:allowed> <d2p1:backgroundImage>sample string 5</d2p1:backgroundImage> <d2p1:blackFont>true</d2p1:blackFont> <d2p1:hexCode>sample string 3</d2p1:hexCode> <d2p1:name>sample string 1</d2p1:name> <d2p1:nameText>sample string 2</d2p1:nameText> <d2p1:useImageBackground>true</d2p1:useImageBackground> </d2p1:TeamColorItemVO> </d2p1:teamColorList> </teamColors> <waiver> <content>sample string 3</content> <show>true</show> <statement>sample string 2</statement> </waiver> <waiver_questions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> <d2p1:string>sample string 3</d2p1:string> </waiver_questions> </CreateTeamVMDto>