-
Notifications
You must be signed in to change notification settings - Fork 0
Known Limitations
Not everything possible in the Business Manager is possible through the OCAPI, and the SystemObjectDefinitions API is no different.
Currently, the API makes it very hard to figure out what Custom Objects there are. For now, only System Objects are supported.
Custom Objects will be added soon!
The attribute types that support multiple values like Enum of Integers or Enum of Strings can only be fetched but not written as documented here.
The default value can only be set with an update. When initially creating an attribute, this can not be set. This is similar behavior to the Business Manager.
The fix is strange but simple. Just execute the push command twice.
(This only applies to multi-value attributes, which are not fully supported anyway.)
Even though it is possible to get all Attribute Group Attribute Definitions (well, that is a mouthful) in the Attribute Group GET call, you can not push them back in a PUT/PATCH call. A custom implementation has been done to send separate API calls per attribute that you have configured/fetched to be assigned.