POST api/store/{id}/machines/import
Import a list of scale descriptions / machines
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Store identifier |
integer |
Required |
Body Parameters
List of machines to import
Collection of 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", "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": "OacstGZwXkerPTKVLEkXOw==", "terminalGuid": "b42ca739-7066-475e-ab3d-32952c49173b", "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": "Cb2dMD8ew0K565WVmIZgMQ==", "guid": "309dbd09-1e3f-42c3-b9eb-959598866031", "name": "sample string 3", "description": "sample string 4", "terminalNumber": 1, "posKey": "FrECIS/4ekOK7c3rrgaoHQ==", "linkedPOSKey": "2102b116-f82f-437a-8aed-cdebae06a81d", "location": 1, "zoneID": 1, "currentMachineID": 1, "storeID": 1, "deleted": true, "updated": "2025-06-14T06:34:18.5995845", "currentMachine": { "$ref": "1" }, "currentLane": { "$id": "4", "identifier": "nhE6f+KIJkmlnYM0YZ31wA==", "identifierGuid": "7f3a119e-88e2-4926-a59d-8334619df5c0", "name": "sample string 1", "storeID": 2, "machineID": 3, "scaleID": "sample string 4", "lastPingLocal": "2025-06-14T06:34:18.5995845", "lastSaleLocal": "2025-06-14T06:34:18.5995845", "status": 0, "statusDate": "2025-06-14T06:34:18.5995845", "statusName": "None", "storeName": "sample string 5", "machineName": "sample string 6", "zoneName": "sample string 7" } } }, { "$ref": "1" } ]
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
None.