POST api/Productos/Crear
Request Information
URI Parameters
None.
Body Parameters
Producto| Name | Description | Type | Additional information |
|---|---|---|---|
| IdProducto | integer |
None. |
|
| Nombre | string |
None. |
|
| Descripción | string |
None. |
|
| Precio | decimal number |
None. |
|
| IdProveedor | integer |
None. |
|
| Imagen | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdProducto": 1,
"Nombre": "sample string 2",
"Descripción": "sample string 3",
"Precio": 1.0,
"IdProveedor": 4,
"Imagen": "sample string 5"
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
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.