简要描述:

  • 自定义播放

接口版本:

版本号 制定人 制定日期 修订日期
3.3.0 朱小乾 2022-11-11 -

请求URL:

  • /api/media/mediaTerminal/customContent

请求方式:

  • POST

请求头:

参数名 是否必须 类型 说明
Content-Type 是 string 请求类型: application/json

请求参数:

参数名 是否必须 类型 说明
equipmentIds 是 array 设备Id
durationType 是 int 播放类型
hours 是 int 小时
minutes 是 int 分
seconds 是 int 秒
name 是 string 名称
description 是 string 描述
groups 是 string 分组
templateId 是 int 模板
formContent 是 string 内容
  1. {
  2. "name": "string",
  3. "description": "string",
  4. "groups": "string",
  5. "templateId": 0,
  6. "formContent": "string",
  7. "durationType": 0,
  8. "hours": 0,
  9. "minutes": 0,
  10. "seconds": 0,
  11. "equipmentIds": [
  12. 0
  13. ]
  14. }

返回示例:

正确时返回:

  1. {
  2. "code": 1,
  3. "message": "操作成功",
  4. "data": null
  5. }

错误时返回:

返回参数说明:

参数名 类型 说明

备注:

-

文档更新时间: 2022-11-15 16:57