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": "798e4892-19ca-43dd-8cf6-f7df55d8420c",
  "UserId": "702be96b-9724-46bc-bee6-f73c364ccd6e",
  "UpdatedTime": "2026-07-26T20:32:35.263+08:00",
  "Name": "sample string 4",
  "ChannelType": 0,
  "Summary": "sample string 5",
  "ScheduleOfMusicViewModels": [
    {
      "ScheduleOfMusicId": "aa31143e-4704-4eed-8105-d3db92933037",
      "Name": "sample string 1",
      "MusicChannelTemplatId": "b74a7c9b-c70f-4bc4-bc0e-b964dbcd1348",
      "StartTime": "sample string 3",
      "EndTime": "sample string 4",
      "PlayLevel": 5,
      "DayOfWeek": 0,
      "TotalDuration": 6.1,
      "Playlist2MusicScheduleViewModels": [
        {
          "ScheduleOfMusicId": "cf57e35f-681e-4787-a347-c130e931db17",
          "PersonalPlayListId": "019a5998-2bd4-4c7f-8409-ab8366bd0e6a",
          "Index": 3,
          "Duration": 4
        },
        {
          "ScheduleOfMusicId": "cf57e35f-681e-4787-a347-c130e931db17",
          "PersonalPlayListId": "019a5998-2bd4-4c7f-8409-ab8366bd0e6a",
          "Index": 3,
          "Duration": 4
        },
        {
          "ScheduleOfMusicId": "cf57e35f-681e-4787-a347-c130e931db17",
          "PersonalPlayListId": "019a5998-2bd4-4c7f-8409-ab8366bd0e6a",
          "Index": 3,
          "Duration": 4
        }
      ]
    },
    {
      "ScheduleOfMusicId": "aa31143e-4704-4eed-8105-d3db92933037",
      "Name": "sample string 1",
      "MusicChannelTemplatId": "b74a7c9b-c70f-4bc4-bc0e-b964dbcd1348",
      "StartTime": "sample string 3",
      "EndTime": "sample string 4",
      "PlayLevel": 5,
      "DayOfWeek": 0,
      "TotalDuration": 6.1,
      "Playlist2MusicScheduleViewModels": [
        {
          "ScheduleOfMusicId": "cf57e35f-681e-4787-a347-c130e931db17",
          "PersonalPlayListId": "019a5998-2bd4-4c7f-8409-ab8366bd0e6a",
          "Index": 3,
          "Duration": 4
        },
        {
          "ScheduleOfMusicId": "cf57e35f-681e-4787-a347-c130e931db17",
          "PersonalPlayListId": "019a5998-2bd4-4c7f-8409-ab8366bd0e6a",
          "Index": 3,
          "Duration": 4
        },
        {
          "ScheduleOfMusicId": "cf57e35f-681e-4787-a347-c130e931db17",
          "PersonalPlayListId": "019a5998-2bd4-4c7f-8409-ab8366bd0e6a",
          "Index": 3,
          "Duration": 4
        }
      ]
    },
    {
      "ScheduleOfMusicId": "aa31143e-4704-4eed-8105-d3db92933037",
      "Name": "sample string 1",
      "MusicChannelTemplatId": "b74a7c9b-c70f-4bc4-bc0e-b964dbcd1348",
      "StartTime": "sample string 3",
      "EndTime": "sample string 4",
      "PlayLevel": 5,
      "DayOfWeek": 0,
      "TotalDuration": 6.1,
      "Playlist2MusicScheduleViewModels": [
        {
          "ScheduleOfMusicId": "cf57e35f-681e-4787-a347-c130e931db17",
          "PersonalPlayListId": "019a5998-2bd4-4c7f-8409-ab8366bd0e6a",
          "Index": 3,
          "Duration": 4
        },
        {
          "ScheduleOfMusicId": "cf57e35f-681e-4787-a347-c130e931db17",
          "PersonalPlayListId": "019a5998-2bd4-4c7f-8409-ab8366bd0e6a",
          "Index": 3,
          "Duration": 4
        },
        {
          "ScheduleOfMusicId": "cf57e35f-681e-4787-a347-c130e931db17",
          "PersonalPlayListId": "019a5998-2bd4-4c7f-8409-ab8366bd0e6a",
          "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"
}