Meeting Attendees

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Patrick
    Member
    • Sep 2016
    • 46

    Meeting Attendees

    What happens if two users, change meeting attendees simultaneously?

    Let's describe it in this example.

    A meeting has Contact: A B C D E in the attendee list.

    two Users trying to add new contact to the attendee simultaneously.

    their editing operation will result in an array of IDs being posted to CRM server.
    UserA posted A B C D E X Y Z
    UserB posted A B C D E O P Q

    it seems that if two users happen to do it simultaneously. one of the user's update will be 'overwritten'.

    If it is true, then using API to update meeting attendees will face a risk of corrupted data. Imagine a thousand of leads trying to register to a meeting (a show ) at the same time.

  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    It depends on what you modify thru API - meeting or contact.
    if you modify contact IDs in meeting - the data will be overwritten (/api/v1/Meeting/{meetingId} -- in data "contactsIds":{"{contactId1}", "{contactId2}"}) (PUT)
    if you modify meeting IDs in contact - the data won't be overwritten (/api/v1/Contact/{contactId}/meetings -- in data "ids":{"{meetingId2}", "{meetingId2}"}) (POST)

    Comment

    • Patrick
      Member
      • Sep 2016
      • 46

      #3
      thank you Tanya. I'll try it accordingly.

      Comment

      Working...