Resource Job : ExecutionId

Hello,

we have an endpoint triggering resource job, eachtime an API executes we want to maintain its summary(i.e reportURL, executionsummary).
Currently, we are using Resource Job Logs API to know the status of the running job. What happens when multiple users executes the endpoint at same instance. Since each request has unique executionId can we utilize this to differentiate the response.
Is there any Losant API wherein I pass resourceJobId, executionId to get the status of the execution or we need to build some custom implementation?

Hi @jignesh_shah !

A Resource Job can only run one iteration at a time. If two users hit that endpoint around the same time, one would successfully kick off the execution job, and the other would get the error message “Resource Job already has an execution in progress.” An example below:

Does this answer your question?