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": "9e007c93-3d4a-41c1-a376-7e4db8a2b26d",
"customerID": "73dec3ca-5c4d-4895-aea7-6a29c324bc7f",
"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": "51c035a9-0366-4677-8a81-409eebd74844",
"privilegeGroupId": "7abe07f2-2a22-40b8-bfd1-800ec2bcd284",
"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>73dec3ca-5c4d-4895-aea7-6a29c324bc7f</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>51c035a9-0366-4677-8a81-409eebd74844</d2p1:ID>
<d2p1:Permission>2</d2p1:Permission>
<d2p1:PrivilegeGroupId>7abe07f2-2a22-40b8-bfd1-800ec2bcd284</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>51c035a9-0366-4677-8a81-409eebd74844</d2p1:ID>
<d2p1:Permission>2</d2p1:Permission>
<d2p1:PrivilegeGroupId>7abe07f2-2a22-40b8-bfd1-800ec2bcd284</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>9e007c93-3d4a-41c1-a376-7e4db8a2b26d</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 '��\��߱� 5 xl/workbook.xml � (� ����0D�&�C��H@#)��x��})[i�-ik��-H�yۙ�};|��o���G���]c��j�';��;i���{1+�X[��hK����5�S��+��B�;Ġ��AZ���S�����l���o�/��bQĀƒ���Ź�%=S�
�G��$�94yv�J��wg���PK '��\���� � [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
'��\�|'�' ' _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="R85ef2444f064472f" /></Relationships>PK '��\E�C� 6 xl/worksheets/sheet1.xml � (� ��K��0F�
��7&F�f�vWu1]S0M���$��kC��n���\�����ޛ�w��ԪM �!�d���n 8�� Oi|U��TRZ����T֞6A`�J6���I�n�T�ɬ�ԇ@�e�˭�ύlm�!䁖�̺�LU���O-s�2+�-4ǡT��-H�vջ�{Z� xF�=^��=�Z˫�4��$�z�>~ �=��]��O����G�K]���PY�$�;�:���5u�:�5�{��օ�@��C��RF�D~6V5��i�Qe������a*0�4�=����G��ш��>}:����s�ɰ}��g��&�?�"�X��c��:����CN(������o�BB]�!Ɣ�o0�b���fi�������ލ����ŝ�q7��8�t�H|]hN|[xNl��/k�Ήݚ`sb�&�D.�����.� �ȿ&�E�5�m~��,����,��@��4�>]���p��)e����L�PK '��\P�Ց� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8Nㆢ�ݰ���3��&�e����G�
XE�Db�������4������`���XQA�\��N�9�G�n�{d���>��b� ���4*�����hsG�0ʔ��Q/�IvH��\�0e��IW��!:�{��N�G��0}u�
br���$��-�"S��Z���%W�<�z�h �nj1]��^��Df� �.��
�Z�U�Ȁ�K
��S�iy���V�c���B������PK '��\Ѓ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 '��\sA`m � xl/sharedStrings.xml � (� ���N1�_e�{{�d�j��U*"p����Cbɇ�Nj
O_'.6����7��Ow�ך� i��I���.���9���"8�;\�g$���Q̒�ђ�b��9�Z �t�<�`!�0ls��b�&��b�[Ўeҏ.��5�F����zO���b�6�ş<�]�O���H�[��"�q�
?�-i���q-� Sr�Ѩ��3y��Ά�hTS���h��j�7�,9�팷ب��M5;Ҵ�BYK�'�Q��/N8 �|�B�U����TC`�ɧ�l��)^?SD+V��1M�-�/M���/�����
�t�Fo7&��a�#\a���/s��Y�+ևe��?�u��N,�p�<}k�PK- '��\��߱� 5 xl/workbook.xmlPK- '��\���� � � [Content_Types].xmlPK-
'��\�|'�' ' U _rels/.relsPK- '��\E�C� 6 � xl/worksheets/sheet1.xmlPK- '��\P�Ց� P � xl/_rels/workbook.xml.relsPK- '��\Ѓc'2 E
= xl/styles.xmlPK- '��\sA`m � � xl/sharedStrings.xmlPK � q
application/vnd.ms-excel
Sample:
PK '��\��(Ӷ 5 xl/workbook.xml � (� ��=�0��J�C�4�����k��.8MIP���!�n,�=?v1�=���G��嶤��!g�5��P�7V�Ҿ��\6X��P{vH���F;!Gg�?,7X�� D���@jZm7��g���2˻�I�b��"�֍���%��%ѹ�%�Sbs�{
���e�������
�ܮ�PK '��\���� � [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
'��\�6��' ' _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="R97ee46fb983e41a4" /></Relationships>PK '��\E�C� 6 xl/worksheets/sheet1.xml � (� ��K��0F�
��7&F�f�vWu1]S0M���$��kC��n���\�����ޛ�w��ԪM �!�d���n 8�� Oi|U��TRZ����T֞6A`�J6���I�n�T�ɬ�ԇ@�e�˭�ύlm�!䁖�̺�LU���O-s�2+�-4ǡT��-H�vջ�{Z� xF�=^��=�Z˫�4��$�z�>~ �=��]��O����G�K]���PY�$�;�:���5u�:�5�{��օ�@��C��RF�D~6V5��i�Qe������a*0�4�=����G��ш��>}:����s�ɰ}��g��&�?�"�X��c��:����CN(������o�BB]�!Ɣ�o0�b���fi�������ލ����ŝ�q7��8�t�H|]hN|[xNl��/k�Ήݚ`sb�&�D.�����.� �ȿ&�E�5�m~��,����,��@��4�>]���p��)e����L�PK '��\T�H�� P xl/_rels/workbook.xml.rels � (� ���n� @���5P��ҥk� ����`��m��C?��P�J-�:tɀNw�==t|���o�D^ �ѻ�VEI 8���-=���t�Y�`Ҙn�a\"I#.�t@\�f�Y��/�R��0kLi�٢�Q���lX��I���C�֎�9���0{�� �d�C�ҟRd�P�J�S�ҝ�B�K���|���fj��_��<��U�J��5oTuS�A�1�M�Ny9S;��2��8p]�5v�/6_PK '��\Ѓ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 '��\sA`m � xl/sharedStrings.xml � (� ���N1�_e�{{�d�j��U*"p����Cbɇ�Nj
O_'.6����7��Ow�ך� i��I���.���9���"8�;\�g$���Q̒�ђ�b��9�Z �t�<�`!�0ls��b�&��b�[Ўeҏ.��5�F����zO���b�6�ş<�]�O���H�[��"�q�
?�-i���q-� Sr�Ѩ��3y��Ά�hTS���h��j�7�,9�팷ب��M5;Ҵ�BYK�'�Q��/N8 �|�B�U����TC`�ɧ�l��)^?SD+V��1M�-�/M���/�����
�t�Fo7&��a�#\a���/s��Y�+ևe��?�u��N,�p�<}k�PK- '��\��(Ӷ 5 xl/workbook.xmlPK- '��\���� � � [Content_Types].xmlPK-
'��\�6��' ' U _rels/.relsPK- '��\E�C� 6 � xl/worksheets/sheet1.xmlPK- '��\T�H�� P � xl/_rels/workbook.xml.relsPK- '��\Ѓc'2 E
@ xl/styles.xmlPK- '��\sA`m � � xl/sharedStrings.xmlPK � t