Below is the data that is being pinged by our api system when a lead cancels a calendar.
Parameters | Values |
lead | {
"id": integer,
"first_name": string,
"middle_name": string,
"last_name": string,
"last_name2": string,
"email": string,
"phone_country_code": string,
"phone": string,
"company": string,
"address": string,
"city": string,
"zip": string,
"state": string,
"country": string,
"date_joined": string (YYYY-mm-dd hh:mm:ss),
"website": string,
"ip": string,
"ip_country": string,
"facebook": string,
"twitter": string,
"linkedin": string,
"sales_tax_id": string,
"lead_picture": string,
"source": string,
"score": integer,
"referring_id": integer,
"blacklisted": integer,
"source_id": integer,
"gdpr_lead_status": integer,
"gdpr_lead_status_date": string,
"gdpr_lead_status_ip": string,
"gdpr_lead_communications": integer,
"lead_preferred_time_zone": string,
"custom_fields": [
{
"field_id":integer,
"field_identifier":string,
"field_type":string,
// In the case of input_field and text_area this will be string, else it will have the following structure:
"field_value":[
{
"option_id":integer,
"option_value":string,
},
{
"option_id":integer,
"option_value":string,
}
]
}
]
} |
action |
|
action_details | "calendar":{
"calendar_id":integer,
"calendar_name":string,
"class_id":integer,
"class_name":string,
"hosts":[
{
"host_first_name":"host",
"host_last_name":"host",
"host_email_address":"[email protected]"
},
{
"host_first_name":"co-host",
"host_last_name":"co-host",
"host_email_address":"[email protected]"
}
],
"vendor_timezone":"America/Detroit",
"calendar_subscription_id":123,
"events":[
{
"event_date":"2020-12-11 09:00",
"event_duration":60
},
{
"event_date":"2020-12-14 09:00",
"event_duration":120
}
],
"calendar_subscription_status":"Cancelled"
}
|
