POST api/GameTeamPlayer/GetTeamList?profileid={profileid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
profileid

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Team
NameDescriptionTypeAdditional information
teamId

integer

None.

profileId

integer

None.

teamname

string

None.

isgameteam

integer

None.

createdon

string

None.

contactModels

Collection of ContactProfile

None.

teamplayermodel

Collection of TeamPlayer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "teamId": 1,
    "profileId": 2,
    "teamname": "sample string 3",
    "isgameteam": 4,
    "createdon": "sample string 5",
    "contactModels": [
      {
        "$id": "2",
        "userFirstName": "sample string 1",
        "userLastName": "sample string 2",
        "userMobileNumber": "sample string 3",
        "Selected": true
      },
      {
        "$ref": "2"
      }
    ],
    "teamplayermodel": [
      {
        "$id": "3",
        "teamplayerId": 1,
        "teamId": 2,
        "profileId": 3,
        "createdon": "sample string 4",
        "userprofilemodel": {
          "$id": "4",
          "profileId": 1,
          "userFirstName": "sample string 2",
          "userLastName": "sample string 3",
          "userDateOfBirth": "sample string 4",
          "userEmailAddress": "sample string 5",
          "userPassword": "sample string 6",
          "userMobileNumber": "sample string 7",
          "userSignUpDate": "sample string 8",
          "fcmToken": "sample string 9",
          "profilePicture": "sample string 10",
          "skillLevel": 11.0,
          "favClub": "sample string 12",
          "position": "sample string 13",
          "quickbloxid": "sample string 14",
          "ratings": 15.0,
          "goalscore": 16,
          "fid": "sample string 17",
          "deviceType": "sample string 18"
        }
      },
      {
        "$ref": "3"
      }
    ]
  },
  {
    "$ref": "1"
  }
]

text/html

Sample:
[{"$id":"1","teamId":1,"profileId":2,"teamname":"sample string 3","isgameteam":4,"createdon":"sample string 5","contactModels":[{"$id":"2","userFirstName":"sample string 1","userLastName":"sample string 2","userMobileNumber":"sample string 3","Selected":true},{"$ref":"2"}],"teamplayermodel":[{"$id":"3","teamplayerId":1,"teamId":2,"profileId":3,"createdon":"sample string 4","userprofilemodel":{"$id":"4","profileId":1,"userFirstName":"sample string 2","userLastName":"sample string 3","userDateOfBirth":"sample string 4","userEmailAddress":"sample string 5","userPassword":"sample string 6","userMobileNumber":"sample string 7","userSignUpDate":"sample string 8","fcmToken":"sample string 9","profilePicture":"sample string 10","skillLevel":11.0,"favClub":"sample string 12","position":"sample string 13","quickbloxid":"sample string 14","ratings":15.0,"goalscore":16,"fid":"sample string 17","deviceType":"sample string 18"}},{"$ref":"3"}]},{"$ref":"1"}]

application/xml, text/xml

