POST api/MusicChannelTemplat/AddSchedule

Request Information

Parameters

NameDescriptionAdditional information
model

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "ScheduleOfMusicId": "6012ede6-f574-4969-8c4d-1d99f61b37cf",
  "Name": "sample string 1",
  "MusicChannelTemplatId": "1966c54a-38c7-495c-ab58-e27136cadb49",
  "StartTime": "sample string 3",
  "EndTime": "sample string 4",
  "PlayLevel": 5,
  "DayOfWeek": 0,
  "TotalDuration": 6.1,
  "Playlist2MusicScheduleViewModels": [
    {
      "ScheduleOfMusicId": "9bdfb924-fa4d-418f-ba3d-ebb2a4d78518",
      "PersonalPlayListId": "3b477b1a-464e-4193-8bc1-52b6eeac9c34",
      "Index": 3,
      "Duration": 4
    },
    {
      "ScheduleOfMusicId": "9bdfb924-fa4d-418f-ba3d-ebb2a4d78518",
      "PersonalPlayListId": "3b477b1a-464e-4193-8bc1-52b6eeac9c34",
      "Index": 3,
      "Duration": 4
    },
    {
      "ScheduleOfMusicId": "9bdfb924-fa4d-418f-ba3d-ebb2a4d78518",
      "PersonalPlayListId": "3b477b1a-464e-4193-8bc1-52b6eeac9c34",
      "Index": 3,
      "Duration": 4
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Result": 1,
  "Message": "sample string 2",
  "Data": {},
  "Version": "sample string 4"
}