CustomPropertyValues
Entity - Custom property value
Verb | Request | Notes | Permissions required |
---|---|---|---|
GET - for property by id | /Consumer/CustomPropertyValues /Property/{propertyId} | Gets list of all available custom property values for a property by its id | Following product pack related permissions
Following custom property related permission
Returns Unauthorized (401) if user does not have the required permissions. |
GET - individual property value by its id | /Consumer/CustomPropertyValues /Id/{Id} | Gets an individual custom property value by id | Following product pack related permissions
Following custom property related permission
Returns Unauthorized (401) if user does not have the required permissions. |
POST | /Consumer/CustomPropertyValues | Creates an custom property value. Example Request { "Value": "Marketing", "PropertyId":1 } | Following custom property related permission
Returns Unauthorized (401) if user does not have the required permissions. |
POST | /Consumer/CustomPropertyValues/Property/{propertyId}/ReplaceValues | Minimum API version 4.0 Replaces all values for given custom property with the values passed in this call. propertyId (URI parameter) - id of the custom property whose values are to be replaced values (BODY parameter) - an array of strings that should become the new values for the custom property | Following custom property related permission
Returns Unauthorized (401) if user does not have the required permissions. |
DELETE | /Consumer/CustomPropertyValues/{id} | Deletes an custom property value by id | Following custom property related permission
Returns Unauthorized (401) if user does not have the required permissions. |
DELETE | /Consumer/CustomPropertyValues | Minimum API version 4.0 Deletes multiple custom property values. Body of the request should contain an array of custom property value ids. | Following custom property related permission
Returns Unauthorized (401) if user does not have the required permissions. |