Skip to main content

Appointments

EntityActivityActivity.Appointment

Appointments represent scheduled meetings and calendar entries in your CRM. They have a defined start and end time, an owner, and can be linked to relationships and contacts.

Use the Activity_Appointment endpoint to manage appointments. Appointments inherit all fields from Activity and add scheduling-specific fields like StartDate, EndDate, Owner, and Description.

Endpoints

List Appointments

GET/v1/odata/Activity_Appointment

Single Appointment

GET/v1/odata/Activity_Appointment({id})

With expanded relations:

GET/v1/odata/Activity_Appointment({id})?$expand=Owner,Phase

Create Appointment

POST/v1/odata/Activity_Appointment

Update Appointment

PUT/v1/odata/Activity_Appointment({id})

Delete Appointment

DELETE/v1/odata/Activity_Appointment({id})

Fields

Appointment Fields

FieldTypeDescription
DescriptionStringAppointment description
StartDateDateTimeOffsetStart date and time
EndDateDateTimeOffsetEnd date and time

Inherited Fields (from Activity)

See Activity Fields for all inherited fields.

Relationships

RelationshipTarget EntityCardinalityDescription
OwnerRelationship.Person.Contact.EmployeeN:1Appointment owner
RelationshipRelationshipN:1Linked relation
ContactRelation.Person.ContactN:1Contact person
PhaseDatastore.Phase.ActivityAppointmentN:1Appointment phase
LinkedActivitiesActivity1:NLinked activities

Expanding Relationships

GET/v1/odata/Activity_Appointment({id})?$expand=Owner
GET/v1/odata/Activity_Appointment({id})/Owner

Filtering Examples

GET/v1/odata/Activity_Appointment?$filter=StartDate gt {StartDate}&$top={top}
GET/v1/odata/Activity_Appointment?$filter=EndDate lt {EndDate}&$top={top}
GET/v1/odata/Activity_Appointment?$filter=contains(Description, '{Description}')&$top={top}
GET/v1/odata/Activity_Appointment?$filter=IsClosed eq {IsClosed}&$top={top}