curl -X POST https://api.example.com/request/price \
-H "Content-Type: application/json" \
-d '{
"v_init_date": "2025-01-10T10:00:00.000Z",
"v_end_date": "2025-01-10T18:00:00.000Z",
"v_fk_rate": 2
}'
{
"result": 450000
}
Calculate estimated price for an event based on dates and rate
curl -X POST https://api.example.com/request/price \
-H "Content-Type: application/json" \
-d '{
"v_init_date": "2025-01-10T10:00:00.000Z",
"v_end_date": "2025-01-10T18:00:00.000Z",
"v_fk_rate": 2
}'
{
"result": 450000
}
calculate_value which determines the price according to time slots, base values, and extra hours.
"2025-01-10T10:00:00.000Z""2025-01-10T18:00:00.000Z"2450000curl -X POST https://api.example.com/request/price \
-H "Content-Type: application/json" \
-d '{
"v_init_date": "2025-01-10T10:00:00.000Z",
"v_end_date": "2025-01-10T18:00:00.000Z",
"v_fk_rate": 2
}'
{
"result": 450000
}