- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Hello
The API returned the following error message:
{
"dimensionId": "SUBACCOUNT",
"segmentId": 3,
"description": {
"value": "This is to test subsccount update"
},
"segmentvalues": [
{
"operation": "Insert",
"value": "10640",
"description": {
"value": "testing \\ description"
},
"active": {
"value": true
}
}
]
}
Solved! Go to Solution.
Hi Kanyar,
It seems like this intended because it neither possible to do it in the UI and API. Is there any reason why you use backslash instead of dash "-" ?
Hi Suzdar
As far as i can see this is possible in the UI:
Also these subaccounts are created in another system, and is being transferred over to Visma.net through an integration. And the users there use / in the descriptions, but it should be possible to follow the JSON standards of escaping the / and get it in the description. However it is not working in this case. Can you confirm it's a bug?
Hi Kanyar,
Aslong as the slashes are not backslashes "\" there should be no issue (the UI aswell). The request below should work and you can also add 2 backslashes and even space between the strings aslong as you don't enter any backslashes.
{
"dimensionId": "SUBACCOUNT",
"segmentId": 1,
"description": {
"value": "This is to test subsccount update"
},
"segmentvalues": [
{
"operation": "Insert",
"value": "6",
"description": {
"value": "testing/description"
},
"active": {
"value": false
}
}
]
}
I see, my bad. I mixed up the backslash with the / character. You are correct, it is not possible to use backslash in GUI either. Thank you for the help 🙂
Hi Kanyar,
Are you trying to create a subaccount or return them?
Hi Suzdar!
I'm trying to create a subaccount.
