POST api/Game/InviteStatus?gameId={gameId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
gameId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of InviteViewModel
NameDescriptionTypeAdditional information
inviteStatus

integer

None.

firstName

string

None.

lastName

string

None.

mobileNumber

string

None.

profilePicture

string

None.

contactId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "inviteStatus": 1,
    "firstName": "sample string 2",
    "lastName": "sample string 3",
    "mobileNumber": "sample string 4",
    "profilePicture": "sample string 5",
    "contactId": 6
  },
  {
    "$ref": "1"
  }
]

text/html

Sample:
[{"$id":"1","inviteStatus":1,"firstName":"sample string 2","lastName":"sample string 3","mobileNumber":"sample string 4","profilePicture":"sample string 5","contactId":6},{"$ref":"1"}]

application/xml, text/xml

Sample:
<ArrayOfInviteViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBG.Models">
  <InviteViewModel>
    <contactId>6</contactId>
    <firstName>sample string 2</firstName>
    <inviteStatus>1</inviteStatus>
    <lastName>sample string 3</lastName>
    <mobileNumber>sample string 4</mobileNumber>
    <profilePicture>sample string 5</profilePicture>
  </InviteViewModel>
  <InviteViewModel>
    <contactId>6</contactId>
    <firstName>sample string 2</firstName>
    <inviteStatus>1</inviteStatus>
    <lastName>sample string 3</lastName>
    <mobileNumber>sample string 4</mobileNumber>
    <profilePicture>sample string 5</profilePicture>
  </InviteViewModel>
</ArrayOfInviteViewModel>