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:
PK2�\�Rwn�5xl/workbook.xml �(�����0��&�C����R8q���{��4П�5���H�yۙ��v���j=����+m��MI���̝�v\[�|��E4碃Fwo	ʓ����B+7��J���ֻ��iEI&������)`vQc�����!��_D��P�y�Qt�}��l)��h�"��5��-I��F����PK2�\����	�[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
2�\���''_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="R4c0b8200feda47c5" /></Relationships>PK2�\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���_~�oPK2�\*p���Pxl/_rels/workbook.xml.rels �(���KN�0@�b͞8��ԩ�vÆm�g�DM��v���G�
XEWb�������4����ݿ�yA�GkY���hz�8�w�N2�	?��'q�xCˆR�����&v�u�1u=]�:��*�k�R�2����V�Q�U�M�L_�;�19J�c�S���,R�<u�W�fk�ˢB �nj>\&�^�y"#s��W+���5��2�t�=/�:��D�����Fɋ�jʫ����PK2�\Ѓ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��PK2�\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-2�\�Rwn�5xl/workbook.xmlPK-2�\����	�[Content_Types].xmlPK-
2�\���''V_rels/.relsPK-2�\6�η�H�xl/worksheets/sheet1.xmlPK-2�\*p���P�xl/_rels/workbook.xml.relsPK-2�\Ѓc'2E
�xl/styles.xmlPK-2�\q����jxl/sharedStrings.xmlPK��	

application/vnd.ms-excel

Sample:
PK2�\Zϯ��5xl/workbook.xml �(�����0��&�C���h�N\�z�^�V�O�||K	$޼���~;t2nx3����\��lE��zP��w�8�B��E����to:�c�]���i���x������j\P�I���!:7{H�|��X��&"K���h�mI!�Ըe�a���q���d�eYp8_s.x^8፽�(Y7_PK2�\����	�[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
2�\׫w''_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="Re32f6b926d664f58" /></Relationships>PK2�\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���_~�oPK2�\�*��Pxl/_rels/workbook.xml.rels �(���KN�0@�b͞8I�j�
�nK/`�q5�-�-�l,8W�*�6]����������m�������r ����z8���v����C���d=�+��0�`)�bą��XԱ��[x�������e��ԥ�e�����F�I��u�L_�;�19p7`����5Y����]�$Vm!�,��z75.3�_��<����\�++�vW��;����K�Ni9Q�eɺ��q��������PK2�\Ѓ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��PK2�\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-2�\Zϯ��5xl/workbook.xmlPK-2�\����	��[Content_Types].xmlPK-
2�\׫w''U_rels/.relsPK-2�\6�η�H�xl/worksheets/sheet1.xmlPK-2�\�*��P�xl/_rels/workbook.xml.relsPK-2�\Ѓc'2E
�xl/styles.xmlPK-2�\q����hxl/sharedStrings.xmlPK��