Custom properties

The following endpoints allow you to create and list custom property structures.

To use custom properties, you have to:

  1. Create a custom properties structure.

  2. Create custom properties structure items.

  3. Fill the items with data.

Read more about custom properties in the custom properties feature documentationarrow-up-right.

List custom property structures

get
/custom-property-structures

Gets a list of custom properties structures in the organization.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Query parameters
organizationIdintegerRequired

The ID of the organization.

Example: 57
Responses
get
/custom-property-structures
200

Successful response

Create a custom property structure

post
/custom-property-structures

Creates a custom properties structure. You can have only one custom properties structure for each combination of associatedType, belongerTypeand belongerId values.

For example, you can create only one custom properties structure for scenarios in a specific organization.

To create a structure for custom scenario properties, fill in the request body:

  • associatedType: scenario

  • belongerType: organization

Check out the example API call.

To define the custom properties structure items, use the API call to create custom properties structure item.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Body
associatedTypestringRequired

The type of the entity which uses the custom properties structure. Fill in scenario to create custom scenario properties structure.

belongerTypestringRequired

The type of the entity that owns the custom properties structure. Fill in organization to create custom scenario properties structure.

belongerIdintegerRequired

The ID of the entity that owns the custom properties structure.

Responses
post
/custom-property-structures
200

Successful response

Last updated