v1
latestOpenAPI 3.0.02026-07-24226294602.4 KBGet Lead Bookings
Get a list of Appointment Bookings for a Lead.
Path parameters
Unique Lead ID.
Query parameters
Specifies the attribute and direction to sort the returned list by. By default, lists are sorted by ID in ascending order. Prefix the sort string with "desc_" to sort in descending order (Ex. "sort=desc_snake_cased_attribute_name").Default order is ascending. Default sort attribute is Id. Specify desc_ to sort descending format: "sort=desc_snake_cased_attribute_name" OR "sort=snake_cased_attribute_name" ex. sort=desc_updated_on
Specifies the page of records to be returned. Defaults to 1.
Number of records to return per page. Maximum and default are 100 records.
Headers
A valid API key. If you don't have one, please request one through the Web Integrations screen.
Response
List of Appointment Bookings.
Example response
{
"lead_appointment_bookings": [
{
"booking_id": 1234567891234567,
"lead_id": 1234567891234567,
"appointment_id": 1234567891234567,
"utc_appointment_start_datetime": "2014-12-31T23:59:59.938Z",
"utc_appointment_end_datetime": "2014-12-31T23:59:59.938Z",
"local_appointment_start_datetime": "2014-12-31T23:59:59.938Z",
"local_appointment_end_datetime": "2014-12-31T23:59:59.938Z",
"location_id": 1234567891234567,
"booking_status_id": 1234567891234567,
"created": {
"created_by_id": 1234567891234567,
"created_on_datetime": "2014-12-31T23:59:59.938Z"
},
"updated": {
"updated_by_id": 1234567891234567,
"updated_on_datetime": "2014-12-31T23:59:59.938Z"
},
"membership_id": 1234567891234567,
"cancelled": {
"cancelled_by_id": 1234567891234567,
"cancelled_on_datetime": "2014-12-31T23:59:59.938Z"
}
}
]
}