

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# モーショングラフィックオーバーレイを有効にする — ペイロード
<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"
    }
   }
  ]
 }
}
```