PUT api/restriction/{id}
Create or update restriction header
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Restriction Identifier |
globally unique identifier |
Required |
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:44.7415517"
}
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:44.7415517+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:
"3ab3fc13-698c-4f8e-a5ab-1842cf01edde"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3ab3fc13-698c-4f8e-a5ab-1842cf01edde</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK 2�\j�.� 5 xl/workbook.xml � (� ���� D�M��(b��=y鵇��B*`��~~Q�Io���ξ6;��{��m�}�U�SMH
7�M;��1I�$NJ-�s�m�F�gYI<�<jg��S��V�<�!(�h�
e���=�bK���9�2{��Dd��[a������1Z���`���u�eu�z�Y���t���1��n�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="Rb70194bfd2274a04" /></Relationships>PK 2�\_�4# � xl/worksheets/sheet1.xml � (� �Q�N�0��(w��hcBm'�i�� �кK�&�bw�瓤!q�Ė��{v��͍�
�,�F��B
��֟9�p����^0\� ��pO����yzT�:N�'�6`p�c�
��vp�nv�YUE�SF�Q���H�l��)��7�TN[/ۺ��=��F>�R����w��E���Eƪ?�SV~
��A�#����l8nh�{:)��ٴ7)���w�=�F�?l�j��UeUn���L��c��&�ʒ%��u[\D��H��4e�Q����5������~������ǵ_PK 2�\�{��� P xl/_rels/workbook.xml.rels � (� ��Mn� F��f_c���d�M�i.��`��`i��u�#�
E��:R�d��xz����c�{�'�>�ζ��Z���-��~�a��p�1�f\IOlh�ĸ<R��Y��-hSG;?˘J?�E����</�_3�I���CtZ�
�N�g��0}u�br�~���O����D�Էp(���WZ�Z0��wS�2a����+�&���ɂW���]e���?G�6�vZ�+5αu�t]�%�s�7�b�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�\�a�� � xl/sharedStrings.xml � (� 5�AN�0E�b��uҔ* �] q8�Ԟ4��q�L��`�������]V�E����q�)�c���7;�EN�V� ~H�܂QӦ,,�ۋs*(���d�{Am�?�l;a��H���]wu3���`mZ0�σ^�� r��s�{}���#Y|»���9�]O)�w����*�PK- 2�\j�.� 5 xl/workbook.xmlPK- 2�\���� � � [Content_Types].xmlPK-
2�\�:�' ' U _rels/.relsPK- 2�\_�4# � � xl/worksheets/sheet1.xmlPK- 2�\�{��� P 6 xl/_rels/workbook.xml.relsPK- 2�\Ѓc'2 E
} xl/styles.xmlPK- 2�\�a�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK 2�\�5� 5 xl/workbook.xml � (� ����0D�&�C���"8q����R�������Ϸ@ ��mgv��T��ι������T�8����@8�m�I�
�$��9)��։�Aم�y jg��c�+�V=Bb4Ê2�-m�B���C�����l���o�Z`�Ţ��5m!%�s�kz�ė:
w.:)��ʂ�Y�����a�~7_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�\r
s�' ' _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="Rada8175a6a2d4109" /></Relationships>PK 2�\_�4# � xl/worksheets/sheet1.xml � (� �Q�N�0��(w��hcBm'�i�� �кK�&�bw�瓤!q�Ė��{v��͍�
�,�F��B
��֟9�p����^0\� ��pO����yzT�:N�'�6`p�c�
��vp�nv�YUE�SF�Q���H�l��)��7�TN[/ۺ��=��F>�R����w��E���Eƪ?�SV~
��A�#����l8nh�{:)��ٴ7)���w�=�F�?l�j��UeUn���L��c��&�ʒ%��u[\D��H��4e�Q����5������~������ǵ_PK 2�\LjE�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�AIHP�nذ-��k�$Q۲]�gc���V+A*�`��h~OO����\m�牽b����B C��m/�讅�z��I�<��G�Wl�0��9�z�Y��y��C.�*�4��+}P=�{!��f������h����qF�� �7q@L�v*�$��"?���T`�F�V�=ieZ�DSu��o��i���u�2�BSV5�T����̠���N��B����ˬf�j��/��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�\�a�� � xl/sharedStrings.xml � (� 5�AN�0E�b��uҔ* �] q8�Ԟ4��q�L��`�������]V�E����q�)�c���7;�EN�V� ~H�܂QӦ,,�ۋs*(���d�{Am�?�l;a��H���]wu3���`mZ0�σ^�� r��s�{}���#Y|»���9�]O)�w����*�PK- 2�\�5� 5 xl/workbook.xmlPK- 2�\���� � � [Content_Types].xmlPK-
2�\r
s�' ' U _rels/.relsPK- 2�\_�4# � � xl/worksheets/sheet1.xmlPK- 2�\LjE�� P 6 xl/_rels/workbook.xml.relsPK- 2�\Ѓc'2 E
z xl/styles.xmlPK- 2�\�a�� � � xl/sharedStrings.xmlPK � �