locked
Appointment Booking RRS feed

  • Question

  • Hi everybody,

    I'm trying to create an appointment from code. I need to schedule the appointment as soon as possible (within my working hours).

    I understand that BookRequest class validates only the start/end hour. Is there a way to schedule the app with C#?

    Thank you.

    Tuesday, May 15, 2012 10:05 AM

All replies

  • Hi,

    Yes, it is possible you can try it using SDK.


    Thanks & Regards, MS CRM Consultant, V.Surya.

    Tuesday, May 15, 2012 1:35 PM
    Answerer
  • Thank you Surya. Can you suggest me the class or the method from SDK documentation?
    Tuesday, May 15, 2012 1:43 PM
  • Jason,

    What you can do is to still use the BookRequest class but you need define rules in the calendar and resource availability to suit your business hours.  These rules and resource availability will get validated by the BookRequest class when an appointment is booked.

    Please have a look at this link for details.

    http://msdn.microsoft.com/en-us/library/gg334403.aspx

    I hope this helps. If my response answered your question, please mark the response as an answer and also vote as helpful.


    Dimaz Pramudya - CRM Developer - CSG (Melbourne) www.xrmbits.com http://twitter.com/xrmbits

    Tuesday, May 15, 2012 11:01 PM
  • Thank you for your answer. I'm trying to auto-schedule the appointment, not only validating it.

    I hope that there is a class that suggests me the first available  time.

    Wednesday, May 16, 2012 8:04 AM