You need to enable JavaScript to run this app.
导航
首页id数据统计 - getPortalEntityCnt
最近更新时间:2024.12.06 13:08:25首次发布时间:2024.07.12 14:50:48

请求说明

  • 请求方式:GET
  • 接口名称:getPortalEntityCnt
  • 请求地址:https://console.volcengine.com/cdp/open_platform/openapi

请求参数

参数

类型

是否必选

示例值

描述

Authorization

String

HMAC-SHA256 Credential=BDPP2952f97532xxxxxx/20240716/cn/openPlatform/request, SignedHeaders=host;x-content-sha256;x-date, Signature=131f3d297eb22a7xxxxxx

详细介绍请查阅调用方式文档

X-Tenant

String

1

项目ID

Query

参数

类型

是否必选

示例值

描述

ApiAction

String

getPortalEntityCnt

固定值,对应“请求说明”中的“接口名称”

ApiVersion

String

2024-05-22

固定值,版本号: 2024-05-22

Body


返回参数

参数

类型

示例值

描述

msg

String

接口返回信息

code

Number

状态码,0表示正常

data

Object

接口返回数据体

traceId

String

跟踪id

data字段内容

参数

类型

示例值

描述

idTypes

Array

子id数量

date

String

日期

totalCount

Integer

当日数量

increaseCount

Integer

新增数量

decreaseCount

Integer

减少数量

calculateTime

String

计算时间

请求示例


返回示例

{
    "code": 0,
    "msg": "success",
    "data": [
        {
            "idTypes": [
                {
                    "idType": "baseid",
                    "idTypeName": "主体1的基准ID",
                    "count": 5123,
                    "increaseCount": 0,
                    "decreaseCount": 0
                },
                {
                    "idType": "uid",
                    "idTypeName": "uid",
                    "count": 5123,
                    "increaseCount": 0,
                    "decreaseCount": 0
                },
                {
                    "idType": "device_id",
                    "idTypeName": "device_id",
                    "count": 5161,
                    "increaseCount": 0,
                    "decreaseCount": 0
                },
                {
                    "idType": "web_id",
                    "idTypeName": "web_id",
                    "count": 5160,
                    "increaseCount": 0,
                    "decreaseCount": 0
                },
                {
                    "idType": "phone_id",
                    "idTypeName": "phone_id",
                    "count": 5123,
                    "increaseCount": 0,
                    "decreaseCount": 0
                },
                {
                    "idType": "app_id+open_id",
                    "idTypeName": "app_id+open_id",
                    "count": 5161,
                    "increaseCount": 0,
                    "decreaseCount": 0
                },
                {
                    "idType": "IMEI_MD5",
                    "idTypeName": "IMEI手机序列号(MD5加密)",
                    "count": 0,
                    "increaseCount": 0,
                    "decreaseCount": 0
                },
                {
                    "idType": "MD5_BASE64",
                    "idTypeName": "MD5_BASE64",
                    "count": 5125,
                    "increaseCount": 0,
                    "decreaseCount": 0
                },
                {
                    "idType": "SHA256_BASE64",
                    "idTypeName": "SHA256_BASE64",
                    "count": 5125,
                    "increaseCount": 0,
                    "decreaseCount": 0
                },
                {
                    "idType": "ECB128_BASE64",
                    "idTypeName": "ECB128_BASE64",
                    "count": 5125,
                    "increaseCount": 0,
                    "decreaseCount": 0
                },
                {
                    "idType": "CBC_128BASE64",
                    "idTypeName": "CBC_128BASE64",
                    "count": 5125,
                    "increaseCount": 0,
                    "decreaseCount": 0
                },
                {
                    "idType": "CFB_128BASE64",
                    "idTypeName": "CFB_128BASE64",
                    "count": 5125,
                    "increaseCount": 0,
                    "decreaseCount": 0
                },
                {
                    "idType": "DES_BASE64",
                    "idTypeName": "DES_BASE64",
                    "count": 5125,
                    "increaseCount": 0,
                    "decreaseCount": 0
                },
                {
                    "idType": "DES_HEX",
                    "idTypeName": "DES_HEX",
                    "count": 5125,
                    "increaseCount": 0,
                    "decreaseCount": 0
                },
                {
                    "idType": "phone_sah256",
                    "idTypeName": "phone_sah256",
                    "count": 12062,
                    "increaseCount": 0,
                    "decreaseCount": 0
                }
            ],
            "date": "2024-11-19",
            "totalCount": 5123,
            "increaseCount": 0,
            "decreaseCount": 0,
            "calculateTime": "2024-11-20T20:00:29.000+08:00"
        }
     ]
}

错误码

下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。

HTTP 状态码

错误码

错误信息

说明

400

invalidParameter

PARAMETER INVALID

参数非法,检查入参。