I have created a Dimension Values endpoint so that I can create new values via API however however when I POST the following body to the endpoint...
{
"Code": "TESTCL1",
"Name": "Test Client",
"Dimension_Code": "CLIENT"
}
I receive the follow message...
Dimension Code must have a value in Dimension Value: Dimension Code=, Code=TESTCL1.
Even though the dimension code exists.
Any assistance would be greatly appreciated.
Hi, as Josh mentioned, please try inserting the two fields of the primary key first.
For example:
{
"Code": "TESTCL1",
"Dimension_Code": "CLIENT",
"Name": "Test Client"
}
Hope this will help.
Thanks.
ZHU
Rejig the order of the data in the json. Must be the primary key logic rejecting the request.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156