POST api/ProductoCompetencia/Registrar

Request Information

URI Parameters

None.

Body Parameters

_ProductoCompetenciaDTO
NameDescriptionTypeAdditional information
Empresa

string

None.

Producto

string

None.

Presentacion

string

None.

Peso

decimal number

None.

Unidad

string

None.

PrecioPuntoVenta

decimal number

None.

Observaciones

string

None.

FotoBase64

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Empresa": "sample string 1",
  "Producto": "sample string 2",
  "Presentacion": "sample string 3",
  "Peso": 4.0,
  "Unidad": "sample string 5",
  "PrecioPuntoVenta": 6.0,
  "Observaciones": "sample string 7",
  "FotoBase64": "sample string 8"
}

application/xml, text/xml

Sample:
<_ProductoCompetenciaDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <Empresa>sample string 1</Empresa>
  <FotoBase64>sample string 8</FotoBase64>
  <Observaciones>sample string 7</Observaciones>
  <Peso>4</Peso>
  <PrecioPuntoVenta>6</PrecioPuntoVenta>
  <Presentacion>sample string 3</Presentacion>
  <Producto>sample string 2</Producto>
  <Unidad>sample string 5</Unidad>
</_ProductoCompetenciaDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.