POST api/v1/Trazabilidad/SaveOrUpdate/{empresaid}/{almacenid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| empresaid | integer |
Required |
|
| almacenid | integer |
Required |
Body Parameters
Trazabilidad| Name | Description | Type | Additional information |
|---|---|---|---|
| CodigoTrazabilidad | string |
Required Max length: 10 |
|
| Serie | string |
Max length: 2 |
|
| Fecha | date |
None. |
|
| FechaPrevista | date |
None. |
|
| Estado | string |
None. |
|
| AvisoId | integer |
None. |
|
| TipoTrazabilidad | TipoTrazabilidad |
None. |
|
| Base | decimal number |
None. |
|
| Total | decimal number |
None. |
|
| CodigoCliente | string |
Max length: 8 |
|
| NombreCliente | string |
None. |
|
| CodigoProveedor | string |
Max length: 8 |
|
| NombreProveedor | string |
None. |
|
| GestionId | string |
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:
{
"CodigoTrazabilidad": "sample string 1",
"Serie": "sample string 2",
"Fecha": "2026-02-23T15:01:24.5549277+00:00",
"FechaPrevista": "2026-02-23T15:01:24.5549277+00:00",
"Estado": "sample string 3",
"AvisoId": 1,
"TipoTrazabilidad": 1,
"Base": 4.0,
"Total": 5.0,
"CodigoCliente": "sample string 6",
"NombreCliente": "sample string 7",
"CodigoProveedor": "sample string 8",
"NombreProveedor": "sample string 9",
"GestionId": "sample string 10",
"EmpresaId": 11,
"Synchronized": "2026-02-23T15:01:24.5549277+00:00",
"Sync": true,
"PendingSync": true,
"Id": 14,
"Created": "2026-02-23T15:01:24.5549277+00:00",
"Updated": "2026-02-23T15:01:24.5549277+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.