H Series OpenAPI Instructions
Home
ChineseVersion
Home
ChineseVersion
  1. Screen
  • Instructions
  • Error Codes
  • Change History
  • Devices
    • Read Device Detailed Information
      POST
    • Read Device Card Information
      POST
    • Read Device IP
      POST
  • Homepage
    • Read System Initialization Status
      POST
    • Read Video Server Address
      POST
  • Screen
    • Set Screen Gamma
      POST
    • Display Screen ID
      POST
    • Set Screen Brightness
      POST
    • Save Screen Brightness
      POST
    • Add Screens
      POST
    • Delete Screens
      POST
    • Read Screen Detailed Information
      POST
    • Query Screen List
      POST
    • Screen FTB
      POST
    • Set BKG
      POST
    • Set Freezing
      POST
    • Read Screen Not in Live Mode
      POST
    • Set 3D Effect
      POST
    • Set Screen Layout Information
      POST
    • Set Image OSD
      POST
    • Set Text OSD
      POST
    • Delete Multiple Screens
      POST
    • Rename Screens
      POST
  • Inputs
    • Read Input List
    • Read Detailed Information of Specified Inputs
    • Set Cropping
    • Delete
    • Edit Cropping
    • Set Resolutions
    • Set Timing
    • Create Input Groups
    • Sort Input Groups
    • Edit Groups
    • Delete Groups
    • Delete Input Sources by Groups
    • Import EDID
    • Rename
    • Create Signal Source Playlists
    • Read Signal Source Playlists
    • Edit Signal Source Playlist Information
    • Enable Signal Source Playlists
    • Delete Signal Source Playlists
  • Outputs
    • Set Image Quality
    • Set Gamma
    • Set Output Locating
    • Rename
    • Set Timing for 4K Output Card
    • Read Detailed Information
    • Read Output List
    • Se Output Timing
    • Set Output Resolutions
    • Set Areas Loaded by All-in-One Cards
  • Layers
    • Set Stream Pulling Rules for IPC Sources Only
    • Add Layers
    • Delete Layers
    • Read Layer List
    • Read Layer Details
    • Set Layer Basic Information
    • Read Layer Z-order
    • Set Layer Information
    • Clear Layers
    • Set Layer Z-order
    • Lock Layers
    • Change Layer Source Information
    • Freeze Layers
    • Open Layer Layouts
  • Presets
    • Create Presets
    • Delete Presets
    • Set Basic Information of Specified Presets
    • Load Presets
    • Read Detailed Information of Specified Presets
    • Clear Presets
    • Get Preset Group List
    • Create Preset Groups
    • Delete Preset Groups
    • Get Preset Group Enumeration
    • Play Preset Playlist
    • Read All Presets
    • Read Preset Playlist
    • Read Current Played Preset
    • Edit Preset Groups
    • Overwrite Presets
  • BKG
    • Create BKG
    • Delete BKG
    • Get BKG Detailed Information
    • Comprehensive Query
  • IPC
    • IPC Source List
    • Read Specified Data in IPC Source List
    • IP Camera List
    • Obtain IPC Source Channel List
    • Obtain Details of IPC Source Channel List
    • Details of IPC Mosaic Source Channel Data
    • Add IPC Sources
    • Delete IPC Sources
    • Rename IPC Sources
    • Change IPC Source Channels
    • Add IPC Source Channels
    • Delete IPC Source Channels
    • IPC Source Slot List
    • IPC Sources and Channels
    • Check IPC Source Names
    • IPC Source Group List
    • Create IPC Source Groups
    • Delete IPC Source Groups
    • Change IPC Groups
    • Delete IPC Source Group Nodes
    • IPC Mosaic Source List
    • Create IPC Mosaic Source Templates
    • Update IPC Mosaic Source Templates
    • Delete IPC Mosaic Source Templates
    • Apply IPC Mosaic Source Templates
    • Rename IPC Mosaic Sources
  1. Screen

Add Screens

POST
/open/api/screen/createScreen
FieldDescription
mosaicOutput mosaic mode
rowTotal number of rows
columnTotal number of columns
edgeEnableWhether to enable edge blending
edgeWidthEdge width
edgeHeightEdge height
screenInterfacesScreen interface list
interfaceIdInterface ID
outputIdOutput ID (When the value of ID is 255, it means no output interface is assigned.)
xX value
yY value
widthWidth
heightHeight
slotIdSlot ID
cropxCropping X
cropyCropping Y
interfaceTypeInterface type
connectCapacityConnection capacity
isCardOnlineWhether the card is online.

