Update Specific Machine Basic Info
curl --request PUT \
--url https://qa-lynx.nayax.com/operational/v1/machines/{MachineID} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"MachineID": 123,
"ActorID": 123,
"CountryID": 123,
"CurrencyID": 123,
"InstituteID": 123,
"LocationID": 123,
"MachineGroupID": 123,
"MachineModelID": 123,
"MachineName": "<string>",
"MachineNumber": "<string>",
"MachineStatusBit": 123,
"OperatorActorID": 123,
"DistributorActorID": 123,
"AreaActorID": 123,
"SalesSourceID": 123,
"SerialNumber": "<string>",
"VPOSSerialNumber": "<string>",
"DeviceSerialNumber": "<string>",
"VPOSID": 123,
"DeviceID": 123,
"UseLocationFrom": 123,
"GeoCountry": 123,
"GeoState": "<string>",
"GeoCity": "<string>",
"GeoAddress": "<string>",
"GeoStreetNumber": "<string>",
"GeoLongitude": 123,
"GeoLatitude": 123,
"GeoZoom": 123,
"GeoZipCode": "<string>",
"SearchAddress": "<string>",
"Remarks": "<string>",
"DexType": 123,
"DexMidnightReadsEnableBit": true,
"DexG85CheckEnableBit": true,
"DexDivideBillsBy": 123,
"DexG85CheckParsingFilterEnableBit": true,
"UseCardPriceCorrectCashPriceBit": true,
"MachineTimeZoneOffset": 123,
"DexReadInterval": 123,
"LocationType": 123,
"ApplyDisplayPickListSelectionsToReportsBit": true,
"DisplayPickListSelectionsAs": 123,
"LastUpdated": "2023-11-07T05:31:56Z",
"MachineProfile": 123,
"CityID": 123,
"RegionID": 123,
"CountryDialingCode": 123,
"DexIgnoreCRCCheckBit": true,
"DexParseLABit": true,
"ProductMapID": 123,
"Longitude": 123,
"Latitude": 123,
"DexTotalSalesMinusCardSalesBit": true,
"RouteActorID": 123,
"MachineLogicAlertEnableBit": true,
"AlertRuleSetId": 123,
"MachineMemberTypePricingEnableBit": true,
"DexMultiplyCoinsBy": 123,
"DexMultiplyTubesBy": 123,
"CustomerID": 123,
"CommissionType": 123,
"CommissionDefaultValue": 123,
"CreatedBy": 123,
"CreatedOn": "2023-11-07T05:31:56Z",
"UpdateBy": 123,
"TubeSource": 123,
"BillSource": 123,
"SmartStickerId": 123,
"EnableRemoveVendBit": true,
"EnableEreceiptBit": true,
"ProductMapAutomaticCreationBit": true,
"Refs": {}
}
'import requests
url = "https://qa-lynx.nayax.com/operational/v1/machines/{MachineID}"
payload = {
"MachineID": 123,
"ActorID": 123,
"CountryID": 123,
"CurrencyID": 123,
"InstituteID": 123,
"LocationID": 123,
"MachineGroupID": 123,
"MachineModelID": 123,
"MachineName": "<string>",
"MachineNumber": "<string>",
"MachineStatusBit": 123,
"OperatorActorID": 123,
"DistributorActorID": 123,
"AreaActorID": 123,
"SalesSourceID": 123,
"SerialNumber": "<string>",
"VPOSSerialNumber": "<string>",
"DeviceSerialNumber": "<string>",
"VPOSID": 123,
"DeviceID": 123,
"UseLocationFrom": 123,
"GeoCountry": 123,
"GeoState": "<string>",
"GeoCity": "<string>",
"GeoAddress": "<string>",
"GeoStreetNumber": "<string>",
"GeoLongitude": 123,
"GeoLatitude": 123,
"GeoZoom": 123,
"GeoZipCode": "<string>",
"SearchAddress": "<string>",
"Remarks": "<string>",
"DexType": 123,
"DexMidnightReadsEnableBit": True,
"DexG85CheckEnableBit": True,
"DexDivideBillsBy": 123,
"DexG85CheckParsingFilterEnableBit": True,
"UseCardPriceCorrectCashPriceBit": True,
"MachineTimeZoneOffset": 123,
"DexReadInterval": 123,
"LocationType": 123,
"ApplyDisplayPickListSelectionsToReportsBit": True,
"DisplayPickListSelectionsAs": 123,
"LastUpdated": "2023-11-07T05:31:56Z",
"MachineProfile": 123,
"CityID": 123,
"RegionID": 123,
"CountryDialingCode": 123,
"DexIgnoreCRCCheckBit": True,
"DexParseLABit": True,
"ProductMapID": 123,
"Longitude": 123,
"Latitude": 123,
"DexTotalSalesMinusCardSalesBit": True,
"RouteActorID": 123,
"MachineLogicAlertEnableBit": True,
"AlertRuleSetId": 123,
"MachineMemberTypePricingEnableBit": True,
"DexMultiplyCoinsBy": 123,
"DexMultiplyTubesBy": 123,
"CustomerID": 123,
"CommissionType": 123,
"CommissionDefaultValue": 123,
"CreatedBy": 123,
"CreatedOn": "2023-11-07T05:31:56Z",
"UpdateBy": 123,
"TubeSource": 123,
"BillSource": 123,
"SmartStickerId": 123,
"EnableRemoveVendBit": True,
"EnableEreceiptBit": True,
"ProductMapAutomaticCreationBit": True,
"Refs": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
MachineID: 123,
ActorID: 123,
CountryID: 123,
CurrencyID: 123,
InstituteID: 123,
LocationID: 123,
MachineGroupID: 123,
MachineModelID: 123,
MachineName: '<string>',
MachineNumber: '<string>',
MachineStatusBit: 123,
OperatorActorID: 123,
DistributorActorID: 123,
AreaActorID: 123,
SalesSourceID: 123,
SerialNumber: '<string>',
VPOSSerialNumber: '<string>',
DeviceSerialNumber: '<string>',
VPOSID: 123,
DeviceID: 123,
UseLocationFrom: 123,
GeoCountry: 123,
GeoState: '<string>',
GeoCity: '<string>',
GeoAddress: '<string>',
GeoStreetNumber: '<string>',
GeoLongitude: 123,
GeoLatitude: 123,
GeoZoom: 123,
GeoZipCode: '<string>',
SearchAddress: '<string>',
Remarks: '<string>',
DexType: 123,
DexMidnightReadsEnableBit: true,
DexG85CheckEnableBit: true,
DexDivideBillsBy: 123,
DexG85CheckParsingFilterEnableBit: true,
UseCardPriceCorrectCashPriceBit: true,
MachineTimeZoneOffset: 123,
DexReadInterval: 123,
LocationType: 123,
ApplyDisplayPickListSelectionsToReportsBit: true,
DisplayPickListSelectionsAs: 123,
LastUpdated: '2023-11-07T05:31:56Z',
MachineProfile: 123,
CityID: 123,
RegionID: 123,
CountryDialingCode: 123,
DexIgnoreCRCCheckBit: true,
DexParseLABit: true,
ProductMapID: 123,
Longitude: 123,
Latitude: 123,
DexTotalSalesMinusCardSalesBit: true,
RouteActorID: 123,
MachineLogicAlertEnableBit: true,
AlertRuleSetId: 123,
MachineMemberTypePricingEnableBit: true,
DexMultiplyCoinsBy: 123,
DexMultiplyTubesBy: 123,
CustomerID: 123,
CommissionType: 123,
CommissionDefaultValue: 123,
CreatedBy: 123,
CreatedOn: '2023-11-07T05:31:56Z',
UpdateBy: 123,
TubeSource: 123,
BillSource: 123,
SmartStickerId: 123,
EnableRemoveVendBit: true,
EnableEreceiptBit: true,
ProductMapAutomaticCreationBit: true,
Refs: {}
})
};
fetch('https://qa-lynx.nayax.com/operational/v1/machines/{MachineID}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://qa-lynx.nayax.com/operational/v1/machines/{MachineID}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'MachineID' => 123,
'ActorID' => 123,
'CountryID' => 123,
'CurrencyID' => 123,
'InstituteID' => 123,
'LocationID' => 123,
'MachineGroupID' => 123,
'MachineModelID' => 123,
'MachineName' => '<string>',
'MachineNumber' => '<string>',
'MachineStatusBit' => 123,
'OperatorActorID' => 123,
'DistributorActorID' => 123,
'AreaActorID' => 123,
'SalesSourceID' => 123,
'SerialNumber' => '<string>',
'VPOSSerialNumber' => '<string>',
'DeviceSerialNumber' => '<string>',
'VPOSID' => 123,
'DeviceID' => 123,
'UseLocationFrom' => 123,
'GeoCountry' => 123,
'GeoState' => '<string>',
'GeoCity' => '<string>',
'GeoAddress' => '<string>',
'GeoStreetNumber' => '<string>',
'GeoLongitude' => 123,
'GeoLatitude' => 123,
'GeoZoom' => 123,
'GeoZipCode' => '<string>',
'SearchAddress' => '<string>',
'Remarks' => '<string>',
'DexType' => 123,
'DexMidnightReadsEnableBit' => true,
'DexG85CheckEnableBit' => true,
'DexDivideBillsBy' => 123,
'DexG85CheckParsingFilterEnableBit' => true,
'UseCardPriceCorrectCashPriceBit' => true,
'MachineTimeZoneOffset' => 123,
'DexReadInterval' => 123,
'LocationType' => 123,
'ApplyDisplayPickListSelectionsToReportsBit' => true,
'DisplayPickListSelectionsAs' => 123,
'LastUpdated' => '2023-11-07T05:31:56Z',
'MachineProfile' => 123,
'CityID' => 123,
'RegionID' => 123,
'CountryDialingCode' => 123,
'DexIgnoreCRCCheckBit' => true,
'DexParseLABit' => true,
'ProductMapID' => 123,
'Longitude' => 123,
'Latitude' => 123,
'DexTotalSalesMinusCardSalesBit' => true,
'RouteActorID' => 123,
'MachineLogicAlertEnableBit' => true,
'AlertRuleSetId' => 123,
'MachineMemberTypePricingEnableBit' => true,
'DexMultiplyCoinsBy' => 123,
'DexMultiplyTubesBy' => 123,
'CustomerID' => 123,
'CommissionType' => 123,
'CommissionDefaultValue' => 123,
'CreatedBy' => 123,
'CreatedOn' => '2023-11-07T05:31:56Z',
'UpdateBy' => 123,
'TubeSource' => 123,
'BillSource' => 123,
'SmartStickerId' => 123,
'EnableRemoveVendBit' => true,
'EnableEreceiptBit' => true,
'ProductMapAutomaticCreationBit' => true,
'Refs' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://qa-lynx.nayax.com/operational/v1/machines/{MachineID}"
payload := strings.NewReader("{\n \"MachineID\": 123,\n \"ActorID\": 123,\n \"CountryID\": 123,\n \"CurrencyID\": 123,\n \"InstituteID\": 123,\n \"LocationID\": 123,\n \"MachineGroupID\": 123,\n \"MachineModelID\": 123,\n \"MachineName\": \"<string>\",\n \"MachineNumber\": \"<string>\",\n \"MachineStatusBit\": 123,\n \"OperatorActorID\": 123,\n \"DistributorActorID\": 123,\n \"AreaActorID\": 123,\n \"SalesSourceID\": 123,\n \"SerialNumber\": \"<string>\",\n \"VPOSSerialNumber\": \"<string>\",\n \"DeviceSerialNumber\": \"<string>\",\n \"VPOSID\": 123,\n \"DeviceID\": 123,\n \"UseLocationFrom\": 123,\n \"GeoCountry\": 123,\n \"GeoState\": \"<string>\",\n \"GeoCity\": \"<string>\",\n \"GeoAddress\": \"<string>\",\n \"GeoStreetNumber\": \"<string>\",\n \"GeoLongitude\": 123,\n \"GeoLatitude\": 123,\n \"GeoZoom\": 123,\n \"GeoZipCode\": \"<string>\",\n \"SearchAddress\": \"<string>\",\n \"Remarks\": \"<string>\",\n \"DexType\": 123,\n \"DexMidnightReadsEnableBit\": true,\n \"DexG85CheckEnableBit\": true,\n \"DexDivideBillsBy\": 123,\n \"DexG85CheckParsingFilterEnableBit\": true,\n \"UseCardPriceCorrectCashPriceBit\": true,\n \"MachineTimeZoneOffset\": 123,\n \"DexReadInterval\": 123,\n \"LocationType\": 123,\n \"ApplyDisplayPickListSelectionsToReportsBit\": true,\n \"DisplayPickListSelectionsAs\": 123,\n \"LastUpdated\": \"2023-11-07T05:31:56Z\",\n \"MachineProfile\": 123,\n \"CityID\": 123,\n \"RegionID\": 123,\n \"CountryDialingCode\": 123,\n \"DexIgnoreCRCCheckBit\": true,\n \"DexParseLABit\": true,\n \"ProductMapID\": 123,\n \"Longitude\": 123,\n \"Latitude\": 123,\n \"DexTotalSalesMinusCardSalesBit\": true,\n \"RouteActorID\": 123,\n \"MachineLogicAlertEnableBit\": true,\n \"AlertRuleSetId\": 123,\n \"MachineMemberTypePricingEnableBit\": true,\n \"DexMultiplyCoinsBy\": 123,\n \"DexMultiplyTubesBy\": 123,\n \"CustomerID\": 123,\n \"CommissionType\": 123,\n \"CommissionDefaultValue\": 123,\n \"CreatedBy\": 123,\n \"CreatedOn\": \"2023-11-07T05:31:56Z\",\n \"UpdateBy\": 123,\n \"TubeSource\": 123,\n \"BillSource\": 123,\n \"SmartStickerId\": 123,\n \"EnableRemoveVendBit\": true,\n \"EnableEreceiptBit\": true,\n \"ProductMapAutomaticCreationBit\": true,\n \"Refs\": {}\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://qa-lynx.nayax.com/operational/v1/machines/{MachineID}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"MachineID\": 123,\n \"ActorID\": 123,\n \"CountryID\": 123,\n \"CurrencyID\": 123,\n \"InstituteID\": 123,\n \"LocationID\": 123,\n \"MachineGroupID\": 123,\n \"MachineModelID\": 123,\n \"MachineName\": \"<string>\",\n \"MachineNumber\": \"<string>\",\n \"MachineStatusBit\": 123,\n \"OperatorActorID\": 123,\n \"DistributorActorID\": 123,\n \"AreaActorID\": 123,\n \"SalesSourceID\": 123,\n \"SerialNumber\": \"<string>\",\n \"VPOSSerialNumber\": \"<string>\",\n \"DeviceSerialNumber\": \"<string>\",\n \"VPOSID\": 123,\n \"DeviceID\": 123,\n \"UseLocationFrom\": 123,\n \"GeoCountry\": 123,\n \"GeoState\": \"<string>\",\n \"GeoCity\": \"<string>\",\n \"GeoAddress\": \"<string>\",\n \"GeoStreetNumber\": \"<string>\",\n \"GeoLongitude\": 123,\n \"GeoLatitude\": 123,\n \"GeoZoom\": 123,\n \"GeoZipCode\": \"<string>\",\n \"SearchAddress\": \"<string>\",\n \"Remarks\": \"<string>\",\n \"DexType\": 123,\n \"DexMidnightReadsEnableBit\": true,\n \"DexG85CheckEnableBit\": true,\n \"DexDivideBillsBy\": 123,\n \"DexG85CheckParsingFilterEnableBit\": true,\n \"UseCardPriceCorrectCashPriceBit\": true,\n \"MachineTimeZoneOffset\": 123,\n \"DexReadInterval\": 123,\n \"LocationType\": 123,\n \"ApplyDisplayPickListSelectionsToReportsBit\": true,\n \"DisplayPickListSelectionsAs\": 123,\n \"LastUpdated\": \"2023-11-07T05:31:56Z\",\n \"MachineProfile\": 123,\n \"CityID\": 123,\n \"RegionID\": 123,\n \"CountryDialingCode\": 123,\n \"DexIgnoreCRCCheckBit\": true,\n \"DexParseLABit\": true,\n \"ProductMapID\": 123,\n \"Longitude\": 123,\n \"Latitude\": 123,\n \"DexTotalSalesMinusCardSalesBit\": true,\n \"RouteActorID\": 123,\n \"MachineLogicAlertEnableBit\": true,\n \"AlertRuleSetId\": 123,\n \"MachineMemberTypePricingEnableBit\": true,\n \"DexMultiplyCoinsBy\": 123,\n \"DexMultiplyTubesBy\": 123,\n \"CustomerID\": 123,\n \"CommissionType\": 123,\n \"CommissionDefaultValue\": 123,\n \"CreatedBy\": 123,\n \"CreatedOn\": \"2023-11-07T05:31:56Z\",\n \"UpdateBy\": 123,\n \"TubeSource\": 123,\n \"BillSource\": 123,\n \"SmartStickerId\": 123,\n \"EnableRemoveVendBit\": true,\n \"EnableEreceiptBit\": true,\n \"ProductMapAutomaticCreationBit\": true,\n \"Refs\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://qa-lynx.nayax.com/operational/v1/machines/{MachineID}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"MachineID\": 123,\n \"ActorID\": 123,\n \"CountryID\": 123,\n \"CurrencyID\": 123,\n \"InstituteID\": 123,\n \"LocationID\": 123,\n \"MachineGroupID\": 123,\n \"MachineModelID\": 123,\n \"MachineName\": \"<string>\",\n \"MachineNumber\": \"<string>\",\n \"MachineStatusBit\": 123,\n \"OperatorActorID\": 123,\n \"DistributorActorID\": 123,\n \"AreaActorID\": 123,\n \"SalesSourceID\": 123,\n \"SerialNumber\": \"<string>\",\n \"VPOSSerialNumber\": \"<string>\",\n \"DeviceSerialNumber\": \"<string>\",\n \"VPOSID\": 123,\n \"DeviceID\": 123,\n \"UseLocationFrom\": 123,\n \"GeoCountry\": 123,\n \"GeoState\": \"<string>\",\n \"GeoCity\": \"<string>\",\n \"GeoAddress\": \"<string>\",\n \"GeoStreetNumber\": \"<string>\",\n \"GeoLongitude\": 123,\n \"GeoLatitude\": 123,\n \"GeoZoom\": 123,\n \"GeoZipCode\": \"<string>\",\n \"SearchAddress\": \"<string>\",\n \"Remarks\": \"<string>\",\n \"DexType\": 123,\n \"DexMidnightReadsEnableBit\": true,\n \"DexG85CheckEnableBit\": true,\n \"DexDivideBillsBy\": 123,\n \"DexG85CheckParsingFilterEnableBit\": true,\n \"UseCardPriceCorrectCashPriceBit\": true,\n \"MachineTimeZoneOffset\": 123,\n \"DexReadInterval\": 123,\n \"LocationType\": 123,\n \"ApplyDisplayPickListSelectionsToReportsBit\": true,\n \"DisplayPickListSelectionsAs\": 123,\n \"LastUpdated\": \"2023-11-07T05:31:56Z\",\n \"MachineProfile\": 123,\n \"CityID\": 123,\n \"RegionID\": 123,\n \"CountryDialingCode\": 123,\n \"DexIgnoreCRCCheckBit\": true,\n \"DexParseLABit\": true,\n \"ProductMapID\": 123,\n \"Longitude\": 123,\n \"Latitude\": 123,\n \"DexTotalSalesMinusCardSalesBit\": true,\n \"RouteActorID\": 123,\n \"MachineLogicAlertEnableBit\": true,\n \"AlertRuleSetId\": 123,\n \"MachineMemberTypePricingEnableBit\": true,\n \"DexMultiplyCoinsBy\": 123,\n \"DexMultiplyTubesBy\": 123,\n \"CustomerID\": 123,\n \"CommissionType\": 123,\n \"CommissionDefaultValue\": 123,\n \"CreatedBy\": 123,\n \"CreatedOn\": \"2023-11-07T05:31:56Z\",\n \"UpdateBy\": 123,\n \"TubeSource\": 123,\n \"BillSource\": 123,\n \"SmartStickerId\": 123,\n \"EnableRemoveVendBit\": true,\n \"EnableEreceiptBit\": true,\n \"ProductMapAutomaticCreationBit\": true,\n \"Refs\": {}\n}"
response = http.request(request)
puts response.read_body{
"MachineID": 123,
"ActorID": 123,
"CountryID": 123,
"CurrencyID": 123,
"InstituteID": 123,
"LocationID": 123,
"MachineGroupID": 123,
"MachineModelID": 123,
"MachineName": "<string>",
"MachineNumber": "<string>",
"MachineStatusBit": 123,
"LanguageID": 2,
"OperatorActorID": 123,
"DistributorActorID": 123,
"AreaActorID": 123,
"SalesSourceID": 123,
"MachineTypeID": 555001,
"SerialNumber": "<string>",
"VPOSSerialNumber": "<string>",
"DeviceSerialNumber": "<string>",
"VPOSID": 123,
"DeviceID": 123,
"UseLocationFrom": 123,
"GeoCountry": 123,
"GeoState": "<string>",
"GeoCity": "<string>",
"GeoAddress": "<string>",
"GeoStreetNumber": "<string>",
"GeoLongitude": 123,
"GeoLatitude": 123,
"GeoZoom": 123,
"GeoZipCode": "<string>",
"SearchAddress": "<string>",
"Remarks": "<string>",
"DexType": 123,
"DexMidnightReadsEnableBit": true,
"DexG85CheckEnableBit": true,
"DexDivideBillsBy": 123,
"DexG85CheckParsingFilterEnableBit": true,
"UseCardPriceCorrectCashPriceBit": true,
"MachineTimeZoneOffset": 123,
"DexReadInterval": 123,
"LocationType": 123,
"ApplyDisplayPickListSelectionsToReportsBit": true,
"DisplayPickListSelectionsAs": 123,
"LastUpdated": "2023-11-07T05:31:56Z",
"MachineProfile": 123,
"CityID": 123,
"RegionID": 123,
"CountryDialingCode": 123,
"DexIgnoreCRCCheckBit": true,
"DexParseLABit": true,
"ProductMapID": 123,
"Longitude": 123,
"Latitude": 123,
"DexTotalSalesMinusCardSalesBit": true,
"RouteActorID": 123,
"MachineLogicAlertEnableBit": true,
"AlertRuleSetId": 123,
"MachineMemberTypePricingEnableBit": true,
"DexMultiplyCoinsBy": 123,
"DexMultiplyTubesBy": 123,
"CustomerID": 123,
"CommissionType": 123,
"CommissionDefaultValue": 123,
"CreatedBy": 123,
"CreatedOn": "2023-11-07T05:31:56Z",
"UpdateBy": 123,
"TubeSource": 123,
"BillSource": 123,
"SmartStickerId": 123,
"EnableRemoveVendBit": true,
"EnableEreceiptBit": true,
"ProductMapAutomaticCreationBit": true,
"Refs": {}
}Machines
Update Specific Machine Basic Info
Updates the basic information of a specific machine identified by MachineID.
Update Specific Machine Basic Info
curl --request PUT \
--url https://qa-lynx.nayax.com/operational/v1/machines/{MachineID} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"MachineID": 123,
"ActorID": 123,
"CountryID": 123,
"CurrencyID": 123,
"InstituteID": 123,
"LocationID": 123,
"MachineGroupID": 123,
"MachineModelID": 123,
"MachineName": "<string>",
"MachineNumber": "<string>",
"MachineStatusBit": 123,
"OperatorActorID": 123,
"DistributorActorID": 123,
"AreaActorID": 123,
"SalesSourceID": 123,
"SerialNumber": "<string>",
"VPOSSerialNumber": "<string>",
"DeviceSerialNumber": "<string>",
"VPOSID": 123,
"DeviceID": 123,
"UseLocationFrom": 123,
"GeoCountry": 123,
"GeoState": "<string>",
"GeoCity": "<string>",
"GeoAddress": "<string>",
"GeoStreetNumber": "<string>",
"GeoLongitude": 123,
"GeoLatitude": 123,
"GeoZoom": 123,
"GeoZipCode": "<string>",
"SearchAddress": "<string>",
"Remarks": "<string>",
"DexType": 123,
"DexMidnightReadsEnableBit": true,
"DexG85CheckEnableBit": true,
"DexDivideBillsBy": 123,
"DexG85CheckParsingFilterEnableBit": true,
"UseCardPriceCorrectCashPriceBit": true,
"MachineTimeZoneOffset": 123,
"DexReadInterval": 123,
"LocationType": 123,
"ApplyDisplayPickListSelectionsToReportsBit": true,
"DisplayPickListSelectionsAs": 123,
"LastUpdated": "2023-11-07T05:31:56Z",
"MachineProfile": 123,
"CityID": 123,
"RegionID": 123,
"CountryDialingCode": 123,
"DexIgnoreCRCCheckBit": true,
"DexParseLABit": true,
"ProductMapID": 123,
"Longitude": 123,
"Latitude": 123,
"DexTotalSalesMinusCardSalesBit": true,
"RouteActorID": 123,
"MachineLogicAlertEnableBit": true,
"AlertRuleSetId": 123,
"MachineMemberTypePricingEnableBit": true,
"DexMultiplyCoinsBy": 123,
"DexMultiplyTubesBy": 123,
"CustomerID": 123,
"CommissionType": 123,
"CommissionDefaultValue": 123,
"CreatedBy": 123,
"CreatedOn": "2023-11-07T05:31:56Z",
"UpdateBy": 123,
"TubeSource": 123,
"BillSource": 123,
"SmartStickerId": 123,
"EnableRemoveVendBit": true,
"EnableEreceiptBit": true,
"ProductMapAutomaticCreationBit": true,
"Refs": {}
}
'import requests
url = "https://qa-lynx.nayax.com/operational/v1/machines/{MachineID}"
payload = {
"MachineID": 123,
"ActorID": 123,
"CountryID": 123,
"CurrencyID": 123,
"InstituteID": 123,
"LocationID": 123,
"MachineGroupID": 123,
"MachineModelID": 123,
"MachineName": "<string>",
"MachineNumber": "<string>",
"MachineStatusBit": 123,
"OperatorActorID": 123,
"DistributorActorID": 123,
"AreaActorID": 123,
"SalesSourceID": 123,
"SerialNumber": "<string>",
"VPOSSerialNumber": "<string>",
"DeviceSerialNumber": "<string>",
"VPOSID": 123,
"DeviceID": 123,
"UseLocationFrom": 123,
"GeoCountry": 123,
"GeoState": "<string>",
"GeoCity": "<string>",
"GeoAddress": "<string>",
"GeoStreetNumber": "<string>",
"GeoLongitude": 123,
"GeoLatitude": 123,
"GeoZoom": 123,
"GeoZipCode": "<string>",
"SearchAddress": "<string>",
"Remarks": "<string>",
"DexType": 123,
"DexMidnightReadsEnableBit": True,
"DexG85CheckEnableBit": True,
"DexDivideBillsBy": 123,
"DexG85CheckParsingFilterEnableBit": True,
"UseCardPriceCorrectCashPriceBit": True,
"MachineTimeZoneOffset": 123,
"DexReadInterval": 123,
"LocationType": 123,
"ApplyDisplayPickListSelectionsToReportsBit": True,
"DisplayPickListSelectionsAs": 123,
"LastUpdated": "2023-11-07T05:31:56Z",
"MachineProfile": 123,
"CityID": 123,
"RegionID": 123,
"CountryDialingCode": 123,
"DexIgnoreCRCCheckBit": True,
"DexParseLABit": True,
"ProductMapID": 123,
"Longitude": 123,
"Latitude": 123,
"DexTotalSalesMinusCardSalesBit": True,
"RouteActorID": 123,
"MachineLogicAlertEnableBit": True,
"AlertRuleSetId": 123,
"MachineMemberTypePricingEnableBit": True,
"DexMultiplyCoinsBy": 123,
"DexMultiplyTubesBy": 123,
"CustomerID": 123,
"CommissionType": 123,
"CommissionDefaultValue": 123,
"CreatedBy": 123,
"CreatedOn": "2023-11-07T05:31:56Z",
"UpdateBy": 123,
"TubeSource": 123,
"BillSource": 123,
"SmartStickerId": 123,
"EnableRemoveVendBit": True,
"EnableEreceiptBit": True,
"ProductMapAutomaticCreationBit": True,
"Refs": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
MachineID: 123,
ActorID: 123,
CountryID: 123,
CurrencyID: 123,
InstituteID: 123,
LocationID: 123,
MachineGroupID: 123,
MachineModelID: 123,
MachineName: '<string>',
MachineNumber: '<string>',
MachineStatusBit: 123,
OperatorActorID: 123,
DistributorActorID: 123,
AreaActorID: 123,
SalesSourceID: 123,
SerialNumber: '<string>',
VPOSSerialNumber: '<string>',
DeviceSerialNumber: '<string>',
VPOSID: 123,
DeviceID: 123,
UseLocationFrom: 123,
GeoCountry: 123,
GeoState: '<string>',
GeoCity: '<string>',
GeoAddress: '<string>',
GeoStreetNumber: '<string>',
GeoLongitude: 123,
GeoLatitude: 123,
GeoZoom: 123,
GeoZipCode: '<string>',
SearchAddress: '<string>',
Remarks: '<string>',
DexType: 123,
DexMidnightReadsEnableBit: true,
DexG85CheckEnableBit: true,
DexDivideBillsBy: 123,
DexG85CheckParsingFilterEnableBit: true,
UseCardPriceCorrectCashPriceBit: true,
MachineTimeZoneOffset: 123,
DexReadInterval: 123,
LocationType: 123,
ApplyDisplayPickListSelectionsToReportsBit: true,
DisplayPickListSelectionsAs: 123,
LastUpdated: '2023-11-07T05:31:56Z',
MachineProfile: 123,
CityID: 123,
RegionID: 123,
CountryDialingCode: 123,
DexIgnoreCRCCheckBit: true,
DexParseLABit: true,
ProductMapID: 123,
Longitude: 123,
Latitude: 123,
DexTotalSalesMinusCardSalesBit: true,
RouteActorID: 123,
MachineLogicAlertEnableBit: true,
AlertRuleSetId: 123,
MachineMemberTypePricingEnableBit: true,
DexMultiplyCoinsBy: 123,
DexMultiplyTubesBy: 123,
CustomerID: 123,
CommissionType: 123,
CommissionDefaultValue: 123,
CreatedBy: 123,
CreatedOn: '2023-11-07T05:31:56Z',
UpdateBy: 123,
TubeSource: 123,
BillSource: 123,
SmartStickerId: 123,
EnableRemoveVendBit: true,
EnableEreceiptBit: true,
ProductMapAutomaticCreationBit: true,
Refs: {}
})
};
fetch('https://qa-lynx.nayax.com/operational/v1/machines/{MachineID}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://qa-lynx.nayax.com/operational/v1/machines/{MachineID}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'MachineID' => 123,
'ActorID' => 123,
'CountryID' => 123,
'CurrencyID' => 123,
'InstituteID' => 123,
'LocationID' => 123,
'MachineGroupID' => 123,
'MachineModelID' => 123,
'MachineName' => '<string>',
'MachineNumber' => '<string>',
'MachineStatusBit' => 123,
'OperatorActorID' => 123,
'DistributorActorID' => 123,
'AreaActorID' => 123,
'SalesSourceID' => 123,
'SerialNumber' => '<string>',
'VPOSSerialNumber' => '<string>',
'DeviceSerialNumber' => '<string>',
'VPOSID' => 123,
'DeviceID' => 123,
'UseLocationFrom' => 123,
'GeoCountry' => 123,
'GeoState' => '<string>',
'GeoCity' => '<string>',
'GeoAddress' => '<string>',
'GeoStreetNumber' => '<string>',
'GeoLongitude' => 123,
'GeoLatitude' => 123,
'GeoZoom' => 123,
'GeoZipCode' => '<string>',
'SearchAddress' => '<string>',
'Remarks' => '<string>',
'DexType' => 123,
'DexMidnightReadsEnableBit' => true,
'DexG85CheckEnableBit' => true,
'DexDivideBillsBy' => 123,
'DexG85CheckParsingFilterEnableBit' => true,
'UseCardPriceCorrectCashPriceBit' => true,
'MachineTimeZoneOffset' => 123,
'DexReadInterval' => 123,
'LocationType' => 123,
'ApplyDisplayPickListSelectionsToReportsBit' => true,
'DisplayPickListSelectionsAs' => 123,
'LastUpdated' => '2023-11-07T05:31:56Z',
'MachineProfile' => 123,
'CityID' => 123,
'RegionID' => 123,
'CountryDialingCode' => 123,
'DexIgnoreCRCCheckBit' => true,
'DexParseLABit' => true,
'ProductMapID' => 123,
'Longitude' => 123,
'Latitude' => 123,
'DexTotalSalesMinusCardSalesBit' => true,
'RouteActorID' => 123,
'MachineLogicAlertEnableBit' => true,
'AlertRuleSetId' => 123,
'MachineMemberTypePricingEnableBit' => true,
'DexMultiplyCoinsBy' => 123,
'DexMultiplyTubesBy' => 123,
'CustomerID' => 123,
'CommissionType' => 123,
'CommissionDefaultValue' => 123,
'CreatedBy' => 123,
'CreatedOn' => '2023-11-07T05:31:56Z',
'UpdateBy' => 123,
'TubeSource' => 123,
'BillSource' => 123,
'SmartStickerId' => 123,
'EnableRemoveVendBit' => true,
'EnableEreceiptBit' => true,
'ProductMapAutomaticCreationBit' => true,
'Refs' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://qa-lynx.nayax.com/operational/v1/machines/{MachineID}"
payload := strings.NewReader("{\n \"MachineID\": 123,\n \"ActorID\": 123,\n \"CountryID\": 123,\n \"CurrencyID\": 123,\n \"InstituteID\": 123,\n \"LocationID\": 123,\n \"MachineGroupID\": 123,\n \"MachineModelID\": 123,\n \"MachineName\": \"<string>\",\n \"MachineNumber\": \"<string>\",\n \"MachineStatusBit\": 123,\n \"OperatorActorID\": 123,\n \"DistributorActorID\": 123,\n \"AreaActorID\": 123,\n \"SalesSourceID\": 123,\n \"SerialNumber\": \"<string>\",\n \"VPOSSerialNumber\": \"<string>\",\n \"DeviceSerialNumber\": \"<string>\",\n \"VPOSID\": 123,\n \"DeviceID\": 123,\n \"UseLocationFrom\": 123,\n \"GeoCountry\": 123,\n \"GeoState\": \"<string>\",\n \"GeoCity\": \"<string>\",\n \"GeoAddress\": \"<string>\",\n \"GeoStreetNumber\": \"<string>\",\n \"GeoLongitude\": 123,\n \"GeoLatitude\": 123,\n \"GeoZoom\": 123,\n \"GeoZipCode\": \"<string>\",\n \"SearchAddress\": \"<string>\",\n \"Remarks\": \"<string>\",\n \"DexType\": 123,\n \"DexMidnightReadsEnableBit\": true,\n \"DexG85CheckEnableBit\": true,\n \"DexDivideBillsBy\": 123,\n \"DexG85CheckParsingFilterEnableBit\": true,\n \"UseCardPriceCorrectCashPriceBit\": true,\n \"MachineTimeZoneOffset\": 123,\n \"DexReadInterval\": 123,\n \"LocationType\": 123,\n \"ApplyDisplayPickListSelectionsToReportsBit\": true,\n \"DisplayPickListSelectionsAs\": 123,\n \"LastUpdated\": \"2023-11-07T05:31:56Z\",\n \"MachineProfile\": 123,\n \"CityID\": 123,\n \"RegionID\": 123,\n \"CountryDialingCode\": 123,\n \"DexIgnoreCRCCheckBit\": true,\n \"DexParseLABit\": true,\n \"ProductMapID\": 123,\n \"Longitude\": 123,\n \"Latitude\": 123,\n \"DexTotalSalesMinusCardSalesBit\": true,\n \"RouteActorID\": 123,\n \"MachineLogicAlertEnableBit\": true,\n \"AlertRuleSetId\": 123,\n \"MachineMemberTypePricingEnableBit\": true,\n \"DexMultiplyCoinsBy\": 123,\n \"DexMultiplyTubesBy\": 123,\n \"CustomerID\": 123,\n \"CommissionType\": 123,\n \"CommissionDefaultValue\": 123,\n \"CreatedBy\": 123,\n \"CreatedOn\": \"2023-11-07T05:31:56Z\",\n \"UpdateBy\": 123,\n \"TubeSource\": 123,\n \"BillSource\": 123,\n \"SmartStickerId\": 123,\n \"EnableRemoveVendBit\": true,\n \"EnableEreceiptBit\": true,\n \"ProductMapAutomaticCreationBit\": true,\n \"Refs\": {}\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://qa-lynx.nayax.com/operational/v1/machines/{MachineID}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"MachineID\": 123,\n \"ActorID\": 123,\n \"CountryID\": 123,\n \"CurrencyID\": 123,\n \"InstituteID\": 123,\n \"LocationID\": 123,\n \"MachineGroupID\": 123,\n \"MachineModelID\": 123,\n \"MachineName\": \"<string>\",\n \"MachineNumber\": \"<string>\",\n \"MachineStatusBit\": 123,\n \"OperatorActorID\": 123,\n \"DistributorActorID\": 123,\n \"AreaActorID\": 123,\n \"SalesSourceID\": 123,\n \"SerialNumber\": \"<string>\",\n \"VPOSSerialNumber\": \"<string>\",\n \"DeviceSerialNumber\": \"<string>\",\n \"VPOSID\": 123,\n \"DeviceID\": 123,\n \"UseLocationFrom\": 123,\n \"GeoCountry\": 123,\n \"GeoState\": \"<string>\",\n \"GeoCity\": \"<string>\",\n \"GeoAddress\": \"<string>\",\n \"GeoStreetNumber\": \"<string>\",\n \"GeoLongitude\": 123,\n \"GeoLatitude\": 123,\n \"GeoZoom\": 123,\n \"GeoZipCode\": \"<string>\",\n \"SearchAddress\": \"<string>\",\n \"Remarks\": \"<string>\",\n \"DexType\": 123,\n \"DexMidnightReadsEnableBit\": true,\n \"DexG85CheckEnableBit\": true,\n \"DexDivideBillsBy\": 123,\n \"DexG85CheckParsingFilterEnableBit\": true,\n \"UseCardPriceCorrectCashPriceBit\": true,\n \"MachineTimeZoneOffset\": 123,\n \"DexReadInterval\": 123,\n \"LocationType\": 123,\n \"ApplyDisplayPickListSelectionsToReportsBit\": true,\n \"DisplayPickListSelectionsAs\": 123,\n \"LastUpdated\": \"2023-11-07T05:31:56Z\",\n \"MachineProfile\": 123,\n \"CityID\": 123,\n \"RegionID\": 123,\n \"CountryDialingCode\": 123,\n \"DexIgnoreCRCCheckBit\": true,\n \"DexParseLABit\": true,\n \"ProductMapID\": 123,\n \"Longitude\": 123,\n \"Latitude\": 123,\n \"DexTotalSalesMinusCardSalesBit\": true,\n \"RouteActorID\": 123,\n \"MachineLogicAlertEnableBit\": true,\n \"AlertRuleSetId\": 123,\n \"MachineMemberTypePricingEnableBit\": true,\n \"DexMultiplyCoinsBy\": 123,\n \"DexMultiplyTubesBy\": 123,\n \"CustomerID\": 123,\n \"CommissionType\": 123,\n \"CommissionDefaultValue\": 123,\n \"CreatedBy\": 123,\n \"CreatedOn\": \"2023-11-07T05:31:56Z\",\n \"UpdateBy\": 123,\n \"TubeSource\": 123,\n \"BillSource\": 123,\n \"SmartStickerId\": 123,\n \"EnableRemoveVendBit\": true,\n \"EnableEreceiptBit\": true,\n \"ProductMapAutomaticCreationBit\": true,\n \"Refs\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://qa-lynx.nayax.com/operational/v1/machines/{MachineID}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"MachineID\": 123,\n \"ActorID\": 123,\n \"CountryID\": 123,\n \"CurrencyID\": 123,\n \"InstituteID\": 123,\n \"LocationID\": 123,\n \"MachineGroupID\": 123,\n \"MachineModelID\": 123,\n \"MachineName\": \"<string>\",\n \"MachineNumber\": \"<string>\",\n \"MachineStatusBit\": 123,\n \"OperatorActorID\": 123,\n \"DistributorActorID\": 123,\n \"AreaActorID\": 123,\n \"SalesSourceID\": 123,\n \"SerialNumber\": \"<string>\",\n \"VPOSSerialNumber\": \"<string>\",\n \"DeviceSerialNumber\": \"<string>\",\n \"VPOSID\": 123,\n \"DeviceID\": 123,\n \"UseLocationFrom\": 123,\n \"GeoCountry\": 123,\n \"GeoState\": \"<string>\",\n \"GeoCity\": \"<string>\",\n \"GeoAddress\": \"<string>\",\n \"GeoStreetNumber\": \"<string>\",\n \"GeoLongitude\": 123,\n \"GeoLatitude\": 123,\n \"GeoZoom\": 123,\n \"GeoZipCode\": \"<string>\",\n \"SearchAddress\": \"<string>\",\n \"Remarks\": \"<string>\",\n \"DexType\": 123,\n \"DexMidnightReadsEnableBit\": true,\n \"DexG85CheckEnableBit\": true,\n \"DexDivideBillsBy\": 123,\n \"DexG85CheckParsingFilterEnableBit\": true,\n \"UseCardPriceCorrectCashPriceBit\": true,\n \"MachineTimeZoneOffset\": 123,\n \"DexReadInterval\": 123,\n \"LocationType\": 123,\n \"ApplyDisplayPickListSelectionsToReportsBit\": true,\n \"DisplayPickListSelectionsAs\": 123,\n \"LastUpdated\": \"2023-11-07T05:31:56Z\",\n \"MachineProfile\": 123,\n \"CityID\": 123,\n \"RegionID\": 123,\n \"CountryDialingCode\": 123,\n \"DexIgnoreCRCCheckBit\": true,\n \"DexParseLABit\": true,\n \"ProductMapID\": 123,\n \"Longitude\": 123,\n \"Latitude\": 123,\n \"DexTotalSalesMinusCardSalesBit\": true,\n \"RouteActorID\": 123,\n \"MachineLogicAlertEnableBit\": true,\n \"AlertRuleSetId\": 123,\n \"MachineMemberTypePricingEnableBit\": true,\n \"DexMultiplyCoinsBy\": 123,\n \"DexMultiplyTubesBy\": 123,\n \"CustomerID\": 123,\n \"CommissionType\": 123,\n \"CommissionDefaultValue\": 123,\n \"CreatedBy\": 123,\n \"CreatedOn\": \"2023-11-07T05:31:56Z\",\n \"UpdateBy\": 123,\n \"TubeSource\": 123,\n \"BillSource\": 123,\n \"SmartStickerId\": 123,\n \"EnableRemoveVendBit\": true,\n \"EnableEreceiptBit\": true,\n \"ProductMapAutomaticCreationBit\": true,\n \"Refs\": {}\n}"
response = http.request(request)
puts response.read_body{
"MachineID": 123,
"ActorID": 123,
"CountryID": 123,
"CurrencyID": 123,
"InstituteID": 123,
"LocationID": 123,
"MachineGroupID": 123,
"MachineModelID": 123,
"MachineName": "<string>",
"MachineNumber": "<string>",
"MachineStatusBit": 123,
"LanguageID": 2,
"OperatorActorID": 123,
"DistributorActorID": 123,
"AreaActorID": 123,
"SalesSourceID": 123,
"MachineTypeID": 555001,
"SerialNumber": "<string>",
"VPOSSerialNumber": "<string>",
"DeviceSerialNumber": "<string>",
"VPOSID": 123,
"DeviceID": 123,
"UseLocationFrom": 123,
"GeoCountry": 123,
"GeoState": "<string>",
"GeoCity": "<string>",
"GeoAddress": "<string>",
"GeoStreetNumber": "<string>",
"GeoLongitude": 123,
"GeoLatitude": 123,
"GeoZoom": 123,
"GeoZipCode": "<string>",
"SearchAddress": "<string>",
"Remarks": "<string>",
"DexType": 123,
"DexMidnightReadsEnableBit": true,
"DexG85CheckEnableBit": true,
"DexDivideBillsBy": 123,
"DexG85CheckParsingFilterEnableBit": true,
"UseCardPriceCorrectCashPriceBit": true,
"MachineTimeZoneOffset": 123,
"DexReadInterval": 123,
"LocationType": 123,
"ApplyDisplayPickListSelectionsToReportsBit": true,
"DisplayPickListSelectionsAs": 123,
"LastUpdated": "2023-11-07T05:31:56Z",
"MachineProfile": 123,
"CityID": 123,
"RegionID": 123,
"CountryDialingCode": 123,
"DexIgnoreCRCCheckBit": true,
"DexParseLABit": true,
"ProductMapID": 123,
"Longitude": 123,
"Latitude": 123,
"DexTotalSalesMinusCardSalesBit": true,
"RouteActorID": 123,
"MachineLogicAlertEnableBit": true,
"AlertRuleSetId": 123,
"MachineMemberTypePricingEnableBit": true,
"DexMultiplyCoinsBy": 123,
"DexMultiplyTubesBy": 123,
"CustomerID": 123,
"CommissionType": 123,
"CommissionDefaultValue": 123,
"CreatedBy": 123,
"CreatedOn": "2023-11-07T05:31:56Z",
"UpdateBy": 123,
"TubeSource": 123,
"BillSource": 123,
"SmartStickerId": 123,
"EnableRemoveVendBit": true,
"EnableEreceiptBit": true,
"ProductMapAutomaticCreationBit": true,
"Refs": {}
}Authorizations
Body
application/json
Contains basic information about a machine, including identifiers, location details, and configuration settings.
The identifier of the type of machine.
Available options:
555001, 555002, 555003, 555004, 555005, 555006, 555007, 555008, 556017, 556018, 30000514, 30000515, 30000516, 30000517, 30000518, 30000519, 30000520, 30000521, 30000522, 30000523, 30000524, 30000525, 30000526, 30000527, 30000561, 30000578, 30000579, 30000580, 30000581, 30000582, 30000583, 30000602, 30000611, 30000612, 30000617, 30000618, 30000619, 30000620, 30000623, 176649542, 227707459, 227707460, 504059468, 529079224, 363311433, 244797254 Response
200 - application/json
The machine information was successfully updated.
Contains basic information about a machine, including identifiers, location details, and configuration settings.
The identifier of the type of machine.
Available options:
555001, 555002, 555003, 555004, 555005, 555006, 555007, 555008, 556017, 556018, 30000514, 30000515, 30000516, 30000517, 30000518, 30000519, 30000520, 30000521, 30000522, 30000523, 30000524, 30000525, 30000526, 30000527, 30000561, 30000578, 30000579, 30000580, 30000581, 30000582, 30000583, 30000602, 30000611, 30000612, 30000617, 30000618, 30000619, 30000620, 30000623, 176649542, 227707459, 227707460, 504059468, 529079224, 363311433, 244797254 Was this page helpful?