POST Categoria

Request Information

URI Parameters

None.

Body Parameters

dadosEmpresa
NameDescriptionTypeAdditional information
IDEMPRESA

integer

None.

IDFILIAL

integer

None.

IDFUNC

integer

None.

NOME

string

None.

EMAIL

string

None.

SENHA

string

None.

NomeEmpresa

string

None.

IDVENDEDOR

integer

None.

IDCLIENTE

integer

None.

DESCMAX

decimal number

None.

DtIni

date

None.

DtFim

date

None.

Request Formats

application/json, text/json

Sample:
{
  "IDEMPRESA": 1,
  "IDFILIAL": 2,
  "IDFUNC": 3,
  "NOME": "sample string 4",
  "EMAIL": "sample string 5",
  "SENHA": "sample string 6",
  "NomeEmpresa": "sample string 7",
  "IDVENDEDOR": 8,
  "IDCLIENTE": 9,
  "DESCMAX": 10.0,
  "DtIni": "2025-12-06T13:40:55.1834553-03:00",
  "DtFim": "2025-12-06T13:40:55.1834553-03:00"
}

application/xml, text/xml

Sample:
<dadosEmpresa xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SysEmpresaApi.Models">
  <DESCMAX>10</DESCMAX>
  <DtFim>2025-12-06T13:40:55.1834553-03:00</DtFim>
  <DtIni>2025-12-06T13:40:55.1834553-03:00</DtIni>
  <EMAIL>sample string 5</EMAIL>
  <IDCLIENTE>9</IDCLIENTE>
  <IDEMPRESA>1</IDEMPRESA>
  <IDFILIAL>2</IDFILIAL>
  <IDFUNC>3</IDFUNC>
  <IDVENDEDOR>8</IDVENDEDOR>
  <NOME>sample string 4</NOME>
  <NomeEmpresa>sample string 7</NomeEmpresa>
  <SENHA>sample string 6</SENHA>
</dadosEmpresa>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.