DecisionRules

Product details

Q: How do we estimate the number of rules and API calls?

From the use cases you named, could you please give us an example of how it consumes the quota?

For example, on pricing calculations -
Website sends the order to you = 1 API call?
You determine whether tax/member discount/promotion applies = 1 rule?
You request tax calculation = 1 API call?
You request member discount = 1 API call?

aR39681PLUSJun 3, 2022
Founder Team
Erik_DecisionRules

Erik_DecisionRules

May 14, 2024

A: Hello aR,

Thank you for your question.

If you make 1 decision we count it as 1 API call.
Decision Table, Scripting rule or Decision Tree - you trigger the rule it is 1 API call.
If you have a Rule Flow with multiple rules in it and you trigger the Flow it is also 1 API call.

In 1 API call, you send the input and you get an output, basically, you can get everything using 1 API call you have described. It depends only on how your rules are constructed.

Regards,
Erik

Share
Helpful?
Log in to join the conversation
Founder
Verified Purchaser badge

Verified purchaser

Posted: Jun 6, 2022

Hello aR,

Thank you for your question.

If you make 1 decision we count it as 1 API call.
Decision Table, Scripting rule or Decision Tree - you trigger the rule it is 1 API call.
If you have a Rule Flow with multiple rules in it and you trigger the Flow it is also 1 API call.

In 1 API call, you send the input and you get an output, basically, you can get everything using 1 API call you have described. It depends only on how your rules are constructed.

Regards,
Erik

Verified Purchaser badge

Verified purchaser

Posted: Jun 9, 2022

Thanks but that still doesn't answer my question.

Could you please help to run through an actual example of the calculation for a pricing decision?
eg., Step 1 - xxxx consumes 1 API call, Step 2, xxx consumes rule

Why I am asking? because I don't know how to choose which tier may be suitable.

Yes, I could have spared a day to setup and try before buying.
But I could also just spend 5 min to determine if this is worth trying, if there is clear explanation to the terms in quota calculation.

I also hope that you realize this is where your marketing funnel may have caused frictions - it uses languages/terms that are not clear to buyers so buyers just give up.

Founder
Verified Purchaser badge

Verified purchaser

Posted: Jul 21, 2022

Hey aR,

I am not sure about those steps which you mentioned. If you trigger the rule, it consumes the API call.

If you trigger a REST API, making an API call (decision) is 1 API call. You can do also bulk by using an input of the arrays where you can embed multiple inputs at once, it is counted also as 1 API call, but note the solution time might be higher.

I hope it helps.

Regards,
Erik

Related questions
View product details