Bookings
Create Lead Booking
Books an appointment for a Lead.
post/appointments/bookings/leads/{lead_id}
Request
- Base URLhttps://api.wodify.com/v1
- URLhttps://api.wodify.com/v1/appointments/bookings/leads/{lead_id}
- Authnone declared. Required headers: x-api-key
Path parameters
lead_idinteger required
Id of the Lead to book an appointment
Headers
x-api-keystring required
A valid API key. If you don't have one, please request one through the Automations → Integrations page.
Request body
Example request
{
"location_id": 1234567891234567,
"service_id": 1234567891234567,
"provider_id": 1234567891234567,
"pay_rate_id": 1234567891234567,
"start_date": "2014-12-31",
"start_time": "23:59:59",
"service_duration_id": 1234567891234567
}Response
Lead Booking
Example response
{
"lead_appointment_booking": {
"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"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.