POST me/teaminvitations/{id}/accept

accept team invitation

Request Information

Parameters

NameDescriptionAdditional information
id
team invitation(team member) id

Define this parameter in the request URI.

acceptTeamInvitationDto
accept team invitation related data

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "is_skip_quiz": true,
  "quiz_result_id": 2,
  "terms_accepted": true,
  "waiver_question_answers": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "entered_email": "sample string 2",
  "sid": "sample string 3",
  "addition_info": "sample string 4",
  "jersey_number": "sample string 5",
  "cell_phone": "sample string 6",
  "carrier_id": 7,
  "allow_sms_message": true,
  "allow_game_reminder": true,
  "reminder_day": 10,
  "is_nomad": true
}

application/xml, text/xml

Sample:
<AcceptTeamInvitationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Web.API.Models.Input">
  <addition_info>sample string 4</addition_info>
  <allow_game_reminder>true</allow_game_reminder>
  <allow_sms_message>true</allow_sms_message>
  <carrier_id>7</carrier_id>
  <cell_phone>sample string 6</cell_phone>
  <entered_email>sample string 2</entered_email>
  <is_nomad>true</is_nomad>
  <is_skip_quiz>true</is_skip_quiz>
  <jersey_number>sample string 5</jersey_number>
  <quiz_result_id>2</quiz_result_id>
  <reminder_day>10</reminder_day>
  <sid>sample string 3</sid>
  <terms_accepted>true</terms_accepted>
  <waiver_question_answers 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_question_answers>
</AcceptTeamInvitationDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "gender": "sample string 1",
  "email": "sample string 2",
  "sign_date": "sample string 3",
  "id": "sample string 4",
  "first_name": "sample string 5",
  "last_name": "sample string 6",
  "avatar_url": "sample string 7"
}

application/xml, text/xml

Sample:
<TeamMemberDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO">
  <avatar_url>sample string 7</avatar_url>
  <first_name>sample string 5</first_name>
  <id>sample string 4</id>
  <last_name>sample string 6</last_name>
  <email>sample string 2</email>
  <gender>sample string 1</gender>
  <sign_date>sample string 3</sign_date>
</TeamMemberDto>