2 Replies Latest reply on Dec 13, 2016 1:59 AM by irimierazvan

    Adding multiple users to a Group through API

    irimierazvan

      Hello,
      I want to add a group of list of members to a group using an API REST Client, however i only manage to get the initial user added and the subsequent users listed are not added.
      Below is the actual Raw Payload (Application/Json) i POST:

      URL:
      https://xxx.xxx/api/core/v3/members/places/62917

       

      Raw Payload:
      {       "person" : "
      https://xxx.xxx/api/core/v3/people/11864",      
             "state" : "member" }
      , {   "person" : "
      https://xxx.xxx/api/core/v3/people/15799 ",      
      "state" : "member" }   

      I know i need to create an array, however, i don;t know how to encompass the Person and State fields within the array. If i run the payload as listed above, only user 15799 will be added all the other ones above it are not added.

      Thank you in advance,
      Razvan.