Hi All,
I have figured out how to create objects using REST API, but i get a 400 response error when trying to create an object with a dependent attribute.
How is this done ?
See below attribute 51 is dependent on another object how can i create this link using API?
jsoncreate = {
"objectTypeId": 4,
"attributes": [
{
"objectTypeAttributeId": 30,
"objectAttributeValues": [{
"value": "Mobile Phone"}]
},
{
"objectTypeAttributeId": 51,
"objectAttributeValues": [{
"value": "Rental"}]
}]}
So this should definitely be set as an example in the docs
so you have to set the value as the actually object ID that you are referencing and it will take the label field
{
"objectTypeAttributeId": 51,
"objectAttributeValues": [{
"value": "VIT-63"}]
}
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.