- 07 Feb 2025
- 2 Minutes to read
- Print
- DarkLight
Update existing property definitions
- Updated on 07 Feb 2025
- 2 Minutes to read
- Print
- DarkLight
Update the configured property definition in the system
Description
The Bloxs user has the possibility to create custom properties which are shown in the published data in the third party system (e.g. rental website). An example would be if the user wants to add to the published data the property 'sunny hours per day'. This is standard not available in Bloxs. To include this in the published data, a custom published property needs to be inserted. This endpoint can be used to overwrite currently existing custom properties. The identifier for a property is the 'apiLabel'. The GET operation can be used to retrieve the apiLabel of the properties.
Use Case
The Bloxs user has utilized the PropertyDefinitions/GET operation to retrieve the full list of property definitions. The user notices there is an error in one of the property definitions. With this endpoint the user can overwrite the custom property.
Request fields
The request contains the following fields:
Field | Description |
---|---|
apiLabel | The unique identifier of the custom property. |
labelName | The name which has been assigned to the custom property. |
controlType | The control type of the custom property. For example, it can only contain numbers or it is a date field. |
order | Order in which the fields are displayed within the screen in Bloxs. This can also help arrange the fields in the correct order on your website. |
options.value | When the ControlType is Dropdown, then these are the configured options for the dropdown. Value contains the name of the option in the dropdown. |
options.order | When the ControlType is Dropdown, then these are the configured options for the dropdown. Order contains the order in which the option is shown in the dropdown. |
Please enter a valid token
The API Key of the property, this is the key used to identify the Object property
The name of the property
0 = TextBox
1 = NumberBox
2 = DateBox
3 = Dropdown
4 = RichText
5 = AmountBox
6 = SquareMeterBox
7 = MultiSelectDropdown
When the ControlType is Dropdown, then these are the configured options for the Dropdown
The property definition was updated
The API Key of the property, this is the key used to identify the Object property
The name of the property
0 = TextBox
1 = NumberBox
2 = DateBox
3 = Dropdown
4 = RichText
5 = AmountBox
6 = SquareMeterBox
7 = MultiSelectDropdown
When the ControlType is Dropdown, then these are the configured options for the Dropdown
The property definition data has validation issues