Company 创建/更新事件
当 Mautic 创建或更新一个 Company 时触发。
事件类型
mautic.company_post_save
事件属性
Key |
Type |
Description |
|---|---|---|
|
object |
|
|
string |
事件发生的日期和时间,格式为 ISO 8601。 |
Company 属性
Key |
Type |
Description |
|---|---|---|
|
int |
Company 的 ID。 |
|
boolean |
始终为 true。 |
|
string |
Company 创建的日期和时间,格式为 ISO 8601。 |
|
int|null |
创建 Company 的用户的 ID,如果未知则为 null。 |
|
string|null |
创建 Company 的用户的姓名。 |
|
string|null |
Company 最后修改的日期和时间,格式为 ISO 8601,如果未修改则为 null。 |
|
int|null |
最后修改 Company 的用户的 ID,如果未知则为 null。例如,访客跟踪。 |
|
string|null |
如果适用,最后修改 Company 的用户的姓名。否则为 null。 |
|
string |
Company 的名称。 |
|
string|null |
Company 的地址第一行。 |
|
string|null |
Company 的地址第二行。 |
|
string|null |
Company 的城市。 |
|
string |
Company 的州/省。 |
|
string|null |
Company 的邮政编码。 |
|
string|null |
Company 的国家/地区。 |
|
string|null |
Company 的电话号码。 |
|
string|null |
Company 的网站。 |
|
string|null |
Company 的行业。 |
|
string|null |
Company 的行为评分,类似于 Contact Points。 |
|
object|array |
Mautic 会根据 Field Groups 将字段分组,Field Groups 键为 core、social、personal 和 professional 中的一个。每个 fieldGroup 包含一个以 Fields 为键的对象,Fields 的键是该字段的 API 名称。请参阅 自定义字段对象 以获取每个字段的属性。注意,如果存在 Fields,则此值为一个对象。否则,Mautic 会设置一个空数组。例如:$companyCity = $company[‘fields’][‘core’][‘city’][‘value’];. |