The following endpoints allow you to manage items in a custom property structure.
To use custom properties, you have to:
Create a custom properties structure.
Create custom properties structure items.
Fill the items with data.
Read more about custom properties in the ."
Gets the list of structure items in the specified custom properties structure.
Use the API call GET /custom-property-structures?{organizationId}
to get the ID of the custom property structure.
The ID of the custom property structure.
Use the API call GET /custom-property-structures?organizationId={organizationId}
to get the ID of a custom property structure.
2
Specifies columns that are returned in the response. Use the cols[]
parameter for every column that you want to return in the response. For example GET /endpoint?cols[]=key1&cols[]=key2
to get both key1
and key2
columns in the response.
Specify the custom property item attribute. The custom property items in the response are sorted by the value of the attribute.
The value of entities you want to skip before getting entities you need.
The sorting order. It accepts the ascending and descending direction specifiers.
Sets the maximum number of results per page in the API call response. For example, pg[limit]=100
. The default number varies with different API endpoints.
Deletes the specified custom property structure item. Use the confirmed
parameter to confirm deleting the structure item.
When you delete a custom property item, Make deletes the data filled in the item as well. Deleting custom property item data is irreversible.
The ID of the custom property structure item. Get the item ID with the API call to list custom property structure items.
2
true
Creates custom properties structure items.
After creating a structure item, you cannot change its name
and type
.
To add data to the custom properties, use the API call to fill in custom properties data.
The ID of the custom property structure.
Use the API call GET /custom-property-structures?organizationId={organizationId}
to get the ID of a custom property structure.
2
The ID of the structure item. The name
has to be unique in the custom properties structure.
Make displays the item label to users in the scenario table header.
The description of the custom property structure item. You can review the item description in the Scenario properties tab in the Organization dashboard.
The data type of the custom property structure item. The data types dropdown
and multiselect
allow you to specify available options for the item data.
The options available to users when filling in the item data. For the data types dropdown
and multiselect
, fill in an object like {"options":[{"value": "Marketing"}, {"value": "Sales"}]}
.
You can omit the options
parameter for the rest of the data types.
Set to true
in order to make a structure item required when adding custom property data. Default value is false
.
Updates the specified item of a custom property structure. Specify the attributes you want to update in the request body.
You cannot update the item name
and type
.
You can get the item ID with an API call to list custom property structure items.
When you want to update the options
of a multiselect
or dropdown
item, specify all the options for the property. The new set of options replaces the current options.
The ID of the custom property structure item. Get the item ID with the API call to list custom property structure items.
2
Make displays the item label to users in the scenario table header.
The description of the custom property structure item. You can review the item description in the Scenario properties tab in the Organization dashboard.
The options available to users when filling in the item data. For the data types dropdown
and multiselect
, fill in an object like {"options":[{"value": "Marketing"}, {"value": "Sales"}]}
.
You can omit the options
parameter for the rest of the data types.
Set to true
if you require to fill in data to the structure item when adding custom property data. Default value is false
.