PUT api/CierreDiario/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Tb_CierreDiario
NameDescriptionTypeAdditional information
Id_Cierre

integer

None.

Id_compania

decimal number

None.

Fecha_Ventas

date

None.

Fecha_Cierre

date

None.

Id_Usuario

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Id_Cierre": 1,
  "Id_compania": 2.0,
  "Fecha_Ventas": "2025-12-29T07:18:24.8557972-05:00",
  "Fecha_Cierre": "2025-12-29T07:18:24.8557972-05:00",
  "Id_Usuario": 5.0
}

application/xml, text/xml

Sample:
<Tb_CierreDiario xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Softmarket_Api.Models">
  <Fecha_Cierre>2025-12-29T07:18:24.8557972-05:00</Fecha_Cierre>
  <Fecha_Ventas>2025-12-29T07:18:24.8557972-05:00</Fecha_Ventas>
  <Id_Cierre>1</Id_Cierre>
  <Id_Usuario>5</Id_Usuario>
  <Id_compania>2</Id_compania>
</Tb_CierreDiario>

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

Response Information

Resource Description

None.