MAGICINFO DIGITAL SIGNAGE SUPPORT FORUM

Digital Information Displays (Digital Signage) => MagicInfo-I Premium => Topic started by: madqori on January 29, 2019, 04:17:35 AM

Title: Unable to Create Schedule with content inside
Post by: madqori on January 29, 2019, 04:17:35 AM
Hello.

I got a problem when use Post Schedule Endpoint "POST /restapi/v1.0/dms/schedule/contents", for the data structure it should be enable to push content inside of the schedule. But my content never showing up in the schedule. Here is my request.
{
  "backgroundMusic": "",
  "contentMute": "",
  "contentSyncOn": "",
  "deployReserve": "true",
  "deployReserveResource": {},
  "description": "",
  "deviceGroupIds": "2",
  "deviceType": "SPLAYER",
  "deviceTypeVersion": 4,
  "ipAddress": "",
  "itemList": [
    {
      "channelNo": 1,
      "cifsSlideTime": "0",
      "contentId": "2D1F2C38-9573-4EE7-B951-2BBCF1F5E064",
      "contentName": "mad.png.png",
      "contentType": "IMAGE",
      "duration": "2",
      "frameId": "",
      "frameIndex": "0",
      "inputSource": "",
      "isSync": "true",
      "monthday": "",
      "playerMode": "single",
      "priority": 1,
      "repeatType": "once",
      "safetyLock": "true",
      "scheduleType": "LFD",
      "startDate": "2019-01-25",
      "startTime": "04:30:00",
      "stopDate": "2999-12-31",
      "weekdays": ""
    }
  ],
  "scheduleGroupId": "1",
  "scheduleName": "Something",
  "syncPlay": true,
  "vwlType": false
}

Note :
ContentId with this Id is exist :  2D1F2C38-9573-4EE7-B951-2BBCF1F5E064

Thanks