调用DescribeCustomEventAttribute接口查询自定义事件的详情。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String DescribeCustomEventAttribute

要执行的操作,取值:DescribeCustomEventAttribute。

Name String test123

事件名称。

EventId String 123****

事件ID。

GroupId String 123****

应用分组ID。

SearchKeywords String cms

搜索事件内容包含的关键字。

  • 如果您待搜索事件的内容中包括A和B,则可以搜索A和B。
  • 如果您待搜索事件的内容中包括A或B,则可以搜索A或B。
StartTime String 1552224365971

开始时间。

格式为Unix时间戳,即从1970年1月1日开始所经过的毫秒数。

EndTime String 1552227965971

结束时间。

格式为Unix时间戳,即从1970年1月1日开始所经过的毫秒数。

PageNumber Integer 1

页码。

PageSize Integer 50

每页记录条数。

返回数据

名称 类型 示例值 描述
RequestId String 60912C8D-B340-4253-ADE7-61ACDFD25CFC

请求ID。

Success String true

操作是否成功。取值:

  • true:成功。
  • false:失败。
Code String 200

状态码。

说明 200表示成功。
CustomEvents Array of CustomEvent

事件详情。

CustomEvent
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****}

上报事件详情。

GroupId String 12345

应用分组ID。

Id String 123

事件ID。

Name String BABEL_CHECK

事件名称。

Time String 1552199984000

事件发生的时间。

格式为Unix时间戳,即从1970年1月1日开始所经过的毫秒数。

Message String userId:173651113438**** and name:"BABEL_CHECK"

返回信息。

示例

请求示例

http(s)://[Endpoint]/?Action=DescribeCustomEventAttribute
&<公共请求参数>

正常返回示例

XML 格式

<DescribeCustomEventAttributeResponse>
        <Message>userId:173651113438**** and name:"BABEL_CHECK"</Message>
        <RequestId>194A3F1D-8EA6-4922-BBF2-5F213AC7B648</RequestId>
        <CustomEvents>
                <CustomEvent>
                        <Name>BABEL_CHECK</Name>
                        <Time>1553422490000</Time>
                        <Id>E4407D77-72BA-4818-8644-39D119D7****</Id>
                        <Content>requestId:BD524A26-A3DA-4133-A863-FF56B335797E, info:{"autoPay":false,"autoUseCoupon":false,"bid":"26842","buyerId":118935342242****,"commodities":[{"aliyunProduceCode":"cms","chargeType":"PREPAY","commodityCode":"cms_edition","components":[{"componentCode":"suggest_type","instanceProperty":[{"code":"suggest_type","value":"pro"}],"moduleAttrStatus":1},{"componentCode":"pay_type","instanceProperty":[{"code":"pay_type","value":"suggest"}],"moduleAttrStatus":1}],"duration":1,"free":false,"orderParams":{"aliyunProduceCode":"cms"},"orderType":"BUY","prePayPostCharge":false,"pricingCycle":"Month","quantity":1,"refundSpecCode":"","renewChange":false,"specCode":"cms_edition","specUpdate":false,"syncToSubscription":false,"upgradeInquireFinancialValue":true}],"fromApp":"commonbuy","orderParams":{"priceCheck":"true"},"payerId":118935342242****,"requestId":"57d81d14-3c60-468e-b50a-1dfdb1594673","skipChannel":false,"userId":118935342242****}</Content>
                        <GroupId>12345</GroupId>
                </CustomEvent>
                <CustomEvent>
                        <Name>BABEL_CHECK</Name>
                        <Time>1553422498000</Time>
                        <Id>D44FAC44-EB81-470A-909D-BD963FF9****</Id>
                        <Content>requestId:14CC5306-0BAB-464F-B340-CF33AD306510, info:{"autoPay":false,"autoUseCoupon":false,"bid":"26842","buyerId":118935342242****,"commodities":[{"aliyunProduceCode":"cms","chargeType":"PREPAY","commodityCode":"cms_smspackage","components":[{"componentCode":"sms_count","instanceProperty":[{"code":"sms_count","value":"1000"}],"moduleAttrStatus":1}],"duration":6,"free":false,"orderParams":{"aliyunProduceCode":"cms"},"orderType":"BUY","prePayPostCharge":false,"pricingCycle":"Month","quantity":1,"refundSpecCode":"","renewChange":false,"specCode":"cms_smspackage","specUpdate":false,"syncToSubscription":false,"upgradeInquireFinancialValue":true}],"fromApp":"commonbuy","orderParams":{"priceCheck":"true"},"payerId":118935342242****,"requestId":"64461412-31f2-4e52-a875-43bf1410bdf0","skipChannel":false,"userId":118935342242****}</Content>
                        <GroupId>12345</GroupId>
                </CustomEvent>
                <CustomEvent>
                        <Name>BABEL_CHECK</Name>
                        <Time>1553422506000</Time>
                        <Id>3AF6FE15-4F6E-459A-96F6-45C74F765209</Id>
                        <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****}</Content>
                        <GroupId>12345</GroupId>
                </CustomEvent>
        </CustomEvents>
        <Success>true</Success>
        <Code>200</Code>
