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��\��[�5xl/workbook.xml �(�����0��&�C��@�N\�z�^a+
�'m
>��o�vfg�:k;>��GN�U�ƃ��"�uH�Nڀ
;��d>H�"�s�A����I�$�01/�r�0��X�X`���V�dB��x@�.�fe0�����"�)a�ETH1	5n�gE���8��V"��
兗<O��\���F����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
��\���X''_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="R13c947dd82574242" /></Relationships>PK��\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��\�`�!�Pxl/_rels/workbook.xml.rels �(���KN�0@�b͞8I�&Au�aö�&���&�e�@�Ƃ#q�"A*�`��h~OO��|����扽��5�,���j4��S��v��'�DУ,�� @���9��Y��:4�C��2�����(�e���_2��g��!Z���۟f4�0��4bv�~�(��%Y�{T�u�MK
�ź�*�񛩅x�0�z}�KR�������|�����S���K�ey�FD-�y�5���k/j��/�_PK��\Ѓ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��\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-��\��[�5xl/workbook.xmlPK-��\����	�[Content_Types].xmlPK-
��\���X''V_rels/.relsPK-��\6�η�H�xl/worksheets/sheet1.xmlPK-��\�`�!�P�xl/_rels/workbook.xml.relsPK-��\Ѓc'2E
�xl/styles.xmlPK-��\q����hxl/sharedStrings.xmlPK��	

application/vnd.ms-excel

Sample:
PK��\��I��5xl/workbook.xml �(�����0��&�C�`i����ū�,�H�����O ��mgv���G�_��/�у	�/���e���'��d�i�Y�1N�?��:�Pe��&�L��4`Tք^�+�Vp��
=Q�ÊҨ��c���h�����l2���o*_`�Ţ�AMT����0��i��$��Y J)�kM��wXη��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="R13642b4c64d34134" /></Relationships>PK��\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��\���Pxl/_rels/workbook.xml.rels �(���KN�0@�b͞���!U�n�a[z����Q;��B�Ƃ#q�"A*�`��h~OO��|�Xo�Ɓ�ɇ��d&��ծ�mW�)���ݬ�4`L��S`iņL�ӊ�
�27�M���cJ}�'�G�+!���p�d��D�!���5�>�d�`���1�쀾�X�O)�k�Y�{jj�KQ�j!��E�B����B�~���(���QU�e^�UƠ��9�t�Ӽ<SC�7�RK\bA�����|PK��\Ѓ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��\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-��\��I��5xl/workbook.xmlPK-��\����	��[Content_Types].xmlPK-
��\Ì��''U_rels/.relsPK-��\6�η�H�xl/worksheets/sheet1.xmlPK-��\���P�xl/_rels/workbook.xml.relsPK-��\Ѓc'2E
�xl/styles.xmlPK-��\q����hxl/sharedStrings.xmlPK��