Request

Body Params application/json

Example
{
    "body": {
        "deviceId": 0,
        "name": "screenNameTest1",
        "screenInterfaces": [
            {
                "connectCapacity": 0,
                "slotId": 0,
                "outputName": "",
                "interfaceType": 2,
                "interfaceId": 0,
                "outputId": 255,
                "width": 1920,
                "height": 1080,
                "x": 1000,
                "y": 1000,
                "cropx": 0,
                "cropy": 0,
                "dotpitch": 2
            },
            {
                "connectCapacity": 0,
                "slotId": 0,
                "outputName": "",
                "interfaceType": 2,
                "interfaceId": 1,
                "outputId": 255,
                "width": 1920,
                "height": 1080,
                "x": 2920,
                "y": 1000,
                "cropx": 0,
                "cropy": 0,
                "dotpitch": 2
            },
            {
                "connectCapacity": 0,
                "slotId": 0,
                "outputName": "",
                "interfaceType": 2,
                "interfaceId": 2,
                "outputId": 255,
                "width": 1920,
                "height": 1080,
                "x": 1000,
                "y": 2080,
                "cropx": 0,
                "cropy": 0,
                "dotpitch": 2
            },
            {
                "connectCapacity": 0,
                "slotId": 0,
                "outputName": "",
                "interfaceType": 2,
                "interfaceId": 3,
                "outputId": 255,
                "width": 1920,
                "height": 1080,
                "x": 2920,
                "y": 2080,
                "cropx": 0,
                "cropy": 0,
                "dotpitch": 2
            }
        ],
        "mosaic": {
            "row": 2,
            "column": 2
        }
    },
    "sign": "MDBmZjQ1NzgxMGFjNGNhZTQ2N2U3ZTc4ODk0YTBiN2M=",
    "pId": "1",
    "timeStamp": "1631949094265"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/open/api/screen/createScreen' \
--header 'Content-Type: application/json' \
--data-raw '{
    "body": {
        "deviceId": 0,
        "name": "screenNameTest1",
        "screenInterfaces": [
            {
                "connectCapacity": 0,
                "slotId": 0,
                "outputName": "",
                "interfaceType": 2,
                "interfaceId": 0,
                "outputId": 255,
                "width": 1920,
                "height": 1080,
                "x": 1000,
                "y": 1000,
                "cropx": 0,
                "cropy": 0,
                "dotpitch": 2
            },
            {
                "connectCapacity": 0,
                "slotId": 0,
                "outputName": "",
                "interfaceType": 2,
                "interfaceId": 1,
                "outputId": 255,
                "width": 1920,
                "height": 1080,
                "x": 2920,
                "y": 1000,
                "cropx": 0,
                "cropy": 0,
                "dotpitch": 2
            },
            {
                "connectCapacity": 0,
                "slotId": 0,
                "outputName": "",
                "interfaceType": 2,
                "interfaceId": 2,
                "outputId": 255,
                "width": 1920,
                "height": 1080,
                "x": 1000,
                "y": 2080,
                "cropx": 0,
                "cropy": 0,
                "dotpitch": 2
            },
            {
                "connectCapacity": 0,
                "slotId": 0,
                "outputName": "",
                "interfaceType": 2,
                "interfaceId": 3,
                "outputId": 255,
                "width": 1920,
                "height": 1080,
                "x": 2920,
                "y": 2080,
                "cropx": 0,
                "cropy": 0,
                "dotpitch": 2
            }
        ],
        "mosaic": {
            "row": 2,
            "column": 2
        }
    },
    "sign": "MDBmZjQ1NzgxMGFjNGNhZTQ2N2U3ZTc4ODk0YTBiN2M=",
    "pId": "1",
    "timeStamp": "1631949094265"
}'

Responses

🟢200Successful
application/json
Body

Example
{
    "data": {
        "id": 2
    },
    "msg": "",
    "status": 0
}
Modified at 2025-10-23 10:08:10
Previous
Save Screen Brightness
Next
Delete Screens
Built with