この操作では、カスタムメトリックのモニタリングデータを照会します。
デバッグ
API Explorer を使用してデバッグを実行できます。 API Explorerを使用すると、API の使用を簡素化するためにさまざまな操作を実行できます。 たとえば、API の呼び出し、SDK サンプル コードの動的な生成、API の取得をすることができます。
リクエストパラメーター
パラメーター | データ型 | 必須/省略可能 | 例 | 説明 |
---|---|---|---|---|
Action | String | 必須 | DescribeCustomEventAttribute |
実行する操作。 この値を DescribeCustomEventAttribute に設定します。 |
EndTime | String | 省略可能 | 1552227965971 |
終了時刻。 |
Eventid | String | 省略可能 | 123 |
イベントの ID 。 |
GroupId | String | 省略可能 | 12345 |
アプリケーショングループの ID 。 |
Level | String | 省略可能 | WARN |
イベントのレベル。 有効値 : CRITICAL、WARN、INFO。 |
Name | String | 省略可能 | BOSS-SYNC |
イベントの名前。 |
PageNumber | Integer | 省略可能 | 1 |
ページの番号。 |
PageSize | Integer | 省略可能 | 50 |
各ページのレコード数。 |
SearchKeywords | String | 省略可能 | cms |
イベントコンテンツ内のキーワードの式。 論理演算子は AND および OR がサポートされています。
|
StartTime | String | 省略可能 | 1552224365971 |
開始時刻。 |
レスポンスパラメーター
パラメーター | データ型 | 例 | 説明 |
---|---|---|---|
Code | String | 200 |
ステータスコード。 値が 200 の場合、呼び出しが成功したことを示します。 |
CustomEvents |
イベントの詳細。 |
||
└Content | String | abc |
イベントの詳細。 |
└GroupId | String | 12345 |
アプリケーショングループの ID 。 |
└Id | String | 123 |
イベントの ID 。 |
└Name | String | My custom event |
メトリックの名前。 |
└Time | String | 1552199984000 |
イベントの発生時刻。 |
Message | String | success |
エラー メッセージ。 |
RequestId | String | 60912C8D-B340-4253-ADE7-61ACDFD25CFC |
トラブルシューティングのリクエスト ID。 |
Success | String | true |
呼び出しが成功したかを示します。 値が true の場合、呼び出しが成功したことを示します。 値が false の場合は、呼び出しが失敗したことを示します。 |
例
リクエスト例
http(s)://[Endpoint]/? Action=DescribeCustomEventAttribute
&<Common request parameters>
通常のレスポンス例
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>123456</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>36933</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>123456</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":"123456"
},
{
"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":"36933"
},
{
"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":"123456"
}
]
},
"Success":true,
"Code": "200"
}