POST api/machine

Request Information

URI Parameters

None.

Body Parameters

Machine
NameDescriptionTypeAdditional 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": "il8d7nehOUqBTPLBThNWNA==",
  "terminalGuid": "ee1d5f8a-a177-4a39-814c-f2c14e135634",
  "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": "UkVTVqFdk0SI3anxnedi4Q==",
    "guid": "56534552-5da1-4493-88dd-a9f19de762e1",
    "name": "sample string 3",
    "description": "sample string 4",
    "terminalNumber": 1,
    "posKey": "xI/B6YAhREa+wk0Rbel8mQ==",
    "linkedPOSKey": "e9c18fc4-2180-4644-bec2-4d116de97c99",
    "location": 1,
    "zoneID": 1,
    "currentMachineID": 1,
    "storeID": 1,
    "deleted": true,
    "updated": "2025-10-04T23:56:30.5503667",
    "currentMachine": {
      "$ref": "1"
    },
    "currentLane": {
      "$id": "4",
      "identifier": "oveM0kDgTU2NVzQOhuoSbw==",
      "identifierGuid": "d28cf7a2-e040-4d4d-8d57-340e86ea126f",
      "name": "sample string 1",
      "storeID": 2,
      "machineID": 3,
      "scaleID": "sample string 4",
      "lastPingLocal": "2025-10-04T23:56:30.5503667",
      "lastSaleLocal": "2025-10-04T23:56:30.5503667",
      "status": 0,
      "statusDate": "2025-10-04T23:56:30.5503667",
      "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

integer

Response 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�D[�Ķ5xl/workbook.xml �(�����0D�&�C��J")��x��})[i�-ik��-H�yۙ�};|��o���G���]c��j�';��;i���{1+�X[��hK��9 (k|�FOW�?,?:��w�A+J�2�:�s����/2[��$l
��_`���%�!%�soK�P�
�G
Iv�ShD~��Lҝ��8�~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[(�''_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="R9eba021f707e40fb" /></Relationships>PK�D[��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�D[�W��Pxl/_rels/workbook.xml.rels �(���KN�0@�b͞8?'mմ6lK/0q�q�Ďl��Xp$��U$H%l����I3�����4�r~���,I����L��9���w������Y\1�¼��KM���dbGY7a������=�<M+��e��e���R��G+�����Zw�(;��)4�S���$R�=u
r�
Q���j]�B�wS��2�����2��֩�!�Vfw���{.^z�,/�V���bHe������PK�D[Ѓ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�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[�Ķ5xl/workbook.xmlPK-�D[����	��[Content_Types].xmlPK-
�D[(�''U_rels/.relsPK-�D[��4��xl/worksheets/sheet1.xmlPK-�D[�W��P-xl/_rels/workbook.xml.relsPK-�D[Ѓc'2E
rxl/styles.xmlPK-�D[�/����xl/sharedStrings.xmlPK��

application/vnd.ms-excel

Sample:
PK�D[�,`	�5xl/workbook.xml �(�����0��&�C��`�R8q���{)[�@����[J ��mgv�ۡ��co�>z2��
�1����%hNցI;a�f1I�"Vš����Dr.��0���	R��W�?��<�!H�����2�=�K���9d����b"���o�f�~�2LC�;Fٹ
.1�J����ky�;{�Q��n�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[��^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="Rdeaf63d32acc4f5a" /></Relationships>PK�D[��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�D[ʌk}�Pxl/_rels/workbook.xml.rels �(���KN�0��b͞8/hZ5�
�����I�Ďl��Xp$��U$H%l����'�|���o� ^�|oMMY���a�����]E��z�A�8�~�"�_S´��s�Q��N0���U��k���Z�<M��3�)��	�!Z�{ƣ����W뎾��r-BM?%//!K"��SSӎ�P����"!o���y�����g2ŢJ��^�2/�B�T�S�sp��s�yy��e�L�eɥ*�������PK�D[Ѓ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�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[�,`	�5xl/workbook.xmlPK-�D[����	��[Content_Types].xmlPK-
�D[��^3''T_rels/.relsPK-�D[��4��xl/worksheets/sheet1.xmlPK-�D[ʌk}�P,xl/_rels/workbook.xml.relsPK-�D[Ѓc'2E
qxl/styles.xmlPK-�D[�/����xl/sharedStrings.xmlPK��