GET api/user/privileges/{id}

Get account privileges group

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Account privileges identifier

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Matching Account privileges model

AccountPrivileges
NameDescriptionTypeAdditional information
PrivilegeID

globally unique identifier

None.

CustomerID

globally unique identifier

None.

GroupName

string

None.

GroupPrivileges

Collection of ControllerPermission

None.

RouteScope

Collection of string

None.

Fields

Collection of FieldPermission

None.

AccountsApplied

Number of account that these privileges apply to.

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "privilegeID": "eed66c36-b42b-476f-b388-72449c5daf6f",
  "customerID": "d976a11a-2cf3-4d5c-b7ca-be82b39ce15c",
  "groupName": "sample string 1",
  "groupPrivileges": [
    {
      "$id": "2",
      "name": "sample string 1",
      "allowDefault": true,
      "verbs": {
        "$id": "3",
        "sample string 1": true,
        "sample string 3": true
      },
      "actions": {
        "$id": "4",
        "sample string 1": true,
        "sample string 3": true
      }
    },
    {
      "$ref": "2"
    }
  ],
  "routeScope": [
    "sample string 1",
    "sample string 2"
  ],
  "fields": [
    {
      "$id": "5",
      "id": "a6fd974b-1447-4096-bda5-f6f70a0576fb",
      "privilegeGroupId": "7d262a97-eee1-477a-859a-2df529c5af21",
      "fieldName": "sample string 1",
      "permission": 2,
      "section": "sample string 3"
    },
    {
      "$ref": "5"
    }
  ],
  "accountsApplied": 1
}

application/xml, text/xml

Sample:
<AccountPrivileges xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.Tenancies.Accounts">
  <AccountsApplied>1</AccountsApplied>
  <CustomerID>d976a11a-2cf3-4d5c-b7ca-be82b39ce15c</CustomerID>
  <Fields xmlns:d2p1="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Products">
    <d2p1:FieldPermission>
      <d2p1:FieldName>sample string 1</d2p1:FieldName>
      <d2p1:ID>a6fd974b-1447-4096-bda5-f6f70a0576fb</d2p1:ID>
      <d2p1:Permission>2</d2p1:Permission>
      <d2p1:PrivilegeGroupId>7d262a97-eee1-477a-859a-2df529c5af21</d2p1:PrivilegeGroupId>
      <d2p1:Section>sample string 3</d2p1:Section>
    </d2p1:FieldPermission>
    <d2p1:FieldPermission>
      <d2p1:FieldName>sample string 1</d2p1:FieldName>
      <d2p1:ID>a6fd974b-1447-4096-bda5-f6f70a0576fb</d2p1:ID>
      <d2p1:Permission>2</d2p1:Permission>
      <d2p1:PrivilegeGroupId>7d262a97-eee1-477a-859a-2df529c5af21</d2p1:PrivilegeGroupId>
      <d2p1:Section>sample string 3</d2p1:Section>
    </d2p1:FieldPermission>
  </Fields>
  <GroupName>sample string 1</GroupName>
  <GroupPrivileges>
    <ControllerPermission>
      <Actions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringboolean>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value>true</d4p1:Value>
        </d4p1:KeyValueOfstringboolean>
        <d4p1:KeyValueOfstringboolean>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value>true</d4p1:Value>
        </d4p1:KeyValueOfstringboolean>
      </Actions>
      <AllowDefault>true</AllowDefault>
      <Name>sample string 1</Name>
      <Verbs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringboolean>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value>true</d4p1:Value>
        </d4p1:KeyValueOfstringboolean>
        <d4p1:KeyValueOfstringboolean>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value>true</d4p1:Value>
        </d4p1:KeyValueOfstringboolean>
      </Verbs>
    </ControllerPermission>
    <ControllerPermission>
      <Actions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringboolean>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value>true</d4p1:Value>
        </d4p1:KeyValueOfstringboolean>
        <d4p1:KeyValueOfstringboolean>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value>true</d4p1:Value>
        </d4p1:KeyValueOfstringboolean>
      </Actions>
      <AllowDefault>true</AllowDefault>
      <Name>sample string 1</Name>
      <Verbs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringboolean>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value>true</d4p1:Value>
        </d4p1:KeyValueOfstringboolean>
        <d4p1:KeyValueOfstringboolean>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value>true</d4p1:Value>
        </d4p1:KeyValueOfstringboolean>
      </Verbs>
    </ControllerPermission>
  </GroupPrivileges>
  <PrivilegeID>eed66c36-b42b-476f-b388-72449c5daf6f</PrivilegeID>
  <RouteScope xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </RouteScope>
