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�0�Z���U�5xl/workbook.xml �(�����0��&�C���?()��x����6П�5���H�yۙ��v�h\�ӣ��/]�E�$�w�;cA�7N��{ù�1�[�$ϲ3q0� ��BZ�g�?,o��A
3J1�q�� D�f	�O2K��Dd��M��")���
7,0��s{Vx��+e��)�~��#/.xe�0J���PK�0�Z����	�[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
�0�Z�,l�''_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="R077367df5e0d40db" /></Relationships>PK�0�Z6�η�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�0�Zxu��Pxl/_rels/workbook.xml.rels �(���KN�0@�b͞8q�U�nذ-���㨉�.г��H\�H�J,�t1��OO�|�l�o�D^���Y�A#m?���9�����'����I|b<²��K���]�ĉ�n!�n���'1 eiZQ�f�-�/��h�%>Zy�ф?��պ�׈�Q�����ה%�
��p��UW�e]������	���w����,���X�uE�ʻ�h�.���i�^��B�y�VE�0F~U�7w��PK�0�ZЃ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�0�Zq����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-�0�Z���U�5xl/workbook.xmlPK-�0�Z����	�[Content_Types].xmlPK-
�0�Z�,l�''V_rels/.relsPK-�0�Z6�η�H�xl/worksheets/sheet1.xmlPK-�0�Zxu��P�xl/_rels/workbook.xml.relsPK-�0�ZЃc'2E
�xl/styles.xmlPK-�0�Zq����jxl/sharedStrings.xmlPK��	

application/vnd.ms-excel

Sample:
PK�0�Z7�@0�5xl/workbook.xml �(�����0��J}�(�������k��L� ?JR��o�[7�����E۩�z"9+W؊�ޛ�1׍(�]�Av��|����0�ݽ%*ϲ$ə���ʍ�8���a9cz7"z9o(	B��|"�\�=..�`�uW��-�~Se�Q+ڀJ�s�+�Rb�G��[�H[@~M8=��d���PK�0�Z����	�[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
�0�Z��v�''_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="R743fb6606ac94b44" /></Relationships>PK�0�Z6�η�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�0�Z�O<{�Pxl/_rels/workbook.xml.rels �(���AN�0E�b͞؉���ݰa[z�I2��&vd�@�Ƃ#q,*A*�`ӕ5짧�lvo��^ȇ��
�L#۸v�}�����n��ӈ1�f�KOl���8�9��	C�f���9?aL�����{�+��f��y��]�

=��4�������`�"���b?Q��G�%*����}�R���HJ��L-��H���R/etM���Zת��Mezj��O�^:-�ZY
j�.J�d~����/PK�0�ZЃ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�0�Zq����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-�0�Z7�@0�5xl/workbook.xmlPK-�0�Z����	��[Content_Types].xmlPK-
�0�Z��v�''U_rels/.relsPK-�0�Z6�η�H�xl/worksheets/sheet1.xmlPK-�0�Z�O<{�P�xl/_rels/workbook.xml.relsPK-�0�ZЃc'2E
�xl/styles.xmlPK-�0�Zq����hxl/sharedStrings.xmlPK��