POST api/restrictions
Create or update restriction header
Request Information
URI Parameters
None.
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:27.6564904" }
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:27.6564904+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:
"62de4b1f-125d-49f9-ba56-4e32bf8fa3b7"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">62de4b1f-125d-49f9-ba56-4e32bf8fa3b7</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK ��[��N� 5 xl/workbook.xml � (� ����0��&�C��� R8q���{��4П�5���H�yۙ��v�l��4fD5i_�!؊� ��?:�q��(!d��� t E����ă4��z���ay��~ jZQ�K���!�4{H�}����.&"k���X��I!�Ը�c��[_�#W�8�ŵ, zɳ�^(g��w#���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 ��[�%?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="R48b904ca06284606" /></Relationships>PK ��[��% � xl/worksheets/sheet1.xml � (� �Q�N�0��(w��c�Mm'�i�� �кK�&����瓤!q�Ė��{v���lrm͋,�l�����O����cS-HW� <p�Ts��xµ �t�`C�G2҇�.�^�p�v2`�(��A�)������.7�.Y0�Je����:أ{F�����L4UB�kXܯ��1>�1y�j�'��>'�Wb�r�.Ϡ/ʇ mSO��K73:�3#o�]t�U�7��f���Ů��o���vr��Z^]��&i���ME�0J���8�KN����M^�9������~�tF�@I���/PK ��[Cd+�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8� U�n�t[z��$Q;�]J�Ƃ#q�"A*�`��h~OO��|�Xoߦ����5 dI ���`�N�j�n�{U��f��� �!�+ν�qR>�3��!�&b�:>+}T�<M%wK�2��2���h��d�iB� �uG�#`�: ��<��,�T`���=�2�E��RTBP��M͇ˈ���;_ȔRʂD���J����L�����K/��党�DT�P^g$t�^���_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�An�0E�b��1B��8�J=A{ ���Sf����]t�������W��;�B#���\B���o� ��S�k!���YfQuJ<�"�ݍ�y���T6��IJg/���mGxA����i�}"Ps9H��A������䬸��Om�mw ��ś��e�=��)^�?O/ֈ��o�+�PK- ��[��N� 5 xl/workbook.xmlPK- ��[���� � [Content_Types].xmlPK- ��[�%?k' ' V _rels/.relsPK- ��[��% � � xl/worksheets/sheet1.xmlPK- ��[Cd+�� P 9 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����R8q���{��4П�5���H�yۙ��v�l��4fD5i_�!؊� ��?:�q��(!d��� t ��L���i���x������� Դ��7�Bli��0�$���]LD��M��/�B�+�q��(9���F��q�g������5��������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="R7e41311bb09c47c3" /></Relationships>PK ��[��% � xl/worksheets/sheet1.xml � (� �Q�N�0��(w��c�Mm'�i�� �кK�&����瓤!q�Ė��{v���lrm͋,�l�����O����cS-HW� <p�Ts��xµ �t�`C�G2҇�.�^�p�v2`�(��A�)������.7�.Y0�Je����:أ{F�����L4UB�kXܯ��1>�1y�j�'��>'�Wb�r�.Ϡ/ʇ mSO��K73:�3#o�]t�U�7��f���Ů��o���vr��Z^]��&i���ME�0J���8�KN����M^�9������~�tF�@I���/PK ��[O���� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞86����ݰa[z�'Q;�]�gc���V���X��j4��'�|�lvo�L^0�ɻXUA������)ٻv��g��D�5���bcJ��Q���X�]�X�r�*}TR^ג���Lr8����v����iA�� �W�qDL@*�z�)Ez ��T O��=�o�eR���FJ ��L-�����;/d�Fv��P��ZL�TfT�s �ҥSY.Ԍ�F+mû���F��b�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�An�0E�b��1B��8�J=A{ ���Sf����]t�������W��;�B#���\B���o� ��S�k!���YfQuJ<�"�ݍ�y���T6��IJg/���mGxA����i�}"Ps9H��A������䬸��Om�mw ��ś��e�=��)^�?O/ֈ��o�+�PK- ��[��Ʒ 5 xl/workbook.xmlPK- ��[���� � [Content_Types].xmlPK- ��[ؼ' ' V _rels/.relsPK- ��[��% � � xl/worksheets/sheet1.xmlPK- ��[O���� P 9 xl/_rels/workbook.xml.relsPK- ��[Ѓc'2 E ~ xl/styles.xmlPK- ��[$�� � � xl/sharedStrings.xmlPK � �