</AccountPrivileges>

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Sample:
PK1�Zt<w�5xl/workbook.xml �(�����0��J}�(���3 `b�ڡ�	NA������[7�����ٺ��v =_�����1�%j�;��;a���{1+���Z��h�%I���5^��Ӎ��O��1�qCiP�6�!���p����^w1	�B�7U���bUĀƚ���չ�5�R�J�GǓ��iY*2z�X����PK1�Z����	�[Content_Types].xml �(����J�0�_��*M�D��V�*��d�
�d�k��<�H���V���=
��|�o��|����������+�����7l���e۶~=E�"�zlXO�@Ճ��C�3]HNR~���R��uU�<���������a��36��b7םQ
�1Z�$�8z�R��3
tP��-c�� g����_M��Of���~O�s�T���� ����P<�D��e=1Z��a2�b
��%#H'�2}���e�B)��~j/F�t��PK
1�ZwP2?''_rels/.rels �(�<?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml" Id="R1e4b33517a744d68" /></Relationships>PK1�Zv��5xl/worksheets/sheet1.xml �(���K��0F���}�/l��Ѵ���U]L�L@pd;�����0��0�9�{-���.R�Z�	��@��*�����-���)��J��JJޚ�N`e�i��&�d�O�d��J��̺G}�UYֹܪ�����!�ky̬{��꓁C���eNZfE�	�q(�duӸ�]��끖e��fO �Ӹ�_ky57k�%���[��H �Y����Ԡ�ev>�_��]ևʺ&����鯠���A�d���Z�J B��0� ?����.�(2�d�ɭ�#�)B�(x��ѧ���'�fCA�l����C�B1c���~0��z"˜�Y�|����1$�HPA�?����e!!�㻾?���6�Yku��vջճ[�����w�.)��K���5��ķ5A��vM�9�&؜ح�`N����E����d�E�5.�h�M�E�_� �>�� �F�?�������A���F�RV���L���/PK1�Z'��p�Pxl/_rels/workbook.xml.rels �(���Kn�0@�b;�C>D`�
[��'�m٦��u�#�
�����nX����������m�+�0X�B�1 h�U��Z8G���n�9��c���I+&����֔���Cf����O<��w�qy��c5�s�3����?D�� ����&���O�G�@��w[�)zy��@���������xY�}�Z��ï�w>���nP�l%5��*�s��%�t�Ӽ<S[�T�BQ.E���F��b�PK1�ZЃc'2E
xl/styles.xml �(��S�j�0��&0���0�^�]v��:��d;��H��Kj�vG�Mz�zOHr�iB8v�F��WEG�?s�Oh�lff�uZМ���ށh�R���6�'��2��������ɳ�UŦ`<Қo���x���8��K�6BC ^�کĖ��B���n��f8����9� ����CUk��#��U�ub��WUB;��k���&�
AR>��� ��im��ΑF���YO��%�}���LJ\in�,���9oy}��y.�$��6��ųNJ�c��T��rĘ)փBR淶�E3ʟ�\��q��PK1�Z(}%u�xl/sharedStrings.xml �(���[O�0��J�w;ͥi�� ���]U�<!�u�Ikɗ�q�¯_������o���ԗ�N^��rvI26!	Xᤲ�%y���9I0p+�v���$�M��(��$���4EqÑ�l$�����{\� ��I��,I�l�c�V=��(���C���Ei��ݏ:
M����j���sr�����>_�߻!�V���F��g�W�^��V �@V�(*ږyK�Y�Ѷ���,/˅�J�U�X#��g���
Zʩ��Lp��<o���l*���s�1�$��+0l�b��n��W��T~g��oj�-߃gk'A#ہ�V(@��c����
x��x2O_���c{2�
������m����.OA}j0�7��PK-1�Zt<w�5xl/workbook.xmlPK-1�Z����	��[Content_Types].xmlPK-
1�ZwP2?''U_rels/.relsPK-1�Zv��5�xl/worksheets/sheet1.xmlPK-1�Z'��p�P�xl/_rels/workbook.xml.relsPK-1�ZЃc'2E
?xl/styles.xmlPK-1�Z(}%u��xl/sharedStrings.xmlPK�{

application/vnd.ms-excel

Sample:
PK1�Z�9�a�5xl/workbook.xml �(���;�0D�H�����*��)�Xb���?��t�vfg�N�(3uJM�#fiKSc�.	�=A�Ei�~7*#��Ҽ�G�C����HE910SǕ��k�7�?,�
��2'�
%(��9���fO�
�{��Dd��T`�EPHR5n���>�8�Ȕ��.�8.�[��5K��V��w�PK1�Z����	�[Content_Types].xml �(����J�0�_��*M�D��V�*��d�
�d�k��<�H���V���=
��|�o��|����������+�����7l���e۶~=E�"�zlXO�@Ճ��C�3]HNR~���R��uU�<���������a��36��b7םQ
�1Z�$�8z�R��3
tP��-c�� g����_M��Of���~O�s�T���� ����P<�D��e=1Z��a2�b
��%#H'�2}���e�B)��~j/F�t��PK
1�Z��5�''_rels/.rels �(�<?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml" Id="Rd7e6ba16b7cd4f44" /></Relationships>PK1�Zv��5xl/worksheets/sheet1.xml �(���K��0F���}�/l��Ѵ���U]L�L@pd;�����0��0�9�{-���.R�Z�	��@��*�����-���)��J��JJޚ�N`e�i��&�d�O�d��J��̺G}�UYֹܪ�����!�ky̬{��꓁C���eNZfE�	�q(�duӸ�]��끖e��fO �Ӹ�_ky57k�%���[��H �Y����Ԡ�ev>�_��]ևʺ&����鯠���A�d���Z�J B��0� ?����.�(2�d�ɭ�#�)B�(x��ѧ���'�fCA�l����C�B1c���~0��z"˜�Y�|����1$�HPA�?����e!!�㻾?���6�Yku��vջճ[�����w�.)��K���5��ķ5A��vM�9�&؜ح�`N����E����d�E�5.�h�M�E�_� �>�� �F�?�������A���F�RV���L���/PK1�ZC��`�Pxl/_rels/workbook.xml.rels �(���An� E��f_c��*N6�d��ۊ
Hڜ���W(J�֑��&+4��i������m�C�m�%����v-��yX�f���(S���G����B���4�'���qa�)���^����i�3�I���!:c��N�&��0}u�{�d/C����(����L��-�52�4K��J�B��e����]�d�<`���l�F���2�~I!oz�4�gj��F"gu��Tk��ћ��PK1�ZЃc'2E
xl/styles.xml �(��S�j�0��&0���0�^�]v��:��d;��H��Kj�vG�Mz�zOHr�iB8v�F��WEG�?s�Oh�lff�uZМ���ށh�R���6�'��2��������ɳ�UŦ`<Қo���x���8��K�6BC ^�کĖ��B���n��f8����9� ����CUk��#��U�ub��WUB;��k���&�
AR>��� ��im��ΑF���YO��%�}���LJ\in�,���9oy}��y.�$��6��ųNJ�c��T��rĘ)փBR淶�E3ʟ�\��q��PK1�Z(}%u�xl/sharedStrings.xml �(���[O�0��J�w;ͥi�� ���]U�<!�u�Ikɗ�q�¯_������o���ԗ�N^��rvI26!	Xᤲ�%y���9I0p+�v���$�M��(��$���4EqÑ�l$�����{\� ��I��,I�l�c�V=��(���C���Ei��ݏ:
M����j���sr�����>_�߻!�V���F��g�W�^��V �@V�(*ږyK�Y�Ѷ���,/˅�J�U�X#��g���
Zʩ��Lp��<o���l*���s�1�$��+0l�b��n��W��T~g��oj�-߃gk'A#ہ�V(@��c����
x��x2O_���c{2�
������m����.OA}j0�7��PK-1�Z�9�a�5xl/workbook.xmlPK-1�Z����	�[Content_Types].xmlPK-
1�Z��5�''V_rels/.relsPK-1�Zv��5�xl/worksheets/sheet1.xmlPK-1�ZC��`�P�xl/_rels/workbook.xml.relsPK-1�ZЃc'2E
Axl/styles.xmlPK-1�Z(}%u��xl/sharedStrings.xmlPK�}