to get a personalized navigation.
to get a personalized navigation.
Hello,
I called the API Subaccount and POST it the following JSON object:
The subaccount was created successfully
Then I made a change in the description and called the PUT method with the following data:
No changes are made since I get an IPPException that says nothing to me.
- What does it mean and how can i solve it?
Hi,
As you can see in the image from the first message, I POSTed an object with the subaccount (with the whitespaces you are wondering). That POST worked fine since a new subaccount was created in visma.
EXPLANATION
We have defined our subaccount like in the image bellow (30 chars in total).
TESTING
I tried to copy/paste the test subAccountNumber here but the blankspaces dissapeared so please replace the bold text with spaces so that it look like in the next image.
"533(3 spacesHere)228(17spacesHere)0(3spacesHere)" and i Called the GET method and got a response 200.
I got a 200
So do you still think is a bad subAccountNumber ??
Hi Iema,
The response message you received from the GET seems a bit odd to me. Have you tried returning GET with subaccountNumber "5332280" ?
- Suzdar
Hi Iema,
Can you show me your UI in ScreenId=CS202000&DimensionID=SUBACCOUNT? Also whats the companyID for this company?
Hi Iema,
This is not quite the screenshot I was looking for. ScreenId=CS202000 is the correct one and should look like this
Replacing blank spaces with zero?? I am not sure about that, how will Visma differentiate, for example, between cost center 2 and 20?
I tried anyway but the call to Update doesn't work either.
Hi Iema,
We need to investigate this in our backend services and to do so we might need some sensitive information. Can you please contact api.consulting.se@visma.com (SWE API support) and ref. to this post?
Thanks!
- Suzdar
Hi Iema,
May I ask why your subaccount has a lot of whitespace? this does not look like a valid subaccoutNumber.
- Suzdar
Copyright © 2022 Visma.com. All rights reserved.