PATCH api/Facturas2?key={key}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
key

decimal number

Required

Body Parameters

JsonPatchDocumentOfTb_Facturas
NameDescriptionTypeAdditional information
Operations

Collection of OperationOfTb_Facturas

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "path": "sample string 2",
    "op": "sample string 3"
  },
  {
    "path": "sample string 2",
    "op": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<JsonPatchDocumentOfTb_Facturas_PeFj8Z_Sr xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNetCore.JsonPatch">
  <ContractResolver i:nil="true" />
</JsonPatchDocumentOfTb_Facturas_PeFj8Z_Sr>

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 'JsonPatchDocument`1'.

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:34.8798989-05:00",
  "Fecha_Apertura_Factura": "2025-12-29T07:15:34.8798989-05:00",
  "Fecha_Cierre_Factura": "2025-12-29T07:15:34.8798989-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:34.8798989-05:00</Fecha_Apertura_Factura>
  <Fecha_Cierre_Factura>2025-12-29T07:15:34.8798989-05:00</Fecha_Cierre_Factura>
  <Fecha_Ventas>2025-12-29T07:15:34.8798989-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>