Sample:
<ArrayOfTeam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBG.Models">
  <Team>
    <contactModels>
      <ContactProfile>
        <Selected>true</Selected>
        <userFirstName>sample string 1</userFirstName>
        <userLastName>sample string 2</userLastName>
        <userMobileNumber>sample string 3</userMobileNumber>
      </ContactProfile>
      <ContactProfile>
        <Selected>true</Selected>
        <userFirstName>sample string 1</userFirstName>
        <userLastName>sample string 2</userLastName>
        <userMobileNumber>sample string 3</userMobileNumber>
      </ContactProfile>
    </contactModels>
    <createdon>sample string 5</createdon>
    <isgameteam>4</isgameteam>
    <profileId>2</profileId>
    <teamId>1</teamId>
    <teamname>sample string 3</teamname>
    <teamplayermodel>
      <TeamPlayer>
        <createdon>sample string 4</createdon>
        <profileId>3</profileId>
        <teamId>2</teamId>
        <teamplayerId>1</teamplayerId>
        <userprofilemodel>
          <deviceType>sample string 18</deviceType>
          <favClub>sample string 12</favClub>
          <fcmToken>sample string 9</fcmToken>
          <fid>sample string 17</fid>
          <goalscore>16</goalscore>
          <position>sample string 13</position>
          <profileId>1</profileId>
          <profilePicture>sample string 10</profilePicture>
          <quickbloxid>sample string 14</quickbloxid>
          <ratings>15</ratings>
          <skillLevel>11</skillLevel>
          <userDateOfBirth>sample string 4</userDateOfBirth>
          <userEmailAddress>sample string 5</userEmailAddress>
          <userFirstName>sample string 2</userFirstName>
          <userLastName>sample string 3</userLastName>
          <userMobileNumber>sample string 7</userMobileNumber>
          <userPassword>sample string 6</userPassword>
          <userSignUpDate>sample string 8</userSignUpDate>
        </userprofilemodel>
      </TeamPlayer>
      <TeamPlayer>
        <createdon>sample string 4</createdon>
        <profileId>3</profileId>
        <teamId>2</teamId>
        <teamplayerId>1</teamplayerId>
        <userprofilemodel>
          <deviceType>sample string 18</deviceType>
          <favClub>sample string 12</favClub>
          <fcmToken>sample string 9</fcmToken>
          <fid>sample string 17</fid>
          <goalscore>16</goalscore>
          <position>sample string 13</position>
          <profileId>1</profileId>
          <profilePicture>sample string 10</profilePicture>
          <quickbloxid>sample string 14</quickbloxid>
          <ratings>15</ratings>
          <skillLevel>11</skillLevel>
          <userDateOfBirth>sample string 4</userDateOfBirth>
          <userEmailAddress>sample string 5</userEmailAddress>
          <userFirstName>sample string 2</userFirstName>
          <userLastName>sample string 3</userLastName>
          <userMobileNumber>sample string 7</userMobileNumber>
          <userPassword>sample string 6</userPassword>
          <userSignUpDate>sample string 8</userSignUpDate>
        </userprofilemodel>
      </TeamPlayer>
    </teamplayermodel>
  </Team>
  <Team>
    <contactModels>
      <ContactProfile>
        <Selected>true</Selected>
        <userFirstName>sample string 1</userFirstName>
        <userLastName>sample string 2</userLastName>
        <userMobileNumber>sample string 3</userMobileNumber>
      </ContactProfile>
      <ContactProfile>
        <Selected>true</Selected>
        <userFirstName>sample string 1</userFirstName>
        <userLastName>sample string 2</userLastName>
        <userMobileNumber>sample string 3</userMobileNumber>
      </ContactProfile>
    </contactModels>
    <createdon>sample string 5</createdon>
    <isgameteam>4</isgameteam>
    <profileId>2</profileId>
    <teamId>1</teamId>
    <teamname>sample string 3</teamname>
    <teamplayermodel>
      <TeamPlayer>
        <createdon>sample string 4</createdon>
        <profileId>3</profileId>
        <teamId>2</teamId>
        <teamplayerId>1</teamplayerId>
        <userprofilemodel>
          <deviceType>sample string 18</deviceType>
          <favClub>sample string 12</favClub>
          <fcmToken>sample string 9</fcmToken>
          <fid>sample string 17</fid>
          <goalscore>16</goalscore>
          <position>sample string 13</position>
          <profileId>1</profileId>
          <profilePicture>sample string 10</profilePicture>
          <quickbloxid>sample string 14</quickbloxid>
          <ratings>15</ratings>
          <skillLevel>11</skillLevel>
          <userDateOfBirth>sample string 4</userDateOfBirth>
          <userEmailAddress>sample string 5</userEmailAddress>
          <userFirstName>sample string 2</userFirstName>
          <userLastName>sample string 3</userLastName>
          <userMobileNumber>sample string 7</userMobileNumber>
          <userPassword>sample string 6</userPassword>
          <userSignUpDate>sample string 8</userSignUpDate>
        </userprofilemodel>
      </TeamPlayer>
      <TeamPlayer>
        <createdon>sample string 4</createdon>
        <profileId>3</profileId>
        <teamId>2</teamId>
        <teamplayerId>1</teamplayerId>
        <userprofilemodel>
          <deviceType>sample string 18</deviceType>
          <favClub>sample string 12</favClub>
          <fcmToken>sample string 9</fcmToken>
          <fid>sample string 17</fid>
          <goalscore>16</goalscore>
          <position>sample string 13</position>
          <profileId>1</profileId>
          <profilePicture>sample string 10</profilePicture>
          <quickbloxid>sample string 14</quickbloxid>
          <ratings>15</ratings>
          <skillLevel>11</skillLevel>
          <userDateOfBirth>sample string 4</userDateOfBirth>
          <userEmailAddress>sample string 5</userEmailAddress>
          <userFirstName>sample string 2</userFirstName>
          <userLastName>sample string 3</userLastName>
          <userMobileNumber>sample string 7</userMobileNumber>
          <userPassword>sample string 6</userPassword>
          <userSignUpDate>sample string 8</userSignUpDate>
        </userprofilemodel>
      </TeamPlayer>
    </teamplayermodel>
  </Team>
</ArrayOfTeam>