cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
theeheng
Regular Visitor

Differences between BookRequest and CreateRequest in Microsoft.Crm.Sdk.Messages

Hi all, i'm new to Dataverse Web API and Organisation Service. I'm just wondering what is the difference between sending a BookRequest and CreateRequest when it comes to creating a new appointment / recurring appointment. From reading the microsoft documentation microsoft.xrm.sdk.messages.createrequest , it looks like the CreateRequest support many other entities whereas BookRequest is mainly for : appointment, recurringappointmentmaster and serviceappointment. Does anyone know more about the differences between these two messages?

 

cheers

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @theeheng,

 

If you user BOOKINGREQUEST you can see the EVENT AS BOOK

 

rampprakash_1-1639153429926.png

 

If you are using Create or Update Operation then the event will be CREATE or UPDATE

 

rampprakash_2-1639153470326.png

 

 

Event will show as BOOK or Create Event based on the Message which you are passing

 

Please mark as Answer if it is helpful and provide Kudos


Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
Blog : https://microsoftcrmtechie.blogspot.com

View solution in original post

6 REPLIES 6
rampprakash
Super User
Super User

Hello @theeheng,

 

Let me clarify here

 

CreateRequest --> If you want to Create a Record with Any type of field in OOB Entity or Custom Entity you are good to go with Create Request.

 

BookingRequest --> Time Depends because we are have some dates based on the dates we are creating a request so we are using the BookingRequest only in appointment, recurringappointmentmaster and serviceappointment.

 

Hope it helps let me know if you have any other queries.

 

Please mark as Answer if it is helpful and provide Kudos


Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
Blog : https://microsoftcrmtechie.blogspot.com

I did a test using Microsoft.Xrm.Sdk to send both BookingRequest and CreateRequest messages with single appointment object. When I check the data inserted into appointment and acitivitypointer entity, both appointment created via BookingRequest and CreateRequest  look the same. Thats why I'm trying to find out the difference and which one I should use when creating appointment.

bipinshan
Solution Sage
Solution Sage

Hi,

 

One basic differenct is Book Request can only be used with Appointment, recurringappointmentmaster and serviceappointment entity. However CreateRequest can be used with any Entity request be it Account, Contact and any custom entities.

 

Please mark my answer verified if this is helpful!

Regards,

Bipin Kumar

Follow my Blog: https://xrmdynamicscrm.wordpress.com/

Hello @theeheng,

 

If you user BOOKINGREQUEST you can see the EVENT AS BOOK

 

rampprakash_1-1639153429926.png

 

If you are using Create or Update Operation then the event will be CREATE or UPDATE

 

rampprakash_2-1639153470326.png

 

 

Event will show as BOOK or Create Event based on the Message which you are passing

 

Please mark as Answer if it is helpful and provide Kudos


Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
Blog : https://microsoftcrmtechie.blogspot.com

hi @rampprakash , thanks for the clarification thats very helpful. I'm completely new to all this, may I know how I can view the list of event as shown on your screenshot? is that from the XrmToolbox? or on Dynamic 365?

 

cheers

Heng

 

Hello @theeheng,

 

You can see this in AUDIT log

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,123)