Hi,
I would like to add a field from type "Object" to an object type via the Asset REST API, but I always get an error message "The input is not valid...".
Here is my payload:
payload = {
"name": "GH Services",
"type": "1",
"description": "This is my first test column",
"typeValue": "123", ## id of the object type the field should be referenced to.
"additionalValue": "123"
}
The request itself works, e.g. in case I add a default text field.
Any idea how I could make it?
Thanks in advance!
So you want to update an object in an asset schema via the API?
What is the API you are making?
Can you also show the object and the object type attributes?
H Marc,
thanks for your reply!
Yes, I would like to add a new attribute to a given objecttype via API.
I'm using the following API "Post objecttypeattribute {objectTypeId}"
My request looks like this:
...and the attributes of objecttype with ID 141 like this:
Best regards,
Günter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.