Movement Add En

API for creating a movement #

Principle #

The API allows to generate input or output movements, from either the UID or the business identifier (which must then be unique in the database).

Identification #

Consult this document to create the API user, generate a token and give him the appropriate rights: Identification for web services

Default call #

URL: index.php?module=apiv1movementWrite

The API must be called in http POST mode.

Variables to provide #

Variable nameDescriptionmandatory
loginLogin of the account used to call the APIX
tokentoken of identification associated with the loginX
localeLanguage code used for error messages or date formatting. Default: fr, otherwise ’en’ or ‘us’
uidUID of the object on which the movement is generateX(*)
uuidUUID of the object on which the movement is generateX(*)
identifierBusiness identifier of the object on which the movement is generateX(*)
movement_type1 : entry into stock / 2 : exit from stockX
container_uidUID of the container (entry in the stock)X(**)
container_uuidUUID of the container (entry in the stock)X(**)
container_identifierBusiness identifier of the containerX(**)
movement_reasonReason for removal from storage. Numerical value, corresponding to the key of the record in the Reasons for Destocking
columnN° of the column where the object is stored in the container
lineN° of the line where is stored the object in the container
storage_locationFree text to specify the storage location
movement_commentFree text

{ .table .table-bordered .table-hover .datatable-nopaging-nosort }

(*): either the UID, or the UUID, or the business identifier of the object must be provided

(**) : either the UID, or the UUID, or the business identifier of the container must be provided, as long as it is an input transaction

Translated with www.DeepL.com/Translator (free version)