Get All Machine Basic Info
curl --request GET \
--url https://qa-lynx.nayax.com/operational/v1/machines \
--header 'Authorization: Bearer <token>'import requests
url = "https://qa-lynx.nayax.com/operational/v1/machines"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://qa-lynx.nayax.com/operational/v1/machines', 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",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://qa-lynx.nayax.com/operational/v1/machines"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://qa-lynx.nayax.com/operational/v1/machines")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://qa-lynx.nayax.com/operational/v1/machines")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
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
Get All Machine Basic Info
Retrieves basic information for all machines, with optional filtering by parameters.
Get All Machine Basic Info
curl --request GET \
--url https://qa-lynx.nayax.com/operational/v1/machines \
--header 'Authorization: Bearer <token>'import requests
url = "https://qa-lynx.nayax.com/operational/v1/machines"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://qa-lynx.nayax.com/operational/v1/machines', 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",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://qa-lynx.nayax.com/operational/v1/machines"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://qa-lynx.nayax.com/operational/v1/machines")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://qa-lynx.nayax.com/operational/v1/machines")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
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
Query Parameters
Response
200 - application/json
The machine information was successfully retrieved.
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?