to get a personalized navigation.
to get a personalized navigation.
My app is trying to account for purchaseReceipt release operation sometimes failing.
I have a case where I get a 200 both in the background webhook, and when checking the stateLocation, however the receipt status is still balanced. Is this working as intended?
Original request:
POST https://integration.visma.net/API/controller/api/v1/PurchaseReceipt/000451/action/release
response body:
Solved! Go to Solution.
Understood. I will add a Get call to check the status when I receive the operation completed notification.
Out of curiosity, why does the stateLocation sometimes show a 400?
Hello Magnus,
If the endpoint today is asynchronous,
meaning that if it is immediately returning a “202-Accepted” HTTP response and starts the actual job in the background, such as “Action” based operations. (Endpoint URL: …/action/…),
However, this topic is already in our development plan. (Endpoint logic should be "synchronous" so that, waiting for the actual job to be done, to inform the client accordingly.)
Copyright © 2022 Visma.com. All rights reserved.