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
AccountPrivilegesName | 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": "233246a8-7d46-4070-97dc-961ed5851488", "customerID": "19733609-1372-4538-8734-a8ae57fffcab", "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": "03f0fc7b-22bf-4513-9d01-9d89a5ec14e8", "privilegeGroupId": "68e9eb42-3300-43ba-9090-b730d8ece6d3", "fieldName": "sample string 1", "permission": 2, "section": "sample string 3", "restrictionUISetting": { "$id": "6" }, "restriction": "sample string 5" }, { "$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>19733609-1372-4538-8734-a8ae57fffcab</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>03f0fc7b-22bf-4513-9d01-9d89a5ec14e8</d2p1:ID> <d2p1:Permission>2</d2p1:Permission> <d2p1:PrivilegeGroupId>68e9eb42-3300-43ba-9090-b730d8ece6d3</d2p1:PrivilegeGroupId> <d2p1:Restriction>sample string 5</d2p1:Restriction> <d2p1:RestrictionUISetting /> <d2p1:Section>sample string 3</d2p1:Section> </d2p1:FieldPermission> <d2p1:FieldPermission> <d2p1:FieldName>sample string 1</d2p1:FieldName> <d2p1:ID>03f0fc7b-22bf-4513-9d01-9d89a5ec14e8</d2p1:ID> <d2p1:Permission>2</d2p1:Permission> <d2p1:PrivilegeGroupId>68e9eb42-3300-43ba-9090-b730d8ece6d3</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>233246a8-7d46-4070-97dc-961ed5851488</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 .E[�ՠ � 5 xl/workbook.xml � (� ����0��&�C����N\�z�^a+ �'m >��o�vfg�:k;>��GN�U�ƃ��"�uH�Nڀ ;��d>H�"�s�A����I�$9�01/�r�0��X�X`� ��V�dB��x@�.�fe0�����"�)a�ETH1 5n�gE���8��V"�")9O�2ϡ�\���;���w�PK .E[���� � [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 .E[�Bm' ' _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="R5e697b6b2423481a" /></Relationships>PK .E[�0�� 6 xl/worksheets/sheet1.xml � (� ��K��0F���}��D�h�L��U]�k &� 8��d~~�c� Q� ��߽��{sel��� C��\u{H�ٕ_"���Wm�l��o��$�r�E��j2�j�^�M�9�hH�e����ύj�d�1s�U��O����=��'4ǡT��-L��ջ�F� |&�W J��]����]��Z�u?��E+x߿���*�������>T�7)�\mMݵ�&{��pUYl%�R�H���:����G����Oo�8�3!9#�?����'<�!���"I�|���G"�BP��!#��~8��rC�� 7$z��Q�.E��%���}9��_D2�S���a���w�����+0���ޭ��������wIq�.�;_������5���˚�sb�&�9�&�D }�Oo��ʑ��k"Z�_�E�5Am~��,����,�����4�G�B�8��v��Ge� �� PK .E[J�̅� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞���$�i7lؖ^�r�q�Ďl��Xp$��U$H%l����I3�����<�q�^0 ��G7tpJ殁�v��I�<�D�W\����<P��Y��/�r��0���0�E�� �$ k\3����ޘQ�ק]�L_}8F���T0u�S��x��@��� k�ᢕ��@���b:O���L)Ki�@VsV)�n*cU��9�|�Ӻ�R�j�R�VsSW��5z��/PK .E[Ѓ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 .E[�h�u � xl/sharedStrings.xml � (� ��KO�0��J佝�I��A�<�DQE��+$�=m-�<~=n�H�p��o��δ��F'/�Q9;'9�HV8��vN��_҆$��\;s�H�ӮEI�Z��]�I����\6������{\� �N��J W�$� 6ıI��X|�յ�[y��4l���MCצ��'Z�L���[n�G��%���E\aL.hy�&�Y�kr�'E1)+��Z�-�:��Z :�r��f��M3�䳺(�lF��rZ4�����ô�l6�?�5�M�!��clI>��7`��i "Ġ�]���Q��j�-߂gK'A#�˭P��ߎQo����W����<�~�W��`�?��^/���N"�<���4�l�PK- .E[�ՠ � 5 xl/workbook.xmlPK- .E[���� � [Content_Types].xmlPK- .E[�Bm' ' V _rels/.relsPK- .E[�0�� 6 � xl/worksheets/sheet1.xmlPK- .E[J�̅� P � xl/_rels/workbook.xml.relsPK- .E[Ѓc'2 E @ xl/styles.xmlPK- .E[�h�u � � xl/sharedStrings.xmlPK � |
application/vnd.ms-excel
Sample:
PK .E[� 5 xl/workbook.xml � (� ����0D�&�C�� �� '.^=x_�VhK��|K $��ξ�r2�ӓ��+lE;�ǂ1�v��̈:성 |��Ō��ƴo�ڳ�x̙��4�urtt���r�E�C�jXP ���~GH97{H�\��X��&aK�����.�"V��D��+z��2��g���g�8��J7�+����PK .E[���� � [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 .E[��m' ' _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="R9356f5ad39764de6" /></Relationships>PK .E[�0�� 6 xl/worksheets/sheet1.xml � (� ��K��0F���}��D�h�L��U]�k &� 8��d~~�c� Q� ��߽��{sel��� C��\u{H�ٕ_"���Wm�l��o��$�r�E��j2�j�^�M�9�hH�e����ύj�d�1s�U��O����=��'4ǡT��-L��ջ�F� |&�W J��]����]��Z�u?��E+x߿���*�������>T�7)�\mMݵ�&{��pUYl%�R�H���:����G����Oo�8�3!9#�?����'<�!���"I�|���G"�BP��!#��~8��rC�� 7$z��Q�.E��%���}9��_D2�S���a���w�����+0���ޭ��������wIq�.�;_������5���˚�sb�&�9�&�D }�Oo��ʑ��k"Z�_�E�5Am~��,����,�����4�G�B�8��v��Ge� �� PK .E[�ʒ� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8n;BM�aö��'Q۲]�gc���V� �X��j4��'�|�lvo�D^0�ѻXUA��]��)ۻv��'��DƐHYq��!�pOi��*U>�+��rIcO��G�#]յ�qɀk&9����5>x}���?����c3���=�~J�^� ȣ�`�2�Z�F�FX�6-z3����_��|!#�lg���撙��*�yʱ\z�,/�8�B %����g~Q�W��PK .E[Ѓ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 .E[�h�u � xl/sharedStrings.xml � (� ��KO�0��J佝�I��A�<�DQE��+$�=m-�<~=n�H�p��o��δ��F'/�Q9;'9�HV8��vN��_҆$��\;s�H�ӮEI�Z��]�I����\6������{\� �N��J W�$� 6ıI��X|�յ�[y��4l���MCצ��'Z�L���[n�G��%���E\aL.hy�&�Y�kr�'E1)+��Z�-�:��Z :�r��f��M3�䳺(�lF��rZ4�����ô�l6�?�5�M�!��clI>��7`��i "Ġ�]���Q��j�-߂gK'A#�˭P��ߎQo����W����<�~�W��`�?��^/���N"�<���4�l�PK- .E[� 5 xl/workbook.xmlPK- .E[���� � [Content_Types].xmlPK- .E[��m' ' V _rels/.relsPK- .E[�0�� 6 � xl/worksheets/sheet1.xmlPK- .E[�ʒ� P � xl/_rels/workbook.xml.relsPK- .E[Ѓc'2 E A xl/styles.xmlPK- .E[�h�u � � xl/sharedStrings.xmlPK � }