POST api/NP_Facturas

Request Information

URI Parameters

None.

Body Parameters

NP_Tb_Facturas
NameDescriptionTypeAdditional information
IdVenta

decimal number

None.

FechaVenta

date

None.

Estado

integer

None.

Id_Mesa

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "IdVenta": 1.0,
  "FechaVenta": "2025-12-29T07:16:03.2616956-05:00",
  "Estado": 3,
  "Id_Mesa": 4.0
}

application/xml, text/xml

Sample:
<NP_Tb_Facturas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Softmarket_Api.Models">
  <Estado>3</Estado>
  <FechaVenta>2025-12-29T07:16:03.2616956-05:00</FechaVenta>
  <IdVenta>1</IdVenta>
  <Id_Mesa>4</Id_Mesa>
</NP_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 'NP_Tb_Facturas'.

Response Information

Resource Description

NP_Tb_Facturas
NameDescriptionTypeAdditional information
IdVenta

decimal number

None.

FechaVenta

date

None.

Estado

integer

None.

Id_Mesa

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "IdVenta": 1.0,
  "FechaVenta": "2025-12-29T07:16:03.2726695-05:00",
  "Estado": 3,
  "Id_Mesa": 4.0
}

application/xml, text/xml

Sample:
<NP_Tb_Facturas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Softmarket_Api.Models">
  <Estado>3</Estado>
  <FechaVenta>2025-12-29T07:16:03.2726695-05:00</FechaVenta>
  <IdVenta>1</IdVenta>
  <Id_Mesa>4</Id_Mesa>
</NP_Tb_Facturas>