POST api/GameTeamPlayer/UpdateGameScore?profileId={profileId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
profileId

integer

Default value is 0

Body Parameters

GameTeamPlayerViewModel
NameDescriptionTypeAdditional information
gi

GameInvite

None.

gt

GameTeam

None.

team1playermodel

Collection of GameTeamPlayer

None.

team2playermodel

Collection of GameTeamPlayer

None.

teams

TeamsDisplay

None.

team1players

Collection of Object

None.

team2players

Collection of Object

None.

Request Formats

application/json, text/json

Sample:
{
  "gi": {
    "$id": "2",
    "gameId": 1,
    "Location": "sample string 2",
    "gameDateTime": "sample string 3",
    "gameNumberOfPlayers": 4,
    "profileId": 5,
    "hostName": "sample string 6",
    "contactModels": [
      {
        "$id": "3",
        "userFirstName": "sample string 1",
        "userLastName": "sample string 2",
        "userMobileNumber": "sample string 3",
        "Selected": true
      },
      {
        "$ref": "3"
      }
    ],
    "gameteammodel": {
      "$id": "4",
      "gameteamId": 1,
      "gameId": 2,
      "team1Id": 3,
      "team2Id": 4,
      "team1goalscore": 5,
      "team2goalscore": 6,
      "teamwin": 7,
      "createdon": "sample string 8"
    },
    "isdeleted": 7,
    "isteamallocated": 8,
    "islogged": 9,
    "createdon": "sample string 10"
  },
  "gt": {
    "$ref": "4"
  },
  "team1playermodel": [
    {
      "$id": "5",
      "gameteamplayerId": 1,
      "gameId": 2,
      "teamId": 3,
      "profileId": 4,
      "goalscore": 5,
      "playerprofilemodel": {
        "$id": "6",
        "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": "5"
    }
  ],
  "team2playermodel": [
    {
      "$ref": "5"
    },
    {
      "$ref": "5"
    }
  ],
  "teams": {
    "$id": "7",
    "gameteamId": 1,
    "profileId": 2,
    "gameId": 3,
    "team1Id": 4,
    "team1name": "sample string 5",
    "team1goalscore": 6,
    "team2Id": 7,
    "team2name": "sample string 8",
    "team2goalscore": 9,
    "teamwin": 10,
    "teamwinname": "sample string 11"
  },
  "team1players": [
    {
      "$id": "8"
    },
    {
      "$id": "9"
    }
  ],
  "team2players": [
    {
      "$id": "10"
    },
    {
      "$id": "11"
    }
  ]
}

text/html

Sample:
{"$id":"1","gi":{"$id":"2","gameId":1,"Location":"sample string 2","gameDateTime":"sample string 3","gameNumberOfPlayers":4,"profileId":5,"hostName":"sample string 6","contactModels":[{"$id":"3","userFirstName":"sample string 1","userLastName":"sample string 2","userMobileNumber":"sample string 3","Selected":true},{"$ref":"3"}],"gameteammodel":{"$id":"4","gameteamId":1,"gameId":2,"team1Id":3,"team2Id":4,"team1goalscore":5,"team2goalscore":6,"teamwin":7,"createdon":"sample string 8"},"isdeleted":7,"isteamallocated":8,"islogged":9,"createdon":"sample string 10"},"gt":{"$ref":"4"},"team1playermodel":[{"$id":"5","gameteamplayerId":1,"gameId":2,"teamId":3,"profileId":4,"goalscore":5,"playerprofilemodel":{"$id":"6","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":"5"}],"team2playermodel":[{"$ref":"5"},{"$ref":"5"}],"teams":{"$id":"7","gameteamId":1,"profileId":2,"gameId":3,"team1Id":4,"team1name":"sample string 5","team1goalscore":6,"team2Id":7,"team2name":"sample string 8","team2goalscore":9,"teamwin":10,"teamwinname":"sample string 11"},"team1players":[{"$id":"8"},{"$id":"9"}],"team2players":[{"$id":"10"},{"$id":"11"}]}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.