POST Api/Gamefication/RegistrarTrofeuAPI

Request Information

URI Parameters

None.

Body Parameters

Trofeu
NameDescriptionTypeAdditional information
TipoTrofeu

Trofeus

None.

Data

date

None.

UserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TipoTrofeu": 1,
  "Data": "2019-05-19T21:37:28.2283796-04:00",
  "UserID": 2
}

application/xml, text/xml

Sample:
<Trofeu xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChatFidelity.DTO">
  <Data>2019-05-19T21:37:28.2283796-04:00</Data>
  <TipoTrofeu>InteragirPrimeiroDeputado</TipoTrofeu>
  <UserID>2</UserID>
</Trofeu>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Trofeu'.

Response Information

Resource Description

Trofeu
NameDescriptionTypeAdditional information
TipoTrofeu

Trofeus

None.

Data

date

None.

UserID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "TipoTrofeu": 1,
  "Data": "2019-05-19T21:37:28.2283796-04:00",
  "UserID": 2
}

application/xml, text/xml

Sample:
<Trofeu xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChatFidelity.DTO">
  <Data>2019-05-19T21:37:28.2283796-04:00</Data>
  <TipoTrofeu>InteragirPrimeiroDeputado</TipoTrofeu>
  <UserID>2</UserID>
</Trofeu>