"automatic": true
attribute ) when it has been created with audience_id
oraudience_conditions
param."system": true
attribute) are created automatically by system and are not editable{
"id": 6813,
"name": "Red",
"type": "Color",
"description": "Lorem ipsum dolor est",
"automatic": false,
"system": false,
"audience_id": 351,
"audience_conditions": [
{
"type": "array",
"field": "members_group_ids",
"value": [6813],
"operator": "any",
"condition_group": "member_properties"
}
],
"members_count": 42
}
Key | Type | Optional? | Description |
---|---|---|---|
id | integer | no | |
name | string | yes | |
type | string | yes | Types are not predefined. It's up to API client to define them. |
automatic | boolean | no | Is the group automatic? |
system | boolean | no | Is the group system group? |
description | string | yes | |
members_count | integer | yes | |
audience_id | integer | no | ID of related audience |
audience_conditions | Object | no | Conditions of related audience - See DMP docs |
{
"name": "Red",
"type": "Color",
"description": "Lorem ipsum dolor est",
"system": false,
"audience_id": 351,
"audience_conditions": [
{
"type": "array",
"field": "members_group_ids",
"value": [6813],
"operator": "any",
"condition_group": "member_properties"
}
]
}
Key | Type | Optional? | Description |
---|---|---|---|
name | string | yes | |
type | string | yes | Types are not predefined. It's up to API client to define them. |
system | boolean | no | Is the group system group? |
description | string | yes | |
audience_id | integer | no | ID of related audience |
audience_conditions | Object | no | Conditions of related audience |
{
"identifier_type": "email",
"identifiers": ["foo@bar.bz", "bar@foo.bz", ... ]
}
Key | Type | Required | Description |
---|---|---|---|
identifier_type | string | yes | type of member identifier - email, msisdn, id |
identifiers | array | yes | array of emails, msisdn, id - only one type a time |