POST me/teams/{id}/join

join current user to the team based on data passed, which is supposed to contain all necessary data for team join; if any data passed is invalid, an exception will be thrown;

Request Information

Parameters

NameDescriptionAdditional information
id
team id

Define this parameter in the request URI.

joinTeamDto
join team 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,
  "request_message": "sample string 1",
  "terms_accepted": true,
  "waiver_question_answers": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "entered_email": "sample string 3",
  "sid": "sample string 4",
  "addition_info": "sample string 5",
  "jersey_number": "sample string 6",
  "cell_phone": "sample string 7",
  "carrier_id": 8,
  "allow_sms_message": true,
  "allow_game_reminder": true,
  "reminder_day": 11,
  "is_nomad": true
}

application/xml, text/xml

Sample:
<JoinTeamDto 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 5</addition_info>
  <allow_game_reminder>true</allow_game_reminder>
  <allow_sms_message>true</allow_sms_message>
  <carrier_id>8</carrier_id>
  <cell_phone>sample string 7</cell_phone>
  <entered_email>sample string 3</entered_email>
  <is_nomad>true</is_nomad>
  <is_skip_quiz>true</is_skip_quiz>
  <jersey_number>sample string 6</jersey_number>
  <quiz_result_id>2</quiz_result_id>
  <reminder_day>11</reminder_day>
  <sid>sample string 4</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>
  <request_message>sample string 1</request_message>
</JoinTeamDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

the team member object created

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>