POST api/ProductosPvs?tipo={tipo}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tipo

string

Required

Body Parameters

Collection of 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-11-21T06:31:32.6276023-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
  },
  {
    "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-11-21T06:31:32.6276023-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-11-21T06:31:32.6276023-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},{"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-11-21T06:31:32.6276023-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:
<ArrayOfProductosPv xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1">
  <ProductosPv>
    <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-11-21T06:31:32.6276023-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>
  <ProductosPv>
    <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-11-21T06:31:32.6276023-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>
</ArrayOfProductosPv>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Reply
NameDescriptionTypeAdditional information
message

string

None.

result

integer

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "result": 2,
  "data": {}
}

text/html

Sample:
{"message":"sample string 1","result":2,"data":{}}

application/xml, text/xml

Sample:
<Reply xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.webapplications1.Models.WS">
  <data />
  <message>sample string 1</message>
  <result>2</result>
</Reply>