POST api/Producto/GuardarFotoProd
Request Information
URI Parameters
None.
Body Parameters
ProductoName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Nombre | string |
None. |
|
Descripcion | string |
None. |
|
Fotografia | string |
None. |
|
Imagen | string |
None. |
|
Visible | integer |
None. |
|
Cantidad | integer |
None. |
|
Precio | decimal number |
None. |
|
Categoria | string |
None. |
|
PROMO | boolean |
None. |
|
DIAS | integer |
None. |
|
PRECIOSIMBOLICO | decimal number |
None. |
|
ImagenString | string |
None. |
|
TOTALPRODUCTOS | integer |
None. |
|
Subtotal | decimal number |
None. |
|
IMAGEN_PRODUCTO | Collection of byte |
None. |
|
TOTALSUBCAT | integer |
None. |
|
SUBCATEGORIA | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Nombre": "sample string 2", "Descripcion": "sample string 3", "Fotografia": "sample string 4", "Imagen": "sample string 5", "Visible": 6, "Cantidad": 7, "Precio": 8.0, "Categoria": "sample string 9", "PROMO": true, "DIAS": 11, "PRECIOSIMBOLICO": 12.0, "ImagenString": "sample string 13", "TOTALPRODUCTOS": 14, "Subtotal": 15.0, "IMAGEN_PRODUCTO": "QEA=", "TOTALSUBCAT": 16, "SUBCATEGORIA": "sample string 17" }
application/xml, text/xml
Sample:
<Producto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_CHALAN.Models"> <Cantidad>7</Cantidad> <Categoria>sample string 9</Categoria> <DIAS>11</DIAS> <Descripcion>sample string 3</Descripcion> <Fotografia>sample string 4</Fotografia> <IMAGEN_PRODUCTO>QEA=</IMAGEN_PRODUCTO> <Id>1</Id> <Imagen>sample string 5</Imagen> <ImagenString>sample string 13</ImagenString> <Nombre>sample string 2</Nombre> <PRECIOSIMBOLICO>12</PRECIOSIMBOLICO> <PROMO>true</PROMO> <Precio>8</Precio> <SUBCATEGORIA>sample string 17</SUBCATEGORIA> <Subtotal>15</Subtotal> <TOTALPRODUCTOS>14</TOTALPRODUCTOS> <TOTALSUBCAT>16</TOTALSUBCAT> <Visible>6</Visible> </Producto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.