

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 啟用動態圖形浮水印 – 承載
<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 的動作圖形浮水印動作。動態圖形資產存放在 https：//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"
    }
   }
  ]
 }
}
```