Reading through this documentation I can't figure out how to create the child options via the API
I was able to create the list of the first options, but not sure how to do the 2nd part
I have not tried that in a while, and I recall you add the "optionId" attribute to refer to the parent. For the example you show, if "8.0" with an id "13094" is the parent, adding a child could be:
{
"disabled": false,
"optionId": "13094",
"value": "stuff after 8.0"
}
Later when you view the complete list, you will see the parents have an id only and the children have an id and an optionId for their parent.
Kind regards,
Bill
thats right Bill, you are correct by adding the optionId it worked, thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.