POST api/Facturas

Request Information

URI Parameters

None.

Body Parameters

Tb_Facturas
NameDescriptionTypeAdditional information
Id_Factura

decimal number

None.

Fecha_Ventas

date

None.

Fecha_Apertura_Factura

date

None.

Fecha_Cierre_Factura

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.

PrefijoDIAN

string

None.

ConsecutivoDIAN

decimal number

None.

CUFE

string

None.

PendienteCUFE

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id_Factura": 1.0,
  "Fecha_Ventas": "2025-12-29T07:15:28.7428476-05:00",
  "Fecha_Apertura_Factura": "2025-12-29T07:15:28.7428476-05:00",
  "Fecha_Cierre_Factura": "2025-12-29T07:15:28.7610328-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,
  "PrefijoDIAN": "sample string 3",
  "ConsecutivoDIAN": 1.0,
  "CUFE": "sample string 4",
  "PendienteCUFE": 1
}

application/xml, text/xml

Sample:
<Tb_Facturas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Softmarket_Api.Models">
  <CUFE>sample string 4</CUFE>
  <ConsecutivoDIAN>1</ConsecutivoDIAN>
  <Estado>1</Estado>
  <Fecha_Apertura_Factura>2025-12-29T07:15:28.7428476-05:00</Fecha_Apertura_Factura>
  <Fecha_Cierre_Factura>2025-12-29T07:15:28.7610328-05:00</Fecha_Cierre_Factura>
  <Fecha_Ventas>2025-12-29T07:15:28.7428476-05:00</Fecha_Ventas>
  <Id_Autorizacion>1</Id_Autorizacion>
  <Id_CentroCostos>1</Id_CentroCostos>
  <Id_Cliente>1</Id_Cliente>
  <Id_Factura>1</Id_Factura>
  <Id_Mesa>1</Id_Mesa>
  <Id_PuntoPago>1</Id_PuntoPago>
  <Id_Vendedor>1</Id_Vendedor>
  <PendienteCUFE>1</PendienteCUFE>
  <PrefijoDIAN>sample string 3</PrefijoDIAN>
  <Usuario>1</Usuario>
</Tb_Facturas>

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

Response Information

Resource Description

Tb_Facturas
NameDescriptionTypeAdditional information
Id_Factura

decimal number

None.

Fecha_Ventas

date

None.

Fecha_Apertura_Factura

date

None.

Fecha_Cierre_Factura

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.

PrefijoDIAN

string

None.

ConsecutivoDIAN

decimal number

None.

CUFE

string

None.

PendienteCUFE

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id_Factura": 1.0,
  "Fecha_Ventas": "2025-12-29T07:15:29.0416336-05:00",
  "Fecha_Apertura_Factura": "2025-12-29T07:15:29.0416336-05:00",
  "Fecha_Cierre_Factura": "2025-12-29T07:15:29.0416336-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,
  "PrefijoDIAN": "sample string 3",
  "ConsecutivoDIAN": 1.0,
  "CUFE": "sample string 4",
  "PendienteCUFE": 1
}

application/xml, text/xml

Sample:
<Tb_Facturas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Softmarket_Api.Models">
  <CUFE>sample string 4</CUFE>
  <ConsecutivoDIAN>1</ConsecutivoDIAN>
  <Estado>1</Estado>
  <Fecha_Apertura_Factura>2025-12-29T07:15:29.0416336-05:00</Fecha_Apertura_Factura>
  <Fecha_Cierre_Factura>2025-12-29T07:15:29.0416336-05:00</Fecha_Cierre_Factura>
  <Fecha_Ventas>2025-12-29T07:15:29.0416336-05:00</Fecha_Ventas>
  <Id_Autorizacion>1</Id_Autorizacion>
  <Id_CentroCostos>1</Id_CentroCostos>
  <Id_Cliente>1</Id_Cliente>
  <Id_Factura>1</Id_Factura>
  <Id_Mesa>1</Id_Mesa>
  <Id_PuntoPago>1</Id_PuntoPago>
  <Id_Vendedor>1</Id_Vendedor>
  <PendienteCUFE>1</PendienteCUFE>
  <PrefijoDIAN>sample string 3</PrefijoDIAN>
  <Usuario>1</Usuario>
</Tb_Facturas>