function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Arek S.Arek S. 

Questions about Calendar access via SOAP (or REST)

We're going to be putting together a website that allows clients to schedule appointements and we'd like these appointments to go directly into our SalesForce calendar.  We are in the exploratory stage of this project and I'm looking for feedback on what would be the best approach for this.


I'm assuming that SOAP (and/or REST) allows inserting an Event object into SalesForce.  Does either API also allow running SOQL queries to find Event objects that fall within a specific time slot (ie: check if a certain timeslot is available or already booked)?


If anyone has any examples on how to do this that would be much appreciated, but a quick answer to my questions will do too.  Btw, I've done lots of APEX development just haven't touched SOAP or REST before.




Yes, you can use SOAP or REST to query for existing events in a given time slot and create new events in; that's the purpose for those APIs.