POST api/Ouvidoria

Request Information

URI Parameters

None.

Body Parameters

OuvidoriaSimple
NameDescriptionTypeAdditional information
IsSigilo

boolean

None.

IsFuncionario

boolean

None.

UserID

integer

None.

TipoRecebimento

string

None.

TipoManifestacao

string

None.

Arquivo

string

None.

FileName

string

None.

MimeType

string

None.

TextoManifestacao

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IsSigilo": true,
  "IsFuncionario": true,
  "UserID": 3,
  "TipoRecebimento": "sample string 4",
  "TipoManifestacao": "sample string 5",
  "Arquivo": "sample string 6",
  "FileName": "sample string 7",
  "MimeType": "sample string 8",
  "TextoManifestacao": "sample string 9"
}

application/xml, text/xml

Sample:
<OuvidoriaSimple xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChatFidelity.DTO">
  <Arquivo>sample string 6</Arquivo>
  <FileName>sample string 7</FileName>
  <IsFuncionario>true</IsFuncionario>
  <IsSigilo>true</IsSigilo>
  <MimeType>sample string 8</MimeType>
  <TextoManifestacao>sample string 9</TextoManifestacao>
  <TipoManifestacao>sample string 5</TipoManifestacao>
  <TipoRecebimento>sample string 4</TipoRecebimento>
  <UserID>3</UserID>
</OuvidoriaSimple>

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

Response Information

Resource Description

OuvidoriaSuccess
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

Chave

string

None.

Protocolo

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Code": "sample string 2",
  "Chave": "sample string 3",
  "Protocolo": "sample string 4"
}

application/xml, text/xml

Sample:
<OuvidoriaSuccess xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChatFidelity.Intranet.DTO">
  <Chave>sample string 3</Chave>
  <Code>sample string 2</Code>
  <Id>1</Id>
  <Protocolo>sample string 4</Protocolo>
</OuvidoriaSuccess>