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,
  "digital_signature": "sample string 12",
  "digital_signature_base_64": "sample string 13",
  "gamer_name": "sample string 14",
  "registration_answers": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "registration_question_ids": [
    1,
    2,
    3
  ]
}

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>
  <digital_signature>sample string 12</digital_signature>
  <digital_signature_base_64>sample string 13</digital_signature_base_64>
  <entered_email>sample string 2</entered_email>
  <gamer_name>sample string 14</gamer_name>
  <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>
  <registration_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>
  </registration_answers>
  <registration_question_ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
    <d2p1:int>3</d2p1:int>
  </registration_question_ids>
  <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",
  "uid": "sample string 4",
  "id": "sample string 5",
  "first_name": "sample string 6",
  "last_name": "sample string 7",
  "avatar_url": "sample string 8"
}

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 8</avatar_url>
  <first_name>sample string 6</first_name>
  <id>sample string 5</id>
  <last_name>sample string 7</last_name>
  <email>sample string 2</email>
  <gender>sample string 1</gender>
  <sign_date>sample string 3</sign_date>
  <uid>sample string 4</uid>
</TeamMemberDto>