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": "09ea4d48-74eb-4d21-ab64-f6fd8608a2c4",
  "UserId": "61301a92-c3df-41a1-a2f3-a76a3298d03d",
  "UpdatedTime": "2025-12-15T16:22:30.513+08:00",
  "Name": "sample string 4",
  "ChannelType": 0,
  "Summary": "sample string 5",
  "ScheduleOfMusicViewModels": [
    {
      "ScheduleOfMusicId": "59678e33-8939-40a0-9521-381acff708d0",
      "Name": "sample string 1",
      "MusicChannelTemplatId": "c933a963-7a10-44f6-be41-515e9421da8f",
      "StartTime": "sample string 3",
      "EndTime": "sample string 4",
      "PlayLevel": 5,
      "DayOfWeek": 0,
      "TotalDuration": 6.1,
      "Playlist2MusicScheduleViewModels": [
        {
          "ScheduleOfMusicId": "0fba8bbb-3c7f-434b-8b75-718f4df8039d",
          "PersonalPlayListId": "18162edb-9307-46b5-97b3-6fb826334112",
          "Index": 3,
          "Duration": 4
        },
        {
          "ScheduleOfMusicId": "0fba8bbb-3c7f-434b-8b75-718f4df8039d",
          "PersonalPlayListId": "18162edb-9307-46b5-97b3-6fb826334112",
          "Index": 3,
          "Duration": 4
        },
        {
          "ScheduleOfMusicId": "0fba8bbb-3c7f-434b-8b75-718f4df8039d",
          "PersonalPlayListId": "18162edb-9307-46b5-97b3-6fb826334112",
          "Index": 3,
          "Duration": 4
        }
      ]
    },
    {
      "ScheduleOfMusicId": "59678e33-8939-40a0-9521-381acff708d0",
      "Name": "sample string 1",
      "MusicChannelTemplatId": "c933a963-7a10-44f6-be41-515e9421da8f",
      "StartTime": "sample string 3",
      "EndTime": "sample string 4",
      "PlayLevel": 5,
      "DayOfWeek": 0,
      "TotalDuration": 6.1,
      "Playlist2MusicScheduleViewModels": [
        {
          "ScheduleOfMusicId": "0fba8bbb-3c7f-434b-8b75-718f4df8039d",
          "PersonalPlayListId": "18162edb-9307-46b5-97b3-6fb826334112",
          "Index": 3,
          "Duration": 4
        },
        {
          "ScheduleOfMusicId": "0fba8bbb-3c7f-434b-8b75-718f4df8039d",
          "PersonalPlayListId": "18162edb-9307-46b5-97b3-6fb826334112",
          "Index": 3,
          "Duration": 4
        },
        {
          "ScheduleOfMusicId": "0fba8bbb-3c7f-434b-8b75-718f4df8039d",
          "PersonalPlayListId": "18162edb-9307-46b5-97b3-6fb826334112",
          "Index": 3,
          "Duration": 4
        }
      ]
    },
    {
      "ScheduleOfMusicId": "59678e33-8939-40a0-9521-381acff708d0",
      "Name": "sample string 1",
      "MusicChannelTemplatId": "c933a963-7a10-44f6-be41-515e9421da8f",
      "StartTime": "sample string 3",
      "EndTime": "sample string 4",
      "PlayLevel": 5,
      "DayOfWeek": 0,
      "TotalDuration": 6.1,
      "Playlist2MusicScheduleViewModels": [
        {
          "ScheduleOfMusicId": "0fba8bbb-3c7f-434b-8b75-718f4df8039d",
          "PersonalPlayListId": "18162edb-9307-46b5-97b3-6fb826334112",
          "Index": 3,
          "Duration": 4
        },
        {
          "ScheduleOfMusicId": "0fba8bbb-3c7f-434b-8b75-718f4df8039d",
          "PersonalPlayListId": "18162edb-9307-46b5-97b3-6fb826334112",
          "Index": 3,
          "Duration": 4
        },
        {
          "ScheduleOfMusicId": "0fba8bbb-3c7f-434b-8b75-718f4df8039d",
          "PersonalPlayListId": "18162edb-9307-46b5-97b3-6fb826334112",
          "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"
}