POST api/v1/Elementos/SaveOrUpdate/{empresaid}/{almacenid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| empresaid | integer |
Required |
|
| almacenid | integer |
Required |
Body Parameters
Elemento| Name | Description | Type | Additional information |
|---|---|---|---|
| Codigo | string |
Required Max length: 8 |
|
| Articulo | string |
Max length: 20 |
|
| Descripcion | string |
Max length: 255 |
|
| NumSerie | string |
Max length: 50 |
|
| Identificacion | string |
Max length: 20 |
|
| Ubicacion | string |
Max length: 50 |
|
| Grupo | string |
Max length: 8 |
|
| Lote | string |
Max length: 20 |
|
| Principal | boolean |
None. |
|
| Disponible | boolean |
None. |
|
| Unidades | decimal number |
None. |
|
| ContratoMantenimiento | string |
Max length: 11 |
|
| FechaInstalacion | date |
None. |
|
| CodigoObra | string |
Max length: 8 |
|
| EmpresaId | integer |
Required |
|
| Synchronized | date |
None. |
|
| Sync | boolean |
None. |
|
| PendingSync | boolean |
None. |
|
| Id | integer |
None. |
|
| Created | date |
None. |
|
| Updated | date |
None. |
|
| Borrado | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Codigo": "sample string 1",
"Articulo": "sample string 2",
"Descripcion": "sample string 3",
"NumSerie": "sample string 4",
"Identificacion": "sample string 5",
"Ubicacion": "sample string 6",
"Grupo": "sample string 7",
"Lote": "sample string 8",
"Principal": true,
"Disponible": true,
"Unidades": 11.0,
"ContratoMantenimiento": "sample string 12",
"FechaInstalacion": "2026-02-23T11:54:02.9958957+00:00",
"CodigoObra": "sample string 13",
"EmpresaId": 14,
"Synchronized": "2026-02-23T11:54:02.9958957+00:00",
"Sync": true,
"PendingSync": true,
"Id": 17,
"Created": "2026-02-23T11:54:02.9958957+00:00",
"Updated": "2026-02-23T11:54:02.9958957+00:00",
"Borrado": true
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.