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": "f64b7dcd-c53c-4b39-85d9-76390c7548f6", "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": "cfab7f37-a4cd-43ff-abe6-5d054a21017a", "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": "fd756d8c-f0e8-440c-b70e-29dec4be4e35", "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": "59ac80b7-629a-422f-b4d5-32f43a255bb1", "Name": "sample string 2", "CoverImageUrl": "sample string 3", "SortNum": 4, "IsMine": 5, "SubCategorys": [ {}, {}, {} ], "ParentTagCategoryId": "224742db-9e89-40a1-9f8d-0c9e23b75065" }, { "CategoryId": "59ac80b7-629a-422f-b4d5-32f43a255bb1", "Name": "sample string 2", "CoverImageUrl": "sample string 3", "SortNum": 4, "IsMine": 5, "SubCategorys": [ {}, {}, {} ], "ParentTagCategoryId": "224742db-9e89-40a1-9f8d-0c9e23b75065" }, { "CategoryId": "59ac80b7-629a-422f-b4d5-32f43a255bb1", "Name": "sample string 2", "CoverImageUrl": "sample string 3", "SortNum": 4, "IsMine": 5, "SubCategorys": [ {}, {}, {} ], "ParentTagCategoryId": "224742db-9e89-40a1-9f8d-0c9e23b75065" } ], "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": "f64b7dcd-c53c-4b39-85d9-76390c7548f6", "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": "cfab7f37-a4cd-43ff-abe6-5d054a21017a", "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": "f7f7ace8-eb8b-43c8-950b-ff497eb62abe", "Spell": "sample string 29", "IsFragment": true, "ScheduleOfStationId": "81f80328-d320-41b2-bf9b-ea95c08be2c6" }, "Station": { "StationId": "e74da456-3450-48bb-a6bc-95842266ddc9", "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": "fd756d8c-f0e8-440c-b70e-29dec4be4e35", "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": "59ac80b7-629a-422f-b4d5-32f43a255bb1", "Name": "sample string 2", "CoverImageUrl": "sample string 3", "SortNum": 4, "IsMine": 5, "SubCategorys": [ {}, {}, {} ], "ParentTagCategoryId": "224742db-9e89-40a1-9f8d-0c9e23b75065" }, { "CategoryId": "59ac80b7-629a-422f-b4d5-32f43a255bb1", "Name": "sample string 2", "CoverImageUrl": "sample string 3", "SortNum": 4, "IsMine": 5, "SubCategorys": [ {}, {}, {} ], "ParentTagCategoryId": "224742db-9e89-40a1-9f8d-0c9e23b75065" }, { "CategoryId": "59ac80b7-629a-422f-b4d5-32f43a255bb1", "Name": "sample string 2", "CoverImageUrl": "sample string 3", "SortNum": 4, "IsMine": 5, "SubCategorys": [ {}, {}, {} ], "ParentTagCategoryId": "224742db-9e89-40a1-9f8d-0c9e23b75065" } ], "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": "f64b7dcd-c53c-4b39-85d9-76390c7548f6", "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": "cfab7f37-a4cd-43ff-abe6-5d054a21017a", "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": "f7f7ace8-eb8b-43c8-950b-ff497eb62abe", "Spell": "sample string 29", "IsFragment": true, "ScheduleOfStationId": "81f80328-d320-41b2-bf9b-ea95c08be2c6" }, "ComingFolder": { "Intro": "sample string 1", "FolderId": "fd756d8c-f0e8-440c-b70e-29dec4be4e35", "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": "59ac80b7-629a-422f-b4d5-32f43a255bb1", "Name": "sample string 2", "CoverImageUrl": "sample string 3", "SortNum": 4, "IsMine": 5, "SubCategorys": [ {}, {}, {} ], "ParentTagCategoryId": "224742db-9e89-40a1-9f8d-0c9e23b75065" }, { "CategoryId": "59ac80b7-629a-422f-b4d5-32f43a255bb1", "Name": "sample string 2", "CoverImageUrl": "sample string 3", "SortNum": 4, "IsMine": 5, "SubCategorys": [ {}, {}, {} ], "ParentTagCategoryId": "224742db-9e89-40a1-9f8d-0c9e23b75065" }, { "CategoryId": "59ac80b7-629a-422f-b4d5-32f43a255bb1", "Name": "sample string 2", "CoverImageUrl": "sample string 3", "SortNum": 4, "IsMine": 5, "SubCategorys": [ {}, {}, {} ], "ParentTagCategoryId": "224742db-9e89-40a1-9f8d-0c9e23b75065" } ], "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": "f64b7dcd-c53c-4b39-85d9-76390c7548f6", "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": "cfab7f37-a4cd-43ff-abe6-5d054a21017a", "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": "f7f7ace8-eb8b-43c8-950b-ff497eb62abe", "Spell": "sample string 29", "IsFragment": true, "ScheduleOfStationId": "81f80328-d320-41b2-bf9b-ea95c08be2c6" }, "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": "e5ea5fe5-2bee-41fa-9cb0-dc4507d9f558", "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": "792bcb26-535c-404b-8e30-99741f2aa2e7", "Title": "sample string 2", "Score": 3 }, { "VoteItemId": "792bcb26-535c-404b-8e30-99741f2aa2e7", "Title": "sample string 2", "Score": 3 }, { "VoteItemId": "792bcb26-535c-404b-8e30-99741f2aa2e7", "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" }