Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 general forum

How to get full calendar data through API

(0) ShareShare
ReportReport
Posted on by

I want to get full calendar data like available timings, time off's, intervals of a resource. I found calendar rules entity but its doesn't have post, get, patch or delete. Then how can i get this data out in JSON through API?

  • LeoAlt Profile Picture
    16,331 Moderator on at
    RE: How to get full calendar data through API

    Hi Com,

    Here is a similar requirement and had been resolved.

    According to Andrew's answer, using "calendar_calendar_rules" function to query calendar data would be available.

    https://community.dynamics.com/crm/f/117/t/232816

    I tried this method to query "name" and "description" and here is my result.

    WeChat-Screenshot_5F00_20181204140224.png

    Using "retrieveMultipleRecords" on Calendar could get all data of Calendar, such as "name", "description" and "calendarid".

    For more information about messages for the Calendar entity, you could refer to this link.

    https://docs.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/gg309491(v=crm.8)

    You could also refer to the Microsoft SDK of Web API for Calendar Rules.

    https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/entities/calendar

    Hope it helps.

    Best Regards

    Leo

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Dynamics 365 general forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans