调用DescribeCustomEventAttribute接口查询自定义事件的详情。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
cms:DescribeCustomEventAttribute |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| Name |
string |
否 |
事件名称。 |
test123 |
| EventId |
string |
否 |
事件 ID。 |
123**** |
| GroupId |
string |
否 |
应用分组 ID。 |
123**** |
| SearchKeywords |
string |
否 |
搜索事件内容包含的关键字。
|
cms |
| StartTime |
string |
否 |
开始时间。 格式为 Unix 时间戳,即从 1970 年 1 月 1 日开始所经过的毫秒数。 |
1552224365971 |
| EndTime |
string |
否 |
结束时间。 格式为 Unix 时间戳,即从 1970 年 1 月 1 日开始所经过的毫秒数。 |
1552227965971 |
| PageNumber |
integer |
否 |
页码。 |
1 |
| PageSize |
integer |
否 |
每页记录条数。 |
50 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| Code |
string |
状态码。 说明
200 表示成功。 |
200 |
| Message |
string |
返回信息。 |
userId:173651113438**** and name:"BABEL_CHECK" |
| RequestId |
string |
请求 ID。 |
60912C8D-B340-4253-ADE7-61ACDFD25CFC |
| Success |
string |
操作是否成功。取值:
|
true |
| CustomEvents |
object |
||
| CustomEvent |
array<object> |
事件详情。 |
|
|
object |
|||
| Time |
string |
事件发生的时间。 格式为 Unix 时间戳,即从 1970 年 1 月 1 日开始所经过的毫秒数。 |
1552199984000 |
| Name |
string |
事件名称。 |
BABEL_CHECK |
| GroupId |
string |
应用分组 ID。 |
12345 |
| Content |
string |
上报事件详情。 |
requestId:4975A6F3-19AC-4C01-BAD2-034DA07FEBB5, info:{"autoPay":false,"autoUseCoupon":false,"bid":"26842","buyerId":118935342242****,"commodities":[{"aliyunProduceCode":"cms","chargeType":"PREPAY","commodityCode":"cms_call_num","components":[{"componentCode":"phone_count","instanceProperty":[{"code":"phone_count","value":"500"}],"moduleAttrStatus":1}],"duration":6,"free":false,"orderParams":{"aliyunProduceCode":"cms"},"orderType":"BUY","prePayPostCharge":false,"pricingCycle":"Month","quantity":1,"refundSpecCode":"","renewChange":false,"specCode":"cms_call_num","specUpdate":false,"syncToSubscription":false,"upgradeInquireFinancialValue":true}],"fromApp":"commonbuy","orderParams":{"priceCheck":"true"},"payerId":118935342242****,"requestId":"ade3ad32-f58b-45d7-add4-ac542be3d8ec","skipChannel":false,"userId":118935342242****} |
| Id |
string |
事件 ID。 |
123 |
示例
正常返回示例
JSON格式
{
"Code": "200",
"Message": "userId:173651113438**** and name:\"BABEL_CHECK\"",
"RequestId": "60912C8D-B340-4253-ADE7-61ACDFD25CFC",
"Success": "true",
"CustomEvents": {
"CustomEvent": [
{
"Time": "1552199984000",
"Name": "BABEL_CHECK",
"GroupId": "12345",
"Content": "requestId:4975A6F3-19AC-4C01-BAD2-034DA07FEBB5, info:{\"autoPay\":false,\"autoUseCoupon\":false,\"bid\":\"26842\",\"buyerId\":118935342242****,\"commodities\":[{\"aliyunProduceCode\":\"cms\",\"chargeType\":\"PREPAY\",\"commodityCode\":\"cms_call_num\",\"components\":[{\"componentCode\":\"phone_count\",\"instanceProperty\":[{\"code\":\"phone_count\",\"value\":\"500\"}],\"moduleAttrStatus\":1}],\"duration\":6,\"free\":false,\"orderParams\":{\"aliyunProduceCode\":\"cms\"},\"orderType\":\"BUY\",\"prePayPostCharge\":false,\"pricingCycle\":\"Month\",\"quantity\":1,\"refundSpecCode\":\"\",\"renewChange\":false,\"specCode\":\"cms_call_num\",\"specUpdate\":false,\"syncToSubscription\":false,\"upgradeInquireFinancialValue\":true}],\"fromApp\":\"commonbuy\",\"orderParams\":{\"priceCheck\":\"true\"},\"payerId\":118935342242****,\"requestId\":\"ade3ad32-f58b-45d7-add4-ac542be3d8ec\",\"skipChannel\":false,\"userId\":118935342242****}",
"Id": "123"
}
]
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | ParameterInvalid | Illegal parameters. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | AccessForbidden | User not authorized to operate on the specified resource. | |
| 404 | ResourceNotFound | The specified resource is not found. | 未找到指定资源。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。