PUT api/barriles/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
barril| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| descripcion | string |
None. |
|
| capacidad | decimal number |
None. |
|
| cantidad | decimal number |
None. |
|
| idCliente | integer |
None. |
|
| idArticulo | integer |
None. |
|
| estado | integer |
None. |
|
| idOP | integer |
None. |
|
| fecha | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"descripcion": "sample string 2",
"capacidad": 3.1,
"cantidad": 4.1,
"idCliente": 1,
"idArticulo": 1,
"estado": 5,
"idOP": 1,
"fecha": "2026-02-23T14:16:21.9455152-06:00"
}
application/xml, text/xml
Sample:
<barril xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/sic"> <cantidad>4.1</cantidad> <capacidad>3.1</capacidad> <descripcion>sample string 2</descripcion> <estado>5</estado> <fecha>2026-02-23T14:16:21.9455152-06:00</fecha> <id>1</id> <idArticulo>1</idArticulo> <idCliente>1</idCliente> <idOP>1</idOP> </barril>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.