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": "e8142146-145a-49c1-8db8-0912d1962fd7",
"customerID": "c4102d54-adac-46ae-92c0-e34b4d7f0909",
"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": "ca4a8f25-5571-4a5a-bb17-d6f1270a65a4",
"privilegeGroupId": "3508829e-bb6e-4e73-a2ab-0ecece1e2823",
"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>c4102d54-adac-46ae-92c0-e34b4d7f0909</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>ca4a8f25-5571-4a5a-bb17-d6f1270a65a4</d2p1:ID>
<d2p1:Permission>2</d2p1:Permission>
<d2p1:PrivilegeGroupId>3508829e-bb6e-4e73-a2ab-0ecece1e2823</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>ca4a8f25-5571-4a5a-bb17-d6f1270a65a4</d2p1:ID>
<d2p1:Permission>2</d2p1:Permission>
<d2p1:PrivilegeGroupId>3508829e-bb6e-4e73-a2ab-0ecece1e2823</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>e8142146-145a-49c1-8db8-0912d1962fd7</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 ܓ�\�<Լ� 5 xl/workbook.xml � (� ����0��&�C���P")��x���"
�'m
>��o�vfg�6k;>��GN�U�ƃ��"�uH�Nڀ
�^[�}��EtߋZݽ%(O�$���Ľ��
�8���a9c�?� �崢$
7�Bliv0�(���]LD��M��/�B�K�q�=�(:�g�S�l%�p+h~)��gZy�&xg�0F���PK ܓ�\���� � [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
ܓ�\�}�m' ' _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="Racc5ae53bac945d7" /></Relationships>PK ܓ�\��ʘ� 6 xl/worksheets/sheet1.xml � (� ��K��0F�
��
$F�f�vWuѮ)��pd;�����0G�n���\�������ƻ�k�% �x��eQw��M�%Oi|��UWB��ުTƜ��m�}y��+�j3c?�ʲ�s������� *�d�.�����X�j�Y1l�m�RmVw ���V�w�)Q&�ox0��w-��f��I�J���(�:�~X���
Qf������>V�6�N.=<���[�6{�0Uh�sB)�0gx�Y����{��'�On}��!�B�7��O'��>f~��kQ��>�|6�Q� ��njq�?�?�|>����cj�op�X&=�����À2��㇓~�|R��|ׇ�)G��L��J^=5L������pQ��k{�.)��w'�K�%��%Ȓع]/.����%��8�D0�F����q�U~��V�]b���x��;Ȫ��;ȪчwdyLcxxs*��j/�j�*�O0�PK ܓ�\p_8�� P xl/_rels/workbook.xml.rels � (� ��Mn� F�����c;
ɦ�n�\ ���b�6g�G��R�%R�d��xz����c�[���Fs\d9F��f=r|����� ��f�Q|�=�SvC����gƂ�e�*B,�H��'1)��2�-/�C4J��<���`�j��O ��p#�"O�G�E*FOLJ�Ѯ��U��iY�����|�,����D��h�A)D���2�p0<7�:�q��
U��*6Њʾ������PK ܓ�\Ѓ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 ܓ�\?�Fo � xl/sharedStrings.xml � (� ���n�0�_E���ЋY��,(�A���eȱM��ʡ��O�Ms�}i�3���������"������U��o���5����Z��aA� Iqѵ���R��K�?/KT;pY��g� �ɔø-�� 5� ��e]U��I�I���S{F�����>y����=D�b,l��e[��-��h5`
�1��a�弄��%���0$X�|\���~���=�0��bJ��H*��\?�i��Z�fZo�l�Q�W��*�TTL%ЦV�3�,�lS5U3֠t���S̶|��o���U�T�F#��(vk0��OW̝�r��
�#x�d�n�z��G|���_������X����x�Up.xv���je���PK- ܓ�\�<Լ� 5 xl/workbook.xmlPK- ܓ�\���� � [Content_Types].xmlPK-
ܓ�\�}�m' ' V _rels/.relsPK- ܓ�\��ʘ� 6 � xl/worksheets/sheet1.xmlPK- ܓ�\p_8�� P � xl/_rels/workbook.xml.relsPK- ܓ�\Ѓc'2 E
@ xl/styles.xmlPK- ܓ�\?�Fo � � xl/sharedStrings.xmlPK � v
application/vnd.ms-excel
Sample:
PK ܓ�\��� 5 xl/workbook.xml � (� ����0��&�C�`A�)��x����6Ж�5���H�yۙ��v�h]W[ۑ���]2�!��75�';��v�u��I��m��l��h=Gѕ:�yP�x�+��r�%b����\(�B���p��l���o�-��bQ�p�T<p �s�@\���!��dq�fur�D;{�1��.�PK ܓ�\���� � [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
ܓ�\�û[' ' _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="R72af16b6cb8640a0" /></Relationships>PK ܓ�\��ʘ� 6 xl/worksheets/sheet1.xml � (� ��K��0F�
��
$F�f�vWuѮ)��pd;�����0G�n���\�������ƻ�k�% �x��eQw��M�%Oi|��UWB��ުTƜ��m�}y��+�j3c?�ʲ�s������� *�d�.�����X�j�Y1l�m�RmVw ���V�w�)Q&�ox0��w-��f��I�J���(�:�~X���
Qf������>V�6�N.=<���[�6{�0Uh�sB)�0gx�Y����{��'�On}��!�B�7��O'��>f~��kQ��>�|6�Q� ��njq�?�?�|>����cj�op�X&=�����À2��㇓~�|R��|ׇ�)G��L��J^=5L������pQ��k{�.)��w'�K�%��%Ȓع]/.����%��8�D0�F����q�U~��V�]b���x��;Ȫ��;ȪчwdyLcxxs*��j/�j�*�O0�PK ܓ�\��H� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞ة8�i7lؖ^���q�Ķl��Xp$��U$H%l����I3�����<��i���b@�)�G7tp��F�v���$s�Hv���:�9�J��8�T���t����%�
R�t���K\2���?Dǫ�ѫ�.���>�E�@�2�;�)%zuU�@�t;-�=o�Z�=o��@���R>M�~����Fh���-oL-�*ceD��c���iY^�Iq�u/z%[լP����_l� PK ܓ�\Ѓ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 ܓ�\?�Fo � xl/sharedStrings.xml � (� ���n�0�_E���ЋY��,(�A���eȱM��ʡ��O�Ms�}i�3���������"������U��o���5����Z��aA� Iqѵ���R��K�?/KT;pY��g� �ɔø-�� 5� ��e]U��I�I���S{F�����>y����=D�b,l��e[��-��h5`
�1��a�弄��%���0$X�|\���~���=�0��bJ��H*��\?�i��Z�fZo�l�Q�W��*�TTL%ЦV�3�,�lS5U3֠t���S̶|��o���U�T�F#��(vk0��OW̝�r��
�#x�d�n�z��G|���_������X����x�Up.xv���je���PK- ܓ�\��� 5 xl/workbook.xmlPK- ܓ�\���� � [Content_Types].xmlPK-
ܓ�\�û[' ' V _rels/.relsPK- ܓ�\��ʘ� 6 � xl/worksheets/sheet1.xmlPK- ܓ�\��H� P � xl/_rels/workbook.xml.relsPK- ܓ�\Ѓc'2 E
> xl/styles.xmlPK- ܓ�\?�Fo � � xl/sharedStrings.xmlPK � t