POST gravaItemOS

Request Information

URI Parameters

None.

Body Parameters

tecositem
NameDescriptionTypeAdditional information
IDOSITEM

integer

None.

QUANT

decimal number

None.

VLRUNIT

decimal number

None.

PRCCUSTO

decimal number

None.

DESCSERV

string

None.

FATURAR

string

None.

STATUS

string

None.

DTAPROVA

date

None.

OPAPROVA

integer

None.

IDOS

integer

None.

IDPRODUTO

integer

None.

IDESTOQUECC

integer

None.

GARANTIA

integer

None.

VLRBONUS

decimal number

None.

VLRONUS

decimal number

None.

VLRDESCONTO

decimal number

None.

PREVENDA

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "IDOSITEM": 1,
  "QUANT": 1.0,
  "VLRUNIT": 2.0,
  "PRCCUSTO": 3.0,
  "DESCSERV": "sample string 4",
  "FATURAR": "sample string 5",
  "STATUS": "sample string 6",
  "DTAPROVA": "2025-12-06T13:39:12.3875581-03:00",
  "OPAPROVA": 1,
  "IDOS": 7,
  "IDPRODUTO": 8,
  "IDESTOQUECC": 1,
  "GARANTIA": 1,
  "VLRBONUS": 1.0,
  "VLRONUS": 1.0,
  "VLRDESCONTO": 1.0,
  "PREVENDA": 1.0
}

application/xml, text/xml

Sample:
<tecositem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SysEmpresaApi.Models">
  <DESCSERV>sample string 4</DESCSERV>
  <DTAPROVA>2025-12-06T13:39:12.3875581-03:00</DTAPROVA>
  <FATURAR>sample string 5</FATURAR>
  <GARANTIA>1</GARANTIA>
  <IDESTOQUECC>1</IDESTOQUECC>
  <IDOS>7</IDOS>
  <IDOSITEM>1</IDOSITEM>
  <IDPRODUTO>8</IDPRODUTO>
  <OPAPROVA>1</OPAPROVA>
  <PRCCUSTO>3</PRCCUSTO>
  <PREVENDA>1</PREVENDA>
  <QUANT>1</QUANT>
  <STATUS>sample string 6</STATUS>
  <VLRBONUS>1</VLRBONUS>
  <VLRDESCONTO>1</VLRDESCONTO>
  <VLRONUS>1</VLRONUS>
  <VLRUNIT>2</VLRUNIT>
</tecositem>

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

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.