

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 激活动态图形叠加 – 有效载荷
<a name="cli-schedule-fields-activate-mgi"></a>

有关以下 JSON 中字段和值的含义的信息，请参阅 [激活动态图形叠加的字段](schedule-fields-for-mg.md)。

```
{
 "ChannelId": "string",
 "Creates": {
 "ScheduleActions": [
  {
   "ScheduleActionStartSettings": {
    "FixedModeScheduleActionStartSettings": {
     "Time": "string"
    },
    "ImmediateModeScheduleActionStartSettings": {
    }
   },
   "ActionName": "string",
   "ScheduleActionSettings": {
    "MotionGraphicsImageActivateSettings": {
     "Duration": integer
     "Url": "string"
     "Username": "string",
     "PasswordParam": "string"
    }
   }
  ]
 }
}
```

## 示例
<a name="json-activate-mgi-example"></a>

此请求示例创建了一个名为 mg\$1ticker\$1tape 的动态图形叠加操作。动态图形资产存储在 http://example.com/ticker\$1tape.html。此服务器需要用户凭证。该请求不包括持续时间。相反，目的是在适当的时间发送单独的停用请求。

```
{
"ChannelId": "999999",
"Creates": {
 "ScheduleActions": [
  {
   "ScheduleActionStartSettings": {
    "FixedModeScheduleActionStartSettings": {
     "Time": "2018-05-21T20:42:04.000Z"
    }
   },
   "ActionName": "mg_ticker_tape",
   "ScheduleActionSettings": {
    "MotionGraphicsImageActivateSettings": {
     "Url": "https://example.com/ticker_tape.html"
     "Username": "medialiveoperator",
     "PasswordParam": "/medialive/12345"
    }
   }
  ]
 }
}
```