POST api/accelerators
Save or update an accelerator
Request Information
URI Parameters
None.
Body Parameters
Accelerator to save
AcceleratorName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
MachineID | integer |
None. |
|
Shift | boolean |
None. |
|
Ctrl | boolean |
None. |
|
Alt | boolean |
None. |
|
PcKey | integer |
Required |
|
ButtonFunction | integer |
Required |
|
ButtonValue | integer |
None. |
|
ButtonText | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "machineID": 2, "shift": true, "ctrl": true, "alt": true, "pcKey": 6, "buttonFunction": 7, "buttonValue": 8, "buttonText": "sample string 9" }
application/xml, text/xml
Sample:
<Accelerator xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Pos"> <Alt>true</Alt> <ButtonFunction>7</ButtonFunction> <ButtonText>sample string 9</ButtonText> <ButtonValue>8</ButtonValue> <Ctrl>true</Ctrl> <ID>1</ID> <MachineID>2</MachineID> <PcKey>6</PcKey> <Shift>true</Shift> </Accelerator>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
boolean value representing whether the save was successful
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK C�[/�5M� 5 xl/workbook.xml � (� ����0D�&�C��ՠQR8q����[�@[����%�x�3;�v��|W;ב��m�}AU�C�Xh7��v�yq��Ŝ����5o�6��汇�� J�.�Xa�mP���ʀ����s���1$9k��$l �ߔH��")b�`A+�@Ir�mA���\OÃg�k]í��g�VӍ��[�_PK C�[���� � [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 C�[�u�{' ' _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="Rf60c8cd87d5e40cf" /></Relationships>PK C�[��� � xl/worksheets/sheet1.xml � (� �Q�n� ��}%��j��T��j�M;lg�85��8M?@�i�.; 6<��l��͍� ,�Z��B �-v�����{���Z�.� ��p�TK�<� ���'��Gr�cJ�¾�-��xVۢ�)�Qs� �NA�l�� ��7�TN[/����=�}-�K)TSe䇅%��Ej�xI�kW�"c��)+������︼�� =�ǐw�l��N��؎M-�6�}��Ft;F��^���Z����uS.��sdMQ�#d�Q���6e���6����֛8�"e��k� PK C�[�7)�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�)$�i7lؖ^`b�㨉�.г��H\�H�J,�t6����I������m��8x�BY`�׃�[8&sS�v��ш)oD;̑�'.�`S�8��҄��3�<1>L�rz>�:`O|%�K\2��4��ޘAѣWlj\��_}8DK���1�Z�iE~Ne����t;!���QF)���ZL����w����D9nu'uEW��H?��z�l/�*Y��1�h�Jߟ���]l� PK C�[Ѓ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 C�[�/�� � xl/sharedStrings.xml � (� 5�A� �B�nA�h&�@@ڵ����������d2;}Ҧ�X9frp(�9/�V���p��i�[&t�E5��YTO��r՚���R7�\���u�\*����M��9��#��s#qЧ��������~PK- C�[/�5M� 5 xl/workbook.xmlPK- C�[���� � � [Content_Types].xmlPK- C�[�u�{' ' U _rels/.relsPK- C�[��� � � xl/worksheets/sheet1.xmlPK- C�[�7)�� P 1 xl/_rels/workbook.xml.relsPK- C�[Ѓc'2 E w xl/styles.xmlPK- C�[�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK C�[9�i�� 5 xl/workbook.xml � (� ����0��&�C��`�N\�z�^�" �'m >��o�vfg�:k;�Z��#'�J[��{S�� ���6�®�V2�}���C��[���$9�01/�r�0��X�X`� ��V�dB��x@�.͞fe0�����"�)a�ETH1 n�gE��U8�Ȗ"�巤hӬ��K�^���a�l��/PK C�[���� � [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 C�[=��' ' _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="R2202ed4a4e6941be" /></Relationships>PK C�[��� � xl/worksheets/sheet1.xml � (� �Q�n� ��}%��j��T��j�M;lg�85��8M?@�i�.; 6<��l��͍� ,�Z��B �-v�����{���Z�.� ��p�TK�<� ���'��Gr�cJ�¾�-��xVۢ�)�Qs� �NA�l�� ��7�TN[/����=�}-�K)TSe䇅%��Ej�xI�kW�"c��)+������︼�� =�ǐw�l��N��؎M-�6�}��Ft;F��^���Z����uS.��sdMQ�#d�Q���6e���6����֛8�"e��k� PK C�[�6kx� P xl/_rels/workbook.xml.rels � (� ��Mn� F��f_��R��&�n�\ �`[���6g�G���%R�d��xz����c�}�'rF�GkZ��FZ5���S� l7�=N"�~O��[BX�(�r�Y��.hbG[7�K��Eȣ��Uԥ�e��e���֣ĝ��M�L_�;�1 9�ch�'����Y�yV-�eY�X��.��� z75.�_�k�ȬP�(�ʛ�+��Uf�KpqөS�j���UZ�x����/PK C�[Ѓ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 C�[�/�� � xl/sharedStrings.xml � (� 5�A� �B�nA�h&�@@ڵ����������d2;}Ҧ�X9frp(�9/�V���p��i�[&t�E5��YTO��r՚���R7�\���u�\*����M��9��#��s#qЧ��������~PK- C�[9�i�� 5 xl/workbook.xmlPK- C�[���� � [Content_Types].xmlPK- C�[=��' ' V _rels/.relsPK- C�[��� � � xl/worksheets/sheet1.xmlPK- C�[�6kx� P 2 xl/_rels/workbook.xml.relsPK- C�[Ѓc'2 E x xl/styles.xmlPK- C�[�/�� � � xl/sharedStrings.xmlPK � �