GetEvent
描述
获取活动详情
请求参数
参数名 | 类型 | 是否必须 | 说明 |
---|---|---|---|
Action | String | 是 | GetEvent |
StoreName | String | 是 | PhotoStore的名称 |
EventId | Long | 是 | 活动 Id |
LibraryId | String | 否 | 照片库标识。采用AK认证时必选,采用STS认证时可选。了解不同认证方式的区别。 |
请求示例
https://cloudphoto.cn-shanghai.aliyuncs.com/?Action=GetEvent
&StoreName=cloudphoto-demo
&EventId=889641528908869632
&LibraryId=yunqi2017
&<公共请求参数>
返回参数
参数名 | 类型 | 说明 |
---|---|---|
RequestId | String | RequestId |
Code | String | 状态码,正常状态为”Success”,其他为错误状态 |
Message | Integer | 状态描述 |
Action | String | GetEvent |
Event | Event | 活动对象 |
Event
参数名 | 类型 | 说明 |
---|---|---|
Id | Long | 活动 id |
IdStr | String | 活动 id |
Title | String | 标题 |
Identity | String | H5地址标识 |
StartAt | String | 开始时间 |
EndAt | String | 结束时间 |
Remark | String | 备注 |
WeixinTitle | String | 微信传播标题 |
SplashPhotoId | String | splash 图片id |
BannerPhotoId | String | banner 图片id |
Ctime | Long | 创建时间 |
Mtime | Long | 修改时间 |
State | String | 状态 |
LibraryId | String | 照片库标识 |
返回示例
JSON格式
{
"Action": "GetEvent",
"RequestId": "51dd159d-89cc-469d-beb7-fe14b592c485",
"Message": "success",
"Event": {
"BannerPhotoId": "",
"Ctime": 1516002729220,
"EndAt": 1515998968,
"Id": 889641528908869632,
"Identity": "yunqi2017",
"Mtime": 1516098507994,
"SplashPhotoId": "",
"StartAt": 1515998967,
"State": "active",
"Title": "1516098507955",
"ViewsCount": 0,
"WeixinTitle": "",
"LibraryId": "yunqi2017",
"IdStr": "890377720210178048"
},
"Code": "Success"
}
XML格式
<GetEventResponse>
<Action>GetEvent</Action>
<Message>success</Message>
<Event>
<IdStr>908868274127699968</IdStr>
<WeixinTitle />
<LibraryId>yunqi2017</LibraryId>
<ViewsCount>0</ViewsCount>
<EndAt>1520587742</EndAt>
<StartAt>1520586742</StartAt>
<Title>1520586742487</Title>
<BannerPhotoId />
<Mtime>1520586743006</Mtime>
<State>active</State>
<Identity>yunqi2017</Identity>
<SplashPhotoId />
<Id>908868274127699968</Id>
<Ctime>1520586743006</Ctime>
</Event>
<RequestId>D0115B0D-2F3E-4388-847B-A5D66BDEFA7A</RequestId>
<Code>Success</Code>
</GetEventResponse>
版权声明
本文仅代表作者观点,不代表本站立场。
本文系作者授权发表,未经许可,不得转载。
评论