POST api/produccion
Request Information
URI Parameters
None.
Body Parameters
produccion| Name | Description | Type | Additional information |
|---|---|---|---|
| numero | integer |
None. |
|
| fecha | date |
None. |
|
| idArticulo | integer |
None. |
|
| cantidad | integer |
None. |
|
| observacion | string |
None. |
|
| batch | string |
None. |
|
| DI | integer |
None. |
|
| DF | integer |
None. |
|
| saldo | integer |
None. |
|
| Ferm | integer |
None. |
|
| estado | integer |
None. |
|
| alcohol | decimal number |
None. |
|
| costo | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"numero": 1,
"fecha": "2026-02-23T14:16:36.2112721-06:00",
"idArticulo": 3,
"cantidad": 4,
"observacion": "sample string 5",
"batch": "sample string 6",
"DI": 1,
"DF": 1,
"saldo": 1,
"Ferm": 1,
"estado": 7,
"alcohol": 1.1,
"costo": 1.1
}
application/xml, text/xml
Sample:
<produccion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/sic"> <DF>1</DF> <DI>1</DI> <Ferm>1</Ferm> <alcohol>1.1</alcohol> <batch>sample string 6</batch> <cantidad>4</cantidad> <costo>1.1</costo> <estado>7</estado> <fecha>2026-02-23T14:16:36.2112721-06:00</fecha> <idArticulo>3</idArticulo> <numero>1</numero> <observacion>sample string 5</observacion> <saldo>1</saldo> </produccion>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
produccion| Name | Description | Type | Additional information |
|---|---|---|---|
| numero | integer |
None. |
|
| fecha | date |
None. |
|
| idArticulo | integer |
None. |
|
| cantidad | integer |
None. |
|
| observacion | string |
None. |
|
| batch | string |
None. |
|
| DI | integer |
None. |
|
| DF | integer |
None. |
|
| saldo | integer |
None. |
|
| Ferm | integer |
None. |
|
| estado | integer |
None. |
|
| alcohol | decimal number |
None. |
|
| costo | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"numero": 1,
"fecha": "2026-02-23T14:16:36.2112721-06:00",
"idArticulo": 3,
"cantidad": 4,
"observacion": "sample string 5",
"batch": "sample string 6",
"DI": 1,
"DF": 1,
"saldo": 1,
"Ferm": 1,
"estado": 7,
"alcohol": 1.1,
"costo": 1.1
}
application/xml, text/xml
Sample:
<produccion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/sic"> <DF>1</DF> <DI>1</DI> <Ferm>1</Ferm> <alcohol>1.1</alcohol> <batch>sample string 6</batch> <cantidad>4</cantidad> <costo>1.1</costo> <estado>7</estado> <fecha>2026-02-23T14:16:36.2112721-06:00</fecha> <idArticulo>3</idArticulo> <numero>1</numero> <observacion>sample string 5</observacion> <saldo>1</saldo> </produccion>