GET api/user/privileges/{groupName}/find
Get account privileges group by name
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
groupName |
Account privileges group name |
string |
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": "249de9ab-5572-4360-bbfd-d8398e1be794", "customerID": "d5b7bde3-2044-42da-a0a2-21a18a2f96db", "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": "825d5a62-e36e-425f-8b22-fcc53c30135d", "privilegeGroupId": "12ec3867-43e5-4ec0-82c5-abf50da6e4f1", "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>d5b7bde3-2044-42da-a0a2-21a18a2f96db</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>825d5a62-e36e-425f-8b22-fcc53c30135d</d2p1:ID> <d2p1:Permission>2</d2p1:Permission> <d2p1:PrivilegeGroupId>12ec3867-43e5-4ec0-82c5-abf50da6e4f1</d2p1:PrivilegeGroupId> <d2p1:Section>sample string 3</d2p1:Section> </d2p1:FieldPermission> <d2p1:FieldPermission> <d2p1:FieldName>sample string 1</d2p1:FieldName> <d2p1:ID>825d5a62-e36e-425f-8b22-fcc53c30135d</d2p1:ID> <d2p1:Permission>2</d2p1:Permission> <d2p1:PrivilegeGroupId>12ec3867-43e5-4ec0-82c5-abf50da6e4f1</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>249de9ab-5572-4360-bbfd-d8398e1be794</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 O�[�i�� 5 xl/workbook.xml � (� ����0D�&�C��UQ��x��}��6Ж�5���H�yۙ�};�l��3����mI��SΘk*p'3���X>H�b��e��i� �g�3fq/�vBN���Xn���^�+J�Դ:)�fO���2[��$l ��Ta�ETD�����ܻ��)���#��5�i�OoiJw�+����PK O�[���� � [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 O�[��:' ' _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="R4b1a5679f4b94a2b" /></Relationships>PK O�[�.S�� 6 xl/worksheets/sheet1.xml � (� ��K��0F� ����D�h�L��U]�k &� 8��d~~�c� Q� ��߽��{s.��Z� �!�js]��!gW~��)��ڼ�J)x��[��ʹ�B�W��l�O��{�6M���9@]�u�v:?7�u� ġQ���W٪>Y0T��Z�dTV���RMV� ���W�>0�L�3�4��ߵ�ڛu�%���[��H �Y�������Pev>�_��]Շ��&E����ASw�A����k]�*T�Bl0%�Q�A~�N7�m�Qe���[?<�LH)�d�}:�t�1E��lå��F�M��!���(���h��g4��1�Ê6X>����I<dH0N�����/F_|��!�I&!��>�؏|��,������ջճ_�����[�.)��sG���s�ۚ sb�&�xYlN��D4'^���O��g~�r�"�����kb�ȿ&��/w�E��w�E�_?������� T����^k�LT��`�PK O�[Uo�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�I�ࠦݰa[zמ�Q۲]�gc���V� �X��j4��'�|���o�D^0���ʂA�����)�w���'��D4��$��I�?P��Y��y��ӻ0˔�0P/�QH+���f�������G��N�f��0}u� b��a���O)�K(�L�;��Z4�f��%�-�@���b:O���L%Z�4�ּͪ��2F��)�K/���Zyυ�X�B�������PK O�[Ѓ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 O�[)��u � xl/sharedStrings.xml � (� ���n�0EE����C�� p��@]q�* tD�m|�*h����69�v�9s9wp���aM����wkV��e�W�����=_��"8�;\�$��t-Q̒�њ�b��9�Z �t�|��3s��b�&��b�[Ўeҏ.��3��Nq�ZH#t��n�6x���<vm~.�F������C��� ,� ^��)~�cĽL+LɽF���o�e��QMqU7 ��|��x=[����լYa�㲩�5�����u��C�J(WP���;L9�[VN���"Z��Ơ�)h�0h)>j���/w?�1��WhH<�'5���cһ����|2_�}֟����诽�m7b�ery �M�y���PK- O�[�i�� 5 xl/workbook.xmlPK- O�[���� � [Content_Types].xmlPK- O�[��:' ' V _rels/.relsPK- O�[�.S�� 6 � xl/worksheets/sheet1.xmlPK- O�[Uo�� P � xl/_rels/workbook.xml.relsPK- O�[Ѓc'2 E @ xl/styles.xmlPK- O�[)��u � � xl/sharedStrings.xmlPK � |
application/vnd.ms-excel
Sample:
PK O�[�;�9� 5 xl/workbook.xml � (� ����0��&�C���bp��Ճ�Z�H����[J ��mgv��if�_k_�'j�b�� B���d����<&�Ď��[��`"9SZ�ʚ �x��� ���zZQ�+����fivW0�,���]LD��M5�_d����G�Qv�C�F�Vi�&XE%+&���a �~w_PK O�[���� � [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 O�[c�' ' _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="R0b2572179f1c4c75" /></Relationships>PK O�[�.S�� 6 xl/worksheets/sheet1.xml � (� ��K��0F� ����D�h�L��U]�k &� 8��d~~�c� Q� ��߽��{s.��Z� �!�js]��!gW~��)��ڼ�J)x��[��ʹ�B�W��l�O��{�6M���9@]�u�v:?7�u� ġQ���W٪>Y0T��Z�dTV���RMV� ���W�>0�L�3�4��ߵ�ڛu�%���[��H �Y�������Pev>�_��]Շ��&E����ASw�A����k]�*T�Bl0%�Q�A~�N7�m�Qe���[?<�LH)�d�}:�t�1E��lå��F�M��!���(���h��g4��1�Ê6X>����I<dH0N�����/F_|��!�I&!��>�؏|��,������ջճ_�����[�.)��sG���s�ۚ sb�&�xYlN��D4'^���O��g~�r�"�����kb�ȿ&��/w�E��w�E�_?������� T����^k�LT��`�PK O�[{��f� P xl/_rels/workbook.xml.rels � (� ���N!�_����lY�m/^�־ ��?�.l��}6>�� ���ă�����|����c�}�'�!��+��vt}���)�n�;�t�7�0.��'.�0��<P̀���_��N�ìS.COm��Gz�XMCɀk&ٟ��w�h�ћӌ.���>〘��u�1��E�}�*S�<�vBq�kƙ�\ n�Л��t�0�z]�B��k%�8�j�@uS�A��)�M�Ne\���J����J*{����/PK O�[Ѓ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 O�[)��u � xl/sharedStrings.xml � (� ���n�0EE����C�� p��@]q�* tD�m|�*h����69�v�9s9wp���aM����wkV��e�W�����=_��"8�;\�$��t-Q̒�њ�b��9�Z �t�|��3s��b�&��b�[Ўeҏ.��3��Nq�ZH#t��n�6x���<vm~.�F������C��� ,� ^��)~�cĽL+LɽF���o�e��QMqU7 ��|��x=[����լYa�㲩�5�����u��C�J(WP���;L9�[VN���"Z��Ơ�)h�0h)>j���/w?�1��WhH<�'5���cһ����|2_�}֟����诽�m7b�ery �M�y���PK- O�[�;�9� 5 xl/workbook.xmlPK- O�[���� � � [Content_Types].xmlPK- O�[c�' ' U _rels/.relsPK- O�[�.S�� 6 � xl/worksheets/sheet1.xmlPK- O�[{��f� P � xl/_rels/workbook.xml.relsPK- O�[Ѓc'2 E ? xl/styles.xmlPK- O�[)��u � � xl/sharedStrings.xmlPK � {