GET api/user/privileges/{id}
Get account privileges group
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Account privileges identifier |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Matching Account privileges model
AccountPrivileges| Name | Description | Type | Additional 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": "ebd21c38-9feb-4be8-b6d1-c7a7067b1474",
"customerID": "56eaa195-d507-4873-92e2-84d5ad5e84f9",
"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": "2291d001-b520-4f53-9fba-547c7a230698",
"privilegeGroupId": "0e74c3a9-82f4-4a26-ae87-ffdb200612a5",
"fieldName": "sample string 1",
"permission": 2,
"section": "sample string 3",
"restrictionUISetting": {
"$id": "6"
},
"restriction": "sample string 5",
"allowedPermissions": [
0,
0
]
},
{
"$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>56eaa195-d507-4873-92e2-84d5ad5e84f9</CustomerID>
<Fields xmlns:d2p1="http://schemas.datacontract.org/2004/07/EziManager.Models.Common">
<d2p1:FieldPermission>
<d2p1:AllowedPermissions xmlns:d4p1="http://schemas.datacontract.org/2004/07/EziManager.Common.Attributes">
<d4p1:FieldPermissionEnum>Full</d4p1:FieldPermissionEnum>
<d4p1:FieldPermissionEnum>Full</d4p1:FieldPermissionEnum>
</d2p1:AllowedPermissions>
<d2p1:FieldName>sample string 1</d2p1:FieldName>
<d2p1:ID>2291d001-b520-4f53-9fba-547c7a230698</d2p1:ID>
<d2p1:Permission>2</d2p1:Permission>
<d2p1:PrivilegeGroupId>0e74c3a9-82f4-4a26-ae87-ffdb200612a5</d2p1:PrivilegeGroupId>
<d2p1:Restriction>sample string 5</d2p1:Restriction>
<d2p1:RestrictionUISetting />
<d2p1:Section>sample string 3</d2p1:Section>
</d2p1:FieldPermission>
<d2p1:FieldPermission>
<d2p1:AllowedPermissions xmlns:d4p1="http://schemas.datacontract.org/2004/07/EziManager.Common.Attributes">
<d4p1:FieldPermissionEnum>Full</d4p1:FieldPermissionEnum>
<d4p1:FieldPermissionEnum>Full</d4p1:FieldPermissionEnum>
</d2p1:AllowedPermissions>
<d2p1:FieldName>sample string 1</d2p1:FieldName>
<d2p1:ID>2291d001-b520-4f53-9fba-547c7a230698</d2p1:ID>
<d2p1:Permission>2</d2p1:Permission>
<d2p1:PrivilegeGroupId>0e74c3a9-82f4-4a26-ae87-ffdb200612a5</d2p1:PrivilegeGroupId>
<d2p1:Restriction>sample string 5</d2p1:Restriction>
<d2p1:RestrictionUISetting />
<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>ebd21c38-9feb-4be8-b6d1-c7a7067b1474</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:
PK C3�\"��u� 5 xl/workbook.xml � (� ����0D�J��(� �P@���k��L�$(IE?�R�n�����lݫ��E>z4�t�!L%c����_�f�
�i�tOf�Au�����%I���5^��Ӎ��O��1�qCiP���!bm�P8�(c����m!��v\DEh�h(�έ�hJ�+�2ܳ����EvM�@�l�]PK C3�\���� � [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
C3�\�і�' ' _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="Ra320acec79bc452f" /></Relationships>PK C3�\�H5� 6 xl/worksheets/sheet1.xml � (� ��Ks�0F�
�}= �ı�]��tMA&y$��ϯx��q����+�{5$��ѻ�٥ �!�DWȲ�)8��Yr��M�B��ި�Ɯ6A��Z����Itv���͍}T�@VUS��,έ�L�Jsc��us�`��?��I��^�=��ڼ�@������D��G��#�Y2�����/k�O�Gʷ��G��p`�
��T^)��|4����h��M��Sȣ~���[�6��Mi�`��bF '�v�8k#���6��2�h��9c ��>�|<���
II�8��}�L>�}���1��x<���ɧ�O��b;,C~_g��f=B���aB9�0���h���̇���!Bv 7�`��0�mn�,Q��a�V�W�v���bg�퍻da\zw"�\.�g�@Kb�xI��Y;��Kb�l&}Ώ>�#ljV�]���D���p��ȪϻȪ��d9�1|��"���#�NJ#�pU�`�PK C3�\NU��� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�I�`��ݰ���3N�&vd����G�
XE�Tb�������4����M#9���5��V�v�]
�hl7�=�*���s iņ��'J��qR!s3��1�O*��wtV��:�c�K�2��2��ΘA�ӧ m�L_�?�19(�a���5�Y�ٵ5�F�\T���L �nj!^F�^��BF(^�Fʊ3�5k�*�+��K���K�ey���e!qը�\�-�j��/6_PK C3�\Ѓc'2 E
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��PK C3�\{�`[p � xl/sharedStrings.xml � (� ��MO�0��J仝�M�t�U�-BZV��B±��%��~��e�r���3�|�����3xT�.H�2��N*�_����$�����YX�@�\�
bH���B��)����`#�9ox��ߧ�{� ��t�e��peI"�`C;%�`�� ��D��&�7^=+
{��٤�m�c�
�?'��
�n�S�����
6"�0&kZ��/��\��V �:9�Ŵ��t�蠦�L�TT��fU�U1֔3�<��T�YE�����&�.d�e u���5�M�!��mI>ƛ`��i
"D��]����0<���^�5�|�]; �,�B������o��Ǘy�����Ӳ�П�r�8�N}�Z���PK- C3�\"��u� 5 xl/workbook.xmlPK- C3�\���� � [Content_Types].xmlPK-
C3�\�і�' ' V _rels/.relsPK- C3�\�H5� 6 � xl/worksheets/sheet1.xmlPK- C3�\NU��� P � xl/_rels/workbook.xml.relsPK- C3�\Ѓc'2 E
? xl/styles.xmlPK- C3�\{�`[p � � xl/sharedStrings.xmlPK � v
application/vnd.ms-excel
Sample:
PK C3�\�d(�� 5 xl/workbook.xml � (� ����0��&�C�pA DR8q���{�E�O�||K $���~;l�v|j=����+mE�M ��%w'mP�]���>H�����F�o���9Ir�8q/�r�0���X�X���V��B��x �-�ge0���I`
�o�E�~Q\bE�9%ѹuM)���=I1�0�]�e��Bw�c����PK C3�\���� � [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
C3�\�(q�' ' _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="Rba9abcab824d4105" /></Relationships>PK C3�\�H5� 6 xl/worksheets/sheet1.xml � (� ��Ks�0F�
�}= �ı�]��tMA&y$��ϯx��q����+�{5$��ѻ�٥ �!�DWȲ�)8��Yr��M�B��ި�Ɯ6A��Z����Itv���͍}T�@VUS��,έ�L�Jsc��us�`��?��I��^�=��ڼ�@������D��G��#�Y2�����/k�O�Gʷ��G��p`�
��T^)��|4����h��M��Sȣ~���[�6��Mi�`��bF '�v�8k#���6��2�h��9c ��>�|<���
II�8��}�L>�}���1��x<���ɧ�O��b;,C~_g��f=B���aB9�0���h���̇���!Bv 7�`��0�mn�,Q��a�V�W�v���bg�퍻da\zw"�\.�g�@Kb�xI��Y;��Kb�l&}Ώ>�#ljV�]���D���p��ȪϻȪ��d9�1|��"���#�NJ#�pU�`�PK C3�\� �� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;q��� 6�R.`�q�ؑmh9[=R�P�Jm����h~OO��|�Xo�Ɓ\Ї��X�A+��m��9�%l7�="��`�)��bC&�iEi�G27�M��(bJ}G'!O�CZ�yE���Lr�N��Ӻ��s�<�����`#����~J���ȳja�3�8VM�jΛ�B��u������dc���R������Q�D�.=w��gj�#.u�Ȣ���#��ѻ��|PK C3�\Ѓc'2 E
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��PK C3�\{�`[p � xl/sharedStrings.xml � (� ��MO�0��J仝�M�t�U�-BZV��B±��%��~��e�r���3�|�����3xT�.H�2��N*�_����$�����YX�@�\�
bH���B��)����`#�9ox��ߧ�{� ��t�e��peI"�`C;%�`�� ��D��&�7^=+
{��٤�m�c�
�?'��
�n�S�����
6"�0&kZ��/��\��V �:9�Ŵ��t�蠦�L�TT��fU�U1֔3�<��T�YE�����&�.d�e u���5�M�!��mI>ƛ`��i
"D��]����0<���^�5�|�]; �,�B������o��Ǘy�����Ӳ�П�r�8�N}�Z���PK- C3�\�d(�� 5 xl/workbook.xmlPK- C3�\���� � � [Content_Types].xmlPK-
C3�\�(q�' ' U _rels/.relsPK- C3�\�H5� 6 � xl/worksheets/sheet1.xmlPK- C3�\� �� P � xl/_rels/workbook.xml.relsPK- C3�\Ѓc'2 E
> xl/styles.xmlPK- C3�\{�`[p � � xl/sharedStrings.xmlPK � u