POST api/Gamefication

Request Information

URI Parameters

None.

Body Parameters

Tarefas
NameDescriptionTypeAdditional information
Descricao

string

None.

NivelTarefa

NivelTarefa

None.

Pontos

integer

None.

TipoTarefa

TipoAcao

None.

DataTarefa

date

None.

Usuario

User

None.

ID

integer

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'Adm' with type 'ChatFidelity.Models.User'. Path 'Usuario.Salas[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'Adm' with type 'ChatFidelity.Models.User'. Path 'Usuario.Salas[0]'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: O gráfico de objeto para o tipo 'ChatFidelity.Models.Mensagens' contém ciclos e não pode ser serializado se o controle de referência for desativado.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: O gráfico de objeto para o tipo 'ChatFidelity.Models.Mensagens' contém ciclos e não pode ser serializado se o controle de referência for desativado.

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 'Tarefas'.

Response Information

Resource Description

None.