PUT api/Medidas/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | decimal number |
Required |
Body Parameters
Tb_Medidas| Name | Description | Type | Additional information |
|---|---|---|---|
| Id_Medida | decimal number |
None. |
|
| Medida | string |
None. |
|
| Tb_Items_Produccion | Collection of Tb_Items_Produccion |
None. |
|
| Tb_MateriasPrimas | Collection of Tb_MateriasPrimas |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id_Medida": 1.0,
"Medida": "sample string 2",
"Tb_Items_Produccion": [
{
"Id_ItemProduccion": 1.0,
"Id_Producto": 2.0,
"Id_MateriaPrima": 3.0,
"Unidades": 4.0,
"Id_Medida": 5.0
},
{
"Id_ItemProduccion": 1.0,
"Id_Producto": 2.0,
"Id_MateriaPrima": 3.0,
"Unidades": 4.0,
"Id_Medida": 5.0
}
],
"Tb_MateriasPrimas": [
{
"Id_MateriaPrima": 1.0,
"MateriaPrima": "sample string 2",
"Descripcion": "sample string 3",
"Stock": 4.0,
"Id_Medida": 5.0
},
{
"Id_MateriaPrima": 1.0,
"MateriaPrima": "sample string 2",
"Descripcion": "sample string 3",
"Stock": 4.0,
"Id_Medida": 5.0
}
]
}
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.