Add Members to a Profile

Add members (person or group) to a profile in the Administration module. The limit is 500 members per call.

 

URL

{RMUrl}/api/admin/profiles/<profile_id>/members

 

REQUEST METHOD

POST

 

URL PARAMETER

profile_id:  ID of the profile to which members will be included.

 

FORM CONTENT

Members (Required): List of the members to be added to the profile by ID.

 

FORM CONTENT EXAMPLE

{

  "Members": [ 

         { "Id": "7B06EE69-12D6-11E5-80D9-00155D00020D" },  

         { "Id": "CC109461-15F2-11E5-80D9-00155D00020D" }]

}

 

SUCCESS RESPONSE

HTTP status code 200: Response content example:

{

  "Items": [

    {

      "Id": "E7C2580F-C94F-4496-B652-208734C38C8C",

      "Result": {

        "ValidationCode": "Added",

        "Message": "The person or group \"Person 1\" was added to the profile.",

        "Success": true

      }

    },

{

      "Id": "A7DD5566-3057-49C5-9353-CE0CBD8D115C",

      "Result": {

        "ValidationCode": "Added",

        "Message": "The person or group \"Person 2\" was added to the profile.",

        "Success": true

      }

    }

  ]

}