GET api/session/restrictions

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ControllerPermission
NameDescriptionTypeAdditional information
Name

string

None.

AllowDefault

If Verb/Action are not found allow/disallow

boolean

None.

Verbs

Dictionary of string [key] and boolean [value]

None.

Actions

Dictionary of string [key] and boolean [value]

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "name": "sample string 1",
    "allowDefault": true,
    "verbs": {
      "$id": "2",
      "sample string 1": true,
      "sample string 3": true
    },
    "actions": {
      "$id": "3",
      "sample string 1": true,
      "sample string 3": true
    }
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfControllerPermission xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.Tenancies.Accounts">
  <ControllerPermission>
    <Actions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringboolean>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>true</d3p1:Value>
      </d3p1:KeyValueOfstringboolean>
      <d3p1:KeyValueOfstringboolean>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>true</d3p1:Value>
      </d3p1:KeyValueOfstringboolean>
    </Actions>
    <AllowDefault>true</AllowDefault>
    <Name>sample string 1</Name>
    <Verbs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringboolean>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>true</d3p1:Value>
      </d3p1:KeyValueOfstringboolean>
      <d3p1:KeyValueOfstringboolean>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>true</d3p1:Value>
      </d3p1:KeyValueOfstringboolean>
    </Verbs>
  </ControllerPermission>
  <ControllerPermission>
    <Actions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringboolean>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>true</d3p1:Value>
      </d3p1:KeyValueOfstringboolean>
      <d3p1:KeyValueOfstringboolean>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>true</d3p1:Value>
      </d3p1:KeyValueOfstringboolean>
    </Actions>
    <AllowDefault>true</AllowDefault>
    <Name>sample string 1</Name>
    <Verbs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringboolean>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>true</d3p1:Value>
      </d3p1:KeyValueOfstringboolean>
      <d3p1:KeyValueOfstringboolean>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>true</d3p1:Value>
      </d3p1:KeyValueOfstringboolean>
    </Verbs>
  </ControllerPermission>
</ArrayOfControllerPermission>

text/csv

Sample:

Sample not available.

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Sample:
PK+�D[#��5xl/workbook.xml �(�����0��J}�(P�B���k��n0MIP��>~�Hݺ����'&���s=�����W\�8�A*2.n$;�:�
�Y���Ӓ'߆l�,Ir�4`�����7�?�0z�6(�h�
eP[^�O����C�V9{��d���7%V�q�*f�P������ڊ���R��e��(҄d~M���&`�]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[�x.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="Re4f36cbe67434956" /></Relationships>PK+�D[6�η�Hxl/worksheets/sheet1.xml �(���]o�0�������G#��U�ݴ�����l'����4Xʶ8��{�p,(?���6R�%$�@��j�x(�ɶ_r�X������f�K�Y{�!d�N�D�(F��*=p������ث�4��"�q���u[�N
\��K/sԂ7^a�V�#��F��=Т-���cPUx����T��Mޔz��5%ĞE��7��A#Z~��5�
y�R�3�ꍿ�AΣ�`��>��v�bQ�`�	{H�<��'c��k]��e��5O�yeY���IB)K��|���K>e#�1J�,��gk��_-c�3�s˫B�	h���Փ+����qGv�p��sv%���%�C�����/rR3z5�A�m�B"٘�D�1�Gܘ�W���f!�5���=b1C�N�s���/JY���_~�oPK+�D[p���Pxl/_rels/workbook.xml.rels �(���MN�0F�b͞��%��vÆm�{�DMl�v���G�
XE�Tb��+k����f����ٽ�{!Fk:�3���j4}���Z�m7{�0�a]`�	1�5�A4cȬ#�:��c*}��#��!��f�����V�Q҃���L��_�?��(;��)v�~9�,Q�=��(�m��M%���Z��¯�w���+��r�׺ɫ˛��I=E�6�tZ��9a�������*������/PK+�D[Ѓc'2E
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[q����xl/sharedStrings.xml �(�ePAN�0���3�i�P�
Z��K��6�6��u�n���!5Ǚٙ�l��^}bb�ֳ��
����}��7�7Z���#a�Gd��b��ĵ�D�[c��0�G��.��a��B��o�eye8Ҫ�I����}��ù��J�������#w�}�Z�/���-O��u�!��Ǫٹ�Iäz=�`(��{<��H�\S�܁�4��_Ow�C��	�����?��/�PK-+�D[#��5xl/workbook.xmlPK-+�D[����	��[Content_Types].xmlPK-
+�D[�x.f''U_rels/.relsPK-+�D[6�η�H�xl/worksheets/sheet1.xmlPK-+�D[p���P�xl/_rels/workbook.xml.relsPK-+�D[Ѓc'2E
�xl/styles.xmlPK-+�D[q����hxl/sharedStrings.xmlPK��	

application/vnd.ms-excel

Sample:
PK+�D[~�3��5xl/workbook.xml �(�����0��J}�(�@�/&����`���8}�Hݺ���ϗ
ֵOk[�ѝ���\zߧBP%Q�l�&��4� �KئQ��zk4^��$v�5$UO|��â�!�$��f�ex��0���
�d0�������l���b4��Mέ�y̙KU���Ǥ�h��8���2��.�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[��R�''_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="Rec2aa3c2a6bd41e2" /></Relationships>PK+�D[6�η�Hxl/worksheets/sheet1.xml �(���]o�0�������G#��U�ݴ�����l'����4Xʶ8��{�p,(?���6R�%$�@��j�x(�ɶ_r�X������f�K�Y{�!d�N�D�(F��*=p������ث�4��"�q���u[�N
\��K/sԂ7^a�V�#��F��=Т-���cPUx����T��Mޔz��5%ĞE��7��A#Z~��5�
y�R�3�ꍿ�AΣ�`��>��v�bQ�`�	{H�<��'c��k]��e��5O�yeY���IB)K��|���K>e#�1J�,��gk��_-c�3�s˫B�	h���Փ+����qGv�p��sv%���%�C�����/rR3z5�A�m�B"٘�D�1�Gܘ�W���f!�5���=b1C�N�s���/JY���_~�oPK+�D[�\x�Pxl/_rels/workbook.xml.rels �(���KN�0@�b͞خ�֠�ݰ���3N�&vd����G�
XE�Tb�������4����޾�9c��w�Ag|ӻ��S�
�����D��)���b]J���t8�X�	]�XF�rZ:is�-�cK��e��e������goN#�����p�brС�T�O)�k�E��5�6�R&��%�@���b����L-�T|�,��,�}e:�yI!_z�4/��J�jQ+�����Fo�b�PK+�D[Ѓc'2E
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[q����xl/sharedStrings.xml �(�ePAN�0���3�i�P�
Z��K��6�6��u�n���!5Ǚٙ�l��^}bb�ֳ��
����}��7�7Z���#a�Gd��b��ĵ�D�[c��0�G��.��a��B��o�eye8Ҫ�I����}��ù��J�������#w�}�Z�/���-O��u�!��Ǫٹ�Iäz=�`(��{<��H�\S�܁�4��_Ow�C��	�����?��/�PK-+�D[~�3��5xl/workbook.xmlPK-+�D[����	��[Content_Types].xmlPK-
+�D[��R�''U_rels/.relsPK-+�D[6�η�H�xl/worksheets/sheet1.xmlPK-+�D[�\x�P�xl/_rels/workbook.xml.relsPK-+�D[Ѓc'2E
�xl/styles.xmlPK-+�D[q����hxl/sharedStrings.xmlPK��