Skip to main content
GET
/
enterprise
/
queue
/
command
/
panels
Get Command Queue Resources in operation
curl --request GET \
  --url https://apigw.bienport.com/api/enterprise/queue/command/panels \
  --header 'Authorization: <authorization>' \
  --header 'OrganizationId: <organizationid>'
import requests

url = "https://apigw.bienport.com/api/enterprise/queue/command/panels"

headers = {
"Authorization": "<authorization>",
"OrganizationId": "<organizationid>"
}

response = requests.get(url, headers=headers)

print(response.text)
const options = {
method: 'GET',
headers: {Authorization: '<authorization>', OrganizationId: '<organizationid>'}
};

fetch('https://apigw.bienport.com/api/enterprise/queue/command/panels', 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://apigw.bienport.com/api/enterprise/queue/command/panels",
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: <authorization>",
"OrganizationId: <organizationid>"
],
]);

$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://apigw.bienport.com/api/enterprise/queue/command/panels"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "<authorization>")
req.Header.Add("OrganizationId", "<organizationid>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://apigw.bienport.com/api/enterprise/queue/command/panels")
.header("Authorization", "<authorization>")
.header("OrganizationId", "<organizationid>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://apigw.bienport.com/api/enterprise/queue/command/panels")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
request["OrganizationId"] = '<organizationid>'

response = http.request(request)
puts response.read_body
[
  {
    "totalRecord": 10,
    "commandQueueList": [
      {
        "brand": "<string>",
        "commandType": 123,
        "failureListenerClass": "<string>",
        "failureMeta": "<string>",
        "id": 123,
        "lastOprTime": 123,
        "model": "<string>",
        "newPin": "<string>",
        "notificationOptionId": 123,
        "oprUserId": 123,
        "organizationId": 123,
        "organizationName": "<string>",
        "resourceId": 123,
        "resourceName": "<string>",
        "retryCount": 123,
        "scheduleTaskId": 123,
        "status": 123,
        "successListenerClass": "<string>",
        "successMeta": "<string>",
        "topOrganizationId": 123,
        "topOrganizationName": "<string>",
        "treePath": "<string>",
        "userId": 123,
        "userName": "<string>",
        "userType": "<string>"
      }
    ],
    "resourcesInOperationList": [
      123
    ]
  }
]
{
"statusCode": 123,
"error": "***Exception",
"message": "Message about the error",
"path": "/api/example/path"
}
{
"statusCode": 123,
"error": "***Exception",
"message": "Message about the error",
"path": "/api/example/path"
}
This response has no body data.
{
"statusCode": 123,
"error": "***Exception",
"message": "Message about the error",
"path": "/api/example/path"
}
{
"statusCode": 123,
"error": "***Exception",
"message": "Message about the error",
"path": "/api/example/path"
}

Headers

Authorization
string
required

Access Token

OrganizationId
string
required

Organization ID

Response

List of resources in operation command queue.

totalRecord
integer<int64>

Total Record

Example:

10

commandQueueList
QueuedItemResponse · object[]

Command Queue List

resourcesInOperationList
integer<int64>[]

Resources In Operation List