- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Error changing status for Visma Project Management invoice using Visma Severa Public Rest API
Hi, I try to change status for an invoice using Visma Severa Public Rest API method Patch /v0.2/invoices/{guid} Update (Patch) an invoice or a part of it (doc: Visma Severa Public Rest API Documentation), but I get this error message in the response:
{"error":{"httpStatusCode":400,"type":"InvalidParameter","details":[{"message":"The value 'ccb02d37-7db0-de12-ee7f-3d0063aee987' is invalid for target location.","location":{"type":"RequestBody","name":"status"}}]}}.
I send this in the request:
[{"op":"replace","path":"/status","value":"ccb02d37-7db0-de12-ee7f-3d0063aee987"}]
I can make the status change in Visma PM manually without any error.
Any tips?
Hi,
This part of the forum handles the Visma.Net Financials API, for help regarding Severa/Project Management, please contact: severa.support@visma.com
Thank you.
