Create a new CustomPropertyStructures instance.
Function for making API requests
Create a custom property structure for an organization. Only one structure can exist per (associatedType, belongerType, belongerId) combination — a duplicate fails with IM005. Once created, a structure cannot be deleted through the API.
The structure to create
Promise with the created custom property structure
List the custom property structures of an organization. The API does not support column selection or pagination for this endpoint. Requires the organization's custom-properties feature to be enabled (error IM027 otherwise).
The organization ID to list custom property structures for
Promise with the list of custom property structures
Class providing methods for working with Make custom property structures. Structures define which entity type can carry custom properties for an organization; use the
itemsproperty to manage the individual field definitions within a structure. There is noget()orupdate()— uselist()to look up a structure, since none of its fields can be changed after creation.