API Overview

Bolin API is convenient for developers to interact with devices, such as search and discovery, and obtain basic information of devices (firmware version number, device name and status, etc.). The API interface is based on HTTP protocol, which is a lightweight, stateless interface. The response Data is in JSON format. Through the guide document, you can understand the specific functions and request methods of each API of the device in detail.

Protocol version: 2.0
Published: 1st Aug 2025

1.1 Description of interface conventions

The default port for API following HTTP Port, which can be modified. This port following the WEBGUI (80) port.
The API request is the http protocol.
The API request is a post request, and both the request payload and the response payload are json text, encoded as uft-8.

1.2 Released Note

 

 

Discovery

Client multicast address: 239.255.255.250:16001
Client broadcast address: 255.255.255.255:16002

Broadcast or Multicast request to get network parameters, must carry MAC address, used when matching on the device side; must carry Magic, value fixed as “FF3AA4E07C687FE422A3031BC19255A4”, indicating Bolin's broadcast or multicast packet

  • “Magic": ‘2D374C8A39D7485637ADA1CC50EB51CE’//BOLIN
  • “Magic": ‘2D374C8A39D7485637ADA1CC50EB51CA’//Adapter-1
  • “Magic": ‘2D374C8A39D7485637ADA1CC50EB51CB’//Adapter-2
  • “Magic": ‘2D374C8A39D7485637ADA1CC50EB51CD’//Adapter-3

POSTapiv2/discovery

Usage and SDK Samples

curl -X POST -H 'Content-Type: application/json' -d '{\"Cmd\":\"ReqDiscovery\",\"Content\":{\"DeviceInfo\":{\"Magic\":\"FF3AA4E07C687FE422A3031BC19255A4\"}}}' http://example.com/apiv2/discovery

Sample Request

{
    "Cmd": "ReqDiscovery",
    "Content": {
        "DeviceInfo": {
            "Magic": "FF3AA4E07C687FE422A3031BC19255A4"
        }
    }
}

Response

{
    "Cmd": "AswDiscovery",
    "Version": "2.00.000",
    "Content": {
        "Magic": "2D374C8A39D7485637ADA1CC50EB51CE",
        "DeviceInfo": {
            "DeviceName": "BOLIN-B6-420N",
            "ModelName": "00000000000",
            "SerialNumber": "22222222222",
            "NetMAC": "44:03:57:82:88:32",
            "IPAddress": "192.168.0.13",
            "SubnetMask": "255.255.255.0",
            "DeviceVer": "C0X1G00070F101001",
            "DeviceIPVer": "P0X1G00070F102232",
            "APIVersion": "2.0.000",
            "DeviceType": 2,
            "DeviceScheme": 2,
            "SoftwareDate": "20241114",
            "BolinNDIDevice": true,
            "BolinDanteDevice": false
        },
        "Status": 0
    }
}

Parameters

  • Magic
  • DeviceInfo
    Show properties
    • DeviceName(Optional)
    • ModelName(Optional)
    • SerialNumber(Optional)
    • NetMAC(Optional)
    • IPAddress(Optional)
    • SubnetMask(Optional)
    • DeviceVer(Optional)
    • DeviceIPVer(Optional)
    • APIVersion(Optional)
    • DeviceType(Optional)
    • DeviceScheme(Optional)
    • SoftwareDate(Optional)
    • BolinNDIDevice(Optional)
    • BolinDanteDevice(Optional)

API Status Codes

nResultNoted
-1ERROR
0STATUS SUCCESS
1STATUS SUCCESS,REBOOTING
2STATUS TIMEOUT
3STATUS INTERRUPTED
4STATUS TRY AGAIN
5STATUS NOT IMPLEMENTED
6STATUS UNKNOWN ERROR
7STATUS INVALID ARG
8STATUS NO MEMORY
9STATUS UNSUPPORTED
10STATUS FILE BUSY
11STATUS DEVICE BUSY
12STATUS DEVICE LOST
13STATUS IO FAILED
14STATUS READ FAILED
15STATUS WRITE FAILED
16STATUS NOT EXIST
17STATUS TOO MANY
18STATUS TOO LARGE
19STATUS OVERFLOW
20STATUS UNDERFLOW
21STATUS FORMAT ERROR
22STATUS FILE EXIST
23STATUS FILE TYPE ERROR
24STATUS DEVICE TYPE ERROR
25STATUS IS DIRECTORY
26STATUS READ ONLY
27STATUS RANGE ERROR
28STATUS BROKEN PIPE
29STATUS NO SPACE
30STATUS NOT DIRECTORY
31STATUS NOT PERMITTED
32STATUS BAD ADDRESS
33STATUS SEEK ERROR
34STATUS CROSS DEVICE LINK
35STATUS NOT INITIALIED
36STATUS AUTH FAILED
37STATUS NOT LOGGED IN
38STATUS WRONG STATE
39STATUS MISMATCH
40STATUS VERIFY FAILED
41STATUS CONSTRAINT VIOLATION
42STATUS CANCELED
43STATUS IN PROGRESS
44STATUS CONN REFUSED
45STATUS CONN RESET
46STATUS ADDR IN USE
47STATUS NO RESPONSE
48STATUS INFO CHANGED
49STATUS INVALID Data
50STATUS NEED MORE Data
51STATUS NO BUFFER
52STATUS BUFFER TOD SMALL
53STATUS BUFFER IS EMPTY
54STATUS BUFFER IS FULL
101STATUS PENDING
102STATUS TIMEOUT
103STATUS INTERRUPTED
104STATUS TRY AGAIN
105STATUS NOT IMPLEMENTED
106STATUS UNKNOWN ERROR
107STATUS INVALID ARG
108STATUS NO MEMORY
109STATUS UNSUPPORTED
110STATUS FILE BUSY
111STATUS DEVICE BUSY
112STATUS DEVICE LOST
113STATUS IO FAILED
114STATUS READ FAILED
115STATUS WRITE FAILED
116STATUS NOT EXIST
117STATUS TOO MANY
118STATUS TOO LARGE
119STATUS OVERFLOW
120STATUS UNDERFLOW
121STATUS FORMAT ERROR
122STATUS FILE EXISTS
123STATUS FILE TYPE ERROR
124STATUS DEVICE TYPE ERROR
125STATUS IS DIRECTORY
126STATUS READ ONLY
127STATUS RANGE ERROR
128STATUS BROKEN PIPE
129STATUS NO SPACE
130STATUS NOT DIRECTORY
131STATUS NOT PERMITTED
132STATUS BAD ADDRESS
133STATUS SEEK ERROR
134STATUS CROSS DEVICE LINK
135STATUS NOT INITIALIED
136STATUS AUTH FAILED
137STATUS NOT LOGGED IN
138STATUS WRONG STATE
139STATUS MISMATCH
140STATUS VERIFY FAILED
141STATUS CONSTRAINT VIOLATION
142STATUS CANCELED
143STATUS IN PROGRESS
144STATUS CONN REFUSED
145STATUS CONN RESET
146STATUS ADDR IN USE
147STATUS NO RESPONSE
148STATUS INFO CHANGED
149STATUS INVALID DATA
150STATUS MISSING PARAMETERS
151STATUS NO BUFFER
152STATUS BUFFER TOD SMALL
153STATUS BUFFER IS EMPTY
154STATUS BUFFER IS FULL
155STATUS WRONG PASSWORD
156STATUS DIFFERENT NETWORK SEGMENTS
157STATUS PORT CONELICT
158STATUS SRT HP CANNOTSAME
159STATUS SRT SP CANNOTSAME
160STATUS LIST FULL
161STATUS LENGTH ERROR
162STATUS ALREADY EXISTS
163STATUS ALREADY BEING UPDATED
164STATUS UPDATE ERROR
165STATUS INVALID UPLOAD FILE
166STATUS ILLEGAL FILE TYPE
167STATUS FILE SIZE OVERRANGE
168STATUS NOT 32 BIT DEPTH
169STATUS INVALID FILE HEAD
170STATUS NO ALPHA CHANNEL
171STATUS RESOLUTION OVERRANGE
172STATUS INVALID TYPE
173STATUS STRING TOO LONG
174STATUS SAME VALUE
175STATUS ILLEGAL ARG
176STATUS STRING TOO SHORT

API General Parameters

NameTypeMust haveNoted
TokenStringYESThe default Token is required.
CmdStringYESAPI Method
VersionStringYESCurrent request API version

API Request General Path

An API URL Path is an address that allows you to access an API and its various features. 

POST: http://IP:Port/apiv2/"XXX"   ("XXX" is the interface need to implement.)

API Capability Set Data Type

ValTypeValNoted
int0Integer, needs to have Data range min, max
float1Floating point number, needs to have Data range min, max
string2String, utf8 encoding supports multiple Languages
enum3Array enumeration type, utf encoding, supports multiple
Languages, mainly used for drop-down box type selection
parameters, such as white balance mode switching, switch
switching, etc. [{automatic mode},{manual mode},{automatic
tracking},{indoor mode},{outdoor mode},{one-key mode}]
[{on},{off},{auto}]
[{open},{close},{auto}]
etc.
bool40/1,open/close, default 0 is disable, 1 is enable
version9Protocol cluster type, different versions correspond to different
protocol clusters

ReqHttpLogin

When a client requests to log in, it sends Username, Salt, Sign, and the server generates its own Sign based on the Password and Salt it receives and checks it against the Sign sent by the client, and if the check is correct, the log in is considered successful.

*Token uses a sliding time mechanism that starts at the point of last use and expires after 6 hours

Generated Sign:
POSTapiv2/login

Usage and SDK Samples

curl -X POST -H 'Content-Type: application/json' -d '{\"Cmd\":\"ReqHttpLogin\",\"Version\":\"2.0.000\",\"Content\":{\"LoginInfo\":{\"Username\":\"admin\",\"Salt\":\"s9u0gnFjDVs9exu49T83Sl8fERzFDcRS\",\"Sign\":\"d3a2dbdc011958a1f64747ab44824195\"}}}' http://example.com/apiv2/login

Sample Request

{
    "Cmd": "ReqHttpLogin",
    "Version": "2.0.000",
    "Content": {
        "LoginInfo": {
            "Username": "admin",
            "Salt": "s9u0gnFjDVs9exu49T83Sl8fERzFDcRS",
            "Sign": "d3a2dbdc011958a1f64747ab44824195"
        }
    }
}

Response

{
    "Cmd": "AswHttpLogin",
    "Version": "2.00.000",
    "Content": {
        "Status": 0,
        "Token": {
            "Value": "8V8hWpvA18g5bxpGRV8JuV8h9hO6PKzG"
        }
    }
}

Parameters

  • LoginInfo
    Show properties
    • Usernamestring(Optional)
      Description: UserName
    • Saltstring(Optional)
      Description: A random string of length 32
    • Signstring(Optional)
      Description: Sign Generation Method MD5(toUpperCase(sha256(password)+Salt))

ReqGetLoginCapabilities

POSTapiv2/login

Usage and SDK Samples

curl -X POST -H 'Content-Type: application/json' -d '{\"Cmd\":\"ReqGetLoginCapabilities\",\"Version\":\"2.00.000\"}' http://example.com/apiv2/login

Sample Request

{
    "Cmd": "ReqGetLoginCapabilities",
    "Version": "2.00.000"
}

Response

{
    "Cmd": "AswGetLoginCapabilities",
    "Version": "2.00.000",
    "Content": {
        "LoginInfo": {
            "Username": {
                "Type": "string",
                "Readonly": false,
                "Description": "UserName",
                "Data": {
                    "MinLen": 1,
                    "MaxLen": 32
                }
            },
            "Salt": {
                "Type": "string",
                "Readonly": false,
                "Description": "A random string of length 32",
                "Data": {
                    "MinLen": 32,
                    "MaxLen": 32
                }
            },
            "Sign": {
                "Type": "string",
                "Readonly": false,
                "Description": "Sign Generation Method MD5(toUpperCase(sha256(password)+Salt))",
                "Data": {
                    "MinLen": 32,
                    "MaxLen": 64
                }
            }
        },
        "Status": 0
    }
}

Parameters

  • LoginInfo
    Show properties
    • Usernamestring(Optional)
      Description: UserName
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • MinLen(Optional)
        • MaxLen(Optional)
    • Saltstring(Optional)
      Description: A random string of length 32
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • MinLen(Optional)
        • MaxLen(Optional)
    • Signstring(Optional)
      Description: Sign Generation Method MD5(toUpperCase(sha256(password)+Salt))
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • MinLen(Optional)
        • MaxLen(Optional)

ReqGetSystemCapabilities

POSTapiv2/system

Usage and SDK Samples

curl -X POST -H 'Content-Type: application/json' -H 'Cookie:Username=admin;Token=F5535072B11023F6CCD3AEFDB4FAED1D' -d '{\"Cmd\":\"ReqGetSystemCapabilities\",\"Version\":\"2.0.000\"}' http://example.com/apiv2/system

Sample Request

