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-06-14T06:20:13.5689245" }
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-06-14T06:20:13.5689245+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:
"a89627e7-22c4-4f62-8789-8d38f8ee7edf"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">a89627e7-22c4-4f62-8789-8d38f8ee7edf</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK �2�Z Z((� 5 xl/workbook.xml � (� ���� D�M��(�c�z��k���TR4��Mz�mgv��Գ���ц�7t�q�b@��&�i��7��O��;'�mdW��q��� ���h����d�7�mi{>R/���d�u��-�~S� ;.VE,lh(Y��lhF��t�BȜg}e�r.z�X����PK �2�Z���� � [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�Z�L�' ' _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="R5f75e84d34b14ecd" /></Relationships>PK �2�Z��D�% � xl/worksheets/sheet1.xml � (� �Q�n� ��}����VI�IU�ݦ�3K��pdH��m����-?��l���� � ��� ��;��5�B�処��.^����:�q/�o5X���Z�dU�)���i��d����A*D)������.?�.[��Be�q��:ٓ{F���iřh��|70�_1Kc|"^R���\f��>e�Wb�j���`�:� ������Y��ƙU��Φ��Ǣ��r�ٖ����]��ڏ���M�<����pf�ˑ=Ei��Fq�6���O��_�u�� 1 e���k� PK �2�ZS�γ� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�nL⠦ݰ���3N�&vd����G� XE�Tb�������4����M#9���5�A�];خ�S4���G�D�9��bC }���A�8���m��'S�;:+}T�c�K�2��2��ΘA�ӧ m�L_�?�19(�a���5�,Q����Z���+)�`m��M-�ˈ���;_�4���L%�\<��L�<�/ѧK/��奚��R��Q�ܬ�j��/6_PK �2�ZЃ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�Z���� � xl/sharedStrings.xml � (� 5�An� E��fOpid� �E�� = 2���g\��/Yt�������,����s��N(���L���7�@�DJq��#�"���,�M�GXD�cxZ�D>� �%s�K�����cL� JY��ޔ� �T��uP�>�� /!�Ko���Y���j7��v���q�4{#��WߴW�PK- �2�Z Z((� 5 xl/workbook.xmlPK- �2�Z���� � � [Content_Types].xmlPK- �2�Z�L�' ' U _rels/.relsPK- �2�Z��D�% � � xl/worksheets/sheet1.xmlPK- �2�ZS�γ� P 8 xl/_rels/workbook.xml.relsPK- �2�ZЃc'2 E ~ xl/styles.xmlPK- �2�Z���� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK �2�Za!�� 5 xl/workbook.xml � (� ����0E�J��(д@B���k��!�&�<�����R��|���M'�֘}Ԩ}�*,B�%!�P��g�q��(����� t ��x!F��^H��B����yԸ����Bt��)a�IFc}w6YB�7El�H i��� ��ܻ �0r��ͣm���[�h�7��d�]PK �2�Z���� � [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�ZDh��' ' _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="R4b0b0bbaf1e9471a" /></Relationships>PK �2�Z��D�% � xl/worksheets/sheet1.xml � (� �Q�n� ��}����VI�IU�ݦ�3K��pdH��m����-?��l���� � ��� ��;��5�B�処��.^����:�q/�o5X���Z�dU�)���i��d����A*D)������.?�.[��Be�q��:ٓ{F���iřh��|70�_1Kc|"^R���\f��>e�Wb�j���`�:� ������Y��ƙU��Φ��Ǣ��r�ٖ����]��ڏ���M�<����pf�ˑ=Ei��Fq�6���O��_�u�� 1 e���k� PK �2�Z}�9�� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;q��$ÆM��8�8�H��6�����W�E�6����h4?=�����ݿ =����Y�rMg[���J��G�eL�tc � L��Ҡ2dnD�&��A�T���R�e�t���)�Lr����ӺSxp�2������`#���-F?�@�i�%*��F����\���(j\�S��c�����2�#b������2Fzl^�O?=u��'jkƹ^%�����]���b�PK �2�ZЃ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�Z���� � xl/sharedStrings.xml � (� 5�An� E��fOpid� �E�� = 2���g\��/Yt�������,����s��N(���L���7�@�DJq��#�"���,�M�GXD�cxZ�D>� �%s�K�����cL� JY��ޔ� �T��uP�>�� /!�Ko���Y���j7��v���q�4{#��WߴW�PK- �2�Za!�� 5 xl/workbook.xmlPK- �2�Z���� � [Content_Types].xmlPK- �2�ZDh��' ' W _rels/.relsPK- �2�Z��D�% � � xl/worksheets/sheet1.xmlPK- �2�Z}�9�� P : xl/_rels/workbook.xml.relsPK- �2�ZЃc'2 E ~ xl/styles.xmlPK- �2�Z���� � � xl/sharedStrings.xmlPK � �