POST api/Favoritos/MarcarTelaComoFavoritoDoUsuario

Request Information

URI Parameters

None.

Body Parameters

FavoritosUsuarioViewModel
NameDescriptionTypeAdditional information
id_telas_erp

integer

None.

id_usuario

integer

None.

nome_favorito

string

None.

ordenacao_favorito

integer

None.

parametros

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id_telas_erp": 1,
  "id_usuario": 2,
  "nome_favorito": "sample string 3",
  "ordenacao_favorito": 4,
  "parametros": "sample string 5"
}

application/xml, text/xml

Sample:
<FavoritosUsuarioViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LinxMicrovix.ErpAdmin.WebApi.ViewModels.Favoritos">
  <id_telas_erp>1</id_telas_erp>
  <id_usuario>2</id_usuario>
  <nome_favorito>sample string 3</nome_favorito>
  <ordenacao_favorito>4</ordenacao_favorito>
  <parametros>sample string 5</parametros>
</FavoritosUsuarioViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReturnViewModel
NameDescriptionTypeAdditional information
Sucesso

boolean

None.

Mensagem

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Sucesso": true,
  "Mensagem": "sample string 2"
}

application/xml, text/xml

Sample:
<ReturnViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LinxMicrovix.ErpAdmin.WebApi.ViewModels">
  <Mensagem>sample string 2</Mensagem>
  <Sucesso>true</Sucesso>
</ReturnViewModel>