POST api/v1/ControlesMaterial/SaveOrUpdate/{empresaid}/{almacenid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| empresaid | integer |
Required |
|
| almacenid | integer |
Required |
Body Parameters
ControlMaterial| Name | Description | Type | Additional information |
|---|---|---|---|
| ArticuloId | integer |
None. |
|
| MaterialId | integer |
None. |
|
| AvisoId | integer |
None. |
|
| DocumentoId | integer |
None. |
|
| Lote | string |
Max length: 50 |
|
| Serie | string |
Max length: 50 |
|
| Unidades | decimal number |
None. |
|
| Fecha | date |
None. |
|
| BasegesId | integer |
None. |
|
| Piezas | decimal number |
None. |
|
| 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:
{
"ArticuloId": 1,
"MaterialId": 1,
"AvisoId": 1,
"DocumentoId": 1,
"Lote": "sample string 1",
"Serie": "sample string 2",
"Unidades": 3.0,
"Fecha": "2026-02-23T11:53:48.8024428+00:00",
"BasegesId": 1,
"Piezas": 1.0,
"EmpresaId": 4,
"Synchronized": "2026-02-23T11:53:48.8024428+00:00",
"Sync": true,
"PendingSync": true,
"Id": 7,
"Created": "2026-02-23T11:53:48.8024428+00:00",
"Updated": "2026-02-23T11:53:48.8024428+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.