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": "24eb46aa-4b8b-4266-aa3b-b81780b6c190", "customerID": "32e80e02-b512-4bfd-bdcf-6c6d0f98f020", "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": "ceab3508-fa42-4356-9079-d03e17f660b5", "privilegeGroupId": "365a95a7-05d3-4889-8153-25c8c5675c01", "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>32e80e02-b512-4bfd-bdcf-6c6d0f98f020</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>ceab3508-fa42-4356-9079-d03e17f660b5</d2p1:ID> <d2p1:Permission>2</d2p1:Permission> <d2p1:PrivilegeGroupId>365a95a7-05d3-4889-8153-25c8c5675c01</d2p1:PrivilegeGroupId> <d2p1:Section>sample string 3</d2p1:Section> </d2p1:FieldPermission> <d2p1:FieldPermission> <d2p1:FieldName>sample string 1</d2p1:FieldName> <d2p1:ID>ceab3508-fa42-4356-9079-d03e17f660b5</d2p1:ID> <d2p1:Permission>2</d2p1:Permission> <d2p1:PrivilegeGroupId>365a95a7-05d3-4889-8153-25c8c5675c01</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>24eb46aa-4b8b-4266-aa3b-b81780b6c190</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 ��[P)uK� 5 xl/workbook.xml � (� ����0��&�C��X &8q����[i�?ik��-%�x�3;�픳qck�H>jҾpB�c�P�?�:�q B��Ō���to�:0�e9s8A�F�AZOW�?,oB�Ġ��@jZ��K����'���b���o�L��")�AaE@Ir�}Eϔ�B����#t-\��[�ҝ��J����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 ��[SYk�' ' _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="R9186b07e57934436" /></Relationships>PK ��[����� 6 xl/worksheets/sheet1.xml � (� ��K��0F� �`�g"`4m&iwU횂 h G���ϯy �t�����{-�����.R�J�1@>�l3�W�1g[|�)��J��RJ�9�5[����6LV�&5�:���J7�u�����2�Sٹ�� BY�e�Z�*SV'�j�S˜�L��M=�jҪI�W�zwzO�"�h{�$Q����|X{]��J�v?��� V��O��Hϵ����eu,�k�Lզ����k����V�-c��/(�!J���T��X����{��G?���G4$̥���'>}<����B�0!�'>}2�����0Ĉ�~��ѧ�O��7a7,�A��F�M:g>麇!�C����o�8&��.��~0L��.�iiu�t��w�g�4�Eq�7��]����k͉ok"��5���˚ sb�&�8� 6��>�o�Õ��ׄX�_�E�5�m~��,����,}xG�c�.B�>8RR�We�&� PK ��[���� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�1IJ��ݰa[z��3��&vd�@�Ƃ#q�"A*�`��h~OO��|���ަ����� � FV�n�}���`���iĘ&���Ҋ ��5�A�0dn&�:�� cJ}�gTG�K!*��f��y���փ�G�N����:�(;��)6�S ��,Q�=u �%IB��ԺXU-0~3��#�_��|!�Q�[��r,��o*c�S�}���iY^��UN�(˲SEMxQ�W��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 ��[6�O<p � xl/sharedStrings.xml � (� ���N�0E%�>���P��CHUV Ǟ���_�[�� ,=g����'�F'/�Q9;#9e$+�Tv=#�wiE�J���y$�IS#�$J-��&��8�Pl�p��I��!>�:����Fgcef��$n�!���d��y��O!�PM��W/J����,4u�-�������һ���~?_�ߺ!�J���B��{��b����V Ǹ�B;-9O�mզӢ,S�'m�V�a��R�Gl��P1`E��Ev2m���R��uGUNJ= r�k�9�[���� :wZ�1h��`�+A������]-��k�t�$h�w`� �~��6��~ �(ܞ���g}u�vf����z��ӥwr��.�_ f�f�PK- ��[P)uK� 5 xl/workbook.xmlPK- ��[���� � � [Content_Types].xmlPK- ��[SYk�' ' T _rels/.relsPK- ��[����� 6 � xl/worksheets/sheet1.xmlPK- ��[���� P � xl/_rels/workbook.xml.relsPK- ��[Ѓc'2 E > xl/styles.xmlPK- ��[6�O<p � � xl/sharedStrings.xmlPK � u
application/vnd.ms-excel
Sample:
PK ��[T��2� 5 xl/workbook.xml � (� ����0D�&�C�� �N\�z��EhK��|o�vfg����kcz�Q�v�-h���3���Q�]k��}1Ӷ���4o�ڳs��� ^�:9:���a��"�!z5�(R��x ��͞'��`lug��5�~S|���"��,�]4���2H0"��n��Zӝ��8�~�_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="R4fc1d4bf9d534654" /></Relationships>PK ��[����� 6 xl/worksheets/sheet1.xml � (� ��K��0F� �`�g"`4m&iwU횂 h G���ϯy �t�����{-�����.R�J�1@>�l3�W�1g[|�)��J��RJ�9�5[����6LV�&5�:���J7�u�����2�Sٹ�� BY�e�Z�*SV'�j�S˜�L��M=�jҪI�W�zwzO�"�h{�$Q����|X{]��J�v?��� V��O��Hϵ����eu,�k�Lզ����k����V�-c��/(�!J���T��X����{��G?���G4$̥���'>}<����B�0!�'>}2�����0Ĉ�~��ѧ�O��7a7,�A��F�M:g>麇!�C����o�8&��.��~0L��.�iiu�t��w�g�4�Eq�7��]����k͉ok"��5���˚ sb�&�8� 6��>�o�Õ��ׄX�_�E�5�m~��,����,}xG�c�.B�>8RR�We�&� PK ��[�f��� P xl/_rels/workbook.xml.rels � (� ��Kn� @��f_c;��ɦ�l�\ ����4�ٺ�z��Tj��E7Y�F���I����f�������j!KR ����Z8�����vs�������8�(���YS�Ĉw�6�¤�v�>�v�����iZR3�I�W��!꾟>kq^P�?���ɍ�ȑ�}?-Go)K�^�p�+\I�Ue�k&�}����ݯ�w�4M��*odV��2#�(_� ?;��H���*�<�:�3��75zw�/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 ��[6�O<p � xl/sharedStrings.xml � (� ���N�0E%�>���P��CHUV Ǟ���_�[�� ,=g����'�F'/�Q9;#9e$+�Tv=#�wiE�J���y$�IS#�$J-��&��8�Pl�p��I��!>�:����Fgcef��$n�!���d��y��O!�PM��W/J����,4u�-�������һ���~?_�ߺ!�J���B��{��b����V Ǹ�B;-9O�mզӢ,S�'m�V�a��R�Gl��P1`E��Ev2m���R��uGUNJ= r�k�9�[���� :wZ�1h��`�+A������]-��k�t�$h�w`� �~��6��~ �(ܞ���g}u�vf����z��ӥwr��.�_ f�f�PK- ��[T��2� 5 xl/workbook.xmlPK- ��[���� � � [Content_Types].xmlPK- ��[�ӥ' ' U _rels/.relsPK- ��[����� 6 � xl/worksheets/sheet1.xmlPK- ��[�f��� P � xl/_rels/workbook.xml.relsPK- ��[Ѓc'2 E A xl/styles.xmlPK- ��[6�O<p � � xl/sharedStrings.xmlPK � x