POST Api/Gamefication?idUser={idUser}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
idUser

integer

Required

Body Parameters

None.

Response Information

Resource Description

GameProfile
NameDescriptionTypeAdditional information
PontuacaoTotal

integer

None.

Conquistas

integer

None.

Nivel

integer

None.

PosicaoRank

integer

None.

UserID

integer

None.

UserName

string

None.

UserFoto

string

None.

LstTrofeus

Collection of Trofeu

None.

Response Formats

application/json, text/json

Sample:
{
  "PontuacaoTotal": 1,
  "Conquistas": 2,
  "Nivel": 3,
  "PosicaoRank": 4,
  "UserID": 5,
  "UserName": "sample string 6",
  "UserFoto": "sample string 7",
  "LstTrofeus": [
    {
      "TipoTrofeu": 1,
      "Data": "2019-05-19T21:36:11.9207266-04:00",
      "UserID": 2
    },
    {
      "TipoTrofeu": 1,
      "Data": "2019-05-19T21:36:11.9207266-04:00",
      "UserID": 2
    }
  ]
}

application/xml, text/xml

Sample:
<GameProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChatFidelity.DTO">
  <Conquistas>2</Conquistas>
  <LstTrofeus>
    <Trofeu>
      <Data>2019-05-19T21:36:11.9207266-04:00</Data>
      <TipoTrofeu>InteragirPrimeiroDeputado</TipoTrofeu>
      <UserID>2</UserID>
    </Trofeu>
    <Trofeu>
      <Data>2019-05-19T21:36:11.9207266-04:00</Data>
      <TipoTrofeu>InteragirPrimeiroDeputado</TipoTrofeu>
      <UserID>2</UserID>
    </Trofeu>
  </LstTrofeus>
  <Nivel>3</Nivel>
  <PontuacaoTotal>1</PontuacaoTotal>
  <PosicaoRank>4</PosicaoRank>
  <UserFoto>sample string 7</UserFoto>
  <UserID>5</UserID>
  <UserName>sample string 6</UserName>
</GameProfile>