PUT api/precios/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

precios
NameDescriptionTypeAdditional information
idCliente

integer

None.

idArticulo

integer

None.

cantidad

decimal number

None.

precio

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "idCliente": 1,
  "idArticulo": 2,
  "cantidad": 3.1,
  "precio": 4.1
}

application/xml, text/xml

Sample:
<precios xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/sic">
  <cantidad>3.1</cantidad>
  <idArticulo>2</idArticulo>
  <idCliente>1</idCliente>
  <precio>4.1</precio>
</precios>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.