GET me/teams/{id}/requests

get all pending join requests for his team by the team captain

Request Information

Parameters

NameDescriptionAdditional information
id
id of the team

Define this parameter in the request URI.

Response Information

return all pending requests for this team

Response body formats

application/json, text/json

Sample:
[
  {
    "id": "sample string 1",
    "request_date": "2020-05-26T00:44:31.5310288-05:00",
    "message": "sample string 3",
    "member": {
      "id": "sample string 1",
      "first_name": "sample string 2",
      "last_name": "sample string 3",
      "avatar_url": "sample string 4"
    },
    "team": {
      "id": "sample string 1",
      "name": "sample string 2",
      "logo": "sample string 3",
      "network": {
        "id": "sample string 1",
        "name": "sample string 2"
      },
      "sport": {
        "id": "sample string 1",
        "name": "sample string 2"
      },
      "league": {
        "id": "sample string 1",
        "name": "sample string 2"
      },
      "division": {
        "id": "sample string 1",
        "name": "sample string 2"
      },
      "captain": {
        "id": "sample string 1",
        "name": "sample string 2"
      },
      "approved": true,
      "auto_accept_requests": true,
      "looking_for_players": true,
      "co_captains": [
        {
          "id": "sample string 1",
          "name": "sample string 2"
        },
        {
          "id": "sample string 1",
          "name": "sample string 2"
        },
        {
          "id": "sample string 1",
          "name": "sample string 2"
        }
      ]
    }
  },
  {
    "id": "sample string 1",
    "request_date": "2020-05-26T00:44:31.5310288-05:00",
    "message": "sample string 3",
    "member": {
      "id": "sample string 1",
      "first_name": "sample string 2",
      "last_name": "sample string 3",
      "avatar_url": "sample string 4"
    },
    "team": {
      "id": "sample string 1",
      "name": "sample string 2",
      "logo": "sample string 3",
      "network": {
        "id": "sample string 1",
        "name": "sample string 2"
      },
      "sport": {
        "id": "sample string 1",
        "name": "sample string 2"
      },
      "league": {
        "id": "sample string 1",
        "name": "sample string 2"
      },
      "division": {
        "id": "sample string 1",
        "name": "sample string 2"
      },
      "captain": {
        "id": "sample string 1",
        "name": "sample string 2"
      },
      "approved": true,
      "auto_accept_requests": true,
      "looking_for_players": true,
      "co_captains": [
        {
          "id": "sample string 1",
          "name": "sample string 2"
        },
        {
          "id": "sample string 1",
          "name": "sample string 2"
        },
        {
          "id": "sample string 1",
          "name": "sample string 2"
        }
      ]
    }
  },
  {
    "id": "sample string 1",
    "request_date": "2020-05-26T00:44:31.5310288-05:00",
    "message": "sample string 3",
    "member": {
      "id": "sample string 1",
      "first_name": "sample string 2",
      "last_name": "sample string 3",
      "avatar_url": "sample string 4"
    },
    "team": {
      "id": "sample string 1",
      "name": "sample string 2",
      "logo": "sample string 3",
      "network": {
        "id": "sample string 1",
        "name": "sample string 2"
      },
      "sport": {
        "id": "sample string 1",
        "name": "sample string 2"
      },
      "league": {
        "id": "sample string 1",
        "name": "sample string 2"
      },
      "division": {
        "id": "sample string 1",
        "name": "sample string 2"
      },
      "captain": {
        "id": "sample string 1",
        "name": "sample string 2"
      },
      "approved": true,
      "auto_accept_requests": true,
      "looking_for_players": true,
      "co_captains": [
        {
          "id": "sample string 1",
          "name": "sample string 2"
        },
        {
          "id": "sample string 1",
          "name": "sample string 2"
        },
        {
          "id": "sample string 1",
          "name": "sample string 2"
        }
      ]
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfTeamMemberRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO">
  <TeamMemberRequestDto>
    <id>sample string 1</id>
    <member>
      <avatar_url>sample string 4</avatar_url>
      <first_name>sample string 2</first_name>
      <id>sample string 1</id>
      <last_name>sample string 3</last_name>
    </member>
    <message>sample string 3</message>
    <request_date>2020-05-26T00:44:31.5310288-05:00</request_date>
    <team>
      <approved>true</approved>
      <auto_accept_requests>true</auto_accept_requests>
      <captain>
        <id>sample string 1</id>
        <name>sample string 2</name>
      </captain>
      <co_captains>
        <BasicInfoDto>
          <id>sample string 1</id>
          <name>sample string 2</name>
        </BasicInfoDto>
        <BasicInfoDto>
          <id>sample string 1</id>
          <name>sample string 2</name>
        </BasicInfoDto>
        <BasicInfoDto>
          <id>sample string 1</id>
          <name>sample string 2</name>
        </BasicInfoDto>
      </co_captains>
      <division>
        <id>sample string 1</id>
        <name>sample string 2</name>
      </division>
      <id>sample string 1</id>
      <league>
        <id>sample string 1</id>
        <name>sample string 2</name>
      </league>
      <logo>sample string 3</logo>
      <looking_for_players>true</looking_for_players>
      <name>sample string 2</name>
      <network>
        <id>sample string 1</id>
        <name>sample string 2</name>
      </network>
      <sport>
        <id>sample string 1</id>
        <name>sample string 2</name>
      </sport>
    </team>
  </TeamMemberRequestDto>
  <TeamMemberRequestDto>
    <id>sample string 1</id>
    <member>
      <avatar_url>sample string 4</avatar_url>
      <first_name>sample string 2</first_name>
      <id>sample string 1</id>
      <last_name>sample string 3</last_name>
    </member>
    <message>sample string 3</message>
    <request_date>2020-05-26T00:44:31.5310288-05:00</request_date>
    <team>
      <approved>true</approved>
      <auto_accept_requests>true</auto_accept_requests>
      <captain>
        <id>sample string 1</id>
        <name>sample string 2</name>
      </captain>
      <co_captains>
        <BasicInfoDto>
          <id>sample string 1</id>
          <name>sample string 2</name>
        </BasicInfoDto>
        <BasicInfoDto>
          <id>sample string 1</id>
          <name>sample string 2</name>
        </BasicInfoDto>
        <BasicInfoDto>
          <id>sample string 1</id>
          <name>sample string 2</name>
        </BasicInfoDto>
      </co_captains>
      <division>
        <id>sample string 1</id>
        <name>sample string 2</name>
      </division>
      <id>sample string 1</id>
      <league>
        <id>sample string 1</id>
        <name>sample string 2</name>
      </league>
      <logo>sample string 3</logo>
      <looking_for_players>true</looking_for_players>
      <name>sample string 2</name>
      <network>
        <id>sample string 1</id>
        <name>sample string 2</name>
      </network>
      <sport>
        <id>sample string 1</id>
        <name>sample string 2</name>
      </sport>
    </team>
  </TeamMemberRequestDto>
  <TeamMemberRequestDto>
    <id>sample string 1</id>
    <member>
      <avatar_url>sample string 4</avatar_url>
      <first_name>sample string 2</first_name>
      <id>sample string 1</id>
      <last_name>sample string 3</last_name>
    </member>
    <message>sample string 3</message>
    <request_date>2020-05-26T00:44:31.5310288-05:00</request_date>
    <team>
      <approved>true</approved>
      <auto_accept_requests>true</auto_accept_requests>
      <captain>
        <id>sample string 1</id>
        <name>sample string 2</name>
      </captain>
      <co_captains>
        <BasicInfoDto>
          <id>sample string 1</id>
          <name>sample string 2</name>
        </BasicInfoDto>
        <BasicInfoDto>
          <id>sample string 1</id>
          <name>sample string 2</name>
        </BasicInfoDto>
        <BasicInfoDto>
          <id>sample string 1</id>
          <name>sample string 2</name>
        </BasicInfoDto>
      </co_captains>
      <division>
        <id>sample string 1</id>
        <name>sample string 2</name>
      </division>
      <id>sample string 1</id>
      <league>
        <id>sample string 1</id>
        <name>sample string 2</name>
      </league>
      <logo>sample string 3</logo>
      <looking_for_players>true</looking_for_players>
      <name>sample string 2</name>
      <network>
        <id>sample string 1</id>
        <name>sample string 2</name>
      </network>
      <sport>
        <id>sample string 1</id>
        <name>sample string 2</name>
      </sport>
    </team>
  </TeamMemberRequestDto>
</ArrayOfTeamMemberRequestDto>