PUT api/Relvendas/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

date

Required

Body Parameters

Relvenda
NameDescriptionTypeAdditional information
data

date

None.

venda

decimal number

None.

vendedor

integer

None.

total

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "data": "2025-06-16T10:29:13.4053973-05:00",
  "venda": 1.0,
  "vendedor": 2,
  "total": 1.0
}

application/xml, text/xml

Sample:
<Relvenda xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WSolar.Models">
  <data>2025-06-16T10:29:13.4053973-05:00</data>
  <total>1</total>
  <venda>1</venda>
  <vendedor>2</vendedor>
</Relvenda>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.