POST api/v1/Stock/SaveOrUpdate/{empresaid}/{almacenid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
empresaid

integer

Required

almacenid

integer

Required

Body Parameters

Stock
NameDescriptionTypeAdditional information
AlmacenBasegesId

integer

None.

ArticuloId

integer

None.

UbicacionArticuloId

integer

None.

StockNormalERP

decimal number

None.

StockEspecialERP

decimal number

None.

StockReservaERP

decimal number

None.

GestionId

integer

None.

StockDisponibleERP

decimal number

None.

StockPiconecPendiente

decimal number

None.

StockPiconec

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:
{
  "AlmacenBasegesId": 1,
  "ArticuloId": 1,
  "UbicacionArticuloId": 1,
  "StockNormalERP": 1.0,
  "StockEspecialERP": 2.0,
  "StockReservaERP": 3.0,
  "GestionId": 1,
  "StockDisponibleERP": 0.0,
  "StockPiconecPendiente": 4.0,
  "StockPiconec": 7.0,
  "EmpresaId": 5,
  "Synchronized": "2026-02-23T15:00:40.794045+00:00",
  "Sync": true,
  "PendingSync": true,
  "Id": 8,
  "Created": "2026-02-23T15:00:40.794045+00:00",
  "Updated": "2026-02-23T15:00:40.794045+00:00",
  "Borrado": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.