POST Blog/Inserir

Request Information

URI Parameters

None.

Body Parameters

Blog
NameDescriptionTypeAdditional information
id

integer

None.

imagem

string

None.

titulo

string

None.

descricaoSimples

string

None.

descricaoCompleta

string

None.

autor

string

None.

slug

string

None.

data

date

None.

tempoLeitura

integer

None.

tags

string

None.

situacao

string

None.

cargoAutor

string

None.

imagemAutor

string

None.

ordem

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "imagem": "sample string 2",
  "titulo": "sample string 3",
  "descricaoSimples": "sample string 4",
  "descricaoCompleta": "sample string 5",
  "autor": "sample string 6",
  "slug": "sample string 7",
  "data": "2021-09-17T13:40:35.3274045-03:00",
  "tempoLeitura": 9,
  "tags": "sample string 10",
  "situacao": "sample string 11",
  "cargoAutor": "sample string 12",
  "imagemAutor": "sample string 13",
  "ordem": 14
}

application/xml, text/xml

Sample:
<Blog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YourWaySiteModel.Classes">
  <autor>sample string 6</autor>
  <cargoAutor>sample string 12</cargoAutor>
  <data>2021-09-17T13:40:35.3274045-03:00</data>
  <descricaoCompleta>sample string 5</descricaoCompleta>
  <descricaoSimples>sample string 4</descricaoSimples>
  <id>1</id>
  <imagem>sample string 2</imagem>
  <imagemAutor>sample string 13</imagemAutor>
  <ordem>14</ordem>
  <situacao>sample string 11</situacao>
  <slug>sample string 7</slug>
  <tags>sample string 10</tags>
  <tempoLeitura>9</tempoLeitura>
  <titulo>sample string 3</titulo>
</Blog>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.