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": "75b6be2a-75b1-4e78-88c9-169b7aac8c46",
  "UserId": "1ed9d097-8c00-448f-8057-816bdfe3da57",
  "UpdatedTime": "2025-06-15T08:25:26.333+08:00",
  "Name": "sample string 4",
  "ChannelType": 0,
  "Summary": "sample string 5",
  "ScheduleOfMusicViewModels": [
    {
      "ScheduleOfMusicId": "9d3635e2-368b-4f85-82fd-cde3721b07b0",
      "Name": "sample string 1",
      "MusicChannelTemplatId": "062a8529-0d56-4291-a92d-8e315680601e",
      "StartTime": "sample string 3",
      "EndTime": "sample string 4",
      "PlayLevel": 5,
      "DayOfWeek": 0,
      "TotalDuration": 6.1,
      "Playlist2MusicScheduleViewModels": [
        {
          "ScheduleOfMusicId": "00c38bb4-a275-4330-b03d-4fb04948c82f",
          "PersonalPlayListId": "7a131d07-285b-4d31-b48a-b752a29750c7",
          "Index": 3,
          "Duration": 4
        },
        {
          "ScheduleOfMusicId": "00c38bb4-a275-4330-b03d-4fb04948c82f",
          "PersonalPlayListId": "7a131d07-285b-4d31-b48a-b752a29750c7",
          "Index": 3,
          "Duration": 4
        },
        {
          "ScheduleOfMusicId": "00c38bb4-a275-4330-b03d-4fb04948c82f",
          "PersonalPlayListId": "7a131d07-285b-4d31-b48a-b752a29750c7",
          "Index": 3,
          "Duration": 4
        }
      ]
    },
    {
      "ScheduleOfMusicId": "9d3635e2-368b-4f85-82fd-cde3721b07b0",
      "Name": "sample string 1",
      "MusicChannelTemplatId": "062a8529-0d56-4291-a92d-8e315680601e",
      "StartTime": "sample string 3",
      "EndTime": "sample string 4",
      "PlayLevel": 5,
      "DayOfWeek": 0,
      "TotalDuration": 6.1,
      "Playlist2MusicScheduleViewModels": [
        {
          "ScheduleOfMusicId": "00c38bb4-a275-4330-b03d-4fb04948c82f",
          "PersonalPlayListId": "7a131d07-285b-4d31-b48a-b752a29750c7",
          "Index": 3,
          "Duration": 4
        },
        {
          "ScheduleOfMusicId": "00c38bb4-a275-4330-b03d-4fb04948c82f",
          "PersonalPlayListId": "7a131d07-285b-4d31-b48a-b752a29750c7",
          "Index": 3,
          "Duration": 4
        },
        {
          "ScheduleOfMusicId": "00c38bb4-a275-4330-b03d-4fb04948c82f",
          "PersonalPlayListId": "7a131d07-285b-4d31-b48a-b752a29750c7",
          "Index": 3,
          "Duration": 4
        }
      ]
    },
    {
      "ScheduleOfMusicId": "9d3635e2-368b-4f85-82fd-cde3721b07b0",
      "Name": "sample string 1",
      "MusicChannelTemplatId": "062a8529-0d56-4291-a92d-8e315680601e",
      "StartTime": "sample string 3",
      "EndTime": "sample string 4",
      "PlayLevel": 5,
      "DayOfWeek": 0,
      "TotalDuration": 6.1,
      "Playlist2MusicScheduleViewModels": [
        {
          "ScheduleOfMusicId": "00c38bb4-a275-4330-b03d-4fb04948c82f",
          "PersonalPlayListId": "7a131d07-285b-4d31-b48a-b752a29750c7",
          "Index": 3,
          "Duration": 4
        },
        {
          "ScheduleOfMusicId": "00c38bb4-a275-4330-b03d-4fb04948c82f",
          "PersonalPlayListId": "7a131d07-285b-4d31-b48a-b752a29750c7",
          "Index": 3,
          "Duration": 4
        },
        {
          "ScheduleOfMusicId": "00c38bb4-a275-4330-b03d-4fb04948c82f",
          "PersonalPlayListId": "7a131d07-285b-4d31-b48a-b752a29750c7",
          "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"
}