MicrosoftGraph.Users.Calendar (Microsoft Graph API Client v0.1.0)
https://docs.microsoft.com/en-us/graph/api/resources/calendar?view=graph-rest-1.0
Link to this section Summary
Link to this section Functions
Link to this function
get_schedule(client, id, options \\ [])
https://docs.microsoft.com/en-us/graph/api/calendar-getschedule?view=graph-rest-1.0&tabs=http
examples
Examples
# Params are required for this endpoint
iex> MicrosoftGraph.Users.Calendar.get_schedule(client, "user_id")
{:error, response}
iex> MicrosoftGraph.Users.Calendar.get_schedule(client, "user_id", params: %{
schedules: ["user_email"],
startTime: %{
dateTime: NaiveDateTime.utc_now(),
timeZone: "UTC"
},
endTime: %{
dateTime: NaiveDateTime.utc_now() |> NaiveDateTime.add(3600, :second),
timeZone: "UTC"
},
availabilityViewInterval: 15
})
{:ok, response}