GET api/permissions/defaults
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
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": "259855d8-ad60-4527-a2a6-324ec171326c", "customerID": "3f17dcf7-607e-43ca-a6cd-68e29dc2a379", "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": "cac317da-a928-4932-a876-bba6f6aecf36", "privilegeGroupId": "4139ad85-0a9c-4e89-8f40-10e85b6f2817", "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>3f17dcf7-607e-43ca-a6cd-68e29dc2a379</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>cac317da-a928-4932-a876-bba6f6aecf36</d2p1:ID> <d2p1:Permission>2</d2p1:Permission> <d2p1:PrivilegeGroupId>4139ad85-0a9c-4e89-8f40-10e85b6f2817</d2p1:PrivilegeGroupId> <d2p1:Section>sample string 3</d2p1:Section> </d2p1:FieldPermission> <d2p1:FieldPermission> <d2p1:FieldName>sample string 1</d2p1:FieldName> <d2p1:ID>cac317da-a928-4932-a876-bba6f6aecf36</d2p1:ID> <d2p1:Permission>2</d2p1:Permission> <d2p1:PrivilegeGroupId>4139ad85-0a9c-4e89-8f40-10e85b6f2817</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>259855d8-ad60-4527-a2a6-324ec171326c</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 2�Z9 %�� 5 xl/workbook.xml � (� ����0��&�C���H�N\�z�^�" �'m >��o�vfg�:k;�Z��#'�J[��{S�� ���6�®�V2�}���C��[��$K��X��Z�A�W�?,g,�� ^N+J2�p}< D�fO��2[��Dd �����"*��� 7�3��s�*�bdK�Gʳk�ϐ��6�.��;���w�PK 2�Z���� � [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 2�Z�f' ' _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="Rd081a135f3dd428f" /></Relationships>PK 2�Z�k�� 5 xl/worksheets/sheet1.xml � (� ��K��0F� ��6D�h�L��.�5��N2?��1d�Q�0�9�{-�����]�ҍ�R�|<��l�C Φ���,�J��k!�g�NoT jcN� �E-�\��$:�WI���>�C ��)�V�Vt&��@�cn�tݜ4��O-}R"/�Oh�c�6o:�%ec��_�)Q��m�xA���F\����'�+�k��L���w��*�U~>�_��]4���&��Sȣ�^��^�� �kS�:$�C)f1�1��W����q�u<���s��1��8�`��'�OfQ���BDcE?����ُ�Ø JC��c?��p�)�y��� ?��&��:g>��29���|��->�'4�Ę2t��!��&�%���m�~�l�z8'v���K��һ��%В��xIl]�,���Kb��ػ���F���[~�8|��%�U~��W�]���rY�ywY5z��,�4�>���o��Ii������PK 2�Z�\� P xl/_rels/workbook.xml.rels � (� ��Kn� @��f_cl�U�l��6�0Ɗ �&9[=R�P�J�#u�MV��==i���c��L#yCg[(�Z��`�NQ?հݬ�8��&��@Ҋ -��gJ�48���m�h�'S�{:y=�U�W�/p�$���!:��;'O�����?����1��S ��,Q�����\՝dȋ�㪬�Ї��x1�z}�UՒu%oT)y��2FxT�ѧK/����ES�fy�8c�F��b�PK 2�ZЃ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 2�Zc��6t � xl/sharedStrings.xml � (� ���n�0EE��˖�BV8�#NWE�ȱM��CM����f!g�.9g.��tW��ɞ1��n�JQ���J�Ê}{���Q��x�+��IJ��#�Y�:Z�c�ç<'yD$��.��bz�CNC@PtD���UQ4��X&��b[�lt����B��.�۠���~����w�����#Eo1\�����+X��IS��Lj;�V��;�F]�_��t=F���j�\��j�A5�ͫ�C ��ʲ-몑SM�/[%�-o��������7��JVP�˩��SN!Ŗ�S�{��V��1(c ��=:Z�/��S����ހ��� �Gt�FwLz�鏰�`5�N�ǿ�z�؝�������f-���Q&��>4����� PK- 2�Z9 %�� 5 xl/workbook.xmlPK- 2�Z���� � [Content_Types].xmlPK- 2�Z�f' ' V _rels/.relsPK- 2�Z�k�� 5 � xl/worksheets/sheet1.xmlPK- 2�Z�\� P � xl/_rels/workbook.xml.relsPK- 2�ZЃc'2 E A xl/styles.xmlPK- 2�Zc��6t � � xl/sharedStrings.xmlPK � |
application/vnd.ms-excel
Sample:
PK 2�ZVդ*� 5 xl/workbook.xml � (� ���� D�M��(�����z_q)D4��Mz�mgv������sn 3�P������ 7�M;鼁��1'��:�6h#˯גy!jg��S��V�<Bb4�2�-m�'B���q�L�^w1 �B�7�W�q�*b�`M[�@�����f��J�����9f��@҃}�8�7_PK 2�Z���� � [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 2�Zߊ'?' ' _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="R305b6f749ee84cc1" /></Relationships>PK 2�Z�k�� 5 xl/worksheets/sheet1.xml � (� ��K��0F� ��6D�h�L��.�5��N2?��1d�Q�0�9�{-�����]�ҍ�R�|<��l�C Φ���,�J��k!�g�NoT jcN� �E-�\��$:�WI���>�C ��)�V�Vt&��@�cn�tݜ4��O-}R"/�Oh�c�6o:�%ec��_�)Q��m�xA���F\����'�+�k��L���w��*�U~>�_��]4���&��Sȣ�^��^�� �kS�:$�C)f1�1��W����q�u<���s��1��8�`��'�OfQ���BDcE?����ُ�Ø JC��c?��p�)�y��� ?��&��:g>��29���|��->�'4�Ę2t��!��&�%���m�~�l�z8'v���K��һ��%В��xIl]�,���Kb��ػ���F���[~�8|��%�U~��W�]���rY�ywY5z��,�4�>���o��Ii������PK 2�Z�~+� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�I����ݰ���3N�&vd����G� XE�Tb�������4����M#9��� ��V�v�]�h*�n�{eL��@Ҋ �1�O���$C�f��c��dL���,�QvH��K�2��2��ΘA�ӧ m�L_�?�19H�al��5�Y�ٵ 챨�VR�k�K��M-�ˈ���;_Ȭj�E���)���2��ؾD�.�tZ�j�*�b���a<�Fo�b�PK 2�ZЃ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 2�Zc��6t � xl/sharedStrings.xml � (� ���n�0EE��˖�BV8�#NWE�ȱM��CM����f!g�.9g.��tW��ɞ1��n�JQ���J�Ê}{���Q��x�+��IJ��#�Y�:Z�c�ç<'yD$��.��bz�CNC@PtD���UQ4��X&��b[�lt����B��.�۠���~����w�����#Eo1\�����+X��IS��Lj;�V��;�F]�_��t=F���j�\��j�A5�ͫ�C ��ʲ-몑SM�/[%�-o��������7��JVP�˩��SN!Ŗ�S�{��V��1(c ��=:Z�/��S����ހ��� �Gt�FwLz�鏰�`5�N�ǿ�z�؝�������f-���Q&��>4����� PK- 2�ZVդ*� 5 xl/workbook.xmlPK- 2�Z���� � � [Content_Types].xmlPK- 2�Zߊ'?' ' T _rels/.relsPK- 2�Z�k�� 5 � xl/worksheets/sheet1.xmlPK- 2�Z�~+� P � xl/_rels/workbook.xml.relsPK- 2�ZЃc'2 E ? xl/styles.xmlPK- 2�Zc��6t � � xl/sharedStrings.xmlPK � z