Skip to main content
GET
/
activities
/
controller
/
list
Get Controller Data Log List
curl --request GET \
  --url https://apigw.bienport.com/api/activities/controller/list \
  --header 'Authorization: <authorization>' \
  --header 'OrganizationId: <organizationid>'
import requests

url = "https://apigw.bienport.com/api/activities/controller/list"

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/activities/controller/list', 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/activities/controller/list",
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/activities/controller/list"

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/activities/controller/list")
.header("Authorization", "<authorization>")
.header("OrganizationId", "<organizationid>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://apigw.bienport.com/api/activities/controller/list")

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
[
  {
    "lastUpdate": 123,
    "orderNo": 123,
    "resourceControllerId": 123,
    "resourceId": 123,
    "value": "<string>"
  }
]
{
"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

Controller Data List

lastUpdate
integer<int64>
orderNo
integer<int64>
resourceControllerId
integer<int64>
resourceId
integer<int64>
value
string