POST api/MusicChannelTemplat/Add

Request Information

Parameters

NameDescriptionAdditional information
model

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "MusicChannelTemplatId": "0cccfd50-97a3-4a14-8134-ffb98e70ca28",
  "UserId": "3b5225c9-01ef-4417-9657-86b22301eb90",
  "UpdatedTime": "2026-03-12T15:38:17.731+08:00",
  "Name": "sample string 4",
  "ChannelType": 0,
  "Summary": "sample string 5",
  "ScheduleOfMusicViewModels": [
    {
      "ScheduleOfMusicId": "53ad2fb0-7aec-42e5-af66-410f55790216",
      "Name": "sample string 1",
      "MusicChannelTemplatId": "3ea5a76a-106f-459b-88a7-e196575a4482",
      "StartTime": "sample string 3",
      "EndTime": "sample string 4",
      "PlayLevel": 5,
      "DayOfWeek": 0,
      "TotalDuration": 6.1,
      "Playlist2MusicScheduleViewModels": [
        {
          "ScheduleOfMusicId": "83733b1e-096f-4b71-b50e-2afe0a73f45c",
          "PersonalPlayListId": "385e3bb9-0613-470d-bbe7-5c83b2dc3620",
          "Index": 3,
          "Duration": 4
        },
        {
          "ScheduleOfMusicId": "83733b1e-096f-4b71-b50e-2afe0a73f45c",
          "PersonalPlayListId": "385e3bb9-0613-470d-bbe7-5c83b2dc3620",
          "Index": 3,
          "Duration": 4
        },
        {
          "ScheduleOfMusicId": "83733b1e-096f-4b71-b50e-2afe0a73f45c",
          "PersonalPlayListId": "385e3bb9-0613-470d-bbe7-5c83b2dc3620",
          "Index": 3,
          "Duration": 4
        }
      ]
    },
    {
      "ScheduleOfMusicId": "53ad2fb0-7aec-42e5-af66-410f55790216",
      "Name": "sample string 1",
      "MusicChannelTemplatId": "3ea5a76a-106f-459b-88a7-e196575a4482",
      "StartTime": "sample string 3",
      "EndTime": "sample string 4",
      "PlayLevel": 5,
      "DayOfWeek": 0,
      "TotalDuration": 6.1,
      "Playlist2MusicScheduleViewModels": [
        {
          "ScheduleOfMusicId": "83733b1e-096f-4b71-b50e-2afe0a73f45c",
          "PersonalPlayListId": "385e3bb9-0613-470d-bbe7-5c83b2dc3620",
          "Index": 3,
          "Duration": 4
        },
        {
          "ScheduleOfMusicId": "83733b1e-096f-4b71-b50e-2afe0a73f45c",
          "PersonalPlayListId": "385e3bb9-0613-470d-bbe7-5c83b2dc3620",
          "Index": 3,
          "Duration": 4
        },
        {
          "ScheduleOfMusicId": "83733b1e-096f-4b71-b50e-2afe0a73f45c",
          "PersonalPlayListId": "385e3bb9-0613-470d-bbe7-5c83b2dc3620",
          "Index": 3,
          "Duration": 4
        }
      ]
    },
    {
      "ScheduleOfMusicId": "53ad2fb0-7aec-42e5-af66-410f55790216",
      "Name": "sample string 1",
      "MusicChannelTemplatId": "3ea5a76a-106f-459b-88a7-e196575a4482",
      "StartTime": "sample string 3",
      "EndTime": "sample string 4",
      "PlayLevel": 5,
      "DayOfWeek": 0,
      "TotalDuration": 6.1,
      "Playlist2MusicScheduleViewModels": [
        {
          "ScheduleOfMusicId": "83733b1e-096f-4b71-b50e-2afe0a73f45c",
          "PersonalPlayListId": "385e3bb9-0613-470d-bbe7-5c83b2dc3620",
          "Index": 3,
          "Duration": 4
        },
        {
          "ScheduleOfMusicId": "83733b1e-096f-4b71-b50e-2afe0a73f45c",
          "PersonalPlayListId": "385e3bb9-0613-470d-bbe7-5c83b2dc3620",
          "Index": 3,
          "Duration": 4
        },
        {
          "ScheduleOfMusicId": "83733b1e-096f-4b71-b50e-2afe0a73f45c",
          "PersonalPlayListId": "385e3bb9-0613-470d-bbe7-5c83b2dc3620",
          "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"
}