Stock Reserves

Access to external stockholdings via NAX

GET calls

Filtering

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

Obtain data from the indicated booking record

get

This call can be made without the identifier to obtain all reservations.

Example:

https://server:5555/api/reservas/30

Parámetros de ruta
idstringRequerido

The stock reserve identifier

Parámetros de encabezado
AuthorizationstringRequerido

Bearer + JWT_token

Respuestas
200

Returns an Array with the selected reserve

application/json
get
/reservas/{id}
200

Returns an Array with the selected reserve

POST calls

Add data from the indicated booking record

post
Parámetros de encabezado
AuthorizationstringRequerido

Bearer + JWT_token

Cuerpo
Respuestas
200

Inserted correctly

application/json
post
/reservas
200

Inserted correctly

Body of Add stock reserve

Add a stock reserve

https://server:5555/api/reservas

DELETE calls

Deletes all records of the specified booking

delete
Parámetros de ruta
idstringRequerido

The identifier of the registry

Parámetros de encabezado
AuthorizationstringRequerido

Bearer + JWT_token

Respuestas
200

The reservation has been successfully removed

Sin contenido

delete
/reservas/eliminar/{id}
200

The reservation has been successfully removed

Sin contenido

Delete the record of the indicated booking

delete
Parámetros de ruta
idstringRequerido

The identifier of the registry

Parámetros de encabezado
AuthorizationstringRequerido

Bearer + JWT_token

Respuestas
200

The reserve line has been deleted correctly.

Sin contenido

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

The reserve line has been deleted correctly.

Sin contenido

Última actualización

¿Te fue útil?