POST api/Alertas

Request Information

URI Parameters

None.

Body Parameters

Alertas
NameDescriptionTypeAdditional information
IdAL

integer

None.

Titulo

string

None.

Descricao

string

None.

TipoTramitacao

TipoAlerta

None.

DataEnvio

date

None.

Status

0 - Pendente 1 - Atualizado

integer

None.

ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IdAL": 1,
  "Titulo": "sample string 2",
  "Descricao": "sample string 3",
  "TipoTramitacao": 1,
  "DataEnvio": "2019-07-22T06:54:09.1219603-04:00",
  "Status": 5,
  "ID": 6
}

application/xml, text/xml

Sample:
<Alertas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChatFidelity.Models">
  <ID>6</ID>
  <DataEnvio>2019-07-22T06:54:09.1219603-04:00</DataEnvio>
  <Descricao>sample string 3</Descricao>
  <IdAL>1</IdAL>
  <Status>5</Status>
  <TipoTramitacao>Noticia</TipoTramitacao>
  <Titulo>sample string 2</Titulo>
</Alertas>

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

Response Information

Resource Description

None.