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": "9b89f2fd-fa5d-421d-974b-cce63056a4a5", "customerID": "e57db265-2bcc-47e3-b61a-20d0e425b66a", "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": "d4262a95-83fc-4532-8b9f-068a479d85f8", "privilegeGroupId": "0fb8c191-f9b5-4701-a310-c47eb70d1897", "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>e57db265-2bcc-47e3-b61a-20d0e425b66a</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>d4262a95-83fc-4532-8b9f-068a479d85f8</d2p1:ID> <d2p1:Permission>2</d2p1:Permission> <d2p1:PrivilegeGroupId>0fb8c191-f9b5-4701-a310-c47eb70d1897</d2p1:PrivilegeGroupId> <d2p1:Section>sample string 3</d2p1:Section> </d2p1:FieldPermission> <d2p1:FieldPermission> <d2p1:FieldName>sample string 1</d2p1:FieldName> <d2p1:ID>d4262a95-83fc-4532-8b9f-068a479d85f8</d2p1:ID> <d2p1:Permission>2</d2p1:Permission> <d2p1:PrivilegeGroupId>0fb8c191-f9b5-4701-a310-c47eb70d1897</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>9b89f2fd-fa5d-421d-974b-cce63056a4a5</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 a�[ ��V� 5 xl/workbook.xml � (� ����0��J}�(� � !`b�ڡ�!N�J~����_�[7�����ٸWő|Ԥ}�:�`+��0�1���)�tOf��vfx+ԁeIre'�h?J��F���C�~Dj�P ����DH�6{H�}����]M¶�M�v\DE4(lh(�74��Ur�<)���8搖�`����/PK a�[���� � [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 a�[S�' ' _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="R51f9755ea98f4b5f" /></Relationships>PK a�[T.��� 6 xl/worksheets/sheet1.xml � (� ��K��0F���}�/l����d�vWuѮ)��&��v���5�!DQ7`�s.|�Z�O�\�6�j�=�lsU��!�g[~�S_�~7��8�5�������M^�&3�:���J7�u���s�U����� B���Y�*S�'�j�S˜�̊���P����qQ����-�>�͞@�q����|Y�.�_��EQ��+x���,����R��>T�5)�\MMݵ�&����U��h�(��3�3l��*�OF����Q�p=���������!�"��<������8'�b���c?�`��D�1u� ">����I�cH0N�����/F_��s�B"B�w}�b?�mf�4�� t��w�g�4�Aq�7��]R�����5���� sb�&�x[lN��D0'�k�O��O��-?Y9b�M���k"Z�_x��;Ȣϻ;Ȣ��Od>�!��� T�#�N)+uT��`�PK a�[� �=� P xl/_rels/workbook.xml.rels � (� ��An� E��f_�]��U�l��6�0Ɗ ��9[=R�P�J-���&+4��i������m���0:�AY0 h�S�:8E}��n���$b�̸���Ё�qy�4H���[Ц�v~1�~���G1 ����p�$���!:�G��N�f��0}u�br~���O��(�D�:�+���J5�R�E� �7S�<a����3ư�uU�e{�y��T���9����)��9i�ny�!�Z���ѫ��PK a�[Ѓ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 a�[T�,?u � xl/sharedStrings.xml � (� ��[O�0��J�w;�&)]���.��(�(<��ֱ��%_����<�����o���4�g��'𨜝��e$+�Tv?'�W�$��\;s�H�E� �$J-��!��G��8���\6������{\� �YV��+K��� I����,��mB���Ii�ï�M�&=���j���sr����r_��/q���`+� cr�@˳��8m�˾� �Ϻ�ٮ�I�㕤e�K:���IVռ��X�TvE]Ѣ��S�Ю�9-2�AYT]]���5Ĝ|�-��x��[9�A�4�k��`7 ß���U���{�l�$hd�`� ���1�m��?��Qx<��ߟ�ѱ=��������m����.OA}i0�7۾PK- a�[ ��V� 5 xl/workbook.xmlPK- a�[���� � � [Content_Types].xmlPK- a�[S�' ' U _rels/.relsPK- a�[T.��� 6 � xl/worksheets/sheet1.xmlPK- a�[� �=� P � xl/_rels/workbook.xml.relsPK- a�[Ѓc'2 E B xl/styles.xmlPK- a�[T�,?u � � xl/sharedStrings.xmlPK � ~
application/vnd.ms-excel
Sample:
PK a�[�s�ʷ 5 xl/workbook.xml � (� ����0��J}�(� E� �X�v��S"H��T��A u��;�?_9k3<��G�����sS���=J�=�Zv�6�"͋����cQ$��Nhe{1Y���a�� ��Gtr�P����DH�6{������]M¶�M�v\xEH�h(�έ�hH�)�2��<K�0M�1�8�Rz�X����PK a�[���� � [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 a�[X�S' ' _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="R9e775dcd76e844c9" /></Relationships>PK a�[T.��� 6 xl/worksheets/sheet1.xml � (� ��K��0F���}�/l����d�vWuѮ)��&��v���5�!DQ7`�s.|�Z�O�\�6�j�=�lsU��!�g[~�S_�~7��8�5�������M^�&3�:���J7�u���s�U����� B���Y�*S�'�j�S˜�̊���P����qQ����-�>�͞@�q����|Y�.�_��EQ��+x���,����R��>T�5)�\MMݵ�&����U��h�(��3�3l��*�OF����Q�p=���������!�"��<������8'�b���c?�`��D�1u� ">����I�cH0N�����/F_��s�B"B�w}�b?�mf�4�� t��w�g�4�Aq�7��]R�����5���� sb�&�x[lN��D0'�k�O��O��-?Y9b�M���k"Z�_x��;Ȣϻ;Ȣ��Od>�!��� T�#�N)+uT��`�PK a�[�}��� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�n��FM�aö��'Q۲]�gc���V� �X��j4��'�|�lvo�D^0�ѻxŀ�3�]��)�; ��f���e" cH����s��4�g�*Е��qֹ���A���i\2�I��!zkG�ޜft�0}����c����R����B�ص�WJւ7�Z-V�Bo���y�����/d��V�(�����Me�{ʱ\z�,/�X��Z[�YɅf��F��b�PK a�[Ѓ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 a�[T�,?u � xl/sharedStrings.xml � (� ��[O�0��J�w;�&)]���.��(�(<��ֱ��%_����<�����o���4�g��'𨜝��e$+�Tv?'�W�$��\;s�H�E� �$J-��!��G��8���\6������{\� �YV��+K��� I����,��mB���Ii�ï�M�&=���j���sr����r_��/q���`+� cr�@˳��8m�˾� �Ϻ�ٮ�I�㕤e�K:���IVռ��X�TvE]Ѣ��S�Ю�9-2�AYT]]���5Ĝ|�-��x��[9�A�4�k��`7 ß���U���{�l�$hd�`� ���1�m��?��Qx<��ߟ�ѱ=��������m����.OA}i0�7۾PK- a�[�s�ʷ 5 xl/workbook.xmlPK- a�[���� � [Content_Types].xmlPK- a�[X�S' ' V _rels/.relsPK- a�[T.��� 6 � xl/worksheets/sheet1.xmlPK- a�[�}��� P � xl/_rels/workbook.xml.relsPK- a�[Ѓc'2 E B xl/styles.xmlPK- a�[T�,?u � � xl/sharedStrings.xmlPK � ~