POST api/SoundFile/AddSoundFile
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| soundFile |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"Title": "sample string 1",
"Intro": "sample string 2",
"CoverImage": "sample string 3",
"IndexInFolder": 4,
"LowBitRateFileSize": 5,
"HighBitRateFileSize": 6,
"UpdateTime": 7,
"NumberOfPlay": 8,
"NumberOfRepost": 9,
"NumberOfComment": 10,
"NumberOfLike": 11,
"NumberOfShare": 12,
"IsLiked": 13,
"Duration": 14,
"CreateTime": 15,
"Folder": {
"Intro": "sample string 1",
"FolderId": "dec00f29-9f27-4588-b97e-5a5d2317bd13",
"IsProvider": 3,
"Name": "sample string 4",
"CoverImage": "sample string 5",
"ContentType": 0,
"SmallImagePath": "sample string 6",
"LargeImagePath": "sample string 7",
"MiddleImagePath": "sample string 8",
"StartTime": "sample string 9",
"Categorys": [
{
"CategoryId": "ffefda49-2483-439f-b568-a045241158d4",
"Name": "sample string 2",
"CoverImageUrl": "sample string 3",
"SortNum": 4,
"IsMine": 5,
"SubCategorys": [
{},
{},
{}
],
"ParentTagCategoryId": "6e3c3cc9-a9e7-4e25-8b62-adc8881a6eaf"
},
{
"CategoryId": "ffefda49-2483-439f-b568-a045241158d4",
"Name": "sample string 2",
"CoverImageUrl": "sample string 3",
"SortNum": 4,
"IsMine": 5,
"SubCategorys": [
{},
{},
{}
],
"ParentTagCategoryId": "6e3c3cc9-a9e7-4e25-8b62-adc8881a6eaf"
},
{
"CategoryId": "ffefda49-2483-439f-b568-a045241158d4",
"Name": "sample string 2",
"CoverImageUrl": "sample string 3",
"SortNum": 4,
"IsMine": 5,
"SubCategorys": [
{},
{},
{}
],
"ParentTagCategoryId": "6e3c3cc9-a9e7-4e25-8b62-adc8881a6eaf"
}
],
"NumberOfSubscriber": 10,
"NumberOfSoundFile": 11,
"EndTime": "sample string 12",
"OfflineNumber": 13,
"NumberOfLike": 14,
"UpdateTime": 15,
"NumberOfShare": 16,
"OSSImagePath": "sample string 17",
"NumberOfComment": 18,
"NumberOfMessage": 19,
"QrImage": "sample string 20",
"StudioRoomId": "sample string 21",
"IMGroupId": "sample string 22",
"IMBigGroupId": "sample string 23",
"StarLevel": 24,
"FolderCategoryOrderWeight": 25.1,
"NumberOfMan": 26,
"IsPublic": 27,
"Summary": "sample string 28",
"User": {
"UserId": "06991c53-7eee-4c22-8b7a-dfef6f2e50e1",
"Nick": "sample string 2",
"HeaderUrl": "sample string 3",
"CoverUrl": "sample string 4",
"Brief": "sample string 5",
"Gender": 0,
"Birthday": "sample string 6",
"IsVerified": 7,
"SourceType": 0,
"NumberOfFan": 8,
"NumberOfAttention": 9,
"IsAttentioned": 10,
"UserGroupId": "868d9484-242f-42a5-af22-1635aadacd1c",
"SmallImagePath": "sample string 12",
"LargeImagePath": "sample string 13",
"MiddleImagePath": "sample string 14",
"IsBindMobile": 15,
"HasPassword": 16,
"MobilePhone": "sample string 17",
"Email": "sample string 18",
"OSSImagePath": "sample string 19",
"QrImage": "sample string 20",
"BirthdayTime": 21,
"IsFriend": true,
"MZStudioUserId": "sample string 23",
"MZChatUserId": "sample string 24",
"NumberOfSubscribeFolder": 25,
"NumberOfSubscribeStation": 26,
"UserType": 1,
"IsNewUser": true,
"Province": "sample string 28",
"City": "sample string 29"
},
"StationId": "71052afb-c491-4626-9e8f-6f7afd788d16",
"Spell": "sample string 29",
"IsFragment": true,
"ScheduleOfStationId": "705c50ce-d3da-4e3b-82d2-8b08d83f8919"
},
"SmallImagePath": "sample string 16",
"LargeImagePath": "sample string 17",
"MiddleImagePath": "sample string 18",
"OSSImagePath": "sample string 19",
"ContentType": 0,
"QrImage": "sample string 20",
"FolderId": "a4b14c6f-e393-4c8b-a298-7faa2878c659",
"FolderName": "sample string 22",
"UserId": "dcdc2ffc-4fd1-4a50-9b03-f4e05f6935bb",
"IsDownLoad": 24,
"Content": "sample string 25",
"RecordPath": "sample string 26",
"Source": 0,
"WorkStatus": 27,
"TaskId": "e61317f3-948c-41fc-aaf0-79f5aa6ccf8b",
"FileType": 28,
"DeviceName": "sample string 29",
"SoundFileId": "a2a08444-b4b3-454d-856c-2a50616f643a",
"LowBitRateFileUrl": "sample string 31",
"HighBitRateFileUrl": "sample string 32",
"RichmediaSlideOfSoundFileModels": [
{
"RichediaGuid": "8df7f6ff-4333-4f50-9abf-85d273f42ccf",
"SoundFileId": "19369da3-675e-492d-aad9-a6d4f50b790b",
"RichmediaSlideOfSoundFileId": "9c036360-187f-41c5-9380-48e4ec3fa115",
"RichmediaType": 0,
"RichmediaTitle": "sample string 4",
"RichmediaText": "sample string 5",
"ThumbUrl": "sample string 6",
"TimeOffset": 7,
"HighBitRateFile": "sample string 8",
"ImageWidth": 9,
"ImageHeight": 10,
"Duration": 11,
"FileSize": 12,
"Version": "sample string 13",
"RichVersion": "sample string 14",
"IsAvailable": true
},
{
"RichediaGuid": "8df7f6ff-4333-4f50-9abf-85d273f42ccf",
"SoundFileId": "19369da3-675e-492d-aad9-a6d4f50b790b",
"RichmediaSlideOfSoundFileId": "9c036360-187f-41c5-9380-48e4ec3fa115",
"RichmediaType": 0,
"RichmediaTitle": "sample string 4",
"RichmediaText": "sample string 5",
"ThumbUrl": "sample string 6",
"TimeOffset": 7,
"HighBitRateFile": "sample string 8",
"ImageWidth": 9,
"ImageHeight": 10,
"Duration": 11,
"FileSize": 12,
"Version": "sample string 13",
"RichVersion": "sample string 14",
"IsAvailable": true
},
{
"RichediaGuid": "8df7f6ff-4333-4f50-9abf-85d273f42ccf",
"SoundFileId": "19369da3-675e-492d-aad9-a6d4f50b790b",
"RichmediaSlideOfSoundFileId": "9c036360-187f-41c5-9380-48e4ec3fa115",
"RichmediaType": 0,
"RichmediaTitle": "sample string 4",
"RichmediaText": "sample string 5",
"ThumbUrl": "sample string 6",
"TimeOffset": 7,
"HighBitRateFile": "sample string 8",
"ImageWidth": 9,
"ImageHeight": 10,
"Duration": 11,
"FileSize": 12,
"Version": "sample string 13",
"RichVersion": "sample string 14",
"IsAvailable": true
}
],
"PublishTime": "2025-12-13T09:16:26.287+08:00"
}
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"
}