Create/Update multiple contacts/users via REST API for a meeting

I am trying to add contacts/users to a created meeting as follows

POST call to https://demo.sugarcrm.com/rest/v11/Meetings/<record_id>/link/
body

{ "link_name": "contacts",
  "ids": [{"id": "<id of contact>", "accept_status_meetings": "accepted"}, {"id": "<id of    contact>","accept_status_meetings": "declined"}]
}

NOTE: In the above example I didn't add users to link with existing meeting. I have no idea how to add both users and contacts with its "accept_status_meetings"


Updated: Only ids of the contacts gets associated to the  particular meeting without meetings status.


Unable to add with multiple 
contacts and users with their accept_status_meetings. Any help is much appreciated! I've spent hours trying to figure this out. Thanks in advance for any insight / direction on how to handle this.

Parents
  • There's an "invitees" collection field that's part of the Meeting record that you can use to add additional invitees/attendees to the meeting.  Collection fields are used when a relationship could have multiple modules (Users, Contacts, Leads, etc.) They behave a bit differently from standard relationships. 

    GET /Meetings/:record/collection/invitees

    A PUT/POST on that endpoint will allow you to update the list. You can check out the HTTP request behavior in the browser when you add meeting invitees on a Meeting in the Sugar UI to get some concrete examples.

    App Ecosystem @ SugarCRM

Reply
  • There's an "invitees" collection field that's part of the Meeting record that you can use to add additional invitees/attendees to the meeting.  Collection fields are used when a relationship could have multiple modules (Users, Contacts, Leads, etc.) They behave a bit differently from standard relationships. 

    GET /Meetings/:record/collection/invitees

    A PUT/POST on that endpoint will allow you to update the list. You can check out the HTTP request behavior in the browser when you add meeting invitees on a Meeting in the Sugar UI to get some concrete examples.

    App Ecosystem @ SugarCRM

Children
No Data