to get a personalized navigation.
to get a personalized navigation.
I am trying to either remove or disable a segment value without success,
json I send:
{"segmentValues":[{"operation":"Update","value":"999994A0001","active":{"value":false}}],"dimensionId":"SUBACCOUNT","segementId":3,"description":{"value":"Uppdrag/ÄTA"}}
or
{"segmentValues":[{"operation":"Delete","value":"999994A0001","dimensionId":"SUBACCOUNT","segementId":3,"description":{"value":"Uppdrag/ÄTA"}}
get the response status code OK but nothing happens in Visma
endpoint
$"https://integration.visma.net/API/controller/api/v1/dimension/SUBACCOUNT/{segmentId}") //3
method PUT
Solved! Go to Solution.
Did you find the answer to this? Because we are seeing the same issue that it's not possible to issue DELETE requests to remove values from the Dimension SUBACCOUNT. We do get a 200 Success response but there is nothing happening in Visma.
Currently it is not possible to delete segment values for Subaccounts via the Dimension endpoint.
If this is functionality you need, we recommend that you create a post in the Ideas part of the forum
This allows other users to vote for your suggestion, which in turn influences the development team assessment process.
Please describe your business need as thoroughly as possible, this increases the likelihood that the suggestion is implemented.
It is possible to set the "active" status to false by using "operation: update" if this helps in your case.
All right, thank you. We'll have to do that then.
The OpenAPI specification does list a "Delete" option in the DtoSegmentValueUpdateDtoBase model. Hence why we thought it's possible. So that specification should probably be updated to reflect that it's not possible.
.
Copyright © 2022 Visma.com. All rights reserved.