POST
/
api
/
v1
/
Viewer
/
Schedule
/
create
curl --request POST \
  --url https://saas.pads365.com/rdx/NDS.Services.Viewer/api/v1/Viewer/Schedule/create \
  --header 'Content-Type: application/json' \
  --data '{
  "Name": "<string>",
  "Presentations": [
    {
      "FileName": "<string>",
      "Name": "<string>",
      "Data": "aSDinaTvuI8gbWludGxpZnk="
    }
  ],
  "Items": [
    {
      "Id": "<string>",
      "ContentId": "<string>",
      "DestinationId": "<string>",
      "PeriodId": "<string>",
      "PriorityId": "<string>",
      "Priority": {
        "Id": "<string>",
        "Name": "<string>",
        "Color": "<string>",
        "CanSchedule": true,
        "Order": 123,
        "IsDefault": true
      },
      "Destination": {
        "Id": "<string>",
        "Name": "<string>"
      },
      "Name": "<string>",
      "StartDate": "2023-11-07T05:31:56Z",
      "EndDate": "2023-11-07T05:31:56Z",
      "OccurenceCount": 123,
      "Occurrence": {
        "StartTime": "<string>",
        "EndTime": "<string>",
        "RecurrenceType": "Daily",
        "Interval": "<string>",
        "Duration": "<string>",
        "RecurrenceExceptions": [
          {
            "Id": "<string>",
            "PeriodId": "<string>",
            "OldStartDateTime": "2023-11-07T05:31:56Z",
            "NewStartDateTime": "2023-11-07T05:31:56Z",
            "NewEndDateTime": "2023-11-07T05:31:56Z"
          }
        ]
      },
      "Days": {
        "Monday": true,
        "Tuesday": true,
        "Wednesday": true,
        "Thursday": true,
        "Friday": true,
        "Saturday": true,
        "Sunday": true
      },
      "InternalInterval": 123,
      "InternalNumber": 123,
      "InternalPattern": 123,
      "Presentations": [
        {
          "FileName": "<string>",
          "Name": "<string>",
          "Data": "aSDinaTvuI8gbWludGxpZnk="
        }
      ],
      "IsMessage": true,
      "Weight": 123,
      "MergeMode": true
    }
  ],
  "ContentId": "<string>"
}'
This response does not have an example.

Body

application/json

Response

200 - application/octet-stream

The response is of type file.