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-06-03T18:31:25.4610075"
}
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:25.4610075+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:
"f95fdd1b-638b-4961-9003-3c2cc6a4b688"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">f95fdd1b-638b-4961-9003-3c2cc6a4b688</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK ��\բ�� 5 xl/workbook.xml � (� ����0E�J��(Д>P�K��M0%�<�����R�ʋ�����d��3���/\I�l��=*�cQ�Yg���{1�uR`m�[��t<���A�{i=]h���u�����i����Ϟ'�d4�wg��%�~S<������%�! %ɹ�%�(q����,�+d��/����`����/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
��\�"�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="R270843c5143d45e9" /></Relationships>PK ��\(��}% � xl/worksheets/sheet1.xml � (� �Q�n� ��}%m�&��T��j�M;lg�85�Ȑ��? �4i� [~~�ٔ�����4ڊ�Wg`l��V|��C�Ou9#ݜ�,��;Rŕ��Q�(0ҭp j��>�t�u��36���&�����>H9����p��@�ɂ�*#��u����3���Ok�D]&仆���Y������Y?�KR~%�B'�����|��.�4ػt3���83��Y�^U|�����;��>+9kF��|,�ŤXX��YzY��3�T�1��d4h�0�Tg��bo8�m�WaI@D�~>��PK ��\�g�� P xl/_rels/workbook.xml.rels � (� ��Kn� @��f_c��*$�n�Ms�c�$m��E��+�R�H]t�b4���|��6o�H���V�@�i�
��p�桅�z��Q岑�)O\�`sO�&mqR��]�'�K{�>��c]��e��%��ޘA�ק ]�L_}<&����U�1K�i%zM�*T �N�n�Y�X q@�
B練�e����]�d�j�X0���/��2VE�^r,?=w��gj�6\��(!�������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 ��\|hj� � xl/sharedStrings.xml � (� 5�An� �������f����k$3x=�(�}�!�Rw��ݿ�&��\q���Hk�����ǻ� ��V&�$��;"m�4ɕy՚�
%Х�-Y�Q7<��B��˦��X]BF)b=��V���n���e|YR�fe�aV��vj4�W}��h�m���4{������PK- ��\բ�� 5 xl/workbook.xmlPK- ��\���� � � [Content_Types].xmlPK-
��\�"�D' ' U _rels/.relsPK- ��\(��}% � � xl/worksheets/sheet1.xmlPK- ��\�g�� P 8 xl/_rels/workbook.xml.relsPK- ��\Ѓc'2 E
} xl/styles.xmlPK- ��\|hj� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK ��\��FK� 5 xl/workbook.xml � (� ����0D�&�C���@")��x���EhK�5���H�yۙ�};|�nh��G�W����`�������]g�>H�b��T�m��g���3����Մt����Ɂ��x=�(-����@_�=�e0���I�b�)a�ET�
%���D�.Kz��*���n2�m�_�4�R��wg���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="Rdec0114dc099463b" /></Relationships>PK ��\(��}% � xl/worksheets/sheet1.xml � (� �Q�n� ��}%m�&��T��j�M;lg�85�Ȑ��? �4i� [~~�ٔ�����4ڊ�Wg`l��V|��C�Ou9#ݜ�,��;Rŕ��Q�(0ҭp j��>�t�u��36���&�����>H9����p��@�ɂ�*#��u����3���Ok�D]&仆���Y������Y?�KR~%�B'�����|��.�4ػt3���83��Y�^U|�����;��>+9kF��|,�ŤXX��YzY��3�T�1��d4h�0�Tg��bo8�m�WaI@D�~>��PK ��\�z�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞� �i��ݰ��{�DM��v=�����ĂMW��==i���c�}v&zgk�3��r��m
�h�ݬ�4`L���Ҋ
5t1N+�hĐ��l��G�)�-�P�%^!��3�����Ct�:�d�`���1tD�}K���R�אg�
l�k�7�Z�J�F>ʲ�J`�nj!^
�^��L�0U��B7�D��L���K���s�yy���@Z��j�Rʧ�����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 ��\|hj� � xl/sharedStrings.xml � (� 5�An� �������f����k$3x=�(�}�!�Rw��ݿ�&��\q���Hk�����ǻ� ��V&�$��;"m�4ɕy՚�
%Х�-Y�Q7<��B��˦��X]BF)b=��V���n���e|YR�fe�aV��vj4�W}��h�m���4{������PK- ��\��FK� 5 xl/workbook.xmlPK- ��\���� � [Content_Types].xmlPK-
��\�=�' ' V _rels/.relsPK- ��\(��}% � � xl/worksheets/sheet1.xmlPK- ��\�z�� P 9 xl/_rels/workbook.xml.relsPK- ��\Ѓc'2 E
~ xl/styles.xmlPK- ��\|hj� � � xl/sharedStrings.xmlPK � �