調用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. | 未找到指定資源。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。