全部产品
云市场
云游戏

QuerySingleReport

更新时间:2019-10-15 14:10:02

QuerySingleReport

描述

单表维度分析查询(类型可能会增加)

方法

GET

URI

/openapi/instances/{instanceId}/sync-reports/single-report

请求参数:

key 类型 说明 备注
reportType String 单表报告类型 必填
typeItemValidScene
typeItemTag
typeItemTagScene
typeItemWeightScene
typeItemRawScene
typeItemExpireScene

返回参数

参数 类型 描述
RequestId String 当前请求的RequestID
Result Map 查询结果

请求示例

  1. GET /openapi/instances/airec-cn-xxxxx/sync-reports/single-report?reportType=xxx

返回示例

  • reportType = typeItemValidScene

    1. {
    2. "RequestId": "16B78383-2803-4964-9605-37B30C073B0E",
    3. "Result": [
    4. {
    5. "ItemScene": "1_0:1",
    6. "ItemValidCount": 1
    7. },
    8. {
    9. "ItemScene": "1_0:0",
    10. "ItemValidCount": 2
    11. }
    12. ]
    13. }
  • reportType = typeItemTag

    1. {
    2. "RequestId": "16B78383-2803-4964-9605-37B30C073B0E",
    3. "Result": [
    4. {
    5. "ItemTagRate": 0.6914764284749426,
    6. "ItemTag": "没有优惠券",
    7. "ItemTagCount": 5119
    8. },
    9. {
    10. "ItemTagRate": 0.00013508037282182898,
    11. "ItemTag": "4",
    12. "ItemTagCount": 1
    13. },
    14. {
    15. "ItemTagRate": 0.3083884911522356,
    16. "ItemTag": "有优惠券",
    17. "ItemTagCount": 2283
    18. }
    19. ]
    20. }
  • reportType = typeItemTagScene

    1. {
    2. "RequestId": "16B78383-2803-4964-9605-37B30C073B0E",
    3. "Result": [
    4. {
    5. "ItemTag": "没有优惠券",
    6. "ItemScene": "9_0:1",
    7. "ItemTagCount": 46
    8. },
    9. {
    10. "ItemTag": "没有优惠券",
    11. "ItemScene": "1_0:0",
    12. "ItemTagCount": 1
    13. }
    14. ]
    15. }
  • reportType = typeItemWeightScene

    1. {
    2. "RequestId": "16B78383-2803-4964-9605-37B30C073B0E",
    3. "Result": [
    4. {
    5. "ItemValidWeightRate": 0,
    6. "ItemValidNoWeightRate": 0,
    7. "ItemScene": "2_0:0",
    8. "ItemValidWeightCount": 0,
    9. "ItemValidNoWeightCount": 1,
    10. "ItemValidCount": 1
    11. },
    12. {
    13. "ItemValidWeightRate": 0,
    14. "ItemValidNoWeightRate": 0,
    15. "ItemScene": "7_0:1",
    16. "ItemValidWeightCount": 0,
    17. "ItemValidNoWeightCount": 3,
    18. "ItemValidCount": 3
    19. }
    20. ]
    21. }
  • reportType = typeItemRawScene

    1. {
    2. "RequestId": "16B78383-2803-4964-9605-37B30C073B0E",
    3. "Result": [
    4. {
    5. "ItemValidRawCount": 0,
    6. "ItemValidNoRawCount": 332,
    7. "ItemValidRawRate": 0,
    8. "ItemValidNoRawRate": 0,
    9. "ItemScene": "9_0:0",
    10. "ItemValidCount": 332
    11. },
    12. {
    13. "ItemValidRawCount": 0,
    14. "ItemValidNoRawCount": 3,
    15. "ItemValidRawRate": 0,
    16. "ItemValidNoRawRate": 0,
    17. "ItemScene": "7_0:1",
    18. "ItemValidCount": 3
    19. }
    20. ]
    21. }
  • reportType = typeItemExpireScene

    1. {
    2. "RequestId": "16B78383-2803-4964-9605-37B30C073B0E",
    3. "Result": [
    4. {
    5. "ItemValidExpireRate": 0,
    6. "ItemValidNoExpireRate": 0,
    7. "ItemScene": "2_0:0",
    8. "ItemValidExpireCount": 1,
    9. "ItemValidNoExpireCount": 0,
    10. "ItemValidCount": 1
    11. },
    12. {
    13. "ItemValidExpireRate": 0,
    14. "ItemValidNoExpireRate": 0,
    15. "ItemScene": "1_0:0",
    16. "ItemValidExpireCount": 1,
    17. "ItemValidNoExpireCount": 0,
    18. "ItemValidCount": 1
    19. }
    20. ]
    21. }