My Products
Help
plh
CONTRIBUTOR ***

Feature Request: Synchronous release actions

by plh
Status: In backlog

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.

4 Comments
by Magnus Johnsen (Updated ‎03-09-2020 11:45 by Magnus Johnsen VISMA )

Hi!

 

This is a good suggestion and it is in the backlog for certain endpoints already, we would however appreciate if you post it in the idea's part of the forum.

Posting in ideas will apart from ensuring that the development team will see the request, open up for other users of the forum to vote on your suggestion.

The amount of votes that your suggestion has will affect the priority the affected development teams have on implementing your suggestion.

To make sure that it is implemented in the way that you are looking for, we kindly ask you to specify the business need as much as you can, especially when it concerns several endpoints.

 

Thank you!

plh
CONTRIBUTOR ***
by plh

Hi Magnus,

 

Thanks. Can you move my post to Ideas forum? or can I?

product_scansys_nl
CONTRIBUTOR **
by product_scansys_nl

We've seen this behaviour also in the supplierInvoice release endpoint. When users approved a purchase invoice in our application, we want to release the purchase invoice as part of a background process. In some cases the release failed, but the endpoint doen't return the status and error message. When the endpoint does return the status and error message, we can show this information as part of the purchase invoice in our application, so the users know they have to do it manually.

Yıldırım
VISMA
by Yıldırım

Hello,

currently, the reason we get an immediate response as "InProgress" is due to the release action is asynchronous in all release action exposed endpoints; the process is started in the back end and response is sent back before the process is finished therefore we don't receive status on whether the document is released.

 

This has already been conveyed to the development team and registered as a wish for improvement. We've updated the case as this request has been repeated. We’ll update you once we hear back.