POST api/Productos/CrearProducto
Request Information
URI Parameters
None.
Body Parameters
productos| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| idcategoria | integer |
None. |
|
| nombre | string |
None. |
|
| cantidad | integer |
None. |
|
| vendidos | integer |
None. |
|
| fecha | date |
None. |
|
| estado | integer |
None. |
|
| categorias | categorias |
None. |
|
| ingredientes | Collection of ingredientes |
None. |
|
| productosexitencias | Collection of productosexitencias |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
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
HttpResponseMessage| Name | 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. |