POST api/InventarioDet/CrearInventario
Request Information
URI Parameters
None.
Body Parameters
_Inventario| Name | Description | Type | Additional information |
|---|---|---|---|
| IdInventario | integer |
None. |
|
| IdCliente | integer |
None. |
|
| IdPersonal | integer |
None. |
|
| IdActividad | integer |
None. |
|
| Fecha | date |
None. |
|
| Lineas | integer |
None. |
|
| Foto1 | string |
None. |
|
| Foto2 | string |
None. |
|
| Foto3 | string |
None. |
|
| Foto4 | string |
None. |
|
| Foto5 | string |
None. |
|
| Foto6 | string |
None. |
|
| Foto7 | string |
None. |
|
| Foto8 | string |
None. |
|
| Foto9 | string |
None. |
|
| Foto10 | string |
None. |
|
| Foto11 | string |
None. |
|
| Foto12 | string |
None. |
|
| Observaciones | string |
None. |
|
| Detalles | Collection of _InventarioDetalleDTO |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdInventario": 1,
"IdCliente": 2,
"IdPersonal": 3,
"IdActividad": 4,
"Fecha": "2025-12-05T18:41:50.8546305-06:00",
"Lineas": 6,
"Foto1": "sample string 7",
"Foto2": "sample string 8",
"Foto3": "sample string 9",
"Foto4": "sample string 10",
"Foto5": "sample string 11",
"Foto6": "sample string 12",
"Foto7": "sample string 13",
"Foto8": "sample string 14",
"Foto9": "sample string 15",
"Foto10": "sample string 16",
"Foto11": "sample string 17",
"Foto12": "sample string 18",
"Observaciones": "sample string 19",
"Detalles": [
{
"IdProducto": 1,
"Cantidad": 2,
"Cajas": 3,
"Precio": 1.1
},
{
"IdProducto": 1,
"Cantidad": 2,
"Cajas": 3,
"Precio": 1.1
}
]
}
application/xml, text/xml
Sample:
<_Inventario xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<Detalles>
<_InventarioDetalleDTO>
<Cajas>3</Cajas>
<Cantidad>2</Cantidad>
<IdProducto>1</IdProducto>
<Precio>1.1</Precio>
</_InventarioDetalleDTO>
<_InventarioDetalleDTO>
<Cajas>3</Cajas>
<Cantidad>2</Cantidad>
<IdProducto>1</IdProducto>
<Precio>1.1</Precio>
</_InventarioDetalleDTO>
</Detalles>
<Fecha>2025-12-05T18:41:50.8546305-06:00</Fecha>
<Foto1>sample string 7</Foto1>
<Foto10>sample string 16</Foto10>
<Foto11>sample string 17</Foto11>
<Foto12>sample string 18</Foto12>
<Foto2>sample string 8</Foto2>
<Foto3>sample string 9</Foto3>
<Foto4>sample string 10</Foto4>
<Foto5>sample string 11</Foto5>
<Foto6>sample string 12</Foto6>
<Foto7>sample string 13</Foto7>
<Foto8>sample string 14</Foto8>
<Foto9>sample string 15</Foto9>
<IdActividad>4</IdActividad>
<IdCliente>2</IdCliente>
<IdInventario>1</IdInventario>
<IdPersonal>3</IdPersonal>
<Lineas>6</Lineas>
<Observaciones>sample string 19</Observaciones>
</_Inventario>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.