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-08-02T23:12:59.6034876" }
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-08-02T23:12:59.6034876+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:
"8fe3412a-5c9e-4d88-9341-7d91783d2763"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">8fe3412a-5c9e-4d88-9341-7d91783d2763</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK ��[��� 5 xl/workbook.xml � (� ��=�0�w$�� �V�U۩+�I\��QT�O����X,����nf�ǧ�#��ɄڷT��j���!��C�f��b����0(���o�&��|�2�DeM�����a�D��QO+J�2�;i�� �e2�w��5�~SM��Y[�CJ�s--(�Jͽe!�����Rhcﰆm��/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="R3466bc731cda4110" /></Relationships>PK ��[�u_% � xl/worksheets/sheet1.xml � (� �Q�n� ���J�5��T��j�M;lg�85�H��m����-?��l�����k�5�W0�-uڞk�B'��T3��W��E��{W� a�s�[�F��hc�'gd��;s�{���ɠ |S;�p�!Jy�G����Pvق*#����tdO�þ��50�T��q��b���$��䥫��X�|�ʯ�u��io4?�>�7T枖�oft�0#o��uT �b�-�x,˝[��| ��|�ɚGdS9����Ȟ�4��N����^�����O��_�U��Q@�~~��PK ��[���3� P xl/_rels/workbook.xml.rels � (� ���N!@���V�tM��x�Z�#�.�����o��'���(M<xiH�����|���o��^(�ѻd%���ތn����l7�M��h�%���b6���-�+���'�3����/�8��hx(p�d��B�!��5=x}�ɥ?��ՇC�D ��@���R��MV� ��t�kM-�6:T�E`�jj1�&��^�y!��~��m�%�*c1�yJ!�t�T��9ݚ���R�Wwg5~�/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 ��[�� � xl/sharedStrings.xml � (� 5�Kn� ���fO�#�q��"RO� �I�d�3��ۗ.��_�~w{�U}�Ω���4���9��ǻ��XŰ� ~�AݼcU��,"���́OeC�ɣ�9H����c�� J^M�4�C"Ps9H*�A��������x����vA��#�s�V���C����.�3������PK- ��[��� 5 xl/workbook.xmlPK- ��[���� � � [Content_Types].xmlPK- ��[�&�' ' U _rels/.relsPK- ��[�u_% � � xl/worksheets/sheet1.xmlPK- ��[���3� P 8 xl/_rels/workbook.xml.relsPK- ��[Ѓc'2 E | xl/styles.xmlPK- ��[�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK ��[�\�<� 5 xl/workbook.xml � (� ����0��&�C���D )��x��ŭ4П�5���H�yۙ��v�l�ȍ�GM��C�&��(�OƂ�;a�b!J�"F�Cg��H�e�`bA�i=^i���u��~ jZQ�I���!�4{H�}����.&"k���h��I!�4�c�a��۳�9F��q�sQ]�W?WeV����a�l��/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="R45f9359c7fd9433d" /></Relationships>PK ��[�u_% � xl/worksheets/sheet1.xml � (� �Q�n� ���J�5��T��j�M;lg�85�H��m����-?��l�����k�5�W0�-uڞk�B'��T3��W��E��{W� a�s�[�F��hc�'gd��;s�{���ɠ |S;�p�!Jy�G����Pvق*#����tdO�þ��50�T��q��b���$��䥫��X�|�ʯ�u��io4?�>�7T枖�oft�0#o��uT �b�-�x,˝[��| ��|�ɚGdS9����Ȟ�4��N����^�����O��_�U��Q@�~~��PK ��[�u�\� P xl/_rels/workbook.xml.rels � (� ��=n� ����^c��*$K��i.��öb��m�֡G��R�%R�.��/�>�����ٽ�yAFg%���V�n���S4wv��'�F�%��� C���A8�P�m��gS�{�(}T=Ҫ,k�s\3����ΘQ�ӧm�L_�?�19(�c��� �X��@�: �ֈ{�[Q�+�KЛ��x�0�z}יL#x��õf���Me�{�>�t35��Pլkޥ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 ��[�� � xl/sharedStrings.xml � (� 5�Kn� ���fO�#�q��"RO� �I�d�3��ۗ.��_�~w{�U}�Ω���4���9��ǻ��XŰ� ~�AݼcU��,"���́OeC�ɣ�9H����c�� J^M�4�C"Ps9H*�A��������x����vA��#�s�V���C����.�3������PK- ��[�\�<� 5 xl/workbook.xmlPK- ��[���� � [Content_Types].xmlPK- ��[����' ' V _rels/.relsPK- ��[�u_% � � xl/worksheets/sheet1.xmlPK- ��[�u�\� P 9 xl/_rels/workbook.xml.relsPK- ��[Ѓc'2 E ~ xl/styles.xmlPK- ��[�� � � xl/sharedStrings.xmlPK � �