SetObjectProperty
Sets the value of a property on a specified API object.
SetObjectProperty(1, 2, 3)
Ordinal | Type | Description |
---|---|---|
1 | String | Required. The name of the object to set a property on. |
2 | String | Required. The name of the property to specify a value for. |
3 | String | Required. The value to assign to the property. |
This code example uses the Platform.Function.InvokeRetrieve function to perform an API call. The example uses the Platform.Function.SetObjectProperty
function to specify several properties in the API request, such as the type of object to retrieve and the values of a filter that’s applied to the request. In this case, the filter is configured so that the request retrieves all emails that are associated with a specific account ID.
The response includes the status and ID of the request, as well as a list of all emails that matched the filter criteria.