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-06-03T18:31:22.3503275"
}
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-06-03T18:31:22.3503275+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:
"d71c1f10-31bb-4a73-bcbe-4ae380f566fe"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">d71c1f10-31bb-4a73-bcbe-4ae380f566fe</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK ��\��,�� 5 xl/workbook.xml � (� ����0D�J��(� - ���ҵCwN� JR��o �ԭ��|~>>;4��F�
[����`̵=*p3�;a��}1#�l�6�[��,���Y�K�]/'G7�?,7Y����^�J�Դ:��K���٭2{��$l��_a�Ū��%��%�s�JSb��5�A$y,�,�ei�������PK ��\���� � [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
��\Ծ�g' ' _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="R373b3d9e01464ac4" /></Relationships>PK ��\�;��% � xl/worksheets/sheet1.xml � (� �Q�n� ���m�v��T��j�M;lg�85�H��m����-?��l�����k�5�
mK�����?<���frW��p���¸�ܷ
���hc�'gd���p�{���ɠ
|-Ė;d�R^�����.?:�]�`���Hm��:ٓ{氯�ƛ*#�5��W���Dה�t5�������X�����F�3�
qC����������{~g�U�fW�b���ܬ�%�v���R^\�&k�d�M�hf.�#{��<>;��>�{kD�o�7������%tg��.+��\�PK ��\ꔐ� P xl/_rels/workbook.xml.rels � (� ��Kn� @��f_�]�8U�l��6�0���9[=R�P�J�#u�M4��|xz�����9��5-��F�~4C���n�{�DLA�.��Ąt��� 5�"d֡Ie�,b*�@��G1 -��_2�I��!Z�F�;+O3����Z19?`l��5�Y�y�[�?V\��窫���z7�/�_��z!���u��M�5��2Zx�_�O?�tZ�j\��P+٧(W^���]l� PK ��\Ѓ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 ��\8U�ծ � xl/sharedStrings.xml � (� 5��n�0D��;�U�9T��`�,�5e�(��:���if4�n���'n�
�`R,c�G�_��
�%��B��/2��w̢j���Yd�К�9�Hՙʖ�T���
��3��E��t�@Ų��YP;��?��$�ď�dM��ahN��6C�*l�f:w݄N�w������PK- ��\��,�� 5 xl/workbook.xmlPK- ��\���� � [Content_Types].xmlPK-
��\Ծ�g' ' V _rels/.relsPK- ��\�;��% � � xl/worksheets/sheet1.xmlPK- ��\ꔐ� P 9 xl/_rels/workbook.xml.relsPK- ��\Ѓc'2 E
� xl/styles.xmlPK- ��\8U�ծ � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK ��\�&$� 5 xl/workbook.xml � (� ����0D�&�C��X)��x����6Ж�5��$��ξ6Y�?���GƗ��2��$ķ4�';��;a��!J�"V�Bc۷H�$�8xP�x�F�W�?,?:�� A+Jsep}< ��f�_d4�����"�)����E!�5T��c�8���g�\��p�)�BZمy� ��w#���PK ��\���� � [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
��\ &�' ' _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="Rf415d2bef4c443fd" /></Relationships>PK ��\�;��% � xl/worksheets/sheet1.xml � (� �Q�n� ���m�v��T��j�M;lg�85�H��m����-?��l�����k�5�
mK�����?<���frW��p���¸�ܷ
���hc�'gd���p�{���ɠ
|-Ė;d�R^�����.?:�]�`���Hm��:ٓ{氯�ƛ*#�5��W���Dה�t5�������X�����F�3�
qC����������{~g�U�fW�b���ܬ�%�v���R^\�&k�d�M�hf.�#{��<>;��>�{kD�o�7������%tg��.+��\�PK ��\X�� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;�d�M�i.`�1F�Nۜ���W��J-���&�����4����ݿ�yAFg;(�Z�����~ha��p�1M3.��:01.J�28ː�m�h�gS��Hu�R���5n��xY�?D����ѩ�6���Ο�A�@��;�)z
E��@���
2!ʚ�����Z�� ï�w����T�`�hT]I��U�H��s���k�uy���k���
[~U�7��PK ��\Ѓ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 ��\8U�ծ � xl/sharedStrings.xml � (� 5��n�0D��;�U�9T��`�,�5e�(��:���if4�n���'n�
�`R,c�G�_��
�%��B��/2��w̢j���Yd�К�9�Hՙʖ�T���
��3��E��t�@Ų��YP;��?��$�ď�dM��ahN��6C�*l�f:w݄N�w������PK- ��\�&$� 5 xl/workbook.xmlPK- ��\���� � [Content_Types].xmlPK-
��\ &�' ' V _rels/.relsPK- ��\�;��% � � xl/worksheets/sheet1.xmlPK- ��\X�� P 9 xl/_rels/workbook.xml.relsPK- ��\Ѓc'2 E
� xl/styles.xmlPK- ��\8U�ծ � � xl/sharedStrings.xmlPK � �