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:
PKC�[�>�A�5xl/workbook.xml �(�����0��&�C���
N\�z�^��6�.ik���'�x�3;�����Fl��t�g��*�>c����`ǝDgx�{1�R�P�
��NQ�0�W��t�����xL��ז��!���a����d���o*�a�Ŭ��
Z��)��{S�#%.�����5Md\���r)��,g���PKC�[����	�[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
C�[�$�''_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="Rdf67952f51ac4990" /></Relationships>PKC�[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���_~�oPKC�[��a��Pxl/_rels/workbook.xml.rels �(���Kn�0@�b;���|�
�n)p��G$�eZ��E��+ԢRk�.�a5��ӓf>�?6��e&�nҪ�4a@PI�Mjh����
v��g�Ä'�HXQ���{�����mP�N��"|H�@��'1 �+��p�$ǫ��u�O�Z�T�0}���FD�(쀾������&�
�k��ڼ��~ծX�KY�Ss�:�����#�"�rQb�2�x�P�QX�^�
����r�֥]��b�l�H˛����PKC�[Ѓ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��PKC�[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-C�[�>�A�5xl/workbook.xmlPK-C�[����	�[Content_Types].xmlPK-
C�[�$�''W_rels/.relsPK-C�[6�η�H�xl/worksheets/sheet1.xmlPK-C�[��a��P�xl/_rels/workbook.xml.relsPK-C�[Ѓc'2E
�xl/styles.xmlPK-C�[q����kxl/sharedStrings.xmlPK��	

application/vnd.ms-excel

Sample:
PKC�[�N���5xl/workbook.xml �(����� ��&���6�6��^�z�e����ǗҴ�7o;��������*_c��	����:0i'��,&�_�
�:hm��`")��D<,*k�T.��+8�	�0�4S7�
Btj�P0�,��ԝLD��M�[/�B�i�q�"�(;7^�=F�Ri����R�(8pq�r�W�
�d��|PKC�[����	�[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
C�[z��''_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="R22a11a69be70434c" /></Relationships>PKC�[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���_~�oPKC�[��.�Pxl/_rels/workbook.xml.rels �(���Kn�0@�b;��8�����{�D$�e�R��E��+ԢR�.�a5��ӓf>�?�۷i$���`Myƀ��V
�k����f��Q�4���VLh��ѭ(
��I��:4����DL���$:��*���g�����V�Aⳕ�	M�L/֟B����0��S
��,Q��T�Z�|��)T�h�B��u������d�e�49/�����Cez�Q�D�.=w��gjK�*��#/j^Toj��/6_PKC�[Ѓ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��PKC�[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-C�[�N���5xl/workbook.xmlPK-C�[����	��[Content_Types].xmlPK-
C�[z��''U_rels/.relsPK-C�[6�η�H�xl/worksheets/sheet1.xmlPK-C�[��.�P�xl/_rels/workbook.xml.relsPK-C�[Ѓc'2E
�xl/styles.xmlPK-C�[q����hxl/sharedStrings.xmlPK��