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

NameDescriptionAdditional 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:
{
  "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
}

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>
  <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>
  <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>
  <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>