Prices

GET calls

Allows obtaining the selling price, given the input parameters

get

Example:

https://localhost:5555/api/precios/ObtPrcVenta/ 00077169/1689/20220912/1/5

Parámetros de ruta
articulostringRequerido

The article code

clientestringRequerido

The customer code

fechastringRequerido

The date of the sale price, the date is entered in YYYYYMMDD format.

tarifastringRequerido

the tariff

unidadesstringRequerido

The units

Parámetros de encabezado
AuthorizationstringRequerido

Bearer + JWT_token

Respuestas
200

Returns the selling price

application/json
get
/precios/ObtPrcVenta/{articulo}/{cliente}/{fecha}/{tarifa}/{unidades}
200

Returns the selling price

It allows to obtain the purchase price, given the input parameters.

get

Example:

https://localhost:5555/api/precios/ObtPrcCompra/ 00077169/2/20220912/3/5

Parámetros de ruta
articulostringRequerido

The article code

proveedorstringRequerido

The supplier code

fechastringRequerido

The date of the sale price, the date is entered in YYYYYMMDD format.

tarifastringRequerido

the tariff

unidadesstringRequerido

The units

Parámetros de encabezado
AuthorizationstringRequerido

Bearer + JWT_token

Respuestas
200

Returns the purchase price

application/json
get
/precios/ObtPrcCompra/{articulo}/{proveedor}/{fecha}/{tarifa}/{unidades}
200

Returns the purchase price

Allows to obtain the cost price, given the input parameters

get
Parámetros de ruta
articulostringRequerido

The article code

almacenstringRequerido

The warehouse code

obtcostestringRequerido

The values for obtcoste are: MANU : Manual price PEST: Standard price PFAB: Production price PMEA: Average price (warehouse - item) PMED: Average price (warehouse - item - lot - serial number...) PMET: Average price all warehouses PCOM: Last net purchase price

Parámetros de encabezado
AuthorizationstringRequerido

Bearer + JWT_token

Respuestas
200

returns the cost price

application/json
get
/precios/ObtPrcCoste/{articulo}/{almacen}/{obtcoste}
200

returns the cost price

Allows to obtain the average price, given the input parameters

get
Parámetros de ruta
articulostringRequerido

The article code

almacenstringRequerido

The warehouse code

Parámetros de encabezado
AuthorizationstringRequerido

Bearer + JWT_token

Respuestas
200

Returns the average price

application/json
get
/precios/ObtPrcMedio/{articulo}/{almacen}
200

Returns the average price

Última actualización

¿Te fue útil?