PUT Promo/ModificarPromocionProducto
Request Information
URI Parameters
None.
Body Parameters
PromocionProductoModeloName | Description | Type | Additional information |
---|---|---|---|
idPromocion | integer |
None. |
|
idProducto | globally unique identifier |
None. |
|
descripcion | string |
None. |
|
esPorMonto | boolean |
None. |
|
valor | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "idPromocion": 1, "idProducto": "82310958-d129-431b-8912-83b9e0d6a4ab", "descripcion": "sample string 3", "esPorMonto": true, "valor": 5.0 }
application/xml, text/xml
Sample:
<PromocionProductoModelo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SportifyApi.Entities.Modelos"> <descripcion>sample string 3</descripcion> <esPorMonto>true</esPorMonto> <idProducto>82310958-d129-431b-8912-83b9e0d6a4ab</idProducto> <idPromocion>1</idPromocion> <valor>5</valor> </PromocionProductoModelo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |