POST api/accelerators

Save or update an accelerator

Request Information

URI Parameters

None.

Body Parameters

Accelerator to save

Accelerator
NameDescriptionTypeAdditional 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

boolean

Response 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�0�ZÉ쇷5xl/workbook.xml �(�����0��&�C��(�*)��x���b�O�||K	$޼���~;l2nh��G����"[�[������7N��{����ڴo:�S�Q�`�A텴/�X�:�A�Jq�q��!��fO	�O2k��Dd	��K��")����<p��s�J|��2���MGJ��������w�PK�0�Z����	�[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
�0�Z�'��''_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="Rde0a8213b83c49ec" /></Relationships>PK�0�Z����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�0�Z�R�p�Pxl/_rels/workbook.xml.rels �(���Kn�0@�b;�i�#�n�R.�ؓ�Hl�6�����W�E�6H]t�j4��'�|���o�H���l
��A��lW�)�l7�=�*��>��bc
}J~Ei�=N*Σ͝օI����z���C�Ș�a΀[&9\<����v����iB���W��GL@*t�j�)Ez
�"S��L
{V�ecD#���z7��.#�_��|&�JYIƥi�Z�w��U@�B���i^��U
+�,��Jr�,�j��/6_PK�0�ZЃc'2E
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�0�Z�/���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-�0�ZÉ쇷5xl/workbook.xmlPK-�0�Z����	�[Content_Types].xmlPK-
�0�Z�'��''V_rels/.relsPK-�0�Z�����xl/worksheets/sheet1.xmlPK-�0�Z�R�p�P2xl/_rels/workbook.xml.relsPK-�0�ZЃc'2E
xxl/styles.xmlPK-�0�Z�/����xl/sharedStrings.xmlPK��

application/vnd.ms-excel

Sample:
PK�0�Z�3���5xl/workbook.xml �(�����0D�&�C����()��x��}�[i�-ik��-H�yۙ�};|��o���GƗ��]cɘj�';��;i���{1+��X��h˒�`�ߩ�ӕ�ˏ��;Ġ��AZ���C�����l���o�/��bQĀƊ6��Ź=+�R�J���Z$ZQdy�_��;{�q����PK�0�Z����	�[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
�0�Z
�Ԉ''_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="R828a94a0699445ff" /></Relationships>PK�0�Z����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�0�Z��2�Pxl/_rels/workbook.xml.rels �(���KN�0@�b͞�S
j�
�����$jbG��l,8W�*�6]����������m���߀�0�&�޷
��Y�f��Ҁ�L���++>5��<=p�LG#�*L�KDž8b.il���-q%D���L�;M�bp�7��q$�����#��v[�
��?Y*�'��vq_�{S+-��`�jj)�J�^��Lf�H.iQ�;];uU�#��˥�N��L�"Jeoh��Zȳ����PK�0�ZЃc'2E
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�0�Z�/���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-�0�Z�3���5xl/workbook.xmlPK-�0�Z����	��[Content_Types].xmlPK-
�0�Z
�Ԉ''U_rels/.relsPK-�0�Z�����xl/worksheets/sheet1.xmlPK-�0�Z��2�P1xl/_rels/workbook.xml.relsPK-�0�ZЃc'2E
vxl/styles.xmlPK-�0�Z�/����xl/sharedStrings.xmlPK��