POST api/machine
Request Information
URI Parameters
None.
Body Parameters
MachineName | Description | Type | Additional information |
---|---|---|---|
ID |
Sequential ID |
integer |
None. |
StoreScaleID | integer |
None. |
|
ScaleID | string |
Required String length: inclusive between 0 and 64 |
|
ScaleName | string |
String length: inclusive between 0 and 64 |
|
Description | string |
String length: inclusive between 0 and 64 |
|
ScaleLocation | integer |
None. |
|
ZoneID | integer |
None. |
|
StoreID | integer |
None. |
|
ScaleType | ScaleTypes |
None. |
|
CheckFrequency | CheckFrequencies |
None. |
|
TestWeight | decimal number |
None. |
|
TerminalG_UID | Collection of byte |
None. |
|
TerminalGuid |
unique identifier |
globally unique identifier |
None. |
StoreName | string |
None. |
|
ZoneName | string |
None. |
|
ScaleLocationName | string |
None. |
|
SettingsZone | SettingsZone |
None. |
|
Terminal | Terminal |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "storeScaleID": 2, "scaleID": "sample string 3", "scaleName": "sample string 4", "description": "sample string 5", "scaleLocation": 1, "zoneID": 1, "storeID": 1, "scaleType": 1, "checkFrequency": 1, "testWeight": 1.1, "terminalG_UID": "c9hq2ClsekKsn6IPXv1L3g==", "terminalGuid": "d86ad873-6c29-427a-ac9f-a20f5efd4bde", "storeName": "sample string 6", "zoneName": "sample string 7", "scaleLocationName": "sample string 8", "settingsZone": { "$id": "2", "id": 1, "storeID": 2, "name": "sample string 3", "machines": [ { "$ref": "1" }, { "$ref": "1" } ] }, "terminal": { "$id": "3", "id": 1, "g_UID": "oPqKHeA+jU27NpW+Jk8/+A==", "guid": "1d8afaa0-3ee0-4d8d-bb36-95be264f3ff8", "name": "sample string 3", "description": "sample string 4", "terminalNumber": 1, "posKey": "9fdOoS2c9Ees7vEg7ADeQQ==", "linkedPOSKey": "a14ef7f5-9c2d-47f4-acee-f120ec00de41", "location": 1, "zoneID": 1, "currentMachineID": 1, "storeID": 1, "deleted": true, "updated": "2025-06-14T06:15:01.1152848", "currentMachine": { "$ref": "1" }, "currentLane": { "$id": "4", "identifier": "AYkqkCA0kU2d3HCe8f8UCw==", "identifierGuid": "902a8901-3420-4d91-9ddc-709ef1ff140b", "name": "sample string 1", "storeID": 2, "machineID": 3, "scaleID": "sample string 4", "lastPingLocal": "2025-06-14T06:15:01.1152848", "lastSaleLocal": "2025-06-14T06:15:01.1152848", "status": 0, "statusDate": "2025-06-14T06:15:01.1152848", "statusName": "None", "storeName": "sample string 5", "machineName": "sample string 6", "zoneName": "sample string 7" } } }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK �1�Z��T� 5 xl/workbook.xml � (� ����0��&�C��H � '.^=x/�V�O�||�o�vfg��j2n��G�ڗ��}�$ij�'cA�;a��a��E��Ak�[�$M��8i�F�^Z�W�?,oP�{�����Ը9��fO ��r6�����"��*������ j��@1�Ν����+�<<2~a7vME���s��wXE���PK �1�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 �1�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="Red501bc798fa4d13" /></Relationships>PK �1�Z��4 � xl/worksheets/sheet1.xml � (� �Q�n� ��}%��j�U���n�ۙ%N@ 82����6M�e������<��Ȯ@��ox��8�bg���9�w����t ��aO 71N{!Bk��� |z둜�)�A`��N��|۪� �Q�T*;���G+L�+ܸJ9m=W��I=�g}Ï5gBɂ|���_1�m|"^r��5�*X�|.�_�u��y�o�<�LLz(��Pv�l�gN�ʹ�.��?m��j�M�v��z��+��:騕$\�礚��G����Z�kf���ߎW�Is:#F����W�PK �1�Z����� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;q I�M7l)���8"�#۔r�.z�^��� u� �����4����ٽ�{%�{kȒaeo��A=U��n4`�^��gq��tӚs/4��;��e݈!����v�i��n{&;^'��*�z��<� ��ź��D�]G����緐%� l/8�����E�* `�aj>\�^��L�e^�2U���>TF�#�\���i^��խ*�ZI�$�#�75~��/PK �1�ZЃ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 �1�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- �1�Z��T� 5 xl/workbook.xmlPK- �1�Z���� � [Content_Types].xmlPK- �1�Z��' ' V _rels/.relsPK- �1�Z��4 � � xl/worksheets/sheet1.xmlPK- �1�Z����� P . xl/_rels/workbook.xml.relsPK- �1�ZЃc'2 E t xl/styles.xmlPK- �1�Z�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK �1�Ztph� 5 xl/workbook.xml � (� ����0��&�C��*� )��x��}�4П�5��B $���~;|2n��F�W�>[0������]g��0K�b��d��i� u`������Ѿ��ӕ��[���1�qE)��V�!|i��8�(gc�����!����_DE4(,i (�ν-�W�yxdm� �Ay��$�;{�q����PK �1�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 �1�Zn`�m' ' _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="R658e62b409db43b7" /></Relationships>PK �1�Z��4 � xl/worksheets/sheet1.xml � (� �Q�n� ��}%��j�U���n�ۙ%N@ 82����6M�e������<��Ȯ@��ox��8�bg���9�w����t ��aO 71N{!Bk��� |z둜�)�A`��N��|۪� �Q�T*;���G+L�+ܸJ9m=W��I=�g}Ï5gBɂ|���_1�m|"^r��5�*X�|.�_�u��y�o�<�LLz(��Pv�l�gN�ʹ�.��?m��j�M�v��z��+��:騕$\�礚��G����Z�kf���ߎW�Is:#F����W�PK �1�Z2U.j� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞���&�i7lؖ^`b�㨉�.г��H\�H�J,�t5��ӓf>�?6��id/���ly&���N �o��] ��fO#�4�0�Vlh��8?p�� C�f�����0���|FyĞx!�=�K\3��<��N�Aң���l��_�?C���[�)~ y����T�ZU��j,��UW6����B<�~����b��(v�QxS���s���K�ey�Fr]��Պ��k�E�_���PK �1�ZЃ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 �1�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- �1�Ztph� 5 xl/workbook.xmlPK- �1�Z���� � � [Content_Types].xmlPK- �1�Zn`�m' ' U _rels/.relsPK- �1�Z��4 � � xl/worksheets/sheet1.xmlPK- �1�Z2U.j� P - xl/_rels/workbook.xml.relsPK- �1�ZЃc'2 E s xl/styles.xmlPK- �1�Z�/�� � � xl/sharedStrings.xmlPK � �