POST api/ProductosPvs/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

ProductosPv
NameDescriptionTypeAdditional information
autob1

integer

None.

autob

integer

None.

codigo

decimal number

None.

descripcion

string

None.

categoria

string

None.

marca

string

None.

pu

decimal number

None.

caja

decimal number

None.

fecha_ingreso

date

None.

costo

decimal number

None.

ganancia

decimal number

None.

stock

decimal number

None.

StockMaximo

decimal number

None.

StockMinimo

decimal number

None.

unidad

decimal number

None.

iva

decimal number

None.

caja_precio

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "autob1": 1,
  "autob": 1,
  "codigo": 1.0,
  "descripcion": "sample string 2",
  "categoria": "sample string 3",
  "marca": "sample string 4",
  "pu": 1.0,
  "caja": 1.0,
  "fecha_ingreso": "2024-05-19T11:44:49.2899104-03:00",
  "costo": 1.0,
  "ganancia": 1.0,
  "stock": 1.0,
  "StockMaximo": 1.0,
  "StockMinimo": 1.0,
  "unidad": 1.0,
  "iva": 1.0,
  "caja_precio": 1.0
}

text/html

Sample:
{"autob1":1,"autob":1,"codigo":1.0,"descripcion":"sample string 2","categoria":"sample string 3","marca":"sample string 4","pu":1.0,"caja":1.0,"fecha_ingreso":"2024-05-19T11:44:49.2899104-03:00","costo":1.0,"ganancia":1.0,"stock":1.0,"StockMaximo":1.0,"StockMinimo":1.0,"unidad":1.0,"iva":1.0,"caja_precio":1.0}

application/xml, text/xml

Sample:
<ProductosPv xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1">
  <StockMaximo>1</StockMaximo>
  <StockMinimo>1</StockMinimo>
  <autob>1</autob>
  <autob1>1</autob1>
  <caja>1</caja>
  <caja_precio>1</caja_precio>
  <categoria>sample string 3</categoria>
  <codigo>1</codigo>
  <costo>1</costo>
  <descripcion>sample string 2</descripcion>
  <fecha_ingreso>2024-05-19T11:44:49.2899104-03:00</fecha_ingreso>
  <ganancia>1</ganancia>
  <iva>1</iva>
  <marca>sample string 4</marca>
  <pu>1</pu>
  <stock>1</stock>
  <unidad>1</unidad>
</ProductosPv>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.