C
C#8mo ago
Bamblobski

Graph API Outlook feature

Hello I'm working on adding a feature to our "On-Call Planner" app and need some advice. 1.Assigned on-call days to appear as all-day events in the personal Outlook calendars of assigned employees. 2.Calendar entries to update with any scheduling changes within 15 minutes. do i have to make a service?
18 Replies
Tvde1
Tvde18mo ago
What exactly is your question?
Bamblobski
BamblobskiOP8mo ago
if im using Graph API is it a good idee if i make a service or is there a other "better" way should is just do a method?
Tvde1
Tvde18mo ago
I know graph API is Microsoft's way of interacting with e.g. AAD/Entra information. I don't know if this works for Outlook as well. Are you asking whether there is such a thing for outlook?
Omnissiah
Omnissiah8mo ago
if by service you mean a class, i would say yes
Bamblobski
BamblobskiOP8mo ago
Use the Outlook mail REST API - Microsoft Graph v1.0
Microsoft Graph lets your app get authorized access to a user's Outlook mail data in a personal or organization account.
Bamblobski
BamblobskiOP8mo ago
("where to beginn")
Tvde1
Tvde18mo ago
is this a school project or for a company? is there a mentor available? In this discord, we are really good at answering specific questions about C# or libraries. Questions like "where to begin" is best suited for a mentor or a senior
Bamblobski
BamblobskiOP8mo ago
school/company (hard to say xd) there is not rlly a mentor
Omnissiah
Omnissiah8mo ago
so it's a stage project (google translates it as apprenticeship?)
Bamblobski
BamblobskiOP8mo ago
You could say so, yes
Omnissiah
Omnissiah8mo ago
have you used graph api before? have you used graph explorer?
Bamblobski
BamblobskiOP8mo ago
not really, i had to update somthing for Graph API no is postman the same thing, bc i used postman (it was a documentation)
Omnissiah
Omnissiah8mo ago
sort of, graph explorer is the microsoft tool for this it gives you a bunch of hints when using graph apis i have used apis for sharepiont and some other stuff, sadly i don't know if their client has the outlook part
Bamblobski
BamblobskiOP8mo ago
i will try it
Omnissiah
Omnissiah8mo ago
good luck (edit i see there are some outlook and calendar api, but not much stuff)
Bamblobski
BamblobskiOP8mo ago
yeah, but for "send" and "update" there are things and i also found somthing intresting https://learn.microsoft.com/en-us/aspnet/core/fundamentals/host/hosted-services?view=aspnetcore-8.0&tabs=visual-studio (not sure if i need this, still reading)
Background tasks with hosted services in ASP.NET Core
Learn how to implement background tasks with hosted services in ASP.NET Core.
Bamblobski
BamblobskiOP8mo ago
btw this is my Task:
Goals:
Expand the web application
- Employees assigned to on-call duty see the on-call days assigned to them in their personal Outlook calendar as a full-day appointment. The schedules made in the on-call planner appear as calendar entries in the corresponding employee's Outlook calendar.
- The calendar entries of all affected employees are updated after changes to the planning so that the planning in the application and in the personal calendars match. Shifts and deletions of schedules in the on-call planner are automatically transferred to Outlook.
- Changes to the planning in the on-call planner are transferred to Outlook within 15 minutes.
Goals:
Expand the web application
- Employees assigned to on-call duty see the on-call days assigned to them in their personal Outlook calendar as a full-day appointment. The schedules made in the on-call planner appear as calendar entries in the corresponding employee's Outlook calendar.
- The calendar entries of all affected employees are updated after changes to the planning so that the planning in the application and in the personal calendars match. Shifts and deletions of schedules in the on-call planner are automatically transferred to Outlook.
- Changes to the planning in the on-call planner are transferred to Outlook within 15 minutes.
Omnissiah
Omnissiah8mo ago
hosted service is a service that is automatically started from the framework (for example if you have to poll via graph api) if you just receive events then it depends (big if)
Want results from more Discord servers?
Add your server