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
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:58:46.3518744" }
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:58:46.3518744+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:
"0f9e80c0-e240-4c93-bdd0-4adff5a9ff42"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0f9e80c0-e240-4c93-bdd0-4adff5a9ff42</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK W�D[���۶ 5 xl/workbook.xml � (� ����0��&�C�p�FR8q���{�E�O�||K $���~;l�vl��GNʕ�����p݀���6�®�Vr�}��{�a���D�!K�,N��� ��+��3�� �^N+Jr�h}<f���2[��$���7�"l���(.�� ����ܞM)��ýH.m^䘥���mNw�c����PK W�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 W�D[�O��' ' _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="Rf4fc4cb946634de6" /></Relationships>PK W�D[��% � xl/worksheets/sheet1.xml � (� �Q�N�0��(w��ucLm'�i�� �кK�&������!q�Ė��{v���l�5ښY��;m/5�B��ǦZ�]����\�U�A�*0�g8��Z���@���{�� �ɀ �>�w�� Iy�G�W��p�с�3�TFj˛����3}͟ �DS%仆���Y������y?�sR~u��^NCx���E��6��8�t3���83��EwA�|�˶�C�y,7�(���|@�W�b�I�'dS9\�Keb�Q��'�$�i�+1�^:����+��3b �~~��PK W�D[ ��`� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;qv��M7l)p�q�ؑmJ9[=R�P�Jm����h~OO��|����Ɓ����5Y�rmo��Q?U��n8Ș&��@Ҋ 5��5�Ae�܄6u��)���:��"�K���g��u���ֽ�g��#���^�?����0��S ��,Q���e�jx�qQ�aÁЇ��x0�z}�3�$ӊ�,���2Fzl_�O��;��3�J�bB��75z��/PK W�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 W�D[�w� � xl/sharedStrings.xml � (� 5��n� D�݁�NW�*�����Hfq��(���Co�43���gY�7Ε&x;PH��L� �ߗ���S�K%����,��V%�`Y?��0c�|�+RsR݊���M<#JYtȯ.>�Pw�6j�|����@vV�I#�L0���0�w?16�cJG?�4�V���/��+�PK- W�D[���۶ 5 xl/workbook.xmlPK- W�D[���� � � [Content_Types].xmlPK- W�D[�O��' ' U _rels/.relsPK- W�D[��% � � xl/worksheets/sheet1.xmlPK- W�D[ ��`� P 8 xl/_rels/workbook.xml.relsPK- W�D[Ѓc'2 E xl/styles.xmlPK- W�D[�w� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK W�D[ⱔ�� 5 xl/workbook.xml � (� ����0D�&�C��T N\�z�^`+ �%��|o�vfg�N>Y�������+h���1�MZ�Ɏ`�NZ��ҽ��R5P���xv���9�W�`�F�+��D���Ê�BZ��s��� ���l���o*_`�Ţ� Z /(Y�{[PN��T�'uz�M|��5�������w�PK W�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 W�D[{�K�' ' _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="R098c9788ecdc4e4c" /></Relationships>PK W�D[��% � xl/worksheets/sheet1.xml � (� �Q�N�0��(w��ucLm'�i�� �кK�&������!q�Ė��{v���l�5ښY��;m/5�B��ǦZ�]����\�U�A�*0�g8��Z���@���{�� �ɀ �>�w�� Iy�G�W��p�с�3�TFj˛����3}͟ �DS%仆���Y������y?�sR~u��^NCx���E��6��8�t3���83��EwA�|�˶�C�y,7�(���|@�W�b�I�'dS9\�Keb�Q��'�$�i�+1�^:����+��3b �~~��PK W�D[(��� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�.�5� ����8��ؖ�=�����ĂMW��==i���c�}�'�!��v��r�h�NI�5�ݬw8ɔ'�}$y��LJ��Ҩ�2Σ���,SN�@�TG9 ]1VѰd�5����CtZ� �:�h�`���1�d/À���R����L��w��9��ZU5g����ZL� ��w��)��2�.��:����N!_z�,/��(��T�t-z�_���_l� PK W�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 W�D[�w� � xl/sharedStrings.xml � (� 5��n� D�݁�NW�*�����Hfq��(���Co�43���gY�7Ε&x;PH��L� �ߗ���S�K%����,��V%�`Y?��0c�|�+RsR݊���M<#JYtȯ.>�Pw�6j�|����@vV�I#�L0���0�w?16�cJG?�4�V���/��+�PK- W�D[ⱔ�� 5 xl/workbook.xmlPK- W�D[���� � [Content_Types].xmlPK- W�D[{�K�' ' V _rels/.relsPK- W�D[��% � � xl/worksheets/sheet1.xmlPK- W�D[(��� P 9 xl/_rels/workbook.xml.relsPK- W�D[Ѓc'2 E xl/styles.xmlPK- W�D[�w� � � xl/sharedStrings.xmlPK � �