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"}]
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.