POST api/restrictions
Create or update restriction header
Request Information
URI Parameters
None.
Body Parameters
RestrictionHeader to save
RestrictionHeaderName | Description | Type | Additional information |
---|---|---|---|
ID |
Header ID |
integer |
None. |
RestrictionGuid | globally unique identifier |
None. |
|
RestrictionIdentifier |
Identifier |
Collection of byte |
None. |
Name |
Restriction description |
string |
None. |
RestrictionType |
Kind of restriction |
RestrictionType |
None. |
Inactive |
Restriction header is active |
boolean |
None. |
Updated |
Last time header was updated |
date |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "restrictionIdentifier": "QEA=", "name": "sample string 2", "restrictionType": 3, "inactive": true, "updated": "2025-10-04T23:57:18.991083" }
application/xml, text/xml
Sample:
<RestrictionHeader xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Restrictions"> <ID>1</ID> <Inactive>true</Inactive> <Name>sample string 2</Name> <RestrictionGuid i:nil="true" /> <RestrictionIdentifier>QEA=</RestrictionIdentifier> <RestrictionType>3</RestrictionType> <Updated>2025-10-04T23:57:18.991083+00:00</Updated> </RestrictionHeader>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RestrictionIdentifier of saved header
globally unique identifierResponse Formats
application/json, text/json
Sample:
"5c449627-d304-4282-b94b-eb2d4e7d0da5"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">5c449627-d304-4282-b94b-eb2d4e7d0da5</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK )�D[�0"� 5 xl/workbook.xml � (� ����0��J}�(� �"`b�ڡ�LA~����� �[7�����ٸ�i�H>jҾr !؊1�*�cQ��`���{13�cg�[�,K��9� H����Ӎ��[��{�Դ�HM��zi��8�UFc����m!���W�q�*�AaC;@��������J����>�W,�,O���V��w�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[��/' ' _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="Rc572e4ea72fe4a0a" /></Relationships>PK )�D["�"�% � xl/worksheets/sheet1.xml � (� �Q�n� ��}�v˔VI�IU�ݦ�3K��p�I��m����-?��l��͎� ���o ��{�� ��pW�C[/�/��pG{�p´�: VQ��X�[b����tp�n���J�(<�*D)�f"�����&���RYeo��D��y���L�uF�X�W�������� �+��OY�ճ5�� �g0g�����H�f֤�qf�-���n�����v[U�,6�g�L��Z^]��&kUPm�qa>�#{��<��Fq��^[Y�k�'¿���:n � 1�� ??�~PK )�D[�~K)� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞ر�OP�nذ-��q�q�Ďl��Xp$��U$p%l����I3�����4�q𮅺b@�i� �o���v��G��D��I^q���|Oi�'+?���äRNCOg���G�[�P2�I��C���>M��`���1Z��B����R��PW� �ka��Zv\7��\� ��L-�����;/dP45gBH�^I�jn*cU��)�|�ҩ,j� ��3g�()���ѫ��~PK )�D[Ѓc'2 E 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[Up�߭ � xl/sharedStrings.xml � (� 5�KN�0D�b��cc<_9�'�8q3��C�����˧�ҫp����K����r�� �o���%QNK#��=fQ}J<�,�ތ�iƚ��V��|��&�=���3���8kO��B����t-����/��%�����ɝu~�^{wqz��Q���s�9���_��W�PK- )�D[�0"� 5 xl/workbook.xmlPK- )�D[���� � � [Content_Types].xmlPK- )�D[��/' ' U _rels/.relsPK- )�D["�"�% � � xl/worksheets/sheet1.xmlPK- )�D[�~K)� P 8 xl/_rels/workbook.xml.relsPK- )�D[Ѓc'2 E ~ xl/styles.xmlPK- )�D[Up�߭ � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK )�D[���� 5 xl/workbook.xml � (� ����0��&�C����()��x��}��4П�5���H�yۙ��v�d��3���/]E�lɘ=*�cQ�]g���{1�uR`c�[��eg�p� �����.�X�:������i����f��O2k��$l ��O��")�AaE@Irnϊ攸R��~���6�����Z����w�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[�N�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="R349f9f807e4e4cb3" /></Relationships>PK )�D["�"�% � xl/worksheets/sheet1.xml � (� �Q�n� ��}�v˔VI�IU�ݦ�3K��p�I��m����-?��l��͎� ���o ��{�� ��pW�C[/�/��pG{�p´�: VQ��X�[b����tp�n���J�(<�*D)�f"�����&���RYeo��D��y���L�uF�X�W�������� �+��OY�ճ5�� �g0g�����H�f֤�qf�-���n�����v[U�,6�g�L��Z^]��&kUPm�qa>�#{��<��Fq��^[Y�k�'¿���:n � 1�� ??�~PK )�D[� c� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8 V���ݰ��gGM��v=�����ĂMW��==i���c�}�Fv&g(�Y��� ��~�`�Y�iĘ&���Ҋ ��'24a��L6u��Ɣ��Ϩ��/�|����Lv�����zP���i"� �W��E`�=�~J�_C�%*�]����G�m���P� �x)�z}������e�m)*U�UƠ��%�t�Ӳ�P�JQ��J�Z�W5~��/PK )�D[Ѓc'2 E 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[Up�߭ � xl/sharedStrings.xml � (� 5�KN�0D�b��cc<_9�'�8q3��C�����˧�ҫp����K����r�� �o���%QNK#��=fQ}J<�,�ތ�iƚ��V��|��&�=���3���8kO��B����t-����/��%�����ɝu~�^{wqz��Q���s�9���_��W�PK- )�D[���� 5 xl/workbook.xmlPK- )�D[���� � � [Content_Types].xmlPK- )�D[�N�c' ' U _rels/.relsPK- )�D["�"�% � � xl/worksheets/sheet1.xmlPK- )�D[� c� P 8 xl/_rels/workbook.xml.relsPK- )�D[Ѓc'2 E ~ xl/styles.xmlPK- )�D[Up�߭ � � xl/sharedStrings.xmlPK � �