GET Api/A/YS/MNewsEdit?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": "08d5dc8b-1dd7-4145-a201-a007db0f45a5", "MemberID": "569eb929-f55e-48ef-9367-c25c3028def4", "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-04-18T17:19:01.4414153+08:00", "Imags": [ { "ID": "db901012-6878-4b5c-aff0-895f4492c88d", "NewsID": "8cd88a35-e66b-4c66-bb52-ac1ee4d60d90", "Image": "sample string 3", "Thumbnail": "sample string 4", "Content": "sample string 5", "CreateTime": "2025-04-18T17:19:01.4414153+08:00" }, { "ID": "db901012-6878-4b5c-aff0-895f4492c88d", "NewsID": "8cd88a35-e66b-4c66-bb52-ac1ee4d60d90", "Image": "sample string 3", "Thumbnail": "sample string 4", "Content": "sample string 5", "CreateTime": "2025-04-18T17:19:01.4414153+08:00" } ], "Groups": [ { "ID": "0b8c4a51-6913-432f-b3c6-a0a7e21eb516", "GroupID": "83574828-c561-40fc-b913-d553fbad8d3d", "MemberID": "27833627-3f71-41af-9c1e-53442785ddf0", "Name": "sample string 4" }, { "ID": "0b8c4a51-6913-432f-b3c6-a0a7e21eb516", "GroupID": "83574828-c561-40fc-b913-d553fbad8d3d", "MemberID": "27833627-3f71-41af-9c1e-53442785ddf0", "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-04-18T17:19:01.4414153+08:00</CreateTime> <Groups> <ContactsGroupInfoModel> <GroupID>83574828-c561-40fc-b913-d553fbad8d3d</GroupID> <ID>0b8c4a51-6913-432f-b3c6-a0a7e21eb516</ID> <MemberID>27833627-3f71-41af-9c1e-53442785ddf0</MemberID> <Name>sample string 4</Name> </ContactsGroupInfoModel> <ContactsGroupInfoModel> <GroupID>83574828-c561-40fc-b913-d553fbad8d3d</GroupID> <ID>0b8c4a51-6913-432f-b3c6-a0a7e21eb516</ID> <MemberID>27833627-3f71-41af-9c1e-53442785ddf0</MemberID> <Name>sample string 4</Name> </ContactsGroupInfoModel> </Groups> <ID>08d5dc8b-1dd7-4145-a201-a007db0f45a5</ID> <Image>sample string 8</Image> <Imags> <MNewsImagModel> <Content>sample string 5</Content> <CreateTime>2025-04-18T17:19:01.4414153+08:00</CreateTime> <ID>db901012-6878-4b5c-aff0-895f4492c88d</ID> <Image>sample string 3</Image> <NewsID>8cd88a35-e66b-4c66-bb52-ac1ee4d60d90</NewsID> <Thumbnail>sample string 4</Thumbnail> </MNewsImagModel> <MNewsImagModel> <Content>sample string 5</Content> <CreateTime>2025-04-18T17:19:01.4414153+08:00</CreateTime> <ID>db901012-6878-4b5c-aff0-895f4492c88d</ID> <Image>sample string 3</Image> <NewsID>8cd88a35-e66b-4c66-bb52-ac1ee4d60d90</NewsID> <Thumbnail>sample string 4</Thumbnail> </MNewsImagModel> </Imags> <Info>sample string 7</Info> <MemberID>569eb929-f55e-48ef-9367-c25c3028def4</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.