Prices
Última actualización
¿Te fue útil?
Última actualización
¿Te fue útil?
Example:
https://localhost:5555/api/precios/ObtPrcVenta/ 00077169/1689/20220912/1/5
The article code
The customer code
The date of the sale price, the date is entered in YYYYYMMDD format.
the tariff
The units
Bearer + JWT_token
GET /api/precios/ObtPrcVenta/{articulo}/{cliente}/{fecha}/{tarifa}/{unidades} HTTP/1.1
Host: server:<port>
Authorization: text
Accept: */*
Returns the selling price
{
"Precio": "66,92",
"TotalDto": "15",
"Dto1": "15",
"Dto2": "0",
"Dto3": "0",
"Dto4": "0"
}
Example:
https://localhost:5555/api/precios/ObtPrcCompra/ 00077169/2/20220912/3/5
The article code
The supplier code
The date of the sale price, the date is entered in YYYYYMMDD format.
the tariff
The units
Bearer + JWT_token
GET /api/precios/ObtPrcCompra/{articulo}/{proveedor}/{fecha}/{tarifa}/{unidades} HTTP/1.1
Host: server:<port>
Authorization: text
Accept: */*
Returns the purchase price
{
"Precio": "66,92",
"TotalDto": "0",
"Dto1": "0",
"Dto2": "0",
"Dto3": "0",
"Dto4": "0"
}
Example:
https://localhost:5555/api/precios/ObtPrcCoste/ 28061600/21/PMED
The article code
The warehouse code
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
Bearer + JWT_token
GET /api/precios/ObtPrcCoste/{articulo}/{almacen}/{obtcoste} HTTP/1.1
Host: server:<port>
Authorization: text
Accept: */*
returns the cost price
{
"Precio": "8,06578087"
}
Example:
The article code
The warehouse code
Bearer + JWT_token
GET /api/precios/ObtPrcMedio/{articulo}/{almacen} HTTP/1.1
Host: server:<port>
Authorization: text
Accept: */*
Returns the average price
{
"Precio": "66,92"
}