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 +�D[�X�� 5 xl/workbook.xml � (� ����0D�&�C��U�R8q����Z�@[����[ �x�3;�v��|�p�#��P������ 7�M��y1I�b�m���ɷAى�3��C����@�?�0x�gP���ʀ����S���1�2k��$l �ߔ�a�Ŭ��m %�s}V�H�/un� 9d\E�/��L��w�PK +�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 +�D[�p"`' ' _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="R24315cc7b25f47d7" /></Relationships>PK +�D[��� � 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 +�D[`s� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�N�&AM�aö��dGM��v���G� XE�Tb�������4����ٽM�xagЙ��\;ؾ�S��*�m7{1��`�9��bC&��^�@�'��٦N���1���3�{��Rk��f��y��]� ��N��X�:�9�8��96�S �t�� ���j�W��P� ���Z��ï�w��Y��sn� �E���2=�OѧK/��党.�Z��5%W5y��/PK +�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 +�D[�/�� � 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- +�D[�X�� 5 xl/workbook.xmlPK- +�D[���� � � [Content_Types].xmlPK- +�D[�p"`' ' U _rels/.relsPK- +�D[��� � � xl/worksheets/sheet1.xmlPK- +�D[`s� P 1 xl/_rels/workbook.xml.relsPK- +�D[Ѓc'2 E u xl/styles.xmlPK- +�D[�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK +�D[WX:m� 5 xl/workbook.xml � (� ����0��&�C�p���x�པ�m�-ik���'�x�3;����m�\K>��!�U1�@ ףw�y��(���Z`��۠���W��� J��.�X��ț�������r�#$��=5a���֝LK~S��.fE,7XЊGN��ܛ��(���`�N&��rf�����`9���/PK +�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 +�D[Q��' ' _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="R66c64e41385b4c9e" /></Relationships>PK +�D[��� � 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 +�D[OG� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�N���ݰa[z��Q;�]�gc���V� �X��j4��'�|�lvo�H^0���x���S^�o��] ��f��Ly"�a�$��Mi~�4*��������a�)����TG�#-��aɀk&9�g��3(|��4�K���h��=�~J�^/2ȓna���R(�T+!���ZL���w���f�Ȫc���7��2�~N!_z�,/�:n86�U+ىr�]���_l� PK +�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 +�D[�/�� � 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- +�D[WX:m� 5 xl/workbook.xmlPK- +�D[���� � [Content_Types].xmlPK- +�D[Q��' ' V _rels/.relsPK- +�D[��� � � xl/worksheets/sheet1.xmlPK- +�D[OG� P 2 xl/_rels/workbook.xml.relsPK- +�D[Ѓc'2 E y xl/styles.xmlPK- +�D[�/�� � � xl/sharedStrings.xmlPK � �