Get All Devices
curl --request GET \
--url https://qa-lynx.nayax.com/operational/v1/devices \
--header 'Authorization: Bearer <token>'import requests
url = "https://qa-lynx.nayax.com/operational/v1/devices"
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/devices', 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/devices",
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/devices"
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/devices")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://qa-lynx.nayax.com/operational/v1/devices")
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[
{
"VposChipId": "<string>",
"IsDeviceExists": true,
"FWVersionNumber": "<string>",
"VposVersionNumber": "<string>",
"DeviceID": 123,
"ActorID": 123,
"DeviceTypeLutID": 123,
"DeviceSerial": "<string>",
"IMEI": "<string>",
"DeviceDescription": "<string>",
"SimCardID": 123,
"FWVersionID": 123,
"RequestedFwID": 123,
"PollInterval": 123,
"StatusID": 123,
"LastUpdated": "2023-11-07T05:31:56Z",
"IsCollectMultipleParameters": true,
"IsLogged": true,
"FRequestedNewVersionDate": "2023-11-07T05:31:56Z",
"FTookNewVersionDate": "2023-11-07T05:31:56Z",
"HardwareVersion": "<string>",
"IsRental": true,
"RentalEndMonth": 123,
"RentalEndYear": 123,
"IsToBeReturned": true,
"FeeCommunicationThreshold": 123,
"BillingPlanID": 123,
"BillingPlanActivationDate": "2023-11-07T05:31:56Z",
"DeviceCreationDate": "2023-11-07T05:31:56Z",
"CreatedBy": 123,
"UpdatedBy": 123,
"DistributorBillingPlanID": 123,
"ChipID": "<string>",
"OrderID": 123,
"ExternalFlashSize": 123,
"BoardSerial": "<string>",
"FlashSize": 123,
"DeviceFamily": "<string>",
"ModemModel": "<string>",
"TrialEndDate": "2023-11-07T05:31:56Z",
"VerticalTypeID": 123,
"VerticalProductTypeID": 123,
"VerticalTypeLutID": 123,
"VerticalProductTypeLutID": 123,
"Refs": {}
}
]Devices
Get All Devices
Retrieve a list of devices with optional filters such as actor ID, connection status, serial number, and other device attributes.
Get All Devices
curl --request GET \
--url https://qa-lynx.nayax.com/operational/v1/devices \
--header 'Authorization: Bearer <token>'import requests
url = "https://qa-lynx.nayax.com/operational/v1/devices"
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/devices', 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/devices",
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/devices"
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/devices")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://qa-lynx.nayax.com/operational/v1/devices")
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[
{
"VposChipId": "<string>",
"IsDeviceExists": true,
"FWVersionNumber": "<string>",
"VposVersionNumber": "<string>",
"DeviceID": 123,
"ActorID": 123,
"DeviceTypeLutID": 123,
"DeviceSerial": "<string>",
"IMEI": "<string>",
"DeviceDescription": "<string>",
"SimCardID": 123,
"FWVersionID": 123,
"RequestedFwID": 123,
"PollInterval": 123,
"StatusID": 123,
"LastUpdated": "2023-11-07T05:31:56Z",
"IsCollectMultipleParameters": true,
"IsLogged": true,
"FRequestedNewVersionDate": "2023-11-07T05:31:56Z",
"FTookNewVersionDate": "2023-11-07T05:31:56Z",
"HardwareVersion": "<string>",
"IsRental": true,
"RentalEndMonth": 123,
"RentalEndYear": 123,
"IsToBeReturned": true,
"FeeCommunicationThreshold": 123,
"BillingPlanID": 123,
"BillingPlanActivationDate": "2023-11-07T05:31:56Z",
"DeviceCreationDate": "2023-11-07T05:31:56Z",
"CreatedBy": 123,
"UpdatedBy": 123,
"DistributorBillingPlanID": 123,
"ChipID": "<string>",
"OrderID": 123,
"ExternalFlashSize": 123,
"BoardSerial": "<string>",
"FlashSize": 123,
"DeviceFamily": "<string>",
"ModemModel": "<string>",
"TrialEndDate": "2023-11-07T05:31:56Z",
"VerticalTypeID": 123,
"VerticalProductTypeID": 123,
"VerticalTypeLutID": 123,
"VerticalProductTypeLutID": 123,
"Refs": {}
}
]Authorizations
Query Parameters
Response
200 - application/json
A list of devices matching the specified filters.
Was this page helpful?