Difference between revisions of "API:Appointment:End"
(Created page with "== API » Appointment End == '''URL:''' <nowiki>https://app.callproof.com/api/appts/end/</nowiki> '''Method:''' POST '''Required Fields:''' * '''''api_key[key]''''...") |
(No difference)
|
Latest revision as of 13:30, 4 August 2017
API » Appointment End
URL: https://app.callproof.com/api/appts/end/
Method: POST
Required Fields:
- api_key[key] - API Key
- api_key[secret] - API Key Secret
- end_appointment_data[who] - Who did you meet with? ('contact', 'else')
- end_appointment_data[contact_type] - Contact custom contact type (https://app.callproof.com/contact_types/)
Optional Fields:
- end_appointment_data[first_name] - Contact first name
- end_appointment_data[last_name] - Contact last name
- end_appointment_data[email] - Contact email address (e.g. fred@aol.com)
- end_appointment_data[title] - Contact title (e.g. CEO)
- end_appointment_data[account] - Contact account number (e.g. 123456)
- end_appointment_data[notes] - Notes for contact and appointment
- end_appointment_data[phone_number] - Contact phone number
- end_appointment_data[contact_phone_id] - Contact phone id https://app.callproof.com/api/contact_phones/updated/
- end_appointment_data[latitude] - Latitude for appointment
- end_appointment_data[longitude] - Longitude for appointment
- end_appointment_data[followup] - Set to '1' if Followup else '0'
- end_appointment_data[followup_datetime] - Followup date time (e.g. '2014-08-10 12:34:56')
Data Returned:
- results - Appointment details
- errors - Array of errors produced by the request
- code - HTTP request status