{
    "Cmd": "ReqGetSystemCapabilities",
    "Version": "2.0.000"
}

Response

{
    "Cmd": "AswGetSystemCapabilities",
    "Version": "2.0.000",
    "Content": {
        "SystemInfo": {
            "DeviceName": {
                "Type": "string",
                "Readonly": false,
                "Description": "DeviceName",
                "Data": {
                    "MinLen": 1,
                    "MaxLen": 32
                }
            },
            "ModelName": {
                "Type": "string",
                "Readonly": true,
                "Description": "ModelName",
                "Data": {
                    "MinLen": 1,
                    "MaxLen": 32
                }
            },
            "FirmwareVersion": {
                "Type": "string",
                "Readonly": true,
                "Description": "FirmwareVersion",
                "Data": {
                    "MinLen": 1,
                    "MaxLen": 64
                }
            },
            "HardwareVersion": {
                "Type": "string",
                "Readonly": true,
                "Description": "HardwaveVersion",
                "Data": {
                    "MinLen": 1,
                    "MaxLen": 32
                }
            },
            "SerialNumber": {
                "Type": "string",
                "Readonly": true,
                "Description": "SerialNumber",
                "Data": {
                    "MinLen": 1,
                    "MaxLen": 32
                }
            },
            "IPVersion": {
                "Type": "string",
                "Readonly": true,
                "Description": "IPVersion",
                "Data": {
                    "MinLen": 1,
                    "MaxLen": 64
                }
            },
            "MCUVersion": {
                "Type": "string",
                "Readonly": true,
                "Description": "MCUVersion",
                "Data": {
                    "MinLen": 1,
                    "MaxLen": 64
                }
            }
        },
        "SystemTimeInfo": {
            "TimeSyncMode": {
                "Type": "enum",
                "Readonly": false,
                "Description": "TimeSyncMode",
                "Data": [
                    {
                        "Value": 0,
                        "Description": "Manual Set"
                    },
                    {
                        "Value": 1,
                        "Description": "Sync NTP Server"
                    }
                ]
            },
            "DateMode": {
                "Type": "enum",
                "Readonly": false,
                "Description": "DateMode",
                "Data": [
                    {
                        "Value": 0,
                        "Description": "Y-M-D"
                    },
                    {
                        "Value": 1,
                        "Description": "D/M/Y"
                    }
                ]
            },
            "TimeMode": {
                "Type": "enum",
                "Readonly": false,
                "Description": "TimeMode",
                "Data": [
                    {
                        "Value": 0,
                        "Description": "24H: H-M-S"
                    },
                    {
                        "Value": 1,
                        "Description": "12H: H-M-S"
                    },
                    {
                        "Value": 2,
                        "Description": "24H: H-M-S-MS"
                    },
                    {
                        "Value": 3,
                        "Description": "12H: H-M-S-MS"
                    }
                ]
            },
            "TimeZone": {
                "Type": "enum",
                "Readonly": false,
                "Description": "TimeZone",
                "Data": [
                    {
                        "Value": "Etc/GMT+12",
                        "Description": "(UTC-12:00) International Date Line West"
                    },
                    {
                        "Value": "Etc/GMT+11",
                        "Description": "(UTC-11:00) Coordinated Universal Time-11"
                    },
                    {
                        "Value": "US/Aleutian",
                        "Description": "(UTC-10:00) Aleutian Islands"
                    },
                    {
                        "Value": "US/Hawaii",
                        "Description": "(UTC-10:00) Hawaii"
                    },
                    {
                        "Value": "Pacific/Marquesas",
                        "Description": "(UTC-09:30) Marquesas Islands"
                    },
                    {
                        "Value": "US/Alaska",
                        "Description": "(UTC-09:00) Alaska"
                    },
                    {
                        "Value": "Etc/GMT+9",
                        "Description": "(UTC-09:00) Coordinated Universal Time-09"
                    },
                    {
                        "Value": "US/Pacific",
                        "Description": "(UTC-08:00) Pacific Time (US & Canada)"
                    },
                    {
                        "Value": "Mexico/BajaNorte",
                        "Description": "(UTC-08:00) Baja California"
                    },
                    {
                        "Value": "Etc/GMT+8",
                        "Description": "(UTC-08:00) Coordinated Universal Time-08"
                    },
                    {
                        "Value": "America/Mazatlan",
                        "Description": "(UTC-07:00) La Paz, Mazatlan"
                    },
                    {
                        "Value": "US/Mountain",
                        "Description": "(UTC-07:00) Mountain Time (US & Canada)"
                    },
                    {
                        "Value": "US/Arizona",
                        "Description": "(UTC-07:00) Arizona"
                    },
                    {
                        "Value": "Canada/Yukon",
                        "Description": "(UTC-07:00) Yukon"
                    },
                    {
                        "Value": "Chile/EasterIsland",
                        "Description": "(UTC-06:00) Easter Island"
                    },
                    {
                        "Value": "America/Mexico_City",
                        "Description": "(UTC-06:00) Guadalajara, Mexico City, Monterrey"
                    },
                    {
                        "Value": "Canada/Saskatchewan",
                        "Description": "(UTC-06:00) Saskatchewan"
                    },
                    {
                        "Value": "US/Central",
                        "Description": "(UTC-06:00) Central Time (US & Canada)"
                    },
                    {
                        "Value": "America/Bogota",
                        "Description": "(UTC-05:00) Bogota, Lima, Quito, Rio Branco"
                    },
                    {
                        "Value": "US/Eastern",
                        "Description": "(UTC-05:00) Eastern Time (US & Canada)"
                    },
                    {
                        "Value": "America/Havana",
                        "Description": "(UTC-05:00) Havana"
                    },
                    {
                        "Value": "America/Port-au-Prince",
                        "Description": "(UTC-05:00) Haiti"
                    },
                    {
                        "Value": "Etc/GMT+5",
                        "Description": "(UTC-05:00) Chetumal"
                    },
                    {
                        "Value": "America/Grand_Turk",
                        "Description": "(UTC-05:00) Turks and Caicos"
                    },
                    {
                        "Value": "US/East-Indiana",
                        "Description": "(UTC-05:00) Indiana (East)"
                    },
                    {
                        "Value": "Canada/Atlantic",
                        "Description": "(UTC-04:00) Atlantic Time (Canada)"
                    },
                    {
                        "Value": "America/Caracas",
                        "Description": "(UTC-04:00) Caracas"
                    },
                    {
                        "Value": "America/Cuiaba",
                        "Description": "(UTC-04:00) Cuiaba"
                    },
                    {
                        "Value": "America/Manaus",
                        "Description": "(UTC-04:00) Georgetown, La Paz, Manaus, San Juan"
                    },
                    {
                        "Value": "America/Santiago",
                        "Description": "(UTC-04:00) Santiago"
                    },
                    {
                        "Value": "America/Asuncion",
                        "Description": "(UTC-04:00) Asuncion"
                    },
                    {
                        "Value": "Canada/Newfoundland",
                        "Description": "(UTC-03:30) Newfoundland"
                    },
                    {
                        "Value": "America/Araguaina",
                        "Description": "(UTC-03:00) Araguaina"
                    },
                    {
                        "Value": "America/Sao_Paulo",
                        "Description": "(UTC-03:00) Brasilia"
                    },
                    {
                        "Value": "America/Argentina/Buenos_Aires",
                        "Description": "(UTC-03:00) City of Buenos Aires"
                    },
                    {
                        "Value": "America/Cayenne",
                        "Description": "(UTC-03:00) Cayenne, Fortaleza"
                    },
                    {
                        "Value": "America/Montevideo",
                        "Description": "(UTC-03:00) Montevideo"
                    },
                    {
                        "Value": "America/Punta_Arenas",
                        "Description": "(UTC-03:00) Punta Arenas"
                    },
                    {
                        "Value": "America/Bahia",
                        "Description": "(UTC-03:00) Salvador"
                    },
                    {
                        "Value": "America/Miquelon",
                        "Description": "(UTC-03:00) Saint Pierre and Miquelon"
                    },
                    {
                        "Value": "America/Nuuk",
                        "Description": "(UTC-02:00) Greenland"
                    },
                    {
                        "Value": "Etc/GMT+2",
                        "Description": "(UTC-02:00) Coordinated Universal Time-02"
                    },
                    {
                        "Value": "Atlantic/Azores",
                        "Description": "(UTC-01:00) Azores"
                    },
                    {
                        "Value": "Atlantic/Cape_Verde",
                        "Description": "(UTC-01:00) Cabo Verde Is."
                    },
                    {
                        "Value": "Etc/UTC",
                        "Description": "(UTC) Coordinated Universal Time"
                    },
                    {
                        "Value": "Europe/London",
                        "Description": "(UTC+00:00) Dublin, Edinburgh, Lisbon, London"
                    },
                    {
                        "Value": "Africa/Monrovia",
                        "Description": "(UTC+00:00) Monrovia, Reykjavik"
                    },
                    {
                        "Value": "Africa/Sao_Tome",
                        "Description": "(UTC+00:00) Sao Tome"
                    },
                    {
                        "Value": "Europe/Amsterdam",
                        "Description": "(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna"
                    },
                    {
                        "Value": "Europe/Belgrade",
                        "Description": "(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague"
                    },
                    {
                        "Value": "Europe/Brussels",
                        "Description": "(UTC+01:00) Brussels, Copenhagen, Madrid, Paris"
                    },
                    {
                        "Value": "Europe/Sarajevo",
                        "Description": "(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb"
                    },
                    {
                        "Value": "Africa/Algiers",
                        "Description": "(UTC+01:00) West Central Africa"
                    },
                    {
                        "Value": "Asia/Beirut",
                        "Description": "(UTC+02:00) Beirut"
                    },
                    {
                        "Value": "Africa/Tripoli",
                        "Description": "(UTC+02:00) Tripoli"
                    },
                    {
                        "Value": "Africa/Harare",
                        "Description": "(UTC+02:00) Harare, Pretoria"
                    },
                    {
                        "Value": "Europe/Helsinki",
                        "Description": "(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius"
                    },
                    {
                        "Value": "Europe/Chisinau",
                        "Description": "(UTC+02:00) Chisinau"
                    },
                    {
                        "Value": "Europe/Kaliningrad",
                        "Description": "(UTC+02:00) Kaliningrad"
                    },
                    {
                        "Value": "Asia/Gaza",
                        "Description": "(UTC+02:00) Gaza, Hebron"
                    },
                    {
                        "Value": "Africa/Khartoum",
                        "Description": "(UTC+02:00) Khartoum"
                    },
                    {
                        "Value": "Africa/Cairo",
                        "Description": "(UTC+02:00) Cairo"
                    },
                    {
                        "Value": "Africa/Windhoek",
                        "Description": "(UTC+02:00) Windhoek"
                    },
                    {
                        "Value": "Europe/Athens",
                        "Description": "(UTC+02:00) Athens, Bucharest"
                    },
                    {
                        "Value": "Asia/Jerusalem",
                        "Description": "(UTC+02:00) Jerusalem"
                    },
                    {
                        "Value": "Africa/Juba",
                        "Description": "(UTC+02:00) Juba"
                    },
                    {
                        "Value": "Asia/Amman",
                        "Description": "(UTC+03:00) Amman"
                    },
                    {
                        "Value": "Asia/Baghdad",
                        "Description": "(UTC+03:00) Baghdad"
                    },
                    {
                        "Value": "Asia/Damascus",
                        "Description": "(UTC+03:00) Damascus"
                    },
                    {
                        "Value": "Europe/Volgograd",
                        "Description": "(UTC+03:00) Volgograd"
                    },
                    {
                        "Value": "Asia/Kuwait",
                        "Description": "(UTC+03:00) Kuwait, Riyadh"
                    },
                    {
                        "Value": "Europe/Minsk",
                        "Description": "(UTC+03:00) Minsk"
                    },
                    {
                        "Value": "Europe/Moscow",
                        "Description": "(UTC+03:00) Moscow, St. Petersburg"
                    },
                    {
                        "Value": "Africa/Nairobi",
                        "Description": "(UTC+03:00) Nairobi"
                    },
                    {
                        "Value": "Asia/Istanbul",
                        "Description": "(UTC+02:00) Istanbul"
                    },
                    {
                        "Value": "Asia/Tehran",
                        "Description": "(UTC+03:30) Tehran"
                    },
                    {
                        "Value": "Asia/Muscat",
                        "Description": "(UTC+04:00) Abu Dhabi, Muscat"
                    },
                    {
                        "Value": "Europe/Astrakhan",
                        "Description": "(UTC+04:00) Astrakhan, Ulyanovsk"
                    },
                    {
                        "Value": "Asia/Yerevan",
                        "Description": "(UTC+04:00) Yerevan"
                    },
                    {
                        "Value": "Asia/Baku",
                        "Description": "(UTC+04:00) Baku"
                    },
                    {
                        "Value": "Asia/Tbilisi",
                        "Description": "(UTC+04:00) Tbilisi"
                    },
                    {
                        "Value": "Indian/Mauritius",
                        "Description": "(UTC+04:00) Port Louis"
                    },
                    {
                        "Value": "Europe/Saratov",
                        "Description": "(UTC+04:00) Saratov"
                    },
                    {
                        "Value": "Europe/Samara",
                        "Description": "(UTC+04:00) Izhevsk, Samara"
                    },
                    {
                        "Value": "Asia/Kabul",
                        "Description": "(UTC+04:30) Kabul"
                    },
                    {
                        "Value": "Asia/Ashgabat",
                        "Description": "(UTC+05:00) Ashgabat, Tashkent"
                    },
                    {
                        "Value": "Asia/Almaty",
                        "Description": "(UTC+05:00) Astana"
                    },
                    {
                        "Value": "Asia/Yekaterinburg",
                        "Description": "(UTC+05:00) Yekaterinburg"
                    },
                    {
                        "Value": "Asia/Karachi",
                        "Description": "(UTC+05:00) Islamabad, Karachi"
                    },
                    {
                        "Value": "Asia/Kolkata",
                        "Description": "(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi"
                    },
                    {
                        "Value": "Asia/Colombo",
                        "Description": "(UTC+05:30) Sri Lanka"
                    },
                    {
                        "Value": "Asia/Kathmandu",
                        "Description": "(UTC+05:45) Kathmandu"
                    },
                    {
                        "Value": "Asia/Dhaka",
                        "Description": "(UTC+06:00) Dhaka"
                    },
                    {
                        "Value": "Asia/Omsk",
                        "Description": "(UTC+06:00) Omsk"
                    },
                    {
                        "Value": "Asia/Yangon",
                        "Description": "(UTC+06:30) Yangon"
                    },
                    {
                        "Value": "Asia/Barnaul",
                        "Description": "(UTC+07:00) Barnaul, Gorno-Altaysk"
                    },
                    {
                        "Value": "Asia/Hovd",
                        "Description": "(UTC+07:00) Hovd"
                    },
                    {
                        "Value": "Asia/Krasnoyarsk",
                        "Description": "(UTC+07:00) Krasnoyarsk"
                    },
                    {
                        "Value": "Asia/Bangkok",
                        "Description": "(UTC+07:00) Bangkok, Hanoi, Jakarta"
                    },
                    {
                        "Value": "Asia/Tomsk",
                        "Description": "(UTC+07:00) Tomsk"
                    },
                    {
                        "Value": "Asia/Novosibirsk",
                        "Description": "(UTC+07:00) Novosibirsk"
                    },
                    {
                        "Value": "Asia/Shanghai",
                        "Description": "(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi, Taipei"
                    },
                    {
                        "Value": "Asia/Kuala_Lumpur",
                        "Description": "(UTC+08:00) Kuala Lumpur, Singapore"
                    },
                    {
                        "Value": "Australia/Perth",
                        "Description": "(UTC+08:00) Perth"
                    },
                    {
                        "Value": "Asia/Ulaanbaatar",
                        "Description": "(UTC+08:00) Ulaanbaatar"
                    },
                    {
                        "Value": "Asia/Irkutsk",
                        "Description": "(UTC+08:00) Irkutsk"
                    },
                    {
                        "Value": "Australia/Eucla",
                        "Description": "(UTC+08:45) Eucla"
                    },
                    {
                        "Value": "Asia/Chita",
                        "Description": "(UTC+09:00) Chita"
                    },
                    {
                        "Value": "Asia/Tokyo",
                        "Description": "(UTC+09:00) Osaka, Sapporo, Tokyo"
                    },
                    {
                        "Value": "Asia/Pyongyang",
                        "Description": "(UTC+09:00) Pyongyang"
                    },
                    {
                        "Value": "Asia/Seoul",
                        "Description": "(UTC+09:00) Seoul"
                    },
                    {
                        "Value": "Asia/Yakutsk",
                        "Description": "(UTC+09:00) Yakutsk"
                    },
                    {
                        "Value": "Australia/Adelaide",
                        "Description": "(UTC+09:30) Adelaide"
                    },
                    {
                        "Value": "Australia/Darwin",
                        "Description": "(UTC+09:30) Darwin"
                    },
                    {
                        "Value": "Australia/Brisbane",
                        "Description": "(UTC+10:00) Brisbane"
                    },
                    {
                        "Value": "Asia/Vladivostok",
                        "Description": "(UTC+10:00) Vladivostok"
                    },
                    {
                        "Value": "Pacific/Guam",
                        "Description": "(UTC+10:00) Guam, Port Moresby"
                    },
                    {
                        "Value": "Australia/Hobart",
                        "Description": "(UTC+10:00) Hobart"
                    },
                    {
                        "Value": "Australia/Sydney",
                        "Description": "(UTC+10:00) Canberra, Melbourne, Sydney"
                    },
                    {
                        "Value": "Australia/Lord_Howe",
                        "Description": "(UTC+10:30) Lord Howe Island"
                    },
                    {
                        "Value": "Pacific/Bougainville",
                        "Description": "(UTC+11:00) Bougainville Island"
                    },
                    {
                        "Value": "Asia/Magadan",
                        "Description": "(UTC+11:00) Magadan"
                    },
                    {
                        "Value": "Pacific/Norfolk",
                        "Description": "(UTC+11:00) Norfolk Island"
                    },
                    {
                        "Value": "Etc/GMT-11",
                        "Description": "(UTC+11:00) Chokurdakh"
                    },
                    {
                        "Value": "Asia/Sakhalin",
                        "Description": "(UTC+11:00) Sakhalin"
                    },
                    {
                        "Value": "Pacific/Noumea",
                        "Description": "(UTC+11:00) Solomon Is., New Caledonia"
                    },
                    {
                        "Value": "Asia/Anadyr",
                        "Description": "(UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky"
                    },
                    {
                        "Value": "Pacific/Auckland",
                        "Description": "(UTC+12:00) Auckland, Wellington"
                    },
                    {
                        "Value": "Pacific/Fiji",
                        "Description": "(UTC+12:00) Fiji"
                    },
                    {
                        "Value": "Etc/GMT-12",
                        "Description": "(UTC+12:00) Coordinated Universal Time+12"
                    },
                    {
                        "Value": "Pacific/Chatham",
                        "Description": "(UTC+12:45) Chatham Islands"
                    },
                    {
                        "Value": "Pacific/Tongatapu",
                        "Description": "(UTC+13:00) Nuku alofa"
                    },
                    {
                        "Value": "Pacific/Samoa",
                        "Description": "(UTC+13:00) Samoa"
                    },
                    {
                        "Value": "Etc/GMT-13",
                        "Description": "(UTC+13:00) Coordinated Universal Time+13"
                    },
                    {
                        "Value": "Etc/GMT-14",
                        "Description": "(UTC+14:00) Kiritimati Island"
                    }
                ]
            },
            "NTPInfo": {
                "ServerAddr": {
                    "Type": "string",
                    "Readonly": false,
                    "Description": "NTPSever Address",
                    "Data": {
                        "MinLen": 1,
                        "MaxLen": 127
                    }
                }
            },
            "LocalTime": {
                "Type": "father-node",
                "Readonly": false,
                "Description": "local time",
                "Year": {
                    "Type": "range",
                    "Readonly": false,
                    "Description": "Year",
                    "Data": {
                        "Min": 2000,
                        "Max": 2060
                    }
                },
                "Month": {
                    "Type": "range",
                    "Readonly": false,
                    "Description": "Month",
                    "Data": {
                        "Min": 1,
                        "Max": 12
                    }
                },
                "Day": {
                    "Type": "range",
                    "Readonly": false,
                    "Description": "Day",
                    "Data": {
                        "Min": 1,
                        "Max": 31
                    }
                },
                "Hour": {
                    "Type": "range",
                    "Readonly": false,
                    "Description": "Hour",
                    "Data": {
                        "Min": 0,
                        "Max": 23
                    }
                },
                "Minute": {
                    "Type": "range",
                    "Readonly": false,
                    "Description": "Minute",
                    "Data": {
                        "Min": 0,
                        "Max": 59
                    }
                },
                "Second": {
                    "Type": "range",
                    "Readonly": false,
                    "Description": "Second",
                    "Data": {
                        "Min": 0,
                        "Max": 59
                    }
                }
            }
        },
        "ResetInfo": {
            "Module": {
                "Type": "enum",
                "Readonly": false,
                "Description": "ResetInfo",
                "Data": [
                    {
                        "Value": "all_but_net",
                        "Description": "all_but_net"
                    },
                    {
                        "Value": "all",
                        "Description": "all"
                    }
                ]
            }
        },
        "UserInfo": {
            "Name": {
                "Type": "string",
                "Readonly": false,
                "Description": "Username",
                "Data": {
                    "MinLen": 3,
                    "MaxLen": 12
                }
            },
            "Role": {
                "Type": "enum",
                "Readonly": false,
                "Description": "Role",
                "Data": [
                    {
                        "Value": 0,
                        "Description": "Administrator"
                    },
                    {
                        "Value": 1,
                        "Description": "Operator"
                    }
                ]
            },
            "Password": {
                "Type": "string",
                "Readonly": false,
                "Description": "Password",
                "Data": {
                    "MinLen": 1,
                    "MaxLen": 32
                }
            }
        },
        "Status": 0
    }
}

