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": "k8byLrttWEqUNb8st7gRvg==",
  "terminalGuid": "2ef2c693-6dbb-4a58-9435-bf2cb7b811be",
  "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": "ZyNWXAwA2EerqCLjFCyJrQ==",
    "guid": "5c562367-000c-47d8-aba8-22e3142c89ad",
    "name": "sample string 3",
    "description": "sample string 4",
    "terminalNumber": 1,
    "posKey": "DCFDrE2t80aAw9l0K3w2dA==",
    "linkedPOSKey": "ac43210c-ad4d-46f3-80c3-d9742b7c3674",
    "location": 1,
    "zoneID": 1,
    "currentMachineID": 1,
    "storeID": 1,
    "deleted": true,
    "updated": "2025-08-02T23:27:03.9418331",
    "currentMachine": {
      "$ref": "1"
    },
    "currentLane": {
      "$id": "4",
      "identifier": "9fOSf8zRqECaKIJ55ow+kw==",
      "identifierGuid": "7f92f3f5-d1cc-40a8-9a28-8279e68c3e93",
      "name": "sample string 1",
      "storeID": 2,
      "machineID": 3,
      "scaleID": "sample string 4",
      "lastPingLocal": "2025-08-02T23:27:03.9418331",
      "lastSaleLocal": "2025-08-02T23:27:03.9418331",
      "status": 0,
      "statusDate": "2025-08-02T23:27:03.9418331",
      "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:
PKa�[l�w�5xl/workbook.xml �(�����0D�J��(�PTB���k���&�$(IE?�R�n�����l��Z;���/]EeSɘ�$j�;��;a���{1+�갱�[�	,M��9!(k�T�����B�%b��Ҡ��'B���p����^w1	�B�7�W�q�*b@cE@�����^)q���#�>m�y�f�(��>`���/PKa�[����	�[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
a�[���0''_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="R2040334d97fa4e46" /></Relationships>PKa�[��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�PKa�[u�'��Pxl/_rels/workbook.xml.rels �(���KN�0@�b͞خ�OQ�n�a[zǞ�Q;�]�gc���V���X��j4��'�|�lvo�D^Ї��x���UN�vh���v��'�D0�HZ����HiPg
��M���YƔ��.R��t�XE}΀[&9^�����p��yF��W�O� F G��-���^$*�'��A(�W���ԝ(�
��Z��	ï�w�� _wM#E�U�H�w�1ң~�>]:w�˙Z�f�k4/y��+vU�7��PKa�[Ѓ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��PKa�[�/���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-a�[l�w�5xl/workbook.xmlPK-a�[����	��[Content_Types].xmlPK-
a�[���0''U_rels/.relsPK-a�[��4��xl/worksheets/sheet1.xmlPK-a�[u�'��P-xl/_rels/workbook.xml.relsPK-a�[Ѓc'2E
sxl/styles.xmlPK-a�[�/����xl/sharedStrings.xmlPK��

application/vnd.ms-excel

Sample:
PKa�[�]Ҍ�5xl/workbook.xml �(�����0��&�C��@	��p��Ճ�
�m�?ik��-%�x�3;��Ÿ�ī>j־v
!ؚ�P�_�w�q��(݋�q�=t�+ЁYV3�h/��x������j�P�K���	!�6{HX|����&"[���X�I!�4��c�����#W�8܋kYe�@!/���}���_PKa�[����	�[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
a�[XҠ%''_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="R77650ac1fb52436c" /></Relationships>PKa�[��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�PKa�[�3=�Pxl/_rels/workbook.xml.rels �(���An� E��f_���Q�l��6�����9[=R�P�J-���&+4��i������m���0Y�/4�&3vp��n��f����FГ$=1��[Sz���uhRGY���J?R'�����5���f�����V���G۟4�0}��4br~���O���E�y:ؗmݰ�*�B^7�Bo��y����]g2���\J�R-֪�7�����}�t�Ǚ�lE�d(d���pQ�W�b�PKa�[Ѓ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��PKa�[�/���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-a�[�]Ҍ�5xl/workbook.xmlPK-a�[����	��[Content_Types].xmlPK-
a�[XҠ%''U_rels/.relsPK-a�[��4��xl/worksheets/sheet1.xmlPK-a�[�3=�P-xl/_rels/workbook.xml.relsPK-a�[Ѓc'2E
txl/styles.xmlPK-a�[�/����xl/sharedStrings.xmlPK��