POST Servico/Inserir

Request Information

URI Parameters

None.

Body Parameters

Servico
NameDescriptionTypeAdditional information
id

integer

None.

icone

string

None.

titulo

string

None.

descricao

string

None.

ordem

integer

None.

situacao

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "icone": "sample string 2",
  "titulo": "sample string 3",
  "descricao": "sample string 4",
  "ordem": 5,
  "situacao": "sample string 6"
}

application/xml, text/xml

Sample:
<Servico xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YourWaySiteModel.Classes">
  <descricao>sample string 4</descricao>
  <icone>sample string 2</icone>
  <id>1</id>
  <ordem>5</ordem>
  <situacao>sample string 6</situacao>
  <titulo>sample string 3</titulo>
</Servico>

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.