POST api/Message/add
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| message |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"IsTop": true,
"User": {
"UserId": "25e0cf5a-6010-41c3-ae73-c018af6454af",
"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": "b67edae8-0ee0-4c91-8a5c-e5101b7dde5c",
"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"
},
"Folder": {
"Intro": "sample string 1",
"FolderId": "b3896bea-36e4-4167-b7dc-361f06dc6ce7",
"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": "108ad576-0ef5-401e-b487-e2acb137bb13",
"Name": "sample string 2",
"CoverImageUrl": "sample string 3",
"SortNum": 4,
"IsMine": 5,
"SubCategorys": [
{},
{},
{}
],
"ParentTagCategoryId": "632835d6-b8f3-467b-b965-d49c4f70dae9"
},
{
"CategoryId": "108ad576-0ef5-401e-b487-e2acb137bb13",
"Name": "sample string 2",
"CoverImageUrl": "sample string 3",
"SortNum": 4,
"IsMine": 5,
"SubCategorys": [
{},
{},
{}
],
"ParentTagCategoryId": "632835d6-b8f3-467b-b965-d49c4f70dae9"
},
{
"CategoryId": "108ad576-0ef5-401e-b487-e2acb137bb13",
"Name": "sample string 2",
"CoverImageUrl": "sample string 3",
"SortNum": 4,
"IsMine": 5,
"SubCategorys": [
{},
{},
{}
],
"ParentTagCategoryId": "632835d6-b8f3-467b-b965-d49c4f70dae9"
}
],
"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": "25e0cf5a-6010-41c3-ae73-c018af6454af",
"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": "b67edae8-0ee0-4c91-8a5c-e5101b7dde5c",
"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": "0fddf76d-01ed-4866-84ce-4f0f8a9461d7",
"Spell": "sample string 29",
"IsFragment": true,
"ScheduleOfStationId": "32bb411e-83c1-4126-a9cb-498371c92dfc"
},
"Station": {
"StationId": "e82d65bd-6098-4177-b712-3bf5a07f0b88",
"StationType": 0,
"Name": "sample string 2",
"CoverImage": "sample string 3",
"NumberOfPlay": 4,
"NumberOfSubscriber": 5,
"Streams": [
{
"Type": 0,
"Address": "sample string 1"
},
{
"Type": 0,
"Address": "sample string 1"
},
{
"Type": 0,
"Address": "sample string 1"
}
],
"Intro": "sample string 6",
"CreateTime": 7,
"IsSubscribed": 8,
"Spell": "sample string 9",
"HzName": "sample string 10",
"LiveFolder": {
"Intro": "sample string 1",
"FolderId": "b3896bea-36e4-4167-b7dc-361f06dc6ce7",
"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": "108ad576-0ef5-401e-b487-e2acb137bb13",
"Name": "sample string 2",
"CoverImageUrl": "sample string 3",
"SortNum": 4,
"IsMine": 5,
"SubCategorys": [
{},
{},
{}
],
"ParentTagCategoryId": "632835d6-b8f3-467b-b965-d49c4f70dae9"
},
{
"CategoryId": "108ad576-0ef5-401e-b487-e2acb137bb13",
"Name": "sample string 2",
"CoverImageUrl": "sample string 3",
"SortNum": 4,
"IsMine": 5,
"SubCategorys": [
{},
{},
{}
],
"ParentTagCategoryId": "632835d6-b8f3-467b-b965-d49c4f70dae9"
},
{
"CategoryId": "108ad576-0ef5-401e-b487-e2acb137bb13",
"Name": "sample string 2",
"CoverImageUrl": "sample string 3",
"SortNum": 4,
"IsMine": 5,
"SubCategorys": [
{},
{},
{}
],
"ParentTagCategoryId": "632835d6-b8f3-467b-b965-d49c4f70dae9"
}
],
"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": "25e0cf5a-6010-41c3-ae73-c018af6454af",
"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": "b67edae8-0ee0-4c91-8a5c-e5101b7dde5c",
"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": "0fddf76d-01ed-4866-84ce-4f0f8a9461d7",
"Spell": "sample string 29",
"IsFragment": true,
"ScheduleOfStationId": "32bb411e-83c1-4126-a9cb-498371c92dfc"
},
"ComingFolder": {
"Intro": "sample string 1",
"FolderId": "b3896bea-36e4-4167-b7dc-361f06dc6ce7",
"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": "108ad576-0ef5-401e-b487-e2acb137bb13",
"Name": "sample string 2",
"CoverImageUrl": "sample string 3",
"SortNum": 4,
"IsMine": 5,
"SubCategorys": [
{},
{},
{}
],
"ParentTagCategoryId": "632835d6-b8f3-467b-b965-d49c4f70dae9"
},
{
"CategoryId": "108ad576-0ef5-401e-b487-e2acb137bb13",
"Name": "sample string 2",
"CoverImageUrl": "sample string 3",
"SortNum": 4,
"IsMine": 5,
"SubCategorys": [
{},
{},
{}
],
"ParentTagCategoryId": "632835d6-b8f3-467b-b965-d49c4f70dae9"
},
{
"CategoryId": "108ad576-0ef5-401e-b487-e2acb137bb13",
"Name": "sample string 2",
"CoverImageUrl": "sample string 3",
"SortNum": 4,
"IsMine": 5,
"SubCategorys": [
{},
{},
{}
],
"ParentTagCategoryId": "632835d6-b8f3-467b-b965-d49c4f70dae9"
}
],
"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": "25e0cf5a-6010-41c3-ae73-c018af6454af",
"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": "b67edae8-0ee0-4c91-8a5c-e5101b7dde5c",
"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": "0fddf76d-01ed-4866-84ce-4f0f8a9461d7",
"Spell": "sample string 29",
"IsFragment": true,
"ScheduleOfStationId": "32bb411e-83c1-4126-a9cb-498371c92dfc"
},
"SmallImagePath": "sample string 11",
"LargeImagePath": "sample string 12",
"MiddleImagePath": "sample string 13",
"NumberOfLike": 14,
"HasFollowMessage": true,
"IsRecommend": true,
"IsCommon": true,
"OSSImagePath": "sample string 18",
"QrImage": "sample string 19"
},
"MessageId": "896bdcd5-b469-45e2-b7de-04964e5f1216",
"Title": "sample string 3",
"Content": "sample string 4",
"Images": [
"sample string 1",
"sample string 2",
"sample string 3"
],
"LinkUrl": "sample string 5",
"NumberOfComment": 6,
"NumberOfLike": 7,
"IsLiked": 8,
"SourceType": 0,
"WeiboUrl": "sample string 9",
"Source": "sample string 10",
"CreateTime": 11,
"SendTime": 12,
"EndTime": 13,
"Status": 14,
"Type": 0,
"VoteItems": [
{
"VoteItemId": "29491f83-1069-42dd-bd58-80b1606f8e6d",
"Title": "sample string 2",
"Score": 3
},
{
"VoteItemId": "29491f83-1069-42dd-bd58-80b1606f8e6d",
"Title": "sample string 2",
"Score": 3
},
{
"VoteItemId": "29491f83-1069-42dd-bd58-80b1606f8e6d",
"Title": "sample string 2",
"Score": 3
}
],
"Mid": "sample string 15",
"IsMultiChoice": 16,
"Target": {}
}
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"
}