POST api/movimientos
Request Information
URI Parameters
None.
Body Parameters
movimientos| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| tipo | string |
None. |
|
| numero | integer |
None. |
|
| idArticulo | integer |
None. |
|
| cantidad | decimal number |
None. |
|
| precio | decimal number |
None. |
|
| fecha | date |
None. |
|
| idBarril | integer |
None. |
|
| idCliente | integer |
None. |
|
| fDevolucion | date |
None. |
|
| pagado | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"tipo": "sample string 2",
"numero": 3,
"idArticulo": 1,
"cantidad": 1.1,
"precio": 1.1,
"fecha": "2026-02-23T14:17:50.932674-06:00",
"idBarril": 1,
"idCliente": 1,
"fDevolucion": "2026-02-23T14:17:50.932674-06:00",
"pagado": 1.1
}
application/xml, text/xml
Sample:
<movimientos xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/sic"> <cantidad>1.1</cantidad> <fDevolucion>2026-02-23T14:17:50.932674-06:00</fDevolucion> <fecha>2026-02-23T14:17:50.932674-06:00</fecha> <id>1</id> <idArticulo>1</idArticulo> <idBarril>1</idBarril> <idCliente>1</idCliente> <numero>3</numero> <pagado>1.1</pagado> <precio>1.1</precio> <tipo>sample string 2</tipo> </movimientos>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
movimientos| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| tipo | string |
None. |
|
| numero | integer |
None. |
|
| idArticulo | integer |
None. |
|
| cantidad | decimal number |
None. |
|
| precio | decimal number |
None. |
|
| fecha | date |
None. |
|
| idBarril | integer |
None. |
|
| idCliente | integer |
None. |
|
| fDevolucion | date |
None. |
|
| pagado | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"tipo": "sample string 2",
"numero": 3,
"idArticulo": 1,
"cantidad": 1.1,
"precio": 1.1,
"fecha": "2026-02-23T14:17:50.932674-06:00",
"idBarril": 1,
"idCliente": 1,
"fDevolucion": "2026-02-23T14:17:50.932674-06:00",
"pagado": 1.1
}
application/xml, text/xml
Sample:
<movimientos xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/sic"> <cantidad>1.1</cantidad> <fDevolucion>2026-02-23T14:17:50.932674-06:00</fDevolucion> <fecha>2026-02-23T14:17:50.932674-06:00</fecha> <id>1</id> <idArticulo>1</idArticulo> <idBarril>1</idBarril> <idCliente>1</idCliente> <numero>3</numero> <pagado>1.1</pagado> <precio>1.1</precio> <tipo>sample string 2</tipo> </movimientos>