GET me/views/acceptteaminvitation?team={team}&quizresult={quizresult}&skipquiz={skipquiz}

get view model for accept team invitation, which contains all information to generate a page for invitation acceptance

Request Information

Parameters

NameDescriptionAdditional information
team
team id

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 invitation acceptance page

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"
  ],
  "show_jersey_numbers": true,
  "used_jersey_numbers": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "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"
  },
  "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
  },
  "skip_input": true,
  "game_reminder": {
    "show": true,
    "allow_game_reminder": true,
    "member_remind_days": 3
  }
}

application/xml, text/xml

Sample:
<AcceptTeamInvitationVMDto 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>
  <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_email>true</show_email>
  <show_jersey_numbers>true</show_jersey_numbers>
  <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>
  <skip_input>true</skip_input>
  <used_jersey_numbers 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>
  </used_jersey_numbers>
  <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>
</AcceptTeamInvitationVMDto>