Stock movements

Access to external stock movements via NAX

GET calls

Filtering

In the following link you can consult how to filter this call.

Obtain data from the indicated movement record

get

This endpoint can be used with and without id (without id you can use filtering).

Example:

https://server:5555/api/movimientosstock/25

Parámetros de ruta
idstringRequerido

The document identifier

Parámetros de encabezado
AuthorizationstringRequerido

Bearer + JWT_token

Respuestas
200

Returns an Array with the selected response

application/json
get
/movimientosstock/{id}
200

Returns an Array with the selected response

POST calls

Create stock movement

post

This endpoint allows you to create a stock movement by adding a JSON with a specific structure to the request.

Parámetros de encabezado
AuthorizationstringRequerido

Bearer + JWT_token

Cuerpo
Respuestas
200

Inserted correctly

application/json
post
/movimientosstock
200

Inserted correctly

Create Stock Movement Body

Create a stock movement

https://server:5555/api/movimientosstock

DELETE calls

Delete all records of the indicated movement

delete
Parámetros de ruta
idstringRequerido

The identifier of the movement to be deleted

Parámetros de encabezado
AuthorizationstringRequerido

Bearer + JWT_token

Respuestas
200

The movement has been successfully removed

Sin contenido

delete
/movimientosstock/eliminar/{id}
200

The movement has been successfully removed

Sin contenido

Removes a line from the indicated movement

delete
Parámetros de ruta
idstringRequerido

The movement identifier

idlineastringRequerido

The line to be deleted

Parámetros de encabezado
AuthorizationstringRequerido

Bearer + JWT_token

Respuestas
200

The movement has been successfully removed

Sin contenido

delete
/movimientosstock/eliminar/{id}/linea/{idlinea}
200

The movement has been successfully removed

Sin contenido

Última actualización

¿Te fue útil?