GET Api/A/YS/MNewsAdd?MemberID={MemberID}
动态基本操作 添加会员动态
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
MemberID |
会员编号 |
globally unique identifier |
Required |
Body Parameters
会员动态实体
MNewsModelName | Description | Type | Additional information |
---|---|---|---|
ID |
编号 |
globally unique identifier |
None. |
MemberID |
会员编号 |
globally unique identifier |
None. |
CName |
标题名称 |
string |
None. |
NAuthor |
作者 |
string |
None. |
Source |
来源 |
string |
None. |
ReadCount |
阅读数量 |
integer |
None. |
Info |
简介 |
string |
None. |
Image |
大图 |
string |
None. |
Thumbnail |
缩略图 |
string |
None. |
State |
状态 |
boolean |
None. |
StateName |
状态名称 |
string |
None. |
Content |
内容 |
string |
None. |
CreateTime |
创建时间 |
date |
None. |
Imags |
图片列表 |
Collection of MNewsImagModel |
None. |
Groups |
分组列表 |
Collection of ContactsGroupInfoModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": "94615cb3-f82b-4494-ad32-05eb1603cf95", "MemberID": "f3bc48a5-6bf5-4718-a1b9-7cc4eee8e9a6", "CName": "sample string 3", "NAuthor": "sample string 4", "Source": "sample string 5", "ReadCount": 6, "Info": "sample string 7", "Image": "sample string 8", "Thumbnail": "sample string 9", "State": true, "StateName": "sample string 11", "Content": "sample string 12", "CreateTime": "2025-07-07T14:46:12.8638815+08:00", "Imags": [ { "ID": "f5142c0d-6041-42f8-9ff3-ffd87e0bf0c4", "NewsID": "4efba301-26d6-492c-98a1-8c0ae1b76152", "Image": "sample string 3", "Thumbnail": "sample string 4", "Content": "sample string 5", "CreateTime": "2025-07-07T14:46:12.8638815+08:00" }, { "ID": "f5142c0d-6041-42f8-9ff3-ffd87e0bf0c4", "NewsID": "4efba301-26d6-492c-98a1-8c0ae1b76152", "Image": "sample string 3", "Thumbnail": "sample string 4", "Content": "sample string 5", "CreateTime": "2025-07-07T14:46:12.8638815+08:00" } ], "Groups": [ { "ID": "0605955f-749b-47b5-9ad1-343ed9f0a50d", "GroupID": "514b3bdf-8dba-4e4c-8d66-28d6f70f9b35", "MemberID": "a9335f35-1ac2-4cc9-82ba-99a6434d4f6b", "Name": "sample string 4" }, { "ID": "0605955f-749b-47b5-9ad1-343ed9f0a50d", "GroupID": "514b3bdf-8dba-4e4c-8d66-28d6f70f9b35", "MemberID": "a9335f35-1ac2-4cc9-82ba-99a6434d4f6b", "Name": "sample string 4" } ] }
application/xml, text/xml
Sample:
<MNewsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LijiyTow.Liji_E.EAPI.Models.A.YS"> <CName>sample string 3</CName> <Content>sample string 12</Content> <CreateTime>2025-07-07T14:46:12.8638815+08:00</CreateTime> <Groups> <ContactsGroupInfoModel> <GroupID>514b3bdf-8dba-4e4c-8d66-28d6f70f9b35</GroupID> <ID>0605955f-749b-47b5-9ad1-343ed9f0a50d</ID> <MemberID>a9335f35-1ac2-4cc9-82ba-99a6434d4f6b</MemberID> <Name>sample string 4</Name> </ContactsGroupInfoModel> <ContactsGroupInfoModel> <GroupID>514b3bdf-8dba-4e4c-8d66-28d6f70f9b35</GroupID> <ID>0605955f-749b-47b5-9ad1-343ed9f0a50d</ID> <MemberID>a9335f35-1ac2-4cc9-82ba-99a6434d4f6b</MemberID> <Name>sample string 4</Name> </ContactsGroupInfoModel> </Groups> <ID>94615cb3-f82b-4494-ad32-05eb1603cf95</ID> <Image>sample string 8</Image> <Imags> <MNewsImagModel> <Content>sample string 5</Content> <CreateTime>2025-07-07T14:46:12.8638815+08:00</CreateTime> <ID>f5142c0d-6041-42f8-9ff3-ffd87e0bf0c4</ID> <Image>sample string 3</Image> <NewsID>4efba301-26d6-492c-98a1-8c0ae1b76152</NewsID> <Thumbnail>sample string 4</Thumbnail> </MNewsImagModel> <MNewsImagModel> <Content>sample string 5</Content> <CreateTime>2025-07-07T14:46:12.8638815+08:00</CreateTime> <ID>f5142c0d-6041-42f8-9ff3-ffd87e0bf0c4</ID> <Image>sample string 3</Image> <NewsID>4efba301-26d6-492c-98a1-8c0ae1b76152</NewsID> <Thumbnail>sample string 4</Thumbnail> </MNewsImagModel> </Imags> <Info>sample string 7</Info> <MemberID>f3bc48a5-6bf5-4718-a1b9-7cc4eee8e9a6</MemberID> <NAuthor>sample string 4</NAuthor> <ReadCount>6</ReadCount> <Source>sample string 5</Source> <State>true</State> <StateName>sample string 11</StateName> <Thumbnail>sample string 9</Thumbnail> </MNewsModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.