Is it possible to prevent submission using API?

edison
Expensify Customer Posts: 30 Expensify Admirer
Is it possible to prevent submission using API it meets certain criteria?
Best Answer
-
That's correct @edison, it's not possible to block submission via API.
Answers
-
Cortney Ofstad Expensify Success Coach - Admin, Expensify Team, Expensify Student Ambassador Posts: 173 Expensify Team
Hi @edison! Thanks for reaching out! If possible, can you provide some additional context into the criteria you mentioned? For example, Do you not want reports to be submitted before or after certain dates, if there are violations in place, etc?
Thanks!
-
Hey @Cortney Ofstad ! My current use case is to prevent submission if the total $$$ amount has exceeded a particular number over a non-calendar fiscal year. Hopefully we could issue a notification to the user on why it happened too.
-
Thanks @Sasha Kluger . Just to confirm, there's no way to block submissions too via API right?