POST articulo

Request Information

URI Parameters

None.

Body Parameters

ParametrosPrecioArticuloEntity
NameDescriptionTypeAdditional information
Unidades

integer

None.

Articulo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Unidades": 1,
  "Articulo": "sample string 2"
}

application/xml, text/xml

Sample:
<ParametrosPrecioArticuloEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Wke.Dam.Novasol.WebApi.Models">
  <Articulo>sample string 2</Articulo>
  <Unidades>1</Unidades>
</ParametrosPrecioArticuloEntity>

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 'ParametrosPrecioArticuloEntity'.

Response Information

Resource Description

PrecioArticuloEntity
NameDescriptionTypeAdditional information
Fecha

string

None.

Unidades

integer

None.

Articulo

string

None.

PrecioSinDescuento

decimal number

None.

DescuentoEquivalente

decimal number

None.

Descuento1

decimal number

None.

Descuento2

decimal number

None.

Descuento3

decimal number

None.

Descuento4

decimal number

None.

PrecioConDescuento

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "Fecha": "sample string 1",
  "Unidades": 2,
  "Articulo": "sample string 3",
  "PrecioSinDescuento": 4.0,
  "DescuentoEquivalente": 5.0,
  "Descuento1": 6.0,
  "Descuento2": 7.0,
  "Descuento3": 8.0,
  "Descuento4": 9.0,
  "PrecioConDescuento": 10.0
}

application/xml, text/xml

Sample:
<PrecioArticuloEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Wke.Dam.Novasol.WebApi.Models">
  <Articulo>sample string 3</Articulo>
  <Descuento1>6</Descuento1>
  <Descuento2>7</Descuento2>
  <Descuento3>8</Descuento3>
  <Descuento4>9</Descuento4>
  <DescuentoEquivalente>5</DescuentoEquivalente>
  <Fecha>sample string 1</Fecha>
  <PrecioConDescuento>10</PrecioConDescuento>
  <PrecioSinDescuento>4</PrecioSinDescuento>
  <Unidades>2</Unidades>
</PrecioArticuloEntity>