POST {authenticationKey}/{version}/Accounts/EffectivePermissions

Gets back the effective permissions for a collection of users.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
authenticationKey

string

None.

version

string

None.

Body Parameters

Collection of globally unique identifier

Request Formats

application/json, text/json

Sample:
[
  "203a3ece-cf9e-43e0-9bb4-d5563dd31906",
  "7a4ffaca-cc6e-4066-8699-a73290265e7e"
]

text/html

Sample:
["203a3ece-cf9e-43e0-9bb4-d5563dd31906","7a4ffaca-cc6e-4066-8699-a73290265e7e"]

application/xml, text/xml

Sample:
<ArrayOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <guid>203a3ece-cf9e-43e0-9bb4-d5563dd31906</guid>
  <guid>7a4ffaca-cc6e-4066-8699-a73290265e7e</guid>
</ArrayOfguid>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

SystemUserModel

Dictionary of globally unique identifier [key] and Collection of OutputAssignedPermissionModel [value]

Response Formats

application/json, text/json

Sample:
{
  "5f3eaa02-7211-46c6-ab73-4ab55d71f2aa": [
    {
      "DisplayName": "sample string 1",
      "Name": "sample string 2",
      "Tag": "sample string 3"
    },
    {
      "DisplayName": "sample string 1",
      "Name": "sample string 2",
      "Tag": "sample string 3"
    }
  ],
  "2ad18c8b-2e6d-4cac-8afd-36a47fd01dbf": [
    {
      "DisplayName": "sample string 1",
      "Name": "sample string 2",
      "Tag": "sample string 3"
    },
    {
      "DisplayName": "sample string 1",
      "Name": "sample string 2",
      "Tag": "sample string 3"
    }
  ]
}

text/html

Sample:
{"5f3eaa02-7211-46c6-ab73-4ab55d71f2aa":[{"DisplayName":"sample string 1","Name":"sample string 2","Tag":"sample string 3"},{"DisplayName":"sample string 1","Name":"sample string 2","Tag":"sample string 3"}],"2ad18c8b-2e6d-4cac-8afd-36a47fd01dbf":[{"DisplayName":"sample string 1","Name":"sample string 2","Tag":"sample string 3"},{"DisplayName":"sample string 1","Name":"sample string 2","Tag":"sample string 3"}]}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfguidArrayOfOutputAssignedPermissionModel7p07gKc8 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfguidArrayOfOutputAssignedPermissionModel7p07gKc8>
    <Key>5f3eaa02-7211-46c6-ab73-4ab55d71f2aa</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.Membership">
      <d3p1:OutputAssignedPermissionModel>
        <d3p1:Name>sample string 2</d3p1:Name>
        <d3p1:Tag>sample string 3</d3p1:Tag>
        <d3p1:DisplayName>sample string 1</d3p1:DisplayName>
      </d3p1:OutputAssignedPermissionModel>
      <d3p1:OutputAssignedPermissionModel>
        <d3p1:Name>sample string 2</d3p1:Name>
        <d3p1:Tag>sample string 3</d3p1:Tag>
        <d3p1:DisplayName>sample string 1</d3p1:DisplayName>
      </d3p1:OutputAssignedPermissionModel>
    </Value>
  </KeyValueOfguidArrayOfOutputAssignedPermissionModel7p07gKc8>
  <KeyValueOfguidArrayOfOutputAssignedPermissionModel7p07gKc8>
    <Key>2ad18c8b-2e6d-4cac-8afd-36a47fd01dbf</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.Membership">
      <d3p1:OutputAssignedPermissionModel>
        <d3p1:Name>sample string 2</d3p1:Name>
        <d3p1:Tag>sample string 3</d3p1:Tag>
        <d3p1:DisplayName>sample string 1</d3p1:DisplayName>
      </d3p1:OutputAssignedPermissionModel>
      <d3p1:OutputAssignedPermissionModel>
        <d3p1:Name>sample string 2</d3p1:Name>
        <d3p1:Tag>sample string 3</d3p1:Tag>
        <d3p1:DisplayName>sample string 1</d3p1:DisplayName>
      </d3p1:OutputAssignedPermissionModel>
    </Value>
  </KeyValueOfguidArrayOfOutputAssignedPermissionModel7p07gKc8>
</ArrayOfKeyValueOfguidArrayOfOutputAssignedPermissionModel7p07gKc8>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.