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

modifyLivePlan: Modify the live plan time

modifyLivePlan: Modify the live plan time

Function details

Modify the live broadcast schedule.

Request address

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

Incoming parameter description

Parameter nameParameter typeRequired or notDefault valueLegal valueParameter description
tokenStringYesAdministrator accessToken
liveTokenStringYesLive Token
periodStringYesLive broadcast period, always: permanent, once: specify a certain day, everyday: every day
beginTimeStringNoStart time, when "period" is "always", it can be empty; when "period" is "once", the time format is "yyyy-MM-dd HH:mm:ss"; When "period" is "everyday", the time format is "HH:mm:ss"; when the platform is saved, the second place is saved by default as 00
endTimeStringNoEnd time, when "period" is "always", it can be empty; when "period" is "once", the time format is "yyyy-MM-dd HH:mm:ss", And greater than the current time; when "period" is "everyday", the time format is "HH:mm:ss"; when the platform is saved, the second place is saved by default as 00

Sample input

{
    "system":{
        "ver":"1.0",
        "appId":"lcdxxxxxxxxx",
        "sign":"a8c26a61b61c046ef6eff5709ccfde04",
        "time":1603367565,
        "nonce":"df09e2b0-1c1b-4342-bda3-58266b4e5694"
    },
    "id":"63cfb7d3-0d42-4744-b802-ac5af746c2cb",
    "params":{
        "period":"always",
        "liveToken":"57877dd6774f4cbeb657568be0b7a621",
        "token":"At_00000ad9e6e87f0142eb92e207aec46a"
    }
}

Return data field description

No data returned

Sample output

{
  "id":"63cfb7d3-0d42-4744-b802-ac5af746c2cb",
  "result":{
    "code":"0",
    "msg":"The operation was successful"
  }
}
modifyLivePlanStatus: Set the live broadcast plan switch
batchModifyLivePlan: Batch modify live plan time