参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Authorization | String | 是 | HMAC-SHA256 Credential=BDPP2952f97532xxxxxx/20240716/cn/openPlatform/request, SignedHeaders=host;x-content-sha256;x-date, Signature=131f3d297eb22a7xxxxxx | 详细介绍请查阅调用方式文档 |
X-Tenant | Int | 是 | 1 | 项目ID |
X-Env | String | 否 | 多环境下需指定环境信息,默认“dev” |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
ApiAction | String | 是 | GetInsightReportById | 固定值,对应“请求说明”中的“接口名称” |
ApiVersion | String | 是 | 2023-02-10 | 固定值,版本号: 2023-02-10 |
reportId | Integer | 是 | 报告ID | |
singleValue | Boolean | 否 | True | 标签概览中的标签统计维度: |
insightSortObj | String | 否 | Full | 控制对照人群差异概览结果的排序方式,可选 |
sortType | String | 否 | Tag | 控制对照人群差异概览结果的排序方式,可选 |
pDate | String | 否 | 2024-05-12 | 报告日期, |
无
data数组元素字段内容
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
reportId | Integer | 报告Id | |
reportName | String | 报告名称 | |
subjectId | Integer | 主体Id | |
desc | String | 描述信息 | |
creator | String | 创建者 | |
isMine | Boolean | 是否是当前用户创建的:true,只看由我创建的报告 | |
isPublic | Boolean | 是否是其他洞察报告 | |
createdAt | String | 创建时间 | |
updatedAt | String | 更新时间 | |
segInfo | Array[Object] | 人群包基础信息 | |
graphs | Array[Object] | 图表信息 | |
summaryResult | Object | 总结描述 | |
isBooked | Boolean | 是否加入收藏 | |
insightDomainId | Integer | 报告分组id | |
insightDomainName | String | 报告分组名 | |
onSchedule | Boolean | 是否开启定时更新 | |
scheduleTime | String | 定时计算时间格式 HH:MM | |
latestRunTime | Datetime | 此次结果的运行时间 |
segInfo数组元素字段内容
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
segName | String | ||
segCount | Integer | ||
coverCount | Integer | ||
coverage | Double |
graphs数组元素字段内容
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
graphName | String | ||
graphType | String |
summaryResult字段内容
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
summary | Array[Object] | segName | 标签总结信息,分群中各标签 标签人数 * TGI 最大的10个标签值 |
tagOutline | Array[Object] | tagId | 标签概览,默认取标签占比最大的前50个标签值的信息 |
segCountResults | Array[Object] | null | 多人群覆盖率,无对照人群时此项为null |
{ "reportId": 1 }
{ "code": 0, "msg": "success", "data": { "reportId": 113, "reportName": "子账户按天", "subjectId": 1, "desc": "", "creator": "zj_中文", "isMine": false, "isPublic": false, "createdAt": "2024-06-12 15:21:04", "updatedAt": "2024-08-20 03:57:24", "segInfo": [ { "segName": "分群1", "segCount": 138 } ], "graphs": [ { "graphName": "gender", "graphType": "CustomAnalysis", "graphData": [ { "insightTagName": "gender", "insightSegmentation": "分群1", "insightTagValue": "男", "insightTagCoverage": 0.5, "insightFull": 69, "insightFullTgi": 100, "insightEffectiveCoverage": 0.5, "insightTagTgi": 100, "insightCustomTgi": 100 }, { "insightTagName": "gender", "insightSegmentation": "分群1", "insightTagValue": "女", "insightTagCoverage": 0.5, "insightFull": 69, "insightFullTgi": 100, "insightEffectiveCoverage": 0.5, "insightTagTgi": 100, "insightCustomTgi": 100 } ] }, { "graphName": "gender", "graphType": "CustomAnalysis", "graphData": [ { "insightTagName": "gender", "insightSegmentation": "分群1", "insightTagValue": "男", "insightTagCoverage": 0.5, "insightFull": 69, "insightFullTgi": 100, "insightEffectiveCoverage": 0.5, "insightTagTgi": 100, "insightCustomTgi": 100 }, { "insightTagName": "gender", "insightSegmentation": "分群1", "insightTagValue": "女", "insightTagCoverage": 0.5, "insightFull": 69, "insightFullTgi": 100, "insightEffectiveCoverage": 0.5, "insightTagTgi": 100, "insightCustomTgi": 100 } ] }, { "graphName": "xiaoshu", "graphType": "CustomAnalysis", "graphData": [ { "insightTagName": "xiaoshu", "insightSegmentation": "分群1", "insightTagValue": "[0.62,1.26)", "insightTagCoverage": 0.9927536231884058, "insightFull": 137, "insightFullTgi": 100, "insightEffectiveCoverage": 0.9927536231884058, "insightTagTgi": 100, "insightCustomTgi": 100 }, { "insightTagName": "xiaoshu", "insightSegmentation": "分群1", "insightTagValue": "[-0.66,-0.02)", "insightTagCoverage": 0.007246376811594203, "insightFull": 1, "insightFullTgi": 100, "insightEffectiveCoverage": 0.007246376811594203, "insightTagTgi": 100, "insightCustomTgi": 100 }, { "insightTagName": "xiaoshu", "insightSegmentation": "分群1", "insightTagValue": "[-1.30,-0.66)", "insightTagCoverage": 0.0, "insightFull": 0, "insightFullTgi": 0, "insightEffectiveCoverage": 0.0, "insightTagTgi": 0, "insightCustomTgi": 0 }, { "insightTagName": "xiaoshu", "insightSegmentation": "分群1", "insightTagValue": "[-0.02,0.62)", "insightTagCoverage": 0.0, "insightFull": 0, "insightFullTgi": 0, "insightEffectiveCoverage": 0.0, "insightTagTgi": 0, "insightCustomTgi": 0 }, { "insightTagName": "xiaoshu", "insightSegmentation": "分群1", "insightTagValue": "[1.26,1.90)", "insightTagCoverage": 0.0, "insightFull": 0, "insightFullTgi": 0, "insightEffectiveCoverage": 0.0, "insightTagTgi": 0, "insightCustomTgi": 0 }, { "insightTagName": "xiaoshu", "insightSegmentation": "分群1", "insightTagValue": "[1.90,2.54)", "insightTagCoverage": 0.0, "insightFull": 0, "insightFullTgi": 0, "insightEffectiveCoverage": 0.0, "insightTagTgi": 0, "insightCustomTgi": 0 }, { "insightTagName": "xiaoshu", "insightSegmentation": "分群1", "insightTagValue": "[2.54,3.18)", "insightTagCoverage": 0.0, "insightFull": 0, "insightFullTgi": 0, "insightEffectiveCoverage": 0.0, "insightTagTgi": 0, "insightCustomTgi": 0 }, { "insightTagName": "xiaoshu", "insightSegmentation": "分群1", "insightTagValue": "[3.18,3.82)", "insightTagCoverage": 0.0, "insightFull": 0, "insightFullTgi": 0, "insightEffectiveCoverage": 0.0, "insightTagTgi": 0, "insightCustomTgi": 0 }, { "insightTagName": "xiaoshu", "insightSegmentation": "分群1", "insightTagValue": "[3.82,4.46)", "insightTagCoverage": 0.0, "insightFull": 0, "insightFullTgi": 0, "insightEffectiveCoverage": 0.0, "insightTagTgi": 0, "insightCustomTgi": 0 }, { "insightTagName": "xiaoshu", "insightSegmentation": "分群1", "insightTagValue": "[4.46,5.10]", "insightTagCoverage": 0.0, "insightFull": 0, "insightFullTgi": 0, "insightEffectiveCoverage": 0.0, "insightTagTgi": 0, "insightCustomTgi": 0 } ] }, { "graphName": "recent_city", "graphType": "CustomAnalysis", "graphData": [ { "insightTagName": "recent_city", "insightSegmentation": "分群1", "insightTagValue": "北京", "insightTagCoverage": 1.0, "insightFull": 138, "insightFullTgi": 100, "insightEffectiveCoverage": 1.0, "insightTagTgi": 100, "insightCustomTgi": 100 }, { "insightTagName": "recent_city", "insightSegmentation": "分群1", "insightTagValue": "厦门", "insightTagCoverage": 0.0, "insightFull": 0, "insightFullTgi": 0, "insightEffectiveCoverage": 0.0, "insightTagTgi": 0, "insightCustomTgi": 0 }, { "insightTagName": "recent_city", "insightSegmentation": "分群1", "insightTagValue": "上海", "insightTagCoverage": 0.0, "insightFull": 0, "insightFullTgi": 0, "insightEffectiveCoverage": 0.0, "insightTagTgi": 0, "insightCustomTgi": 0 } ] } ], "summaryResult": { "summary": null, "tagOutline": null, "segCountResults": null }, "isBooked": false, "insightDomainId": 7, "insightDomainName": "默认分组", "onSchedule": true, "scheduleTime": "01:00", "latestRunTime": "2024-08-28 01:29:12" } }
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
HTTP 状态码 | 错误码 | 错误信息 | 说明 |
---|---|---|---|
400 | invalidParameter | PARAMETER INVALID | 参数非法,检查入参。 |