POST api/Setting/YX/Resource/MicroApp/ActivityDetail/Add
添加一个活动详情
Request Information
URI Parameters
None.
Body Parameters
AddOrUpdateMicroAppActivityDetailParmName | Description | Type | Additional information |
---|---|---|---|
ActivityId |
活动ID |
string |
Required |
RowNum |
行号 |
integer |
Required |
ColumnCount |
列数 |
integer |
Required |
Image1 |
图片一 |
string |
None. |
Image1URL |
图片一URL |
string |
None. |
Image2 |
图片二 |
string |
None. |
Image2URL |
图片二URL |
string |
None. |
Image3 |
图片三 |
string |
None. |
Image3URL |
图片三URL |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ActivityId": "sample string 1", "RowNum": 2, "ColumnCount": 3, "Image1": "sample string 4", "Image1URL": "sample string 5", "Image2": "sample string 6", "Image2URL": "sample string 7", "Image3": "sample string 8", "Image3URL": "sample string 9" }
application/xml, text/xml
Sample:
<AddOrUpdateMicroAppActivityDetailParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm"> <ActivityId>sample string 1</ActivityId> <ColumnCount>3</ColumnCount> <Image1>sample string 4</Image1> <Image1URL>sample string 5</Image1URL> <Image2>sample string 6</Image2> <Image2URL>sample string 7</Image2URL> <Image3>sample string 8</Image3> <Image3URL>sample string 9</Image3URL> <RowNum>2</RowNum> </AddOrUpdateMicroAppActivityDetailParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
添加一个活动详情
CommonOperationResultName | Description | Type | Additional information |
---|---|---|---|
errcode |
错误代码,通常0表示成功,其他值表示错误。 |
integer |
None. |
errmsg |
错误描述,当errcode不为零时,此值可以用于呈现给用户。 |
string |
None. |
tag |
操作同时,服务器端需要返回的其他值。 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": "sample string 3" }
application/xml, text/xml
Sample:
<CommonOperationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag>sample string 3</tag> </CommonOperationResult>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.