implementation 'calendly.calendly:calendly:0.7.0'
package hello.world;
import calendly.calendly.SDK;
import calendly.calendly.models.shared.Security;
import calendly.calendly.models.operations.ListScheduledEventsStatusEnum;
import calendly.calendly.models.operations.ListScheduledEventsRequest;
import calendly.calendly.models.operations.ListScheduledEventsResponse;
public class Application {
public static void main(String[] args) {
try {
SDK sdk = SDK.builder()
.setSecurity(new Security() {{
oauth2 = "Bearer YOUR_ACCESS_TOKEN_HERE";
}})
.build();
ListScheduledEventsRequest req = new ListScheduledEventsRequest() {{
count = 5488.14;
inviteeEmail = "[email protected]";
maxStartTime = "provident";
minStartTime = "distinctio";
organization = "https://api.calendly.com/organizations/EBHAAFHDCAEQTSEZ";
pageToken = "quibusdam";
sort = "unde";
status = "canceled";
user = "https://api.calendly.com/users/EBHAAFHDCAEQTSEZ";
}}
ListScheduledEventsResponse res = sdk.scheduledEvents.list(req);
if (res.listScheduledEvents200ApplicationJSONObject.isPresent()) {
// handle response
}
} catch (Exception e) {
// handle exception
}
Available Resources and Operations
list
- List activity log entries
get
- Get User Availability Schedule
getAvailability
- List User Availability Schedules
getBusyTimes
- List User Busy Times
createDeletionEvent
- Delete Scheduled Event Data
deleteInviteeData
- Delete Invitee Data
get
- Get Event Type
getAvailableTimes
- List Event Type Available Times
list
- List User's Event Types
deleteMemberships
- Remove User from Organization
getInvitations
- Get Organization Invitation
inviteUser
- Invite User to Organization
listInvitations
- List Organization Invitations
listMemberships
- List Organization Memberships
revokeInvite
- Revoke User's Organization Invitation
getSubmissions
- List Routing Form Submissions
getSubmissionsByUuid
- Get Routing Form Submission
getByUuid
- Get Routing Form
list
- List Routing Forms
cancel
- Cancel Event
cancel
- Cancel Event
cancel
- Cancel Event
createNoShow
- Create Invitee No Show
getEventByUuid
- Get Event
getInvitees
- List Event Invitees
getInviteesByUuid
- Get Event Invitee
getNoShow
- Get Invitee No Show
list
- List Events
unmarkNoShow
- Delete Invitee No Show
create
- Create Single-Use Scheduling Link
get
- Get user
getMemberships
- Get Organization Membership
me
- Get current user
create
- Create Webhook Subscription
delete
- Delete Webhook Subscription
get
- Get Webhook Subscription
list
- List Webhook Subscriptions