</DescribeCustomEventAttributeResponse>

JSON 格式

{
    "Message": "userId:173651113438**** and name:\"BABEL_CHECK\"",
    "RequestId": "194A3F1D-8EA6-4922-BBF2-5F213AC7B648",
    "CustomEvents": {
        "CustomEvent": [
            {
                "Name": "BABEL_CHECK",
                "Time": 1553422490000,
                "Id": "E4407D77-72BA-4818-8644-39D119D7****",
                "Content": "requestId:BD524A26-A3DA-4133-A863-FF56B335797E, info:{\"autoPay\":false,\"autoUseCoupon\":false,\"bid\":\"26842\",\"buyerId\":118935342242****,\"commodities\":[{\"aliyunProduceCode\":\"cms\",\"chargeType\":\"PREPAY\",\"commodityCode\":\"cms_edition\",\"components\":[{\"componentCode\":\"suggest_type\",\"instanceProperty\":[{\"code\":\"suggest_type\",\"value\":\"pro\"}],\"moduleAttrStatus\":1},{\"componentCode\":\"pay_type\",\"instanceProperty\":[{\"code\":\"pay_type\",\"value\":\"suggest\"}],\"moduleAttrStatus\":1}],\"duration\":1,\"free\":false,\"orderParams\":{\"aliyunProduceCode\":\"cms\"},\"orderType\":\"BUY\",\"prePayPostCharge\":false,\"pricingCycle\":\"Month\",\"quantity\":1,\"refundSpecCode\":\"\",\"renewChange\":false,\"specCode\":\"cms_edition\",\"specUpdate\":false,\"syncToSubscription\":false,\"upgradeInquireFinancialValue\":true}],\"fromApp\":\"commonbuy\",\"orderParams\":{\"priceCheck\":\"true\"},\"payerId\":118935342242****,\"requestId\":\"57d81d14-3c60-468e-b50a-1dfdb1594673\",\"skipChannel\":false,\"userId\":118935342242****}",
                "GroupId": "12345"
            },
            {
                "Name": "BABEL_CHECK",
                "Time": 1553422498000,
                "Id": "D44FAC44-EB81-470A-909D-BD963FF9****",
                "Content": "requestId:14CC5306-0BAB-464F-B340-CF33AD306510, info:{\"autoPay\":false,\"autoUseCoupon\":false,\"bid\":\"26842\",\"buyerId\":118935342242****,\"commodities\":[{\"aliyunProduceCode\":\"cms\",\"chargeType\":\"PREPAY\",\"commodityCode\":\"cms_smspackage\",\"components\":[{\"componentCode\":\"sms_count\",\"instanceProperty\":[{\"code\":\"sms_count\",\"value\":\"1000\"}],\"moduleAttrStatus\":1}],\"duration\":6,\"free\":false,\"orderParams\":{\"aliyunProduceCode\":\"cms\"},\"orderType\":\"BUY\",\"prePayPostCharge\":false,\"pricingCycle\":\"Month\",\"quantity\":1,\"refundSpecCode\":\"\",\"renewChange\":false,\"specCode\":\"cms_smspackage\",\"specUpdate\":false,\"syncToSubscription\":false,\"upgradeInquireFinancialValue\":true}],\"fromApp\":\"commonbuy\",\"orderParams\":{\"priceCheck\":\"true\"},\"payerId\":118935342242****,\"requestId\":\"64461412-31f2-4e52-a875-43bf1410bdf0\",\"skipChannel\":false,\"userId\":118935342242****}",
                "GroupId": "12345"
            },
            {
                "Name": "BABEL_CHECK",
                "Time": 1553422506000,
                "Id": "3AF6FE15-4F6E-459A-96F6-45C74F76****",
                "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****}",
                "GroupId": "12345"
            }
        ]
    },
    "Success": true,
    "Code": "200"
}

错误码

访问错误中心查看更多错误码。