POST api/accelerators
Save or update an accelerator
Request Information
URI Parameters
None.
Body Parameters
Accelerator to save
Accelerator| Name | 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 3�\����� 5 xl/workbook.xml � (� ����0D{$����\9���R�/ɚX��F��ɡD��ۙ�};|4�ӓ��/\I�l��o:T�OƢ�v�8a��Ō���4o�:�$�r�p� �������X�:��w�A
+J�Դ:�s����/r2���I�b�)����E
KZC J�֖4��r����L��4�!�;{�q����PK 3�\���� � [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
3�\J���' ' _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="R2c88f164e517445f" /></Relationships>PK 3�\��� � 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 3�\��y|� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�I\�AM�a�m��=N�&vd����G�
XEWb�������4����M#9���-��V9=خ�S4+�n�{eL��@Ҋ
-�1Ώ���$C�f��c��dL���,�QvH+��9n��p��?Dg̠�ɩӄ6����C����0��S
��"Q��t�e���M����z7�/#�_��<�Y-ԋASi�E�w��G�}�t35�l�`u%u���aW5z��/PK 3�\Ѓ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 3�\�/�� � 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- 3�\����� 5 xl/workbook.xmlPK- 3�\���� � � [Content_Types].xmlPK-
3�\J���' ' U _rels/.relsPK- 3�\��� � � xl/worksheets/sheet1.xmlPK- 3�\��y|� P 1 xl/_rels/workbook.xml.relsPK- 3�\Ѓc'2 E
w xl/styles.xmlPK- 3�\�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK 3�\�=��� 5 xl/workbook.xml � (� ����0��J}�(� �B���k��&8%�$(IE�R�n�����ɺ���'=_��v!�c^t����&�uB��Ŭ�J`m�[� ,K�+s8@P��N����X~t���V�ehu<��fO��_d4���I�b�)����EKZC J�ޖ4��*!�\dʋ��-����a�m��/PK 3�\���� � [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
3�\-{��' ' _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="R8240bd0a755c477e" /></Relationships>PK 3�\��� � 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 3�\릙{� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8���EM�aö�f2��&vd�@�Ƃ#q�"A*�`��h~OO��|���ަ��P��w
��F};���S��4춛=�&�h�9���b6����&?�˝·ɤ������'.˲�aɀk&;�g��w݀���4�K����h��� =�~J�_�(2�c���Y���)4�Jh`�fj1�G��^��B����DIk] ]�Tƚ@�S
��K�ey��4 �m����Z_���_l� PK 3�\Ѓ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 3�\�/�� � 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- 3�\�=��� 5 xl/workbook.xmlPK- 3�\���� � � [Content_Types].xmlPK-
3�\-{��' ' U _rels/.relsPK- 3�\��� � � xl/worksheets/sheet1.xmlPK- 3�\릙{� P 1 xl/_rels/workbook.xml.relsPK- 3�\Ѓc'2 E
w xl/styles.xmlPK- 3�\�/�� � � xl/sharedStrings.xmlPK � �