Getting Started
Official Site
Getting Started
Official Site
  • Document description
  • Read before you start

  • Light application development guide

  • Mobile application development guide

  • Cloud live development guide

  • Desktop application development guide

  • Third party development guide

  • Message push development guide

  • IoT things data model

  • HTTP interface

    • Development specification
    • API privacy policy
    • Postman interface simulation call
    • accessToken: Get administrator token
    • API request example
    • Account docking
    • Push configuration
    • Cloud storage service
    • Equipment management

    • Device configurat

    • Video equipment

    • Device message
    • Device live broadcast
      • bindDeviceLive: Create device source live address
      • unbindLive: Delete the live broadcast address
      • liveList: Get Live List
      • queryLiveStatus: Get live broadcast status
      • modifyLivePlanStatus: Set the live broadcast plan switch
      • modifyLivePlan: Modify Live Plan Time
      • batchModifyLivePlan: Batch modify live plan time
      • getLiveStreamInfo: Get the live broadcast address and live broadcast status according to the serial number
      • createDeviceRtmpLive: Create rtmp protocol live address
      • deleteDeviceRtmpLive: Delete the rtmp protocol live address
      • queryDeviceRtmpLive: Query the rtmp protocol live address
    • Device lock access
  • Reference documents

On this page
Function details
Request address
Incoming parameter description
Sample input
Return data field description
Sample output

batchModifyLivePlan: Batch modify live broadcast plan time

batchModifyLivePlan: Batch modify live broadcast plan time

Function details

Set up multiple live broadcast schedules for a single live broadcast address. If the schedule overlaps, the platforms will merge.

Request address

https://openapi-[DataCenter].easy4ip.com/openapi/batchModifyLivePlan

Incoming parameter description

Parameter name Parameter type Is it required? Default value Legal value Parameter description
token String Yes Administrator accessToken
liveToken String Yes Live broadcast token, return when creating a live broadcast
rules period String Yes monday, tuesday, wednesday, thursday, friday, saturday, sunday Repeat period
beginTime String Yes Time format: HH:mm Start time
endTime String Yes Time format: HH:mm End time

Sample input

{
    "id":"d5c287b4-5b2f-4f03-baf5-8032c5c354af",
    "system":{
        "ver":"1.0",
        "appId":"lcdxxxxxxxxx",
        "sign":"74bc756ebd53e9eef2836f8cf1730c10",
        "time":1599031074,
        "nonce":"8ec8a7bd1d1c95420de20d92422d457d"
    },
    "params":{
        "token":"At_12345678901234567890123456789012",
        "liveToken":"57877dd6774f4cbeb657568be0b7a621",
        "rules":[{
            "period":"monday,tuesday,wednesday",
            "beginTime":"10:00",
            "endTime":"23:59"
        },
        {
            "period":"friday,saturday,sunday",
            "beginTime":"12:00",
            "endTime":"23:59"
        }]
    }
}

Return data field description

No data returned

Sample output

{
    "id":"d5c287b4-5b2f-4f03-baf5-8032c5c354af",
    "result":{
        "code":"0",
        "msg":"successful operation"
    }
}
modifyLivePlan: Modify Live Plan Time
getLiveStreamInfo: Get the live broadcast address and live broadcast status according to the serial number