Parameters

  • SystemInfo
    Show properties
    • DeviceNamestring(Optional)
      Description: DeviceName
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • MinLen(Optional)
        • MaxLen(Optional)
    • ModelNamestring(Optional)
      Description: ModelName
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • MinLen(Optional)
        • MaxLen(Optional)
    • FirmwareVersionstring(Optional)
      Description: FirmwareVersion
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • MinLen(Optional)
        • MaxLen(Optional)
    • HardwareVersionstring(Optional)
      Description: HardwaveVersion
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • MinLen(Optional)
        • MaxLen(Optional)
    • SerialNumberstring(Optional)
      Description: SerialNumber
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • MinLen(Optional)
        • MaxLen(Optional)
    • IPVersionstring(Optional)
      Description: IPVersion
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • MinLen(Optional)
        • MaxLen(Optional)
    • MCUVersionstring(Optional)
      Description: MCUVersion
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • MinLen(Optional)
        • MaxLen(Optional)
  • SystemTimeInfo
    Show properties
    • TimeSyncModeenum(Optional)
      Description: TimeSyncMode
      Value: : Manual Set, 1: Sync NTP Server
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • Value(Optional)
        • Description(Optional)
    • DateModeenum(Optional)
      Description: DateMode
      Value: : Y-M-D, 1: D/M/Y
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • Value(Optional)
        • Description(Optional)
    • TimeModeenum(Optional)
      Description: TimeMode
      Value: : 24H: H-M-S, 1: 12H: H-M-S, 2: 24H: H-M-S-MS, 3: 12H: H-M-S-MS
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • Value(Optional)
        • Description(Optional)
    • TimeZoneenum(Optional)
      Description: TimeZone
      Value: Etc/GMT+12: (UTC-12:00) International Date Line West, Etc/GMT+11: (UTC-11:00) Coordinated Universal Time-11, US/Aleutian: (UTC-10:00) Aleutian Islands, US/Hawaii: (UTC-10:00) Hawaii, Pacific/Marquesas: (UTC-09:30) Marquesas Islands, US/Alaska: (UTC-09:00) Alaska, Etc/GMT+9: (UTC-09:00) Coordinated Universal Time-09, US/Pacific: (UTC-08:00) Pacific Time (US & Canada), Mexico/BajaNorte: (UTC-08:00) Baja California, Etc/GMT+8: (UTC-08:00) Coordinated Universal Time-08, America/Mazatlan: (UTC-07:00) La Paz, Mazatlan, US/Mountain: (UTC-07:00) Mountain Time (US & Canada), US/Arizona: (UTC-07:00) Arizona, Canada/Yukon: (UTC-07:00) Yukon, Chile/EasterIsland: (UTC-06:00) Easter Island, America/Mexico_City: (UTC-06:00) Guadalajara, Mexico City, Monterrey, Canada/Saskatchewan: (UTC-06:00) Saskatchewan, US/Central: (UTC-06:00) Central Time (US & Canada), America/Bogota: (UTC-05:00) Bogota, Lima, Quito, Rio Branco, US/Eastern: (UTC-05:00) Eastern Time (US & Canada), America/Havana: (UTC-05:00) Havana, America/Port-au-Prince: (UTC-05:00) Haiti, Etc/GMT+5: (UTC-05:00) Chetumal, America/Grand_Turk: (UTC-05:00) Turks and Caicos, US/East-Indiana: (UTC-05:00) Indiana (East), Canada/Atlantic: (UTC-04:00) Atlantic Time (Canada), America/Caracas: (UTC-04:00) Caracas, America/Cuiaba: (UTC-04:00) Cuiaba, America/Manaus: (UTC-04:00) Georgetown, La Paz, Manaus, San Juan, America/Santiago: (UTC-04:00) Santiago, America/Asuncion: (UTC-04:00) Asuncion, Canada/Newfoundland: (UTC-03:30) Newfoundland, America/Araguaina: (UTC-03:00) Araguaina, America/Sao_Paulo: (UTC-03:00) Brasilia, America/Argentina/Buenos_Aires: (UTC-03:00) City of Buenos Aires, America/Cayenne: (UTC-03:00) Cayenne, Fortaleza, America/Montevideo: (UTC-03:00) Montevideo, America/Punta_Arenas: (UTC-03:00) Punta Arenas, America/Bahia: (UTC-03:00) Salvador, America/Miquelon: (UTC-03:00) Saint Pierre and Miquelon, America/Nuuk: (UTC-02:00) Greenland, Etc/GMT+2: (UTC-02:00) Coordinated Universal Time-02, Atlantic/Azores: (UTC-01:00) Azores, Atlantic/Cape_Verde: (UTC-01:00) Cabo Verde Is., Etc/UTC: (UTC) Coordinated Universal Time, Europe/London: (UTC+00:00) Dublin, Edinburgh, Lisbon, London, Africa/Monrovia: (UTC+00:00) Monrovia, Reykjavik, Africa/Sao_Tome: (UTC+00:00) Sao Tome, Europe/Amsterdam: (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna, Europe/Belgrade: (UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague, Europe/Brussels: (UTC+01:00) Brussels, Copenhagen, Madrid, Paris, Europe/Sarajevo: (UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb, Africa/Algiers: (UTC+01:00) West Central Africa, Asia/Beirut: (UTC+02:00) Beirut, Africa/Tripoli: (UTC+02:00) Tripoli, Africa/Harare: (UTC+02:00) Harare, Pretoria, Europe/Helsinki: (UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius, Europe/Chisinau: (UTC+02:00) Chisinau, Europe/Kaliningrad: (UTC+02:00) Kaliningrad, Asia/Gaza: (UTC+02:00) Gaza, Hebron, Africa/Khartoum: (UTC+02:00) Khartoum, Africa/Cairo: (UTC+02:00) Cairo, Africa/Windhoek: (UTC+02:00) Windhoek, Europe/Athens: (UTC+02:00) Athens, Bucharest, Asia/Jerusalem: (UTC+02:00) Jerusalem, Africa/Juba: (UTC+02:00) Juba, Asia/Amman: (UTC+03:00) Amman, Asia/Baghdad: (UTC+03:00) Baghdad, Asia/Damascus: (UTC+03:00) Damascus, Europe/Volgograd: (UTC+03:00) Volgograd, Asia/Kuwait: (UTC+03:00) Kuwait, Riyadh, Europe/Minsk: (UTC+03:00) Minsk, Europe/Moscow: (UTC+03:00) Moscow, St. Petersburg, Africa/Nairobi: (UTC+03:00) Nairobi, Asia/Istanbul: (UTC+02:00) Istanbul, Asia/Tehran: (UTC+03:30) Tehran, Asia/Muscat: (UTC+04:00) Abu Dhabi, Muscat, Europe/Astrakhan: (UTC+04:00) Astrakhan, Ulyanovsk, Asia/Yerevan: (UTC+04:00) Yerevan, Asia/Baku: (UTC+04:00) Baku, Asia/Tbilisi: (UTC+04:00) Tbilisi, Indian/Mauritius: (UTC+04:00) Port Louis, Europe/Saratov: (UTC+04:00) Saratov, Europe/Samara: (UTC+04:00) Izhevsk, Samara, Asia/Kabul: (UTC+04:30) Kabul, Asia/Ashgabat: (UTC+05:00) Ashgabat, Tashkent, Asia/Almaty: (UTC+05:00) Astana, Asia/Yekaterinburg: (UTC+05:00) Yekaterinburg, Asia/Karachi: (UTC+05:00) Islamabad, Karachi, Asia/Kolkata: (UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi, Asia/Colombo: (UTC+05:30) Sri Lanka, Asia/Kathmandu: (UTC+05:45) Kathmandu, Asia/Dhaka: (UTC+06:00) Dhaka, Asia/Omsk: (UTC+06:00) Omsk, Asia/Yangon: (UTC+06:30) Yangon, Asia/Barnaul: (UTC+07:00) Barnaul, Gorno-Altaysk, Asia/Hovd: (UTC+07:00) Hovd, Asia/Krasnoyarsk: (UTC+07:00) Krasnoyarsk, Asia/Bangkok: (UTC+07:00) Bangkok, Hanoi, Jakarta, Asia/Tomsk: (UTC+07:00) Tomsk, Asia/Novosibirsk: (UTC+07:00) Novosibirsk, Asia/Shanghai: (UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi, Taipei, Asia/Kuala_Lumpur: (UTC+08:00) Kuala Lumpur, Singapore, Australia/Perth: (UTC+08:00) Perth, Asia/Ulaanbaatar: (UTC+08:00) Ulaanbaatar, Asia/Irkutsk: (UTC+08:00) Irkutsk, Australia/Eucla: (UTC+08:45) Eucla, Asia/Chita: (UTC+09:00) Chita, Asia/Tokyo: (UTC+09:00) Osaka, Sapporo, Tokyo, Asia/Pyongyang: (UTC+09:00) Pyongyang, Asia/Seoul: (UTC+09:00) Seoul, Asia/Yakutsk: (UTC+09:00) Yakutsk, Australia/Adelaide: (UTC+09:30) Adelaide, Australia/Darwin: (UTC+09:30) Darwin, Australia/Brisbane: (UTC+10:00) Brisbane, Asia/Vladivostok: (UTC+10:00) Vladivostok, Pacific/Guam: (UTC+10:00) Guam, Port Moresby, Australia/Hobart: (UTC+10:00) Hobart, Australia/Sydney: (UTC+10:00) Canberra, Melbourne, Sydney, Australia/Lord_Howe: (UTC+10:30) Lord Howe Island, Pacific/Bougainville: (UTC+11:00) Bougainville Island, Asia/Magadan: (UTC+11:00) Magadan, Pacific/Norfolk: (UTC+11:00) Norfolk Island, Etc/GMT-11: (UTC+11:00) Chokurdakh, Asia/Sakhalin: (UTC+11:00) Sakhalin, Pacific/Noumea: (UTC+11:00) Solomon Is., New Caledonia, Asia/Anadyr: (UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky, Pacific/Auckland: (UTC+12:00) Auckland, Wellington, Pacific/Fiji: (UTC+12:00) Fiji, Etc/GMT-12: (UTC+12:00) Coordinated Universal Time+12, Pacific/Chatham: (UTC+12:45) Chatham Islands, Pacific/Tongatapu: (UTC+13:00) Nuku alofa, Pacific/Samoa: (UTC+13:00) Samoa, Etc/GMT-13: (UTC+13:00) Coordinated Universal Time+13, Etc/GMT-14: (UTC+14:00) Kiritimati Island
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • Value(Optional)
        • Description(Optional)
    • NTPInfo(Optional)
      Show properties
      • ServerAddr(Optional)
        Show properties
        • Type(Optional)
        • Readonly(Optional)
        • Description(Optional)
        • Data(Optional)
          Show properties
          • MinLen(Optional)
          • MaxLen(Optional)
    • LocalTimefather-node(Optional)
      Description: local time
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Year(Optional)
        Show properties
        • Type(Optional)
        • Readonly(Optional)
        • Description(Optional)
        • Data(Optional)
          Show properties
          • Min(Optional)
          • Max(Optional)
      • Month(Optional)
        Show properties
        • Type(Optional)
        • Readonly(Optional)
        • Description(Optional)
        • Data(Optional)
          Show properties
          • Min(Optional)
          • Max(Optional)
      • Day(Optional)
        Show properties
        • Type(Optional)
        • Readonly(Optional)
        • Description(Optional)
        • Data(Optional)
          Show properties
          • Min(Optional)
          • Max(Optional)
      • Hour(Optional)
        Show properties
        • Type(Optional)
        • Readonly(Optional)
        • Description(Optional)
        • Data(Optional)
          Show properties
          • Min(Optional)
          • Max(Optional)
      • Minute(Optional)
        Show properties
        • Type(Optional)
        • Readonly(Optional)
        • Description(Optional)
        • Data(Optional)
          Show properties
          • Min(Optional)
          • Max(Optional)
      • Second(Optional)
        Show properties
        • Type(Optional)
        • Readonly(Optional)
        • Description(Optional)
        • Data(Optional)
          Show properties
          • Min(Optional)
          • Max(Optional)
  • ResetInfo
    Show properties
    • Moduleenum(Optional)
      Description: ResetInfo
      Value: all_but_net: all_but_net, all: all
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • Value(Optional)
        • Description(Optional)
  • UserInfo
    Show properties
    • Namestring(Optional)
      Description: Username
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • MinLen(Optional)
        • MaxLen(Optional)
    • Roleenum(Optional)
      Description: Role
      Value: : Administrator, 1: Operator
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • Value(Optional)
        • Description(Optional)
    • Passwordstring(Optional)
      Description: Password
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • MinLen(Optional)
        • MaxLen(Optional)

ReqGetSystemInfo

POSTapiv2/system

Usage and SDK Samples

curl -X POST -H 'Content-Type: application/json' -H 'Cookie:Username=admin;Token=F5535072B11023F6CCD3AEFDB4FAED1D' -d '{\"Cmd\":\"ReqGetSystemInfo\",\"Version\":\"2.00.000\"}' http://example.com/apiv2/system

Sample Request

{
    "Cmd": "ReqGetSystemInfo",
    "Version": "2.00.000"
}

Response

{
    "Cmd": "AswGetSystemInfo",
    "Version": "2.0.000",
    "Content": {
        "OSDSystemInfo": {
            "DeviceName": "4K-Decoder",
            "ModelName": "EG40F",
            "FirmwareVersion": "C0Y1G000C0F101032",
            "HardwareVersion": "BA",
            "SerialNumber": "A105E001FB0211000056",
            "IPVersion": "P0Y1G00070F102671",
            "MCUVersion": ""
        },
        "Status": 0
    }
}

ReqSetSystemInfo

POSTapiv2/system

Usage and SDK Samples

curl -X POST -H 'Content-Type: application/json' -H 'Cookie:Username=admin;Token=F5535072B11023F6CCD3AEFDB4FAED1D' -d '{\"Cmd\":\"ReqSetSystemInfo\",\"Version\":\"2.00.000\",\"Content\":{\"SystemInfo\":{\"DeviceName\":\"EG40F\"}}}' http://example.com/apiv2/system

Sample Request

{
    "Cmd": "ReqSetSystemInfo",
    "Version": "2.00.000",
    "Content": {
        "SystemInfo": {
            "DeviceName": "EG40F"
        }
    }
}

Response

{
    "Cmd": "AswSetSystemInfo",
    "Version": "2.0.000",
    "Content": {
        "Status": 0
    }
}

Parameters

  • SystemInfo
    Show properties
    • DeviceNamestring(Optional)
      Description: DeviceName

ReqSetExportConfiguration

POSTapiv2/system

Usage and SDK Samples

curl -X POST -H 'Content-Type: application/json' -H 'Cookie:Username=admin;Token=F5535072B11023F6CCD3AEFDB4FAED1D' -d '{\"Cmd\":\"ReqSetExportConfiguration\",\"Version\":\"2.0.000\",\"Content\":{\"Configurations\":{\"StreamSetup\":true,\"GeneralSetup\":true,\"NetworkSetup\":true,\"TimeSetup\":true}}}' http://example.com/apiv2/system

Sample Request

{
    "Cmd": "ReqSetExportConfiguration",
    "Version": "2.0.000",
    "Content": {
        "Configurations": {
            "StreamSetup": true,
            "GeneralSetup": true,
            "NetworkSetup": true,
            "TimeSetup": true
        }
    }
}

Response

{
    "Cmd": "AswSetExportConfiguration",
    "Version": "2.0.000",
    "Content": {
        "Configurations": {
            "StreamSetup": {
                "GSTCount": 1,
                "GST": [
                    {
                        "UID": 1,
                        "Enable": true,
                        "Name": "Bolin-Decoder RTSP Server",
                        "Url": "rtsp://192.168.3.246:554/media/video1?mw-tcp-first=0&mw-buffer-duration=100"
                    }
                ],
                "Audio": {
                    "Enable": false
                }
            },
            "GeneralSetup": {
                "SignalIcon": "default",
                "ViscaEnable": true,
                "IRID": 1
            },
            "NetworkSetup": {
                "Pattern": 1,
                "IPAddress": "192.168.3.233",
                "SubnetMask": "255.255.255.0",
                "Gateway": "",
                "DNS1": "",
                "DNS2": ""
            },
            "TimeSetup": {
                "DateFormat": "Y-M-D",
                "TimeFormat": "24H: H-M-S-MS",
                "Datetime": {
                    "Time": "2025-08-14 15:47:51",
                    "ZoneName": "Asia/Shanghai",
                    "NTPEnable": true,
                    "NTPServer1": "pool.ntp.org"
                }
            }
        },
        "Status": 0
    }
}

ReqGetSystemTimeInfo

POSTapiv2/system

Usage and SDK Samples

curl -X POST -H 'Content-Type: application/json' -H 'Cookie:Username=admin;Token=F5535072B11023F6CCD3AEFDB4FAED1D' -d '{\"Cmd\":\"ReqGetSystemTimeInfo\",\"Version\":\"2.0.000\"}' http://example.com/apiv2/system

Sample Request

{
    "Cmd": "ReqGetSystemTimeInfo",
    "Version": "2.0.000"
}

Response

{
    "Cmd": "AswGetSystemTimeInfo",
    "Version": "2.0.000",
    "Content": {
        "SystemTimeInfo": {
            "TimeSyncMode": 1,
            "DateMode": 0,
            "TimeMode": 2,
            "TimeZone": "US/Mountain",
            "LocalTime": {
                "Year": 2025,
                "Month": 8,
                "Day": 13,
                "Hour": 20,
                "Minute": 22,
                "Second": 52
            },
            "NTPInfo": {
                "ServerAddr": "pool.ntp.org"
            }
        },
        "Status": 0
    }
}

Parameters

  • SystemTimeInfo
    Show properties
    • TimeSyncModeenum(Optional)
      Description: TimeSyncMode
      Value: : Manual Set, 1: Sync NTP Server
    • DateModeenum(Optional)
      Description: DateMode
      Value: : Y-M-D, 1: D/M/Y
    • TimeModeenum(Optional)
      Description: TimeMode
      Value: : 24H: H-M-S, 1: 12H: H-M-S, 2: 24H: H-M-S-MS, 3: 12H: H-M-S-MS
    • TimeZoneenum(Optional)
      Description: TimeZone
      Value: Etc/GMT+12: (UTC-12:00) International Date Line West, Etc/GMT+11: (UTC-11:00) Coordinated Universal Time-11, US/Aleutian: (UTC-10:00) Aleutian Islands, US/Hawaii: (UTC-10:00) Hawaii, Pacific/Marquesas: (UTC-09:30) Marquesas Islands, US/Alaska: (UTC-09:00) Alaska, Etc/GMT+9: (UTC-09:00) Coordinated Universal Time-09, US/Pacific: (UTC-08:00) Pacific Time (US & Canada), Mexico/BajaNorte: (UTC-08:00) Baja California, Etc/GMT+8: (UTC-08:00) Coordinated Universal Time-08, America/Mazatlan: (UTC-07:00) La Paz, Mazatlan, US/Mountain: (UTC-07:00) Mountain Time (US & Canada), US/Arizona: (UTC-07:00) Arizona, Canada/Yukon: (UTC-07:00) Yukon, Chile/EasterIsland: (UTC-06:00) Easter Island, America/Mexico_City: (UTC-06:00) Guadalajara, Mexico City, Monterrey, Canada/Saskatchewan: (UTC-06:00) Saskatchewan, US/Central: (UTC-06:00) Central Time (US & Canada), America/Bogota: (UTC-05:00) Bogota, Lima, Quito, Rio Branco, US/Eastern: (UTC-05:00) Eastern Time (US & Canada), America/Havana: (UTC-05:00) Havana, America/Port-au-Prince: (UTC-05:00) Haiti, Etc/GMT+5: (UTC-05:00) Chetumal, America/Grand_Turk: (UTC-05:00) Turks and Caicos, US/East-Indiana: (UTC-05:00) Indiana (East), Canada/Atlantic: (UTC-04:00) Atlantic Time (Canada), America/Caracas: (UTC-04:00) Caracas, America/Cuiaba: (UTC-04:00) Cuiaba, America/Manaus: (UTC-04:00) Georgetown, La Paz, Manaus, San Juan, America/Santiago: (UTC-04:00) Santiago, America/Asuncion: (UTC-04:00) Asuncion, Canada/Newfoundland: (UTC-03:30) Newfoundland, America/Araguaina: (UTC-03:00) Araguaina, America/Sao_Paulo: (UTC-03:00) Brasilia, America/Argentina/Buenos_Aires: (UTC-03:00) City of Buenos Aires, America/Cayenne: (UTC-03:00) Cayenne, Fortaleza, America/Montevideo: (UTC-03:00) Montevideo, America/Punta_Arenas: (UTC-03:00) Punta Arenas, America/Bahia: (UTC-03:00) Salvador, America/Miquelon: (UTC-03:00) Saint Pierre and Miquelon, America/Nuuk: (UTC-02:00) Greenland, Etc/GMT+2: (UTC-02:00) Coordinated Universal Time-02, Atlantic/Azores: (UTC-01:00) Azores, Atlantic/Cape_Verde: (UTC-01:00) Cabo Verde Is., Etc/UTC: (UTC) Coordinated Universal Time, Europe/London: (UTC+00:00) Dublin, Edinburgh, Lisbon, London, Africa/Monrovia: (UTC+00:00) Monrovia, Reykjavik, Africa/Sao_Tome: (UTC+00:00) Sao Tome, Europe/Amsterdam: (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna, Europe/Belgrade: (UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague, Europe/Brussels: (UTC+01:00) Brussels, Copenhagen, Madrid, Paris, Europe/Sarajevo: (UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb, Africa/Algiers: (UTC+01:00) West Central Africa, Asia/Beirut: (UTC+02:00) Beirut, Africa/Tripoli: (UTC+02:00) Tripoli, Africa/Harare: (UTC+02:00) Harare, Pretoria, Europe/Helsinki: (UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius, Europe/Chisinau: (UTC+02:00) Chisinau, Europe/Kaliningrad: (UTC+02:00) Kaliningrad, Asia/Gaza: (UTC+02:00) Gaza, Hebron, Africa/Khartoum: (UTC+02:00) Khartoum, Africa/Cairo: (UTC+02:00) Cairo, Africa/Windhoek: (UTC+02:00) Windhoek, Europe/Athens: (UTC+02:00) Athens, Bucharest, Asia/Jerusalem: (UTC+02:00) Jerusalem, Africa/Juba: (UTC+02:00) Juba, Asia/Amman: (UTC+03:00) Amman, Asia/Baghdad: (UTC+03:00) Baghdad, Asia/Damascus: (UTC+03:00) Damascus, Europe/Volgograd: (UTC+03:00) Volgograd, Asia/Kuwait: (UTC+03:00) Kuwait, Riyadh, Europe/Minsk: (UTC+03:00) Minsk, Europe/Moscow: (UTC+03:00) Moscow, St. Petersburg, Africa/Nairobi: (UTC+03:00) Nairobi, Asia/Istanbul: (UTC+02:00) Istanbul, Asia/Tehran: (UTC+03:30) Tehran, Asia/Muscat: (UTC+04:00) Abu Dhabi, Muscat, Europe/Astrakhan: (UTC+04:00) Astrakhan, Ulyanovsk, Asia/Yerevan: (UTC+04:00) Yerevan, Asia/Baku: (UTC+04:00) Baku, Asia/Tbilisi: (UTC+04:00) Tbilisi, Indian/Mauritius: (UTC+04:00) Port Louis, Europe/Saratov: (UTC+04:00) Saratov, Europe/Samara: (UTC+04:00) Izhevsk, Samara, Asia/Kabul: (UTC+04:30) Kabul, Asia/Ashgabat: (UTC+05:00) Ashgabat, Tashkent, Asia/Almaty: (UTC+05:00) Astana, Asia/Yekaterinburg: (UTC+05:00) Yekaterinburg, Asia/Karachi: (UTC+05:00) Islamabad, Karachi, Asia/Kolkata: (UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi, Asia/Colombo: (UTC+05:30) Sri Lanka, Asia/Kathmandu: (UTC+05:45) Kathmandu, Asia/Dhaka: (UTC+06:00) Dhaka, Asia/Omsk: (UTC+06:00) Omsk, Asia/Yangon: (UTC+06:30) Yangon, Asia/Barnaul: (UTC+07:00) Barnaul, Gorno-Altaysk, Asia/Hovd: (UTC+07:00) Hovd, Asia/Krasnoyarsk: (UTC+07:00) Krasnoyarsk, Asia/Bangkok: (UTC+07:00) Bangkok, Hanoi, Jakarta, Asia/Tomsk: (UTC+07:00) Tomsk, Asia/Novosibirsk: (UTC+07:00) Novosibirsk, Asia/Shanghai: (UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi, Taipei, Asia/Kuala_Lumpur: (UTC+08:00) Kuala Lumpur, Singapore, Australia/Perth: (UTC+08:00) Perth, Asia/Ulaanbaatar: (UTC+08:00) Ulaanbaatar, Asia/Irkutsk: (UTC+08:00) Irkutsk, Australia/Eucla: (UTC+08:45) Eucla, Asia/Chita: (UTC+09:00) Chita, Asia/Tokyo: (UTC+09:00) Osaka, Sapporo, Tokyo, Asia/Pyongyang: (UTC+09:00) Pyongyang, Asia/Seoul: (UTC+09:00) Seoul, Asia/Yakutsk: (UTC+09:00) Yakutsk, Australia/Adelaide: (UTC+09:30) Adelaide, Australia/Darwin: (UTC+09:30) Darwin, Australia/Brisbane: (UTC+10:00) Brisbane, Asia/Vladivostok: (UTC+10:00) Vladivostok, Pacific/Guam: (UTC+10:00) Guam, Port Moresby, Australia/Hobart: (UTC+10:00) Hobart, Australia/Sydney: (UTC+10:00) Canberra, Melbourne, Sydney, Australia/Lord_Howe: (UTC+10:30) Lord Howe Island, Pacific/Bougainville: (UTC+11:00) Bougainville Island, Asia/Magadan: (UTC+11:00) Magadan, Pacific/Norfolk: (UTC+11:00) Norfolk Island, Etc/GMT-11: (UTC+11:00) Chokurdakh, Asia/Sakhalin: (UTC+11:00) Sakhalin, Pacific/Noumea: (UTC+11:00) Solomon Is., New Caledonia, Asia/Anadyr: (UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky, Pacific/Auckland: (UTC+12:00) Auckland, Wellington, Pacific/Fiji: (UTC+12:00) Fiji, Etc/GMT-12: (UTC+12:00) Coordinated Universal Time+12, Pacific/Chatham: (UTC+12:45) Chatham Islands, Pacific/Tongatapu: (UTC+13:00) Nuku alofa, Pacific/Samoa: (UTC+13:00) Samoa, Etc/GMT-13: (UTC+13:00) Coordinated Universal Time+13, Etc/GMT-14: (UTC+14:00) Kiritimati Island
    • LocalTimefather-node(Optional)
      Description: local time
      Show properties
      • Year(Optional)
      • Month(Optional)
      • Day(Optional)
      • Hour(Optional)
      • Minute(Optional)
      • Second(Optional)
    • NTPInfo(Optional)
      Show properties
      • ServerAddr(Optional)

ReqSetSystemTimeInfo

POSTapiv2/system

Usage and SDK Samples

curl -X POST -H 'Content-Type: application/json' -H 'Cookie:Username=admin;Token=F5535072B11023F6CCD3AEFDB4FAED1D' -d '{\"Cmd\":\"ReqSetSystemTimeInfo\",\"Version\":\"2.00.000\",\"Content\":{\"SystemTimeInfo\":{\"TimeSyncMode\":0,\"DateMode\":0,\"TimeMode\":0,\"TimeZone\":\"US\\/Mountain\",\"LocalTime\":{\"Year\":2025,\"Month\":7,\"Day\":18,\"Hour\":16,\"Minute\":49,\"Second\":6}}}}' http://example.com/apiv2/system

Sample Request

{
    "Cmd": "ReqSetSystemTimeInfo",
    "Version": "2.00.000",
    "Content": {
        "SystemTimeInfo": {
            "TimeSyncMode": 0,
            "DateMode": 0,
            "TimeMode": 0,
            "TimeZone": "US/Mountain",
            "LocalTime": {
                "Year": 2025,
                "Month": 7,
                "Day": 18,
                "Hour": 16,
                "Minute": 49,
                "Second": 6
            }
        }
    }
}

Response

{
    "Cmd": "AswSetSystemTimeInfo",
    "Version": "2.0.000",
    "Content": {
        "Status": 0
    }
}

Parameters

  • SystemTimeInfo
    Show properties
    • TimeSyncModeenum(Optional)
      Description: TimeSyncMode
      Value: : Manual Set, 1: Sync NTP Server
    • DateModeenum(Optional)
      Description: DateMode
      Value: : Y-M-D, 1: D/M/Y
    • TimeModeenum(Optional)
      Description: TimeMode
      Value: : 24H: H-M-S, 1: 12H: H-M-S, 2: 24H: H-M-S-MS, 3: 12H: H-M-S-MS
    • TimeZoneenum(Optional)
      Description: TimeZone
      Value: Etc/GMT+12: (UTC-12:00) International Date Line West, Etc/GMT+11: (UTC-11:00) Coordinated Universal Time-11, US/Aleutian: (UTC-10:00) Aleutian Islands, US/Hawaii: (UTC-10:00) Hawaii, Pacific/Marquesas: (UTC-09:30) Marquesas Islands, US/Alaska: (UTC-09:00) Alaska, Etc/GMT+9: (UTC-09:00) Coordinated Universal Time-09, US/Pacific: (UTC-08:00) Pacific Time (US & Canada), Mexico/BajaNorte: (UTC-08:00) Baja California, Etc/GMT+8: (UTC-08:00) Coordinated Universal Time-08, America/Mazatlan: (UTC-07:00) La Paz, Mazatlan, US/Mountain: (UTC-07:00) Mountain Time (US & Canada), US/Arizona: (UTC-07:00) Arizona, Canada/Yukon: (UTC-07:00) Yukon, Chile/EasterIsland: (UTC-06:00) Easter Island, America/Mexico_City: (UTC-06:00) Guadalajara, Mexico City, Monterrey, Canada/Saskatchewan: (UTC-06:00) Saskatchewan, US/Central: (UTC-06:00) Central Time (US & Canada), America/Bogota: (UTC-05:00) Bogota, Lima, Quito, Rio Branco, US/Eastern: (UTC-05:00) Eastern Time (US & Canada), America/Havana: (UTC-05:00) Havana, America/Port-au-Prince: (UTC-05:00) Haiti, Etc/GMT+5: (UTC-05:00) Chetumal, America/Grand_Turk: (UTC-05:00) Turks and Caicos, US/East-Indiana: (UTC-05:00) Indiana (East), Canada/Atlantic: (UTC-04:00) Atlantic Time (Canada), America/Caracas: (UTC-04:00) Caracas, America/Cuiaba: (UTC-04:00) Cuiaba, America/Manaus: (UTC-04:00) Georgetown, La Paz, Manaus, San Juan, America/Santiago: (UTC-04:00) Santiago, America/Asuncion: (UTC-04:00) Asuncion, Canada/Newfoundland: (UTC-03:30) Newfoundland, America/Araguaina: (UTC-03:00) Araguaina, America/Sao_Paulo: (UTC-03:00) Brasilia, America/Argentina/Buenos_Aires: (UTC-03:00) City of Buenos Aires, America/Cayenne: (UTC-03:00) Cayenne, Fortaleza, America/Montevideo: (UTC-03:00) Montevideo, America/Punta_Arenas: (UTC-03:00) Punta Arenas, America/Bahia: (UTC-03:00) Salvador, America/Miquelon: (UTC-03:00) Saint Pierre and Miquelon, America/Nuuk: (UTC-02:00) Greenland, Etc/GMT+2: (UTC-02:00) Coordinated Universal Time-02, Atlantic/Azores: (UTC-01:00) Azores, Atlantic/Cape_Verde: (UTC-01:00) Cabo Verde Is., Etc/UTC: (UTC) Coordinated Universal Time, Europe/London: (UTC+00:00) Dublin, Edinburgh, Lisbon, London, Africa/Monrovia: (UTC+00:00) Monrovia, Reykjavik, Africa/Sao_Tome: (UTC+00:00) Sao Tome, Europe/Amsterdam: (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna, Europe/Belgrade: (UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague, Europe/Brussels: (UTC+01:00) Brussels, Copenhagen, Madrid, Paris, Europe/Sarajevo: (UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb, Africa/Algiers: (UTC+01:00) West Central Africa, Asia/Beirut: (UTC+02:00) Beirut, Africa/Tripoli: (UTC+02:00) Tripoli, Africa/Harare: (UTC+02:00) Harare, Pretoria, Europe/Helsinki: (UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius, Europe/Chisinau: (UTC+02:00) Chisinau, Europe/Kaliningrad: (UTC+02:00) Kaliningrad, Asia/Gaza: (UTC+02:00) Gaza, Hebron, Africa/Khartoum: (UTC+02:00) Khartoum, Africa/Cairo: (UTC+02:00) Cairo, Africa/Windhoek: (UTC+02:00) Windhoek, Europe/Athens: (UTC+02:00) Athens, Bucharest, Asia/Jerusalem: (UTC+02:00) Jerusalem, Africa/Juba: (UTC+02:00) Juba, Asia/Amman: (UTC+03:00) Amman, Asia/Baghdad: (UTC+03:00) Baghdad, Asia/Damascus: (UTC+03:00) Damascus, Europe/Volgograd: (UTC+03:00) Volgograd, Asia/Kuwait: (UTC+03:00) Kuwait, Riyadh, Europe/Minsk: (UTC+03:00) Minsk, Europe/Moscow: (UTC+03:00) Moscow, St. Petersburg, Africa/Nairobi: (UTC+03:00) Nairobi, Asia/Istanbul: (UTC+02:00) Istanbul, Asia/Tehran: (UTC+03:30) Tehran, Asia/Muscat: (UTC+04:00) Abu Dhabi, Muscat, Europe/Astrakhan: (UTC+04:00) Astrakhan, Ulyanovsk, Asia/Yerevan: (UTC+04:00) Yerevan, Asia/Baku: (UTC+04:00) Baku, Asia/Tbilisi: (UTC+04:00) Tbilisi, Indian/Mauritius: (UTC+04:00) Port Louis, Europe/Saratov: (UTC+04:00) Saratov, Europe/Samara: (UTC+04:00) Izhevsk, Samara, Asia/Kabul: (UTC+04:30) Kabul, Asia/Ashgabat: (UTC+05:00) Ashgabat, Tashkent, Asia/Almaty: (UTC+05:00) Astana, Asia/Yekaterinburg: (UTC+05:00) Yekaterinburg, Asia/Karachi: (UTC+05:00) Islamabad, Karachi, Asia/Kolkata: (UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi, Asia/Colombo: (UTC+05:30) Sri Lanka, Asia/Kathmandu: (UTC+05:45) Kathmandu, Asia/Dhaka: (UTC+06:00) Dhaka, Asia/Omsk: (UTC+06:00) Omsk, Asia/Yangon: (UTC+06:30) Yangon, Asia/Barnaul: (UTC+07:00) Barnaul, Gorno-Altaysk, Asia/Hovd: (UTC+07:00) Hovd, Asia/Krasnoyarsk: (UTC+07:00) Krasnoyarsk, Asia/Bangkok: (UTC+07:00) Bangkok, Hanoi, Jakarta, Asia/Tomsk: (UTC+07:00) Tomsk, Asia/Novosibirsk: (UTC+07:00) Novosibirsk, Asia/Shanghai: (UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi, Taipei, Asia/Kuala_Lumpur: (UTC+08:00) Kuala Lumpur, Singapore, Australia/Perth: (UTC+08:00) Perth, Asia/Ulaanbaatar: (UTC+08:00) Ulaanbaatar, Asia/Irkutsk: (UTC+08:00) Irkutsk, Australia/Eucla: (UTC+08:45) Eucla, Asia/Chita: (UTC+09:00) Chita, Asia/Tokyo: (UTC+09:00) Osaka, Sapporo, Tokyo, Asia/Pyongyang: (UTC+09:00) Pyongyang, Asia/Seoul: (UTC+09:00) Seoul, Asia/Yakutsk: (UTC+09:00) Yakutsk, Australia/Adelaide: (UTC+09:30) Adelaide, Australia/Darwin: (UTC+09:30) Darwin, Australia/Brisbane: (UTC+10:00) Brisbane, Asia/Vladivostok: (UTC+10:00) Vladivostok, Pacific/Guam: (UTC+10:00) Guam, Port Moresby, Australia/Hobart: (UTC+10:00) Hobart, Australia/Sydney: (UTC+10:00) Canberra, Melbourne, Sydney, Australia/Lord_Howe: (UTC+10:30) Lord Howe Island, Pacific/Bougainville: (UTC+11:00) Bougainville Island, Asia/Magadan: (UTC+11:00) Magadan, Pacific/Norfolk: (UTC+11:00) Norfolk Island, Etc/GMT-11: (UTC+11:00) Chokurdakh, Asia/Sakhalin: (UTC+11:00) Sakhalin, Pacific/Noumea: (UTC+11:00) Solomon Is., New Caledonia, Asia/Anadyr: (UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky, Pacific/Auckland: (UTC+12:00) Auckland, Wellington, Pacific/Fiji: (UTC+12:00) Fiji, Etc/GMT-12: (UTC+12:00) Coordinated Universal Time+12, Pacific/Chatham: (UTC+12:45) Chatham Islands, Pacific/Tongatapu: (UTC+13:00) Nuku alofa, Pacific/Samoa: (UTC+13:00) Samoa, Etc/GMT-13: (UTC+13:00) Coordinated Universal Time+13, Etc/GMT-14: (UTC+14:00) Kiritimati Island
    • LocalTimefather-node(Optional)
      Description: local time
      Show properties
      • Year(Optional)
      • Month(Optional)
      • Day(Optional)
      • Hour(Optional)
      • Minute(Optional)
      • Second(Optional)

ReqReset

POSTapiv2/system

Usage and SDK Samples

curl -X POST -H 'Content-Type: application/json' -H 'Cookie:Username=admin;Token=F5535072B11023F6CCD3AEFDB4FAED1D' -d '{\"Cmd\":\"ReqReset\",\"Version\":\"2.00.000\",\"Content\":{\"ResetInfo\":{\"Module\":\"all_but_net\"}}}' http://example.com/apiv2/system

Sample Request

{
    "Cmd": "ReqReset",
    "Version": "2.00.000",
    "Content": {
        "ResetInfo": {
            "Module": "all_but_net"
        }
    }
}

Response

{
    "Cmd": "AswReset",
    "Version": "2.0.000",
    "Content": {
        "Status": 0
    }
}

Parameters

  • ResetInfo
    Show properties
    • Moduleenum(Optional)
      Description: ResetInfo
      Value: all_but_net: all_but_net, all: all

ReqGetUserInfo

POSTapiv2/system

Usage and SDK Samples

curl -X POST -H 'Content-Type: application/json' -H 'Cookie:Username=admin;Token=F5535072B11023F6CCD3AEFDB4FAED1D' -d '{\"Cmd\":\"ReqGetUserInfo\",\"Version\":\"2.0.000\"}' http://example.com/apiv2/system

Sample Request

{
    "Cmd": "ReqGetUserInfo",
    "Version": "2.0.000"
}

Response

{
    "Cmd": "AswGetUserInfo",
    "Version": "2.0.000",
    "Content": {
        "UserInfo": [
            {
                "Name": "admin",
                "Role": 0
            }
        ],
        "Status": 0
    }
}

Parameters

  • UserInfo
    Show properties
    • Namestring(Optional)
      Description: Username
    • Roleenum(Optional)
      Description: Role
      Value: : Administrator, 1: Operator

ReqSetUserInfo

POSTapiv2/system

Usage and SDK Samples

curl -X POST -H 'Content-Type: application/json' -H 'Cookie:Username=admin;Token=F5535072B11023F6CCD3AEFDB4FAED1D' -d '{\"Cmd\":\"ReqSetUserInfo\",\"Version\":\"2.0.000\",\"Content\":{\"UserInfo\":{\"Action\":\"Add\",\"Name\":\"User1\",\"Role\":1,\"Password\":\"c2FkbWlu\"}}}' http://example.com/apiv2/system

Sample Request

{
    "Cmd": "ReqSetUserInfo",
    "Version": "2.0.000",
    "Content": {
        "UserInfo": {
            "Action": "Add",
            "Name": "User1",
            "Role": 1,
            "Password": "c2FkbWlu"
        }
    }
}

Response

{
    "Cmd": "AswSetUserInfo",
    "Version": "2.0.000",
    "Content": {
        "Status": 0
    }
}

Parameters

  • UserInfo
    Show properties
    • Namestring(Optional)
      Description: Username
    • Roleenum(Optional)
      Description: Role
      Value: : Administrator, 1: Operator
    • Passwordstring(Optional)
      Description: Password

ReqGetAVStreamApiCapabilities

POSTapiv2/av

Usage and SDK Samples

curl -X POST -H 'Content-Type: application/json' -d '{\"Cmd\":\"ReqGetAVStreamApiCapabilities\",\"Version\":\"2.0.000\"}' http://example.com/apiv2/av

Sample Request

{
    "Cmd": "ReqGetAVStreamApiCapabilities",
    "Version": "2.0.000"
}

Response

{
    "Cmd": "AswGetAVStreamApiCapabilities",
    "Version": "2.0.000",
    "Content": {
        "Support": true,
        "ReqGetAVStreamApiCapabilities": true,
        "ReqGetRTSPInfo": false,
        "ReqSetRTSPInfo": false,
        "ReqGetRTMPInfo": false,
        "ReqSetRTMPInfo": false,
        "ReqGetSRTInfo": false,
        "ReqSetSRTInfo": false,
        "ReqGetAVOverUDPInfo": false,
        "ReqSetAVOverUDPInfo": false,
        "ReqGetAVOverRTPInfo": false,
        "ReqSetAVOverRTPInfo": false,
        "ReqGetNDIInfo": false,
        "ReqSetNDIInfo": false,
        "ReqListSource": true,
        "ReqAddSource": true,
        "ReqEditSource": true,
        "ReqDeleteSource": true,
        "ReqGetNDISource": false,
        "ReqGetEncodeCapabilities": false,
        "ReqGetEncodeInfo": false,
        "ReqSetEncodeInfo": false,
        "ReqGetDecodeInfo": true,
        "ReqSetDecodeInfo": true,
        "ReqGetAudioInfo": true,
        "ReqSetAudioInfo": true,
        "Status": 0
    }
}

ReqListSource

POSTapiv2/av

Usage and SDK Samples

curl -X POST -H 'Content-Type: application/json' -H 'Cookie:Username=admin;Token=F5535072B11023F6CCD3AEFDB4FAED1D' -d '{\"Cmd\":\"ReqListSource\",\"Version\":\"2.0.000\",\"Content\":{\"Sources\":{\"PerPageNumber\":9,\"PageNumber\":0}}}' http://example.com/apiv2/av

Sample Request

{
    "Cmd": "ReqListSource",
    "Version": "2.0.000",
    "Content": {
        "Sources": {
            "PerPageNumber": 9,
            "PageNumber": 0
        }
    }
}

Response

{
    "Cmd": "AswListSource",
    "Version": "2.0.000",
    "Content": {
        "Sources": [
            {
                "ID": 1,
                "Enable": true,
                "Name": "Bolin-Decoder RTSP Server",
                "Protocol": 1,
                "Url": "rtsp://192.168.3.246:554/media/video1",
                "TCPFirst": false,
                "Buffer": 100
            }
        ],
        "Status": 0
    }
}

ReqAddSource

POSTapiv2/av

Usage and SDK Samples

curl -X POST -H 'Content-Type: application/json' -H 'Cookie:Username=admin;Token=F5535072B11023F6CCD3AEFDB4FAED1D' -d '{\"Cmd\":\"ReqAddSource\",\"Version\":\"2.00.000\",\"Content\":{\"SourceInfo\":{\"ID\":3,\"Enable\":true,\"Protocol\":1,\"Name\":\"RTSP Server\",\"Url\":\"rtsp:\\/\\/192.168.3.228:554\\/media\\/video1\",\"Buffer\":200,\"TCPFirst\":true}}}' http://example.com/apiv2/av

Sample Request

{
    "Cmd": "ReqAddSource",
    "Version": "2.00.000",
    "Content": {
        "SourceInfo": {
            "ID": 3,
            "Enable": true,
            "Protocol": 1,
            "Name": "RTSP Server",
            "Url": "rtsp://192.168.3.228:554/media/video1",
            "Buffer": 200,
            "TCPFirst": true
        }
    }
}

Response

{
    "Cmd": "AswAddSource",
    "Version": "2.0.000",
    "Content": {
        "Status": 0
    }
}

ReqEditSource

POSTapiv2/av

Usage and SDK Samples

curl -X POST -H 'Content-Type: application/json' -H 'Cookie:Username=admin;Token=F5535072B11023F6CCD3AEFDB4FAED1D' -d '{\"Cmd\":\"ReqEditSource\",\"Version\":\"2.00.000\",\"Content\":{\"SourceInfo\":{\"ID\":3,\"Enable\":true,\"Name\":\"RTSP Server(2)\",\"Url\":\"rtsp:\\/\\/192.168.3.220:554\\/media\\/video1\",\"Buffer\":300,\"TCPFirst\":false}}}' http://example.com/apiv2/av

Sample Request

{
    "Cmd": "ReqEditSource",
    "Version": "2.00.000",
    "Content": {
        "SourceInfo": {
            "ID": 3,
            "Enable": true,
            "Name": "RTSP Server(2)",
            "Url": "rtsp://192.168.3.220:554/media/video1",
            "Buffer": 300,
            "TCPFirst": false
        }
    }
}

Response

{
    "Cmd": "AswEditSource",
    "Version": "2.0.000",
    "Content": {
        "Status": 0
    }
}

ReqDeleteSource

POSTapiv2/av

Usage and SDK Samples

curl -X POST -H 'Content-Type: application/json' -H 'Cookie:Username=admin;Token=F5535072B11023F6CCD3AEFDB4FAED1D' -d '{\"Cmd\":\"ReqDeleteSource\",\"Version\":\"2.00.000\",\"Content\":{\"SourceInfo\":{\"ID\":3}}}' http://example.com/apiv2/av

Sample Request

{
    "Cmd": "ReqDeleteSource",
    "Version": "2.00.000",
    "Content": {
        "SourceInfo": {
            "ID": 3
        }
    }
}

Response

{
    "Cmd": "AswDeleteSource",
    "Version": "2.0.000",
    "Content": {
        "Status": 0
    }
}

ReqGetDecodeInfo

POSTapiv2/av

Usage and SDK Samples

curl -X POST -H 'Content-Type: application/json' -H 'Cookie:Username=admin;Token=F5535072B11023F6CCD3AEFDB4FAED1D' -d '{\"Cmd\":\"ReqGetDecodeInfo\",\"Version\":\"2.00.000\",\"Content\":{\"DecodeInfo\":{\"ID\":3}}}' http://example.com/apiv2/av

Sample Request

{
    "Cmd": "ReqGetDecodeInfo",
    "Version": "2.00.000",
    "Content": {
        "DecodeInfo": {
            "ID": 3
        }
    }
}

Response

{
    "Cmd": "AswGetDecodeInfo",
    "Version": "2.0.000",
    "Content": {
        "DecoderInfo": [
            {
                "Type": 0,
                "ID": 0,
                "Mode": 0,
                "Video": {
                    "OutputType": "HDMI",
                    "Resolution": "3840x2160p60"
                },
                "Audio": {
                    "OutputType": "PCM",
                    "SampleRate": 48000,
                    "ChannelNumber": 2
                }
            },
            {
                "Type": 0,
                "ID": 1,
                "Mode": 0,
                "Video": {
                    "OutputType": "SDI",
                    "Resolution": "1920x1080p60"
                },
                "Audio": {
                    "OutputType": "PCM",
                    "SampleRate": 48000,
                    "ChannelNumber": 2
                }
            },
            {
                "Type": 1,
                "ID": 2,
                "Mode": 0,
                "Video": {
                    "OutputType": "H264",
                    "Resolution": "1080P60"
                },
                "Audio": {
                    "OutputType": "",
                    "SampleRate": 0,
                    "ChannelNumber": 0
                }
            }
        ],
        "Status": 0
    }
}

ReqSetDecodeInfo

POSTapiv2/av

Usage and SDK Samples

curl -X POST -H 'Content-Type: application/json' -H 'Cookie:Username=admin;Token=F5535072B11023F6CCD3AEFDB4FAED1D' -d '{\"Cmd\":\"ReqSetDecodeInfo\",\"Version\":\"2.00.000\",\"Content\":{\"SourceID\":1,\"VideoOutputID\":0}}' http://example.com/apiv2/av

Sample Request

{
    "Cmd": "ReqSetDecodeInfo",
    "Version": "2.00.000",
    "Content": {
        "SourceID": 1,
        "VideoOutputID": 0
    }
}

Response

{
    "Cmd": "AswSetDecodeInfo",
    "Version": "2.0.000",
    "Content": {
        "DecodeID": 0,
        "Status": 0
    }
}

ReqGetAudioInfo

POSTapiv2/av

Usage and SDK Samples

curl -X POST -H 'Content-Type: application/json' -H 'Cookie:Username=admin;Token=F5535072B11023F6CCD3AEFDB4FAED1D' -d '{\"Cmd\":\"ReqGetAudioInfo\",\"Version\":\"2.0.000\"}' http://example.com/apiv2/av

Sample Request

{
    "Cmd": "ReqGetAudioInfo",
    "Version": "2.0.000"
}

Response

{
    "Cmd": "AswGetAudioInfo",
    "Version": "2.0.000",
    "Content": {
        "AudioInfo": {
            "Enable": false,
            "Type": 1,
            "Compression": 0
        },
        "Status": 0
    }
}

Parameters

  • AudioInfo
    Show properties
    • Enablebool(Optional)
      Description: AudioOutput Enable
      Value: true/false
    • Typeenum(Optional)
      Description: AudioOutput Type
      Value: : Line Out
    • Compressionenum(Optional)
      Description: Compression
      Value: : AAC

ReqSetAudioInfo

POSTapiv2/av

Usage and SDK Samples

curl -X POST -H 'Content-Type: application/json' -H 'Cookie:Username=admin;Token=F5535072B11023F6CCD3AEFDB4FAED1D' -d '{\"Cmd\":\"ReqSetAudioInfo\",\"Version\":\"2.0.000\",\"Content\":{\"AudioInfo\":{\"Enable\":false,\"Type\":1,\"Compression\":0}}}' http://example.com/apiv2/av

Sample Request

{
    "Cmd": "ReqSetAudioInfo",
    "Version": "2.0.000",
    "Content": {
        "AudioInfo": {
            "Enable": false,
            "Type": 1,
            "Compression": 0
        }
    }
}

Response

{
    "Cmd": "AswSetAudioInfo",
    "Version": "2.0.000",
    "Content": {
        "Status": 0
    }
}

Parameters

  • AudioInfo
    Show properties
    • Enablebool(Optional)
      Description: AudioOutput Enable
      Value: true/false
    • Typeenum(Optional)
      Description: AudioOutput Type
      Value: : Line Out
    • Compressionenum(Optional)
      Description: Compression
      Value: : AAC

ReqGetNetworkCapabilities

POSTapiv2/network

Usage and SDK Samples

curl -X POST -H 'Content-Type: application/json' -d '{\"Cmd\":\"ReqGetNetworkCapabilities\",\"Version\":\"2.0.000\"}' http://example.com/apiv2/network

Sample Request

{
    "Cmd": "ReqGetNetworkCapabilities",
    "Version": "2.0.000"
}

Response

{
    "Cmd": "AswGetNetworkCapabilities",
    "Version": "2.0.000",
    "Content": {
        "NetworkInfo": {
            "Pattern": {
                "Type": "enum",
                "Readonly": false,
                "Description": "Mode",
                "Data": [
                    {
                        "Value": 0,
                        "Description": "Static"
                    },
                    {
                        "Value": 1,
                        "Description": "DHCP"
                    }
                ]
            },
            "IPVersion": {
                "Type": "enum",
                "Readonly": true,
                "Description": "IPVersion",
                "Data": [
                    {
                        "Value": 0,
                        "Description": "IPv4"
                    }
                ]
            },
            "IPAddress": {
                "Type": "string",
                "Readonly": false,
                "Description": "IPAddress",
                "Data": {
                    "MinLen": 7,
                    "MaxLen": 15
                }
            },
            "SubnetMask": {
                "Type": "string",
                "Readonly": false,
                "Description": "SubnetMask",
                "Data": {
                    "MinLen": 7,
                    "MaxLen": 15
                }
            },
            "Gateway": {
                "Type": "string",
                "Readonly": false,
                "Description": "Gateway",
                "Data": {
                    "MinLen": 7,
                    "MaxLen": 15
                }
            },
            "DNS1": {
                "Type": "string",
                "Readonly": false,
                "Description": "DNS1",
                "Data": {
                    "MinLen": 7,
                    "MaxLen": 15
                }
            },
            "DNS2": {
                "Type": "string",
                "Readonly": false,
                "Description": "DNS2",
                "Data": {
                    "MinLen": 0,
                    "MaxLen": 15
                }
            },
            "NetMAC": {
                "Type": "string",
                "Readonly": true,
                "Description": "MAC",
                "Data": {
                    "MinLen": 17,
                    "MaxLen": 17
                }
            },
            "Fallback": {
                "IPAddress": {
                    "Type": "string",
                    "Readonly": false,
                    "Description": "IPAddress",
                    "Data": {
                        "MinLen": 7,
                        "MaxLen": 15
                    }
                },
                "SubnetMask": {
                    "Type": "string",
                    "Readonly": false,
                    "Description": "SubnetMask",
                    "Data": {
                        "MinLen": 7,
                        "MaxLen": 15
                    }
                },
                "Gateway": {
                    "Type": "string",
                    "Readonly": false,
                    "Description": "Gateway",
                    "Data": {
                        "MinLen": 7,
                        "MaxLen": 15
                    }
                },
                "Timeout": {
                    "Type": "range",
                    "Readonly": true,
                    "Description": "Timeout",
                    "Data": {
                        "Min": 20,
                        "Max": 20
                    }
                }
            }
        },
        "Status": 0
    }
}

Parameters

  • NetworkInfo
    Show properties
    • Patternenum(Optional)
      Description: Mode
      Value: : Static, 1: DHCP
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • Value(Optional)
        • Description(Optional)
    • IPVersionenum(Optional)
      Description: IPVersion
      Value: : IPv4
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • Value(Optional)
        • Description(Optional)
    • IPAddressstring(Optional)
      Description: IPAddress
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • MinLen(Optional)
        • MaxLen(Optional)
    • SubnetMaskstring(Optional)
      Description: SubnetMask
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • MinLen(Optional)
        • MaxLen(Optional)
    • Gatewaystring(Optional)
      Description: Gateway
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • MinLen(Optional)
        • MaxLen(Optional)
    • DNS1string(Optional)
      Description: DNS1
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • MinLen(Optional)
        • MaxLen(Optional)
    • DNS2string(Optional)
      Description: DNS2
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • MinLen(Optional)
        • MaxLen(Optional)
    • NetMACstring(Optional)
      Description: MAC
      Show properties
      • Type(Optional)
      • Readonly(Optional)
      • Description(Optional)
      • Data(Optional)
        Show properties
        • MinLen(Optional)
        • MaxLen(Optional)
    • Fallback(Optional)
      Show properties
      • IPAddress(Optional)
        Show properties
        • Type(Optional)
        • Readonly(Optional)
        • Description(Optional)
        • Data(Optional)
          Show properties
          • MinLen(Optional)
          • MaxLen(Optional)
      • SubnetMask(Optional)
        Show properties
        • Type(Optional)
        • Readonly(Optional)
        • Description(Optional)
        • Data(Optional)
          Show properties
          • MinLen(Optional)
          • MaxLen(Optional)
      • Gateway(Optional)
        Show properties
        • Type(Optional)
        • Readonly(Optional)
        • Description(Optional)
        • Data(Optional)
          Show properties
          • MinLen(Optional)
          • MaxLen(Optional)
      • Timeout(Optional)
        Show properties
        • Type(Optional)
        • Readonly(Optional)
        • Description(Optional)
        • Data(Optional)
          Show properties
          • Min(Optional)
          • Max(Optional)

ReqGetNetworkInfo

POSTapiv2/network

Usage and SDK Samples

curl -X POST -H 'Content-Type: application/json' -H 'Cookie:Username=admin;Token=F5535072B11023F6CCD3AEFDB4FAED1D' -d '{\"Cmd\":\"ReqGetNetworkInfo\",\"Version\":\"2.0.000\"}' http://example.com/apiv2/network

Sample Request

{
    "Cmd": "ReqGetNetworkInfo",
    "Version": "2.0.000"
}

Response

{
    "Cmd": "AswGetNetworkInfo",
    "Version": "2.0.000",
    "Content": {
        "NetworkInfo": {
            "Pattern": 0,
            "IPVersion": 0,
            "IPAddress": "192.168.3.252",
            "SubnetMask": "255.255.255.0",
            "Gateway": "192.168.3.1",
            "NetMAC": "44:03:77:E0:67:C3",
            "DNS1": "8.8.8.8",
            "DNS2": "8.8.4.4"
        },
        "Fallback": {
            "IPAddress": "192.168.0.13",
            "SubnetMask": "255.255.255.0",
            "Gateway": "192.168.0.1",
            "Timeout": 20
        },
        "Status": 0
    }
}

Parameters

  • NetworkInfo
    Show properties
    • Patternenum(Optional)
      Description: Mode
      Value: : Static, 1: DHCP
    • IPVersionenum(Optional)
      Description: IPVersion
      Value: : IPv4
    • IPAddressstring(Optional)
      Description: IPAddress
    • SubnetMaskstring(Optional)
      Description: SubnetMask
    • Gatewaystring(Optional)
      Description: Gateway
    • NetMACstring(Optional)
      Description: MAC
    • DNS1string(Optional)
      Description: DNS1
    • DNS2string(Optional)
      Description: DNS2

ReqSetNetworkInfo

POSTapiv2/network

Usage and SDK Samples

curl -X POST -H 'Content-Type: application/json' -H 'Cookie:Username=admin;Token=F5535072B11023F6CCD3AEFDB4FAED1D' -d '{\"Cmd\":\"ReqSetNetworkInfo\",\"Version\":\"2.0.000\",\"Content\":{\"NetworkInfo\":{\"Pattern\":0,\"IPVersion\":0,\"IPAddress\":\"192.168.3.252\",\"SubnetMask\":\"255.255.255.0\",\"Gateway\":\"192.168.3.13\",\"NetMAC\":\"44:03:77:E0:55:66\",\"DNS1\":\"192.168.3.1\",\"DNS2\":\"8.8.8.8\"},\"Fallback\":{\"IPAddress\":\"192.168.0.13\",\"SubnetMask\":\"255.255.255.0\",\"Gateway\":\"192.168.0.1\",\"Timeout\":20}}}' http://example.com/apiv2/network

Sample Request

{
    "Cmd": "ReqSetNetworkInfo",
    "Version": "2.0.000",
    "Content": {
        "NetworkInfo": {
            "Pattern": 0,
            "IPVersion": 0,
            "IPAddress": "192.168.3.252",
            "SubnetMask": "255.255.255.0",
            "Gateway": "192.168.3.13",
            "NetMAC": "44:03:77:E0:55:66",
            "DNS1": "192.168.3.1",
            "DNS2": "8.8.8.8"
        },
        "Fallback": {
            "IPAddress": "192.168.0.13",
            "SubnetMask": "255.255.255.0",
            "Gateway": "192.168.0.1",
            "Timeout": 20
        }
    }
}

Response

{
    "Cmd": "AswSetNetworkInfo",
    "Version": "2.0.000",
    "Content": {
        "Status": 0
    }
}

Parameters

  • NetworkInfo
    Show properties
    • Patternenum(Optional)
      Description: Mode
      Value: : Static, 1: DHCP
    • IPVersionenum(Optional)
      Description: IPVersion
      Value: : IPv4
    • IPAddressstring(Optional)
      Description: IPAddress
    • SubnetMaskstring(Optional)
      Description: SubnetMask
    • Gatewaystring(Optional)
      Description: Gateway
    • NetMACstring(Optional)
      Description: MAC
    • DNS1string(Optional)
      Description: DNS1
    • DNS2string(Optional)
      Description: DNS2

CGI Commmand

 Fast-CGI can easily provide some simple and quick http commands to users, with limited functions and limited support.

Protocol:

HTTP protocol, port 80, shares port with Web GUI, and does not require authentication
Return Data with HTML:
 
Noted:

CGI Command List
FunctionCommandsNoted
Powerhttp://192.168.2.207/cgi-bin/set.cgi?pelco.controller.power=0Power OFF
http://192.168.2.207/cgi-bin/set.cgi?pelco.controller.power=1Power ON
Menuhttp://192.168.2.207/cgi-bin/set.cgi?pelco.controller.menu=0Menu ON
http://192.168.2.207/cgi-bin/set.cgi?pelco.controller.menu=1Menu OFF
Set Presethttp://192.168.2.207/cgi-bin/set.cgi?pelco.ptz.preset.set=1Set Camera Preset, from preset 1-128
http://192.168.2.207/cgi-bin/set.cgi?pelco.ptz.preset.set=2
http://192.168.2.207/cgi-bin/set.cgi?pelco.ptz.preset.set=3
http://192.168.2.207/cgi-bin/set.cgi?pelco.ptz.preset.set=4
http://192.168.2.207/cgi-bin/set.cgi?pelco.ptz.preset.set=5
http://192.168.2.207/cgi-bin/set.cgi?pelco.ptz.preset.set=6
http://192.168.2.207/cgi-bin/set.cgi?pelco.ptz.preset.set=7
http://192.168.2.207/cgi-bin/set.cgi?pelco.ptz.preset.set=8
http://192.168.2.207/cgi-bin/set.cgi?pelco.ptz.preset.set=9
http://192.168.2.207/cgi-bin/set.cgi?pelco.ptz.preset.set=10
Call Presethttp://192.168.2.207/cgi-bin/set.cgi?
pelco.ptz.preset.goto=1
Call Camera Preset, from preset 1-128
http://192.168.2.207/cgi-bin/set.cgi?
pelco.ptz.preset.goto=2
http://192.168.2.207/cgi-bin/set.cgi?
pelco.ptz.preset.goto=3
http://192.168.2.207/cgi-bin/set.cgi?
pelco.ptz.preset.goto=4
http://192.168.2.207/cgi-bin/set.cgi?
pelco.ptz.preset.goto=5
http://192.168.2.207/cgi-bin/set.cgi?
pelco.ptz.preset.goto=6
http://192.168.2.207/cgi-bin/set.cgi?
pelco.ptz.preset.goto=7
http://192.168.2.207/cgi-bin/set.cgi?
pelco.ptz.preset.goto=8
http://192.168.2.207/cgi-bin/set.cgi?
pelco.ptz.preset.goto=9
http://192.168.2.207/cgi-bin/set.cgi?
pelco.ptz.preset.goto=10
http://192.168.2.207/cgi-bin/set.cgi?
pelco.ptz.preset.goto=128
Pan Speedhttp://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.pan_speed=1
Adjust Pan Motor speed (1-24 Steps)
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.pan_speed=10
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.pan_speed=24
Tilt Speedhttp://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.tilt_speed=1
Adjust Tilt Motor speed (1-24 Steps)
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.tilt_speed=10
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.tilt_speed=18
Controllerhttp://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.action=23
(HOME)
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.action=24
(UP)
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.action=25
(Down)
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.action=26
(Right)
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.action=27
(Left)
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.action=0
(Stop)
Mutehttp://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.mute=0
Microphone Open
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.mute=1
Microphone Mute
Zoom_speedhttp://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.zoom_accelerate=0
slow
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.zoom_accelerate=1
fast
Zoomhttp://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.action=12
teleZoom in
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.action=13
wideZoom out
Focus modehttp://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.focus=0
manual
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.focus=1
auto
Focushttp://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.action=14
Far
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.action=15
Near
Snapshothttp://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.snapshot=1
Snapshot
Wiperhttp://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.snglwiper=1
Sngl.Wiper ON
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.contwiper=1
Cont.Wiper ON
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.wiper=0
Wiper OFF
BackLighthttp://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.backlight=0
OFF
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.backlight=1
ON
WhiteBalancehttp://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.wb=0
auto
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.wb=1
indoor
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.wb=2
outdoor
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.wb=3
one push WB mode
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.wb=4
ATW
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.wb=5
manual
System formathttp://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.systemformat=24
3840*2160/60System Format
{"pelco.controller.format":
["faied,mismatch
with system
format","-1"]}
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.systemformat=25
3840*2160/59.94
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.systemformat=26
3840*2160/50
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.systemformat=28
3840*2160/30
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.systemformat=29
3840*2160/29.97
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.systemformat=30
3840*2160/25
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.systemformat=23
3840*2160/24
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.systemformat=27
3840*2160/23.98
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.systemformat=18
1920*1080/60
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.systemformat=19
1920*1080/59.94
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.systemformat=20
1920*1080/50
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.systemformat=1
1920*1080i/59.94
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.systemformat=4
1920*1080i/50
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.systemformat=11
1920*1080/23.98
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.systemformat=10
1280*720/60
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.systemformat=9
1280*720/59.94
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.systemformat=12
1280*720/50
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.systemformat=7
1280*720/30
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.systemformat=6
1280*720/25
SDI formathttp://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.sdiformat=24
3840*2160/60SDI
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.sdiformat=25
3840*2160/59.94
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.sdiformat=26
3840*2160/50
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.sdiformat=28
3840*2160/30
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.sdiformat=29
3840*2160/29.97
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.sdiformat=30
3840*2160/25
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.sdiformat=23
3840*2160/24
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.sdiformat=27
3840*2160/23.98
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.sdiformat=18
1920*1080/60
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.sdiformat=19
1920*1080/59.94
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.sdiformat=20
1920*1080/50
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.sdiformat=17
1920*1080/24
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.sdiformat=11
1920*1080/23.98
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.sdiformat=2
1920*1080i/60
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.sdiformat=1
1920*1080i/59.94
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.sdiformat=4
1920*1080i/50
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.sdiformat=10
1280*720/60
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.sdiformat=9
1280*720/59.94
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.sdiformat=12
1280*720/50
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.sdiformat=7
1280*720/30
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.sdiformat=6
1280*720/25
HDMI formathttp://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.format=24
3840*2160/60HDMI
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.format=25
3840*2160/59.94
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.format=26
3840*2160/50
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.format=28
3840*2160/30
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.format=29
3840*2160/29.97
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.format=30
3840*2160/25
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.format=23
3840*2160/24
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.format=27
3840*2160/23.98
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.format=18
1920*1080/60
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.format=19
1920*1080/59.94
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.format=20
1920*1080/50
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.format=17
1920*1080/24
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.format=11
1920*1080/23
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.format=2
1920*1080i/60
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.format=1
1920*1080i/59.94
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.format=4
1920*1080i/50
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.format=10
1280*720/60
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.format=9
1280*720/59.94
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.format=12
1280*720/50
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.format=7
1280*720/30
http://192.168.2.207/cgi-bin/set.cgi?
pelco.controller.format=6
1280*720/25

Have a Question?

  • Found a problem or a bug? Submit a support ticket.
  • Have a project/product idea or request? Share it with us.