接口名
QueryUserAlarmThreshold
描述
查询账号信控预警阈值。
请求参数
| 名称 | 类型 | 是否必填 | 描述 |
|---|---|---|---|
| Uid | Long | 是 | 虚商客户的阿里云账号uid |
| Bid | String | 是 | 用户归属bid: 轻量级虚商客户:26842; BID虚商客户:所属bid |
| AlarmType | String | 是 | 预警类型 |
| AlarmThresholds | String | 否 | 查询时,此参数无用 |
返回参数
| 名称 | 类型 | 描述 |
|---|---|---|
| ThresholdAmount | String | 阈值数值情况,阈值 |
| Numerator | Integer | 阈值百分比情况下,分子 |
| Denominator | Integer | 阈值百分比情况下,分母 |
| ThresholdType | Integer | 阈值类型0为数值,1位百分比 |
错误码
| 错误代码 | 描述 | HTTP状态代码 | 语义 |
|---|---|---|---|
| Missing_Must_Parameter | missing the must parameter xx ! | -101 | 输入参数校验未通过 |
| Database_Inner_Error | Database inner error xx! | -310 | 数据库操作发生内部异常 |
请求示例
&Action=QueryUserAlarmThreshold
&Uid=22227
&Bid=22222
&AlarmType=quato_userup_policy返回示例
{
Code:200,
RequestId: "22222",
Message: "successful",
Success:true,
Count:1
"Datas": {
"Data": [
{
"ThresholdAmount": "1",
"Numerator": "89",
"Denominator": "100 ",
"ThresholdType": “1”
}
]
}
}数据字典
| commodity_code | 中文名称 |
|---|---|
| can_use_quota_not_enough_policy | Quota低额预警 |
| quato_userup_policy | Quota用尽预警 |
| month_consum_too_big_policy | 月消费高额预警 |
| creditpay_low_balance_policy | 可用信用付低余额预警 |
| creditpay_userup_policy | 可用信用付低超额预警 |
| creditpay_month_consump_high_warn_policy | 信用付用户月消费高额预警 |
| credit_userup | 可用信用度用尽预警 |
| intl_credit_user_month_high_warn_policy | 国际信控用户月度高额消费预警策略 |
| intl_user_low_balance_warn_policy | 国际信控用户余额低额预警策略 |
| warn_virtual_policy | 国内站信控用户余额低额预警策略 |
| internal_user_month_high_warn_policy | 国内站信控用户月度高额消费预警策略 |