My Products
Help
plh
CONTRIBUTOR ***

Feature Request: Synchronous release actions

by plh
Status: New

Hi Visma team.

 

We would appreciate a feature, that allows us to do release actions synchronously. Currently they seem to be async in the API, in the sense that, when we do the release api call, we get a response like this:

 

 

{"actionId":"9a660333-697a-44ab-a38f-9093bd18cf5d","actionResult":"InProcess"}

 

 

Is might be good for performance, but when integrating the system, some cases its important for us to inform the enduser using our application, if the release succeeded. Currently our customers find that actions they performed did not succeed with their knowledge, as they had to check in visma financials to be aware that a error had occurred. 

This would have been solved better, had the actionResult stated Success/Fail - then our application would inform the enduser as such, allowing them to take imitate action.

 

We've seen this API behaviour in

- inventoryReceipt action release

- inventoryIssue action release

- purchaseReceipt action release

(might be more cases)

 

Suggestion:

Add a parameter to the action endpoints, allowing the integration partner to choose async or not.

Defaulting to current async implementation.

1 Comment
jnemo
CONTRIBUTOR ***
by jnemo

Alternatively an endpoint for the action status that is cheaper than polling the resource to check release state.