GET api/permissions/defaults
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
AccountPrivileges| Name | 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": "f45a3de7-d99b-41a9-9b8d-c3b86715ad90",
"customerID": "9ba59d6e-f5ad-42bc-aebf-eed0b4d554c7",
"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": "21134317-fbe4-4868-8410-3c3df8b6b50c",
"privilegeGroupId": "21afc906-1577-45c0-86ce-1a66b36383c3",
"fieldName": "sample string 1",
"permission": 2,
"section": "sample string 3",
"restrictionUISetting": {
"$id": "6"
},
"restriction": "sample string 5",
"allowedPermissions": [
0,
0
]
},
{
"$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>9ba59d6e-f5ad-42bc-aebf-eed0b4d554c7</CustomerID>
<Fields xmlns:d2p1="http://schemas.datacontract.org/2004/07/EziManager.Models.Common">
<d2p1:FieldPermission>
<d2p1:AllowedPermissions xmlns:d4p1="http://schemas.datacontract.org/2004/07/EziManager.Common.Attributes">
<d4p1:FieldPermissionEnum>Full</d4p1:FieldPermissionEnum>
<d4p1:FieldPermissionEnum>Full</d4p1:FieldPermissionEnum>
</d2p1:AllowedPermissions>
<d2p1:FieldName>sample string 1</d2p1:FieldName>
<d2p1:ID>21134317-fbe4-4868-8410-3c3df8b6b50c</d2p1:ID>
<d2p1:Permission>2</d2p1:Permission>
<d2p1:PrivilegeGroupId>21afc906-1577-45c0-86ce-1a66b36383c3</d2p1:PrivilegeGroupId>
<d2p1:Restriction>sample string 5</d2p1:Restriction>
<d2p1:RestrictionUISetting />
<d2p1:Section>sample string 3</d2p1:Section>
</d2p1:FieldPermission>
<d2p1:FieldPermission>
<d2p1:AllowedPermissions xmlns:d4p1="http://schemas.datacontract.org/2004/07/EziManager.Common.Attributes">
<d4p1:FieldPermissionEnum>Full</d4p1:FieldPermissionEnum>
<d4p1:FieldPermissionEnum>Full</d4p1:FieldPermissionEnum>
</d2p1:AllowedPermissions>
<d2p1:FieldName>sample string 1</d2p1:FieldName>
<d2p1:ID>21134317-fbe4-4868-8410-3c3df8b6b50c</d2p1:ID>
<d2p1:Permission>2</d2p1:Permission>
<d2p1:PrivilegeGroupId>21afc906-1577-45c0-86ce-1a66b36383c3</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>f45a3de7-d99b-41a9-9b8d-c3b86715ad90</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 k3�\��
� 5 xl/workbook.xml � (� ����0D�J��(� �(0�t��݀i"H��T���@���w>?_�[cF�Q�v����~.s�@�bf�a7��i_���1�[��,K��Y��K��������-B��WӆR 5��'B���)qqQc����m!���v\DE4(�h(�ν�hJ�-ey�����
��ZЃ}�8��_PK k3�\���� � [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
k3�\��� ' ' _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="Rdca86f246e3949e5" /></Relationships>PK k3�\�g � 6 xl/worksheets/sheet1.xml � (� ��ˎ�0@y_��i3I�����)��&��v����ǐ����s�}�?�7G�"��U� �C��6WE�p������������[�� ��=m���l2㫓l�Z�t�Y7Շ@�e�˭�ύlm�!䁖�̺�LU���O,s�2+�#4�!T��-H�vѻ�{Z� xF�=^��=�Z˫�4��L�(��M~ �=��]��O����G�K]���PYW$�;�:���5uW:�5�{��օ�@��ǐ
B"A)��=,��(��G���E�r�!��OF�L>�~� ��F\�?�����܇�cL�� ��g��&�?�"�Y,B�8>u>�!vۇ�P&0C{쇣���>
T@�)Gw�`�b��mf�4����~�E�F�nh���zo܍��0.�;_������5A��˚�sb�&د >�K}����+'\�&�"�5-�_hQ�;Ȣλ;Ȣ��dަ!���E�܃#�N)+uU�G0�PK k3�\ljoo� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8i�:��vÆm���$��ؑ�=�����ĂMW��==i���c�{�B>��J(�Y�to; ��>4��n�4`L��S`i� &�i�yP�F��ȦN���1����v�y��~[&;\&�ѵm��ѩ�H6��Ο�!���;�~J�_C�%*�'-a_M��kB�����Z���¯�w>�����X Q���2=���ӥ�N��L-و��M��uUk����~PK k3�\Ѓ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 k3�\��YOk � xl/sharedStrings.xml � (� ���N�0E%��NB��AiPU(B�(��=m-�<��<)XΜ��Н�����<*gg$gI�
'�����ݒNI��[ɵ�0#o�$9ijĐD��ن��)�-��u`#Y;ox��ߤ�y�� ���(�Ʃ�ʒD�ކ8vD�ު�?�8B5uhn�zQ6pqZ����]�-z?$����57�+�i�C|�� +O��-��bλN+�C�.J>�0���ZZ伢U;�T���x��\V�PS�����:bZ��rh�@fm!˲����4D�|�-ɇx��[8�A�h4�s��`�
�S�p��������I����r+ ��1�m���Q�{�ǿ���X����pׅ3�Y���������PK- k3�\��
� 5 xl/workbook.xmlPK- k3�\���� � � [Content_Types].xmlPK-
k3�\��� ' ' T _rels/.relsPK- k3�\�g � 6 � xl/worksheets/sheet1.xmlPK- k3�\ljoo� P � xl/_rels/workbook.xml.relsPK- k3�\Ѓc'2 E
@ xl/styles.xmlPK- k3�\��YOk � � xl/sharedStrings.xmlPK � r
application/vnd.ms-excel
Sample:
PK k3�\�d��� 5 xl/workbook.xml � (� ����0��&�C���B)��x�བ�4П�5���H�yۙ��v�l��4fD5i_�!ؚ�P̟�w�8�B��E��Cg�[��Ȳ�8�X�F�AZ�W�?,o�� AM+J1�q{< D�f �O2[��Dd
��M��")���w,0��s��c�j�;T�Y����_�\���(�~�_PK k3�\���� � [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
k3�\}3��' ' _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="R50730ba0454d45cd" /></Relationships>PK k3�\�g � 6 xl/worksheets/sheet1.xml � (� ��ˎ�0@y_��i3I�����)��&��v����ǐ����s�}�?�7G�"��U� �C��6WE�p������������[�� ��=m���l2㫓l�Z�t�Y7Շ@�e�˭�ύlm�!䁖�̺�LU���O,s�2+�#4�!T��-H�vѻ�{Z� xF�=^��=�Z˫�4��L�(��M~ �=��]��O����G�K]���PYW$�;�:���5uW:�5�{��օ�@��ǐ
B"A)��=,��(��G���E�r�!��OF�L>�~� ��F\�?�����܇�cL�� ��g��&�?�"�Y,B�8>u>�!vۇ�P&0C{쇣���>
T@�)Gw�`�b��mf�4����~�E�F�nh���zo܍��0.�;_������5A��˚�sb�&د >�K}����+'\�&�"�5-�_hQ�;Ȣλ;Ȣ��dަ!���E�܃#�N)+uU�G0�PK k3�\��|/� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;��_a�tÖr�'��C)g�G�jQ�
Rݰ���I3�����8�W��N��0t�7�k��>,`�Y�qД&b�O��tDӊ�h:u���.u������O�u�<��a[&;\&��[�|��4��?����1v��C����5�,Q��{�Eas[-leJ)-0~7�H���w>��c!�F��˺.�*���3�t�Ӽ<S3v��d�Fc�R�W5~��/PK k3�\Ѓ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 k3�\��YOk � xl/sharedStrings.xml � (� ���N�0E%��NB��AiPU(B�(��=m-�<��<)XΜ��Н�����<*gg$gI�
'�����ݒNI��[ɵ�0#o�$9ijĐD��ن��)�-��u`#Y;ox��ߤ�y�� ���(�Ʃ�ʒD�ކ8vD�ު�?�8B5uhn�zQ6pqZ����]�-z?$����57�+�i�C|�� +O��-��bλN+�C�.J>�0���ZZ伢U;�T���x��\V�PS�����:bZ��rh�@fm!˲����4D�|�-ɇx��[8�A�h4�s��`�
�S�p��������I����r+ ��1�m���Q�{�ǿ���X����pׅ3�Y���������PK- k3�\�d��� 5 xl/workbook.xmlPK- k3�\���� � � [Content_Types].xmlPK-
k3�\}3��' ' U _rels/.relsPK- k3�\�g � 6 � xl/worksheets/sheet1.xmlPK- k3�\��|/� P � xl/_rels/workbook.xml.relsPK- k3�\Ѓc'2 E
@ xl/styles.xmlPK- k3�\��YOk � � xl/sharedStrings.xmlPK � r