POST api/restrictions
Create or update restriction header
Request Information
URI Parameters
None.
Body Parameters
RestrictionHeader to save
RestrictionHeader| Name | 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": "2026-04-03T06:16:42.1614326"
}
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>2026-04-03T06:16:42.1614326+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:
"017aef1e-efcc-421d-a483-218e83b97004"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">017aef1e-efcc-421d-a483-218e83b97004</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK 2�\��z�� 5 xl/workbook.xml � (� ����0D�J��(Ф*����k���A�����R�n������ر5f$5iW؊��c�P���u� c� �!d����
�g �7fq/�v���h���lz7 z5m(R��|"�\�=%..�`�uW��-�~Se�Q
+ڀJ�s�+z��2�;l�$O��� !��X����PK 2�\���� � [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="R0153d49746a54447" /></Relationships>PK 2�\��}�& � xl/worksheets/sheet1.xml � (� �Q�n� ��}%M�6��T��j�M;lg�85����? �4i� [~~�ٔǻ���k�_�2��6�j{��H�C��u9��y@,��?��+�� �o�W8�
���Rw�u��36�K"ϲ�p�K
R^����?\~p �d������lu`���5g�.�]���,��x��K[�,a��%)�:�B'Ǟ�p~}U6�M=
�>���7Ό��w�-��o��}�����6/69g�� ��R^\��&i�%ɺt83�ʁ=Fq��q��S�
'���/�*l ���%����� PK 2�\i���� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8�jP�n�a[z��3��&vd�@�Ƃ#q�"�+�`��h~OO��|�Xo�扽���-TE ��r�h�NQ�I�n�{�0��`�%��bC&����
��M���1�~��#�EY�s�3����CtZ��vN�f��0u�Qv@?Pl��%TE�{�[��RQ'�������Z��¯�w��P�*!�U���WJ�TƠ��9�t��)/gj� � UG��%>\���_l� PK 2�\Ѓ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 2�\(Wh�� � xl/sharedStrings.xml � (� 5�An� E��fO �j�
�E���= ����g��/]t�������]V�ĝs��ɂBJu�t���]�X"Mq��#� ���,�M�GXD�7c8-X"��Ԓ��%J��nx�1N� JYMg�)1�T��uP~x��&��K��qv�qNI���t쇳�܀����bm�o����
�PK- 2�\��z�� 5 xl/workbook.xmlPK- 2�\���� � � [Content_Types].xmlPK-
2�\۲��' ' U _rels/.relsPK- 2�\��}�& � � xl/worksheets/sheet1.xmlPK- 2�\i���� P 9 xl/_rels/workbook.xml.relsPK- 2�\Ѓc'2 E
~ xl/styles.xmlPK- 2�\(Wh�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK 2�\� <(� 5 xl/workbook.xml � (� ����0��&�C���
J
'.^=x_�"
�'m
>��o�vfg�>�U�t�z�3��6�1�E�
��X��1NA�{1�4R`i�[�,���9�!H�}+�������-bP��R 5-�;B���)q����d���o�ϰ�bVD����ٹ�9=R�29�kU��ޒ��sZEtco0����PK 2�\���� � [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="Rd1602b0d492a4702" /></Relationships>PK 2�\��}�& � xl/worksheets/sheet1.xml � (� �Q�n� ��}%M�6��T��j�M;lg�85����? �4i� [~~�ٔǻ���k�_�2��6�j{��H�C��u9��y@,��?��+�� �o�W8�
���Rw�u��36�K"ϲ�p�K
R^����?\~p �d������lu`���5g�.�]���,��x��K[�,a��%)�:�B'Ǟ�p~}U6�M=
�>���7Ό��w�-��o��}�����6/69g�� ��R^\��&i�%ɺt83�ʁ=Fq��q��S�
'���/�*l ���%����� PK 2�\v+T�� P xl/_rels/workbook.xml.rels � (� ��Mn� F����8�Cp�M7ݦ� ?cc��m��E��+�RkK]t��o�鍆�����m��88��(1��l��%u��#�"��>���F�MJ~KHT&���N��$R.CO�Pg��ʒ�0g�%���Ct]7(xt�2�M�ɫ�h F'zH�D�U��=i��L�J՛���h62�O��u����]�d�����L�F��2F��)�Mϝ��B�]+*uYwU#����ſ�PK 2�\Ѓ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 2�\(Wh�� � xl/sharedStrings.xml � (� 5�An� E��fO �j�
�E���= ����g��/]t�������]V�ĝs��ɂBJu�t���]�X"Mq��#� ���,�M�GXD�7c8-X"��Ԓ��%J��nx�1N� JYMg�)1�T��uP~x��&��K��qv�qNI���t쇳�܀����bm�o����
�PK- 2�\� <(� 5 xl/workbook.xmlPK- 2�\���� � [Content_Types].xmlPK-
2�\����' ' V _rels/.relsPK- 2�\��}�& � � xl/worksheets/sheet1.xmlPK- 2�\v+T�� P : xl/_rels/workbook.xml.relsPK- 2�\Ѓc'2 E
� xl/styles.xmlPK- 2�\(Wh�� � � xl/sharedStrings.xmlPK � �