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": "ec9416c3-7ccf-44b6-8c71-a33f62265d11", "customerID": "5fa9d598-3b89-43ff-9943-7b4db8e0119a", "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": "15698af6-b416-4bd4-aed9-5e8500e73b50", "privilegeGroupId": "2be2a655-f78a-4377-89a4-ba31fedab331", "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>5fa9d598-3b89-43ff-9943-7b4db8e0119a</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>15698af6-b416-4bd4-aed9-5e8500e73b50</d2p1:ID> <d2p1:Permission>2</d2p1:Permission> <d2p1:PrivilegeGroupId>2be2a655-f78a-4377-89a4-ba31fedab331</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>15698af6-b416-4bd4-aed9-5e8500e73b50</d2p1:ID> <d2p1:Permission>2</d2p1:Permission> <d2p1:PrivilegeGroupId>2be2a655-f78a-4377-89a4-ba31fedab331</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>ec9416c3-7ccf-44b6-8c71-a33f62265d11</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 �D[��eȷ 5 xl/workbook.xml � (� ��;�0D�H����@~*��)��x �#�9~�t�vfg���1=��A���������X�q��X�ҽ�i[�@m��H�$�``A�;i=^h���u��� ��bR�j�C�N͞F?�h�u'�%D~St�m�B�)(q��hv��)F��qx�8yv��4��,���`����/PK �D[���� � [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 �D[� ϼ' ' _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="R4faa5723cde044d7" /></Relationships>PK �D[kh#�� 6 xl/worksheets/sheet1.xml � (� ��K��0F� ����i3I�����)��pd;�����0������\��k=�7�w��T���!�d���j�18�� OItU�͔RZ�����֞�A`�R6���I�n�P�I�{��@E�ɝ�lm�!d��ujݫLY���O-s�2��#4�P�I�$Q^����=-�<��/H�~���ܬ�.���y`�+x߿���rY����R��:��5)�Lզ����k����V�-c@����N1%�Q�egcU�{�FU�>���2�pH�x��'����CH!�&Ǐ}:�t��!cDiHy쇣N>%>� Dܰ� ���٨�I�̧�SF '����G��g>� * vMDw�`�b?�]j�$����~�U�V�ni���fo܍�$0 .�;_������5A��˚�sb�&�9qXl"}ʏ?����ׄX�_�E�5�m~��,����,}�@�c�7�t��JY���2}��PK �D[�,~ � P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞���j� ���g�DM��v���G� XEWb�������4����ٽ-3yA�'kz�3��j2C���Z�m7{�y�~�VO��=�!��z9��}fW4���[x�����H�j�R\3����V�I⣕�M�L_�;�1 9p7`����%�Y�yR=�;!T[���[Q�{��L͇����;OdD�1�+�)+U��ʌܡz.^:uJˉZ� &ڮ��T�E�^���PK �D[Ѓ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 �D[[���r � xl/sharedStrings.xml � (� �R�N�0����8M������E�Bµ7�%?��A����!���ٙ��l={�*z�Қ)I�D`��l����".I����50%o�$�55������N��4Cj;0i��̇�m�0�; �U2��D3iH�mo|X���7��O#��M훕�/R�����7u�oB�����Kg��i����!|k{kN"�8����8�:%Aa�U�<�O8o�<�q�OҘeY[���D��3iY%&Ug����m�ʃ�&�FiZ�!����\�-:�\��MV)�>��8��D��>���%3l�.� ��3\���x��p+pZ��e���kb}0�����傮�=.A�j0 ?�| PK- �D[��eȷ 5 xl/workbook.xmlPK- �D[���� � [Content_Types].xmlPK- �D[� ϼ' ' V _rels/.relsPK- �D[kh#�� 6 � xl/worksheets/sheet1.xmlPK- �D[�,~ � P � xl/_rels/workbook.xml.relsPK- �D[Ѓc'2 E A xl/styles.xmlPK- �D[[���r � � xl/sharedStrings.xmlPK � z
application/vnd.ms-excel
Sample:
PK �D[$��6� 5 xl/workbook.xml � (� ����0��&�C��JHQR8q���{)�4П�5���H�yۙ��v�l��3����/]��lI�(�OƂ���8�C��EL�K�o:��|���ă4��z���ay�w~ jZQ�K���!�4{J�}����.&"k���X��I!�T��c��{W�F��qx�m��]�9ͮxg�0F���PK �D[���� � [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 �D[�By�' ' _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="R4e29b2cba2824c18" /></Relationships>PK �D[kh#�� 6 xl/worksheets/sheet1.xml � (� ��K��0F� ����i3I�����)��pd;�����0������\��k=�7�w��T���!�d���j�18�� OItU�͔RZ�����֞�A`�R6���I�n�P�I�{��@E�ɝ�lm�!d��ujݫLY���O-s�2��#4�P�I�$Q^����=-�<��/H�~���ܬ�.���y`�+x߿���rY����R��:��5)�Lզ����k����V�-c@����N1%�Q�egcU�{�FU�>���2�pH�x��'����CH!�&Ǐ}:�t��!cDiHy쇣N>%>� Dܰ� ���٨�I�̧�SF '����G��g>� * vMDw�`�b?�]j�$����~�U�V�ni���fo܍�$0 .�;_������5A��˚�sb�&�9qXl"}ʏ?����ׄX�_�E�5�m~��,����,}�@�c�7�t��JY���2}��PK �D[z��s� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8��8Eu�aö�{�DM��v[z6�+`��ĂMW��==i���}�}�Fv"g%Y��rz���c4 l7���D�9��b��>����z�0dn&�:�� cJ}�gT숗y^s�d�-��/3���=9u���?����!�D�}GQ�O)�k(�D��%�ZQ��Z ]������Z���¯�w��1ʈB#�\Q����L���K���K�ey�V�D�Y��Rk�j��/6�PK �D[Ѓ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 �D[[���r � xl/sharedStrings.xml � (� �R�N�0����8M������E�Bµ7�%?��A����!���ٙ��l={�*z�Қ)I�D`��l����".I����50%o�$�55������N��4Cj;0i��̇�m�0�; �U2��D3iH�mo|X���7��O#��M훕�/R�����7u�oB�����Kg��i����!|k{kN"�8����8�:%Aa�U�<�O8o�<�q�OҘeY[���D��3iY%&Ug����m�ʃ�&�FiZ�!����\�-:�\��MV)�>��8��D��>���%3l�.� ��3\���x��p+pZ��e���kb}0�����傮�=.A�j0 ?�| PK- �D[$��6� 5 xl/workbook.xmlPK- �D[���� � [Content_Types].xmlPK- �D[�By�' ' V _rels/.relsPK- �D[kh#�� 6 � xl/worksheets/sheet1.xmlPK- �D[z��s� P � xl/_rels/workbook.xml.relsPK- �D[Ѓc'2 E ? xl/styles.xmlPK- �D[[���r � � xl/sharedStrings.xmlPK � x