Update an existing appointment via an http form post.
| Field | Max Length | Required | Notes |
|---|---|---|---|
| response_type | false | Default results will be returned in XML. Set this field value to json to return results in JSON format | |
| accountid | true | Must be numeric. Account ID for this account. Found in Settings > API Settings or for White Label CRM in the Admin control panel | |
| apikey | true | API Key for this account. Found in Settings > API Settings or for White Label CRM in the Admin control panel | |
| appointmentid | true | ID of appointment to update | |
| identifymethod | 1 | false | Method to identify and update the contact associated with this appointment. Values: 0 : Remove contact association (set to no contact) 1 : By contactid (It's recommended that you use this method and store our contactid in your system) 2 : By primary email on file. If there are multiple matches for the email address, we will choose the first one (by add date) 3: By email or other email on file. If there are multiple matches for the email address, we will choose the first one (by add date) |
| identifyvalue | 75 | false | Value changes based on identifymethod. Must be integer if contactid (method 1), otherwise must be an email address on file (methods 2 & 3). Not required if identifymethod is 0. |
| teammemberid | false | Must be numeric. Team Member ID to assign this appointment to. | |
| description | 50 | false | Short description of the appointment |
| date | false | US Date format mm/dd/yyyy | |
| starttime | false | Start time in 15 minute increments Examples: 9:00 AM, 2:15 PM Must end in :00, :15, :30, or :45 | |
| endtime | false | End time in 15 minute increments Examples: 10:00 AM, 3:30 PM Must end in :00, :15, :30, or :45 Must be after starttime | |
| details | false | Detailed notes about the appointment | |
| color | false | Color code (numeric 0-11): 0: No Color (removes color) 1-11: Various colors |