GET api/Preventas/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

decimal number

Required

Body Parameters

None.

Response Information

Resource Description

Tb_PreVentas
NameDescriptionTypeAdditional information
Id_PreVenta

decimal number

None.

Fecha_PreVenta

date

None.

Fecha_Apertura

date

None.

Fecha_Cierre

date

None.

Usuario

decimal number

None.

Id_Mesa

decimal number

None.

Estado

integer

None.

Id_Cliente

decimal number

None.

Id_Vendedor

decimal number

None.

Id_Autorizacion

decimal number

None.

Id_PuntoPago

decimal number

None.

Id_CentroCostos

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "Id_PreVenta": 1.0,
  "Fecha_PreVenta": "2025-12-29T07:16:28.1826786-05:00",
  "Fecha_Apertura": "2025-12-29T07:16:28.1826786-05:00",
  "Fecha_Cierre": "2025-12-29T07:16:28.1826786-05:00",
  "Usuario": 1.0,
  "Id_Mesa": 1.0,
  "Estado": 1,
  "Id_Cliente": 1.0,
  "Id_Vendedor": 1.0,
  "Id_Autorizacion": 1.0,
  "Id_PuntoPago": 1.0,
  "Id_CentroCostos": 1.0
}

application/xml, text/xml

Sample:
<Tb_PreVentas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Softmarket_Api.Models">
  <Estado>1</Estado>
  <Fecha_Apertura>2025-12-29T07:16:28.1826786-05:00</Fecha_Apertura>
  <Fecha_Cierre>2025-12-29T07:16:28.1826786-05:00</Fecha_Cierre>
  <Fecha_PreVenta>2025-12-29T07:16:28.1826786-05:00</Fecha_PreVenta>
  <Id_Autorizacion>1</Id_Autorizacion>
  <Id_CentroCostos>1</Id_CentroCostos>
  <Id_Cliente>1</Id_Cliente>
  <Id_Mesa>1</Id_Mesa>
  <Id_PreVenta>1</Id_PreVenta>
  <Id_PuntoPago>1</Id_PuntoPago>
  <Id_Vendedor>1</Id_Vendedor>
  <Usuario>1</Usuario>
</Tb_PreVentas>