diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/linkcard | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/zh_cn/linkcard')
| -rw-r--r-- | data/zh_cn/linkcard/2021-05-20/api-docs.php | 9014 |
1 files changed, 3134 insertions, 5880 deletions
diff --git a/data/zh_cn/linkcard/2021-05-20/api-docs.php b/data/zh_cn/linkcard/2021-05-20/api-docs.php index 35dfab3..8278543 100644 --- a/data/zh_cn/linkcard/2021-05-20/api-docs.php +++ b/data/zh_cn/linkcard/2021-05-20/api-docs.php @@ -1,76 +1,33 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Linkcard', - 'version' => '2021-05-20', - ], + 'info' => ['style' => 'RPC', 'product' => 'Linkcard', 'version' => '2021-05-20'], 'directories' => [ [ - 'id' => 124178, - 'title' => '卡', + 'children' => ['Renew', 'StopSingleCard', 'ResumeSingleCard', 'RebindResumeSingleCard', 'ForceActivation', 'SetCardStopRule', 'UpdateAutoRechargeSwitch', 'GetCredentialPoolStatistics', 'GetCardFlowInfo', 'GetCardDetail', 'ListCardInfo', 'ListOrder'], 'type' => 'directory', - 'children' => [ - 'Renew', - 'StopSingleCard', - 'ResumeSingleCard', - 'RebindResumeSingleCard', - 'ForceActivation', - 'SetCardStopRule', - 'UpdateAutoRechargeSwitch', - 'GetCredentialPoolStatistics', - 'GetCardFlowInfo', - 'GetCardDetail', - 'ListCardInfo', - 'ListOrder', - ], + 'title' => '卡', + 'id' => 329710, ], [ - 'id' => 170671, - 'title' => '定向服务', + 'children' => ['AddDirectionalCard', 'AddDirectionalGroup', 'BatchAddDirectionalAddress', 'ListDirectionalAddress', 'ListDirectionalDetail', 'VerifyIotCard'], 'type' => 'directory', - 'children' => [ - 'AddDirectionalCard', - 'AddDirectionalGroup', - 'BatchAddDirectionalAddress', - 'ListDirectionalAddress', - 'ListDirectionalDetail', - 'VerifyIotCard', - ], + 'title' => '定向服务', + 'id' => 329723, ], [ - 'id' => 361620, - 'title' => '其他', + 'children' => ['AddTagsToCard', 'GetSimCardStateDistribution', 'AddDirectionalAddress', 'DeleteDirectionalAddress', 'DeleteDirectionalGroup', 'GetCardStatusStatistics', 'GetCardRealStatus', 'GetCardLatestFlow', 'AddCardToDirectionalGroup', 'GetRealNameStatus', 'SendMessage'], 'type' => 'directory', - 'children' => [ - 'AddTagsToCard', - 'GetSimCardStateDistribution', - 'AddDirectionalAddress', - 'DeleteDirectionalAddress', - 'DeleteDirectionalGroup', - 'GetCardStatusStatistics', - 'GetCardRealStatus', - 'GetCardLatestFlow', - 'AddCardToDirectionalGroup', - 'GetRealNameStatus', - 'SendMessage', - ], + 'title' => '其他', + 'id' => 329849, ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'Renew' => [ - 'summary' => '卡的套餐续订和叠加包订购,仅适用于单卡套餐和同档位池套餐(统付池套餐请通过控制台进行扩池和购功能费)。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AddCardToDirectionalGroup' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], @@ -78,155 +35,82 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => [], 'parameters' => [ [ - 'name' => 'ApiProduct', - 'in' => 'formData', - 'schema' => [ - 'description' => '接口Code。', - 'type' => 'string', - 'required' => false, - 'example' => 'linkcard', - ], - ], - [ - 'name' => 'ApiRevision', - 'in' => 'formData', - 'schema' => [ - 'description' => '接口版本。', - 'type' => 'string', - 'required' => false, - 'example' => '2021-05-20', - ], - ], - [ - 'name' => 'Iccid', + 'name' => 'IccidList', 'in' => 'query', - 'allowEmptyValue' => false, + 'style' => 'json', 'schema' => [ - 'description' => '物联网卡的ICCID。'."\n" - ."\n" - .'您可在物联网卡上查看ICCID,或者在物联网SIM服务控制台的卡管理页面,查看ICCID。', - 'type' => 'string', + 'description' => '卡号的iccid集合,数量小于等于200', + 'type' => 'array', + 'items' => ['description' => 'ICCID。', 'type' => 'string', 'required' => true, 'example' => '1111****6225'], 'required' => true, - 'docRequired' => true, - 'example' => '89860321******15668', + 'maxItems' => 200, ], ], [ - 'name' => 'RechargeType', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'description' => '充值类型。'."\n" - ."\n" - .'- STANDARD:续订套餐。'."\n" - ."\n" - .'- OVERLAY :订购叠加包。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'STANDARD', - ], + 'schema' => ['description' => '分组ID。', 'type' => 'string', 'required' => true, 'example' => '10000002595'], ], [ 'name' => 'SerialNo', 'in' => 'query', - 'schema' => [ - 'description' => '自定义的订单编号,编号需唯一且保持幂等性。'."\n" - ."\n" - .'如果您的充值,涉及自有平台的订单管理,如给下游客户充值等,您可填入自有平台已生成的外部订单编号,该接口调用成功后,会生成一个订单编号(OrderNo)。该参数可以方便您将生成的订单编号与外部订单号关联起来。如果非此场景,你可填入任意正整数,例如0。'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '12345678', - ], + 'schema' => ['description' => '请求编号,支持幂等。', 'type' => 'string', 'required' => true, 'example' => '123123'], ], [ - 'name' => 'OfferCode', + 'name' => 'AddType', 'in' => 'query', - 'schema' => [ - 'description' => '充值类型为订购叠加包时需填写。'."\n" - ."\n" - .'具体Code请咨询技术对接人员。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'COM***0203', - ], + 'schema' => ['description' => '添加的方式:'."\n" + ."\n" + .'NEW:仅导入其中待分组的卡'."\n" + ."\n" + .'TRANSFER:全量导入(卡从原分组中删除)', 'type' => 'string', 'required' => true, 'example' => 'NEW'], ], [ - 'name' => 'BuyNum', + 'name' => 'MsgNotify', 'in' => 'query', - 'schema' => [ - 'description' => '订购份数。根据物联网卡本身的套餐类型选择订购份数。'."\n" - .'- 续订月套餐:支持1、2、3、6、9、12。'."\n" - ."\n" - .'- 续订年套餐:支持1、2、3。'."\n" - ."\n" - .'- 订购叠加包:支持1、2、3。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '12', - ], + 'schema' => ['description' => '执行成功后是否通过MQ推送,默认false: '."\n" + ."\n" + .'false:不推送 '."\n" + ."\n" + .'true: 推送', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'ApiProduct', + 'in' => 'formData', + 'schema' => ['description' => 'Linkcard', 'type' => 'string', 'required' => false, 'example' => 'Linkcard'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'title' => 'AddCardToDirectionalGroupResponse', + 'description' => 'AddCardToDirectionalGroupResponse', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'- **200**:表示成功。'."\n" - .'- 其它:表示错误码。错误码详情,请参见[错误码](~~375339~~)。', - 'type' => 'string', - 'example' => '200', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => '系统异常', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'Success' => ['title' => '必填', 'description' => '是否调用成功。'."\n" + ."\n" + .'true:调用成功。 false:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'200:调用成功。'."\n" + ."\n" + .'其他:调用失败。错误码详情,请参见错误码。', 'type' => 'string', 'example' => '200'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], 'Data' => [ - 'description' => '返回的订单编号数据。', + 'description' => '请求结果。', 'type' => 'object', 'properties' => [ - 'OrderNo' => [ - 'description' => '接口调用成功后生成的订单编号。', - 'type' => 'string', - 'example' => '21450******0275', - ], - 'SerialNo' => [ - 'description' => '自定义的订单编号(SerialNo)。', - 'type' => 'string', - 'example' => '12345678', - ], + 'Result' => ['description' => '执行是否成功。'."\n" + ."\n" + .'true:添加成功。'."\n" + ."\n" + .'false:添加失败。', 'type' => 'boolean', 'example' => 'true'], + 'SerialNo' => ['description' => '请求编号,幂等序列号', 'type' => 'string', 'example' => '123213'], ], ], ], @@ -235,495 +119,342 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'linkcard.system.IllegalRequest', - 'errorMessage' => 'The request parameter is invalid.', - ], - [ - 'errorCode' => 'linkcard.common.CardDestroy', - 'errorMessage' => 'The card do not exist or destroy.', - ], + ['errorCode' => 'IllegalParameter', 'errorMessage' => 'The request parameter %s is invalid.', 'description' => ''], + ['errorCode' => 'linkcard.system.IllegalRequest', 'errorMessage' => 'The request parameter is invalid.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny ', - 'errorMessage' => 'You do not have the RAM permission. ', - ], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => ''], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => ''], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny ', 'errorMessage' => 'You do not have the RAM permission. ', 'description' => ''], ], 500 => [ - [ - 'errorCode' => '%s..', - 'errorMessage' => '%s..', - ], - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => ''], + ['errorCode' => '%s..', 'errorMessage' => '%s..', 'description' => ''], + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"系统异常\\",\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"OrderNo\\": \\"21450******0275\\",\\n \\"SerialNo\\": \\"12345678\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RenewResponse>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Code>200</Code>\\n <Success>true</Success>\\n <Data>\\n <OrderNo>21450******0275</OrderNo>\\n <SerialNo>12345678</SerialNo>\\n </Data>\\n</RenewResponse>","errorExample":""}]', - 'title' => '充值', - 'description' => '## 使用限制'."\n" - ."\n" - .'单个阿里云账号调用该接口的每秒请求数(QPS)最大限制为20。'."\n" - ."\n" - .'> RAM用户共享阿里云账号配额。', - 'requestParamsDescription' => '调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~375336~~)。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Data\\": {\\n \\"Result\\": true,\\n \\"SerialNo\\": \\"123213\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<AddCardToDirectionalGroupResponse>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n <Data>\\n <Result>true</Result>\\n <SerialNo>123213</SerialNo>\\n </Data>\\n</AddCardToDirectionalGroupResponse>","errorExample":""}]', + 'title' => '定向分组添加卡片', + 'summary' => '定向分组添加卡片。', + 'changeSet' => [], ], - 'StopSingleCard' => [ - 'summary' => '将状态为“使用中”的单卡进行自主停用。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AddDirectionalAddress' => [ + 'summary' => '定向分组新增目标地址。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => [], 'parameters' => [ [ - 'name' => 'Iccid', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'description' => '物联网卡的ICCID。'."\n" - ."\n" - .'您可在物联网卡上查看ICCID,或者在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/?spm=a2c4g.11186623.0.0.6a072d25p4pUg8)的卡管理页面,查看ICCID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '89860321******15668', - ], + 'schema' => ['description' => '分组ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '10000002595'], ], [ - 'name' => 'OptMsisdns', + 'name' => 'Source', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => '是否对子卡进行操作,填入子卡的MSISDN。'."\n" - ."\n" - .'- 普通单网卡无需传入此参数。'."\n" - .'- 虚拟运营商:'."\n" - .' - 如果传入该参数,则对指定的子卡进行操作。'."\n" - .' - 如果不传入该参数,则对所有子卡进行操作。', - 'type' => 'array', - 'items' => [ - 'description' => '子卡的MSISDN。', - 'type' => 'string', - 'required' => false, - 'example' => '141******1111', - ], - 'required' => false, - 'example' => '["1112******826","1112******827"] ', - ], + 'schema' => ['description' => '地址类型:'."\n" + ."\n" + .'客户配置: user_defined'."\n" + ."\n" + .'阿里云预配:aliyun_defined', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'user_defined'], + ], + [ + 'name' => 'AddressType', + 'in' => 'query', + 'schema' => ['description' => '目标地址类型:'."\n" + ."\n" + .'Ip:Ip'."\n" + ."\n" + .'域名:Domain', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Domain'], + ], + [ + 'name' => 'Address', + 'in' => 'query', + 'schema' => ['description' => '目标地址', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '*.aliyun.com'], + ], + [ + 'name' => 'SerialNo', + 'in' => 'query', + 'schema' => ['description' => '请求编号,支持幂等。', 'type' => 'string', 'required' => false, 'example' => '123123'], + ], + [ + 'name' => 'MsgNotify', + 'in' => 'query', + 'schema' => ['description' => '执行成功后是否通过MQ推送,默认false:'."\n" + .'false:不推送'."\n" + .'true: 推送(目前不支持)', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'UrlInsecurityForce', + 'in' => 'query', + 'schema' => ['description' => '检测到的高危风险域名是否强制添加,默认被拦截,不添加', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '返回参数。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '执行结果。'."\n" - ."\n" - .'- **true**:执行成功。'."\n" - ."\n" - .'- **false**:执行失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。'."\n", - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => '系统异常', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty. ', - ], - 'Code' => [ - 'description' => '接口返回码:'."\n" - ."\n" - .'- **200**:表示成功。'."\n" - .'- 其它:表示错误码。错误码详情,请参见[错误码](~~375339~~)。', - 'type' => 'string', - 'example' => '200', - ], + 'Data' => ['description' => '地址是否添加成功。'."\n" + ."\n" + .'true:添加成功。'."\n" + ."\n" + .'false:添加失败。', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'Success' => ['description' => '是否调用成功。'."\n" + ."\n" + .'true:调用成功。'."\n" + .'false:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'200:调用成功。'."\n" + ."\n" + .'其他:调用失败。错误码详情,请参见错误码。', 'type' => 'string', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'linkcard.check.IccidCanNotEmpty', - 'errorMessage' => 'Iccid cannot be empty.', - ], - [ - 'errorCode' => 'linkcard.common.CardDestroy', - 'errorMessage' => 'The card do not exist or destroy.', - ], + ['errorCode' => 'linkcard.system.IllegalRequest', 'errorMessage' => 'The request parameter is invalid.', 'description' => ''], + ['errorCode' => 'IllegalParameter', 'errorMessage' => 'The request parameter %s is invalid.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => ''], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => ''], + ['errorCode' => '%s..', 'errorMessage' => '%s..', 'description' => ''], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"ErrorMessage\\": \\"系统异常\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\\\t\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<StopSingleCardResponse>\\n <Data>true</Data>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n</StopSingleCardResponse>","errorExample":""}]', - 'title' => '卡的主动停用', - 'description' => '## 限制说明'."\n" - ."\n\n" - .'单个阿里云账号调用该接口的每秒请求数(QPS)最大限制为20。'."\n" - ."\n" - .'> RAM用户共享阿里云账号配额。', - 'requestParamsDescription' => '调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~375336~~)。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<AddDirectionalAddressResponse>\\n <Data>true</Data>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <Success>true</Success>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n <Code>200</Code>\\n</AddDirectionalAddressResponse>","errorExample":""}]', + 'title' => '定向分组新增目标地址', + 'changeSet' => [], ], - 'ResumeSingleCard' => [ - 'summary' => '将状态为“主动停用”、“大量停用”的单卡操作为“复用”。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AddDirectionalCard' => [ + 'summary' => '给定向分组中导入定向卡。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'Iccid', + 'name' => 'GroupId', + 'in' => 'query', + 'schema' => ['description' => '定向分组ID。'."\n" + ."\n" + .'您可调用接口[GetCardDetail](~~374328~~)在返回参数中查看定向分组ID(DirectionalGroupId)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '5'], + ], + [ + 'name' => 'UploadType', + 'in' => 'query', + 'schema' => ['description' => '导入类型。'."\n" + ."\n" + .'- **NO_GROUP**:仅导入还未分组的定向卡。'."\n" + ."\n" + .'- **ALL**:全量导入。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ALL'], + ], + [ + 'name' => 'UploadMethod', + 'in' => 'query', + 'schema' => ['description' => '导入方式。'."\n" + ."\n" + .'- **TAG**:标签,导入指定标签的定向卡。'."\n" + ."\n" + .'- **ORDER**:订单,导入指定订单的定向卡。'."\n" + ."\n" + .'- **FILE**:批量文件,导入批量文件中的定向卡。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'TAG'], + ], + [ + 'name' => 'TagList', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '物联网卡的ICCID。'."\n" + 'description' => '标签ID列表。导入方式选择为标签时,需填入该参数。', + 'type' => 'array', + 'items' => ['description' => '标签ID。导入方式选择为标签时,需填入该参数。'."\n" ."\n" - .'您可在物联网卡上查看ICCID,或者在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/?spm=a2c4g.11186623.0.0.6a072d25p4pUg8)的卡管理页面查看ICCID。', - 'type' => 'string', + .'标签ID可在物联网无线连接服务控制台的**SIM卡管理** > **标签管理**页面查看。', 'type' => 'string', 'required' => false, 'example' => '5'], 'required' => true, 'docRequired' => true, - 'example' => '89860321******15668', + 'maxItems' => 100, ], ], [ - 'name' => 'OptMsisdns', + 'name' => 'OrderList', 'in' => 'query', 'style' => 'json', 'schema' => [ - 'description' => '是否对子卡进行操作,填入子卡的MSISDN。'."\n" - ."\n" - .'- 普通单网卡无需传入此参数。'."\n" - .'- 虚拟运营商:'."\n" - .' - 如果传入该参数,则对指定的子卡进行操作。'."\n" - .' - 如果不传入该参数,则对所有子卡进行操作。', + 'description' => '订单编号列表。导入方式选择为订单时,需填入该参数。', 'type' => 'array', - 'items' => [ - 'description' => '子卡的MSISDN。', - 'type' => 'string', - 'required' => false, - 'example' => '141******1111', - ], + 'items' => ['description' => '订单编号。导入方式选择为订单时,需填入该参数。'."\n" + ."\n" + .'订单编号可在物联网无线连接服务控制台的**订单统计** > **订单管理**页面查看。', 'type' => 'string', 'required' => false, 'example' => '2172***80589'], 'required' => false, - 'example' => '["111******6826","11*******6827"]', + 'maxItems' => 50, ], ], + [ + 'name' => 'FileUri', + 'in' => 'query', + 'schema' => ['description' => '批量文件的OSS路径。导入方式选择为批量文件时,需填入该参数。', 'type' => 'string', 'required' => false, 'example' => 'https://linkcard-user-online.oss-cn-zhangjiakou.aliyuncs.com/DIRECTIONAL_GROUP/20220811/xxxx.csv'], + ], + [ + 'name' => 'GroupName', + 'in' => 'query', + 'schema' => ['description' => '定向分组名称。', 'type' => 'string', 'required' => false, 'example' => '测试分组'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '执行结果。'."\n" - ."\n" - .'- **true**:执行成功。'."\n" - ."\n" - .'- **false**:执行失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => '系统异常', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty. ', - ], - 'Code' => [ - 'description' => '接口返回码:'."\n" - ."\n" - .'- **200**:表示成功。'."\n" - .'- 其它:表示错误码。错误码详情,请参见[错误码](~~375339~~)。', - 'type' => 'string', - 'example' => '200', - ], + 'Data' => ['description' => '是否导入成功。'."\n" + ."\n" + .'- **true**:导入成功。'."\n" + ."\n" + .'- **false**:导入失败。', 'type' => 'string', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'Success' => ['description' => '是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'- 200:调用成功。'."\n" + ."\n" + .'- 其他:调用失败。错误码详情,请参见[错误码](~~87387~~)。', 'type' => 'string', 'example' => '200'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'linkcard.check.IccidCanNotEmpty', - 'errorMessage' => 'Iccid cannot be empty.', - ], + ['errorCode' => 'linkcard.system.IllegalRequest', 'errorMessage' => 'The request parameter is invalid.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => ''], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => ''], + ['errorCode' => '%s..', 'errorMessage' => '%s..', 'description' => ''], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"ErrorMessage\\": \\"系统异常\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\\\t\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<ResumeSingleCardResponse>\\n <Data>true</Data>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n</ResumeSingleCardResponse>","errorExample":""}]', - 'title' => '卡的主动复用', - 'description' => '## 限制说明'."\n" - ."\n\n" - .'单个阿里云账号调用该接口的每秒请求数(QPS)最大限制为20。'."\n" - ."\n" - .'> RAM用户共享阿里云账号配额。', - 'requestParamsDescription' => '调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~375336~~)。'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": \\"true\\",\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<AddDirectionalCardResponse>\\n <Data>true</Data>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <Success>true</Success>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n <Code>200</Code>\\n</AddDirectionalCardResponse>","errorExample":""}]', + 'title' => '定向分组导卡', + 'description' => '## 使用说明'."\n" + .'定向卡是指仅能访问指定地址的物联网卡。可以调用接口[VerifyIotCard](~~446797~~)查询物联网卡是否为定向卡。', + 'requestParamsDescription' => '调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~30561~~)。', + 'changeSet' => [], ], - 'RebindResumeSingleCard' => [ - 'summary' => '将状态为“换绑停用”的单卡操作为“换绑复用”。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AddDirectionalGroup' => [ + 'summary' => '创建定向分组。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'Iccid', + 'name' => 'GroupName', 'in' => 'query', - 'schema' => [ - 'description' => '物联网卡的ICCID。'."\n" - ."\n" - .'您可在物联网卡上查看ICCID,或者在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/?spm=a2c4g.11186623.0.0.6a072d25p4pUg8)的卡管理页面查看ICCID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '89860321******15668', - ], - ], - [ - 'name' => 'OptMsisdns', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => '是否对子卡进行操作,填入子卡的MSISDN。'."\n" - ."\n" - .'- 普通单网卡无需传入此参数。'."\n" - .'- 虚拟运营商:'."\n" - .' - 如果传入该参数,则对指定的子卡进行操作。'."\n" - .' - 如果不传入该参数,则对所有子卡进行操作。', - 'type' => 'array', - 'items' => [ - 'description' => '子卡的MSISDN。', - 'type' => 'string', - 'required' => false, - 'example' => '141******1111', - ], - 'required' => false, - 'example' => ' ["1112******826","1112******827"] ', - ], + 'schema' => ['description' => '给定向分组设置一个名称。'."\n" + ."\n" + .'分组名称支持中文、英文、数字及下划线(_),长度不超过30个字符。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '测试分组', 'maxLength' => 30, 'minLength' => 0], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '执行结果。'."\n" - ."\n" - .'- **true**:执行成功。'."\n" - ."\n" - .'- **false**:执行失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。'."\n", - 'type' => 'string', - 'example' => '系统异常', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'Iccid cannot be empty. ', - ], - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'- **200**:表示成功。'."\n" - .'- 其它:表示错误码。错误码详情,请参见[错误码](~~375339~~)。', - 'type' => 'string', - 'example' => '200', - ], + 'Data' => ['description' => '定向分组ID。'."\n" + ."\n" + .'请记录定向分组ID,后续调用其他接口,例如调用[AddDirectionalCard](~~446808~~)给定向分组里导入物联网卡时需填入定向分组ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'], + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => '系统异常'], + 'Success' => ['description' => '是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'- 200:调用成功。'."\n" + ."\n" + .'- 其他:调用失败。错误码详情,请参见[错误码](~~87387~~)。', 'type' => 'string', 'example' => '200'], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'linkcard.check.IccidCanNotEmpty', - 'errorMessage' => 'Iccid cannot be empty.', - ], - [ - 'errorCode' => 'linkcard.common.CardDestroy', - 'errorMessage' => 'The card do not exist or destroy.', - ], - ], 403 => [ - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => '%s.'], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => '没有RAM权限。'], ], 500 => [ - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => 'RPC远程请求错误'], + ['errorCode' => '%s..', 'errorMessage' => '%s..', 'description' => '%s..'], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => '系统内部异常'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"ErrorMessage\\": \\"系统异常\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"Iccid cannot be empty.\\\\t\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<RebindResumeSingleCardResponse>\\n <Data>true</Data>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n</RebindResumeSingleCardResponse>","errorExample":""}]', - 'title' => '卡的换绑复用', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": 6,\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"ErrorMessage\\": \\"系统异常\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<AddDirectionalGroupResponse>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <ErrorMessage>系统异常</ErrorMessage>\\n <Success>true</Success>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n <Code>200</Code>\\n</AddDirectionalGroupResponse>","errorExample":""}]', + 'title' => '创建定向分组', 'description' => '## 使用说明'."\n" - ."\n\n" - .'物联网卡与设备是一一对应关系,在物联网卡首次插入设备通电使用产生流量时,就与设备进行了绑定。如果将卡更换至其他设备中使用,将导致卡被锁定,用户可以使用此接口进行解卡。'."\n" - ."\n", - 'requestParamsDescription' => ' 调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~375336~~)。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ForceActivation' => [ - 'summary' => '同档位套餐的卡强制激活,实现共享流量扩池。', - 'methods' => [ - 'post', - 'get', + .'仅新版定向服务菜单支持定向分组功能,如果您使用的是旧版定向服务菜单,无法使用该接口。更多信息,请参见[定向服务](~~279455~~)。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddDirectionalGroup'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'linkcard:AddDirectionalGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => 'DirectionalManage', 'arn' => 'acs:linkcard::{#accountId}:directionalmanage/*'], + ], + ], + ], ], + ], + 'AddTagsToCard' => [ + 'summary' => '物联网卡添加标签', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -731,36 +462,29 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => [], 'parameters' => [ [ 'name' => 'Iccid', 'in' => 'query', - 'schema' => [ - 'description' => '物联网卡的ICCID。'."\n" - ."\n" - .'您可在物联网卡上查看ICCID,或者在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/?spm=a2c4g.11186623.0.0.6a072d25p4pUg8)的卡管理页面查看ICCID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '89860321******15668', - ], + 'schema' => ['description' => '物联网卡的ICCID。'."\n" + ."\n" + .'您可在物联网卡上查看ICCID,或者在物联网SIM服务控制台的卡管理页面查看ICCID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '89860321******15668'], ], [ - 'name' => 'DateType', + 'name' => 'TagNameList', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '套餐类型。'."\n" + 'description' => '标签名称。', + 'type' => 'array', + 'items' => ['description' => '标签名称。'."\n" ."\n" - .'- **sameflowcard**:同档位通用流量套餐。'."\n" + .'参数为空或者空集合的时候代表从卡上删除所有标签。'."\n" ."\n" - .'- **directional_sameflowcard**:同档位定向流量套餐。'."\n", - 'type' => 'string', + .'如标签不存在,则会自动创建该标签并打标。', 'type' => 'string', 'required' => false, 'example' => '测试标签'], 'required' => false, - 'docRequired' => true, - 'example' => 'sameflowcard', + 'maxItems' => 4, ], ], ], @@ -769,112 +493,55 @@ 'schema' => [ 'type' => 'object', 'properties' => [ + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'200:表示成功。 其它:表示错误码。错误码详情,请参见错误码。', 'type' => 'string', 'example' => '200'], 'Data' => [ - 'description' => '执行结果。'."\n" - ."\n" - .'- **true**:执行成功。'."\n" - ."\n" - .'- **false**:执行失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => '系统异常', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'- **200**:表示成功。'."\n" - .'- 其它:表示错误码。错误码详情,请参见[错误码](~~375339~~)。', - 'type' => 'string', - 'example' => '200', + 'description' => '该卡已有标签的集合。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TagName' => ['description' => '标签名称。', 'type' => 'string', 'example' => '测试标签'], + 'TagId' => ['description' => '标签ID。', 'type' => 'string', 'example' => '14'], + ], + 'description' => '', + ], ], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'Success' => ['description' => '是否调用成功。'."\n" + ."\n" + .'true:调用成功。 false:调用失败。', 'type' => 'boolean', 'example' => 'true'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'linkcard.check.ForceActivationSameFlowCard', - 'errorMessage' => 'Only cards in the same flow support forced activation.', - ], - [ - 'errorCode' => 'linkcard.system.IllegalRequest', - 'errorMessage' => 'The request parameter is invalid.', - ], - [ - 'errorCode' => 'linkcard.common.CardDestroy', - 'errorMessage' => 'The card do not exist or destroy.', - ], - [ - 'errorCode' => 'linkcard.check.OnlyUnusedCanForceActivation', - 'errorMessage' => 'Only unused cards support forced activation.', - ], + ['errorCode' => 'linkcard.check.IccidCanNotEmpty', 'errorMessage' => 'Iccid cannot be empty.', 'description' => '卡号不能为空。'], + ['errorCode' => 'linkcard.common.CardDestroy', 'errorMessage' => 'The card do not exist or destroy.', 'description' => '卡不存在或已销户'], + ['errorCode' => 'linkcard.system.IllegalRequest', 'errorMessage' => 'The request parameter is invalid.', 'description' => '非法的请求参数。'], ], 403 => [ - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny ', - 'errorMessage' => 'You do not have the RAM permission. ', - ], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => '%s.'], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => '没有RAM权限。'], ], 500 => [ - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => 'RPC远程请求错误'], + ['errorCode' => '%s..', 'errorMessage' => '%s..', 'description' => '%s..'], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => '系统内部异常'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"ErrorMessage\\": \\"系统异常\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<ForceActivationResponse>\\n <Data>true</Data>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n</ForceActivationResponse>","errorExample":""}]', - 'title' => '卡的强制激活', - 'description' => '## 使用限制'."\n" - ."\n" - .'单个阿里云账号调用该接口的每秒请求数(QPS)最大限制为20。'."\n" - ."\n" - .'> RAM用户共享阿里云账号配额。', - 'requestParamsDescription' => '调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~375336~~)。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Data\\": [\\n {\\n \\"TagName\\": \\"测试标签\\",\\n \\"TagId\\": \\"14\\"\\n }\\n ],\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<AddTagsToCardResponse>\\n <Code>200</Code>\\n <Data>\\n <TagName>测试标签</TagName>\\n <TagId>14</TagId>\\n </Data>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n</AddTagsToCardResponse>","errorExample":""}]', + 'title' => '物联网卡添加标签', + 'changeSet' => [], ], - 'SetCardStopRule' => [ - 'summary' => '设置卡的达量停用规则,仅支持同档位池套餐和统付池套餐。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'BatchAddDirectionalAddress' => [ + 'summary' => '给定向分组添加访问地址。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -882,157 +549,97 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'Iccid', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'description' => '物联网卡的ICCID。'."\n" - ."\n" - .'您可在物联网卡上查看ICCID,或者在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/?spm=a2c4g.11186623.0.0.6a072d25p4pUg8)的卡管理页面查看ICCID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '89860321******15668', - ], + 'schema' => ['description' => '定向分组ID。'."\n" + ."\n" + .'您可调用接口[GetCardDetail](~~374328~~)在返回参数中查看定向分组ID(DirectionalGroupId)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '5'], ], [ - 'name' => 'FlowLimit', + 'name' => 'Source', 'in' => 'query', - 'schema' => [ - 'description' => '达量停用的数值,仅支持正整数,单位:MB。'."\n" - ."\n" - .'当月流量达到此数值时将自动停用,可主动复用。'."\n" - ."\n\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '100', - ], + 'schema' => ['description' => '地址来源。'."\n" + ."\n" + .'- **user_defined**:用户配置。'."\n" + ."\n" + .'- **aliyun_defined**:阿里云预配。', 'type' => 'string', 'required' => true, 'example' => 'user_defined'], ], [ - 'name' => 'AutoRestore', + 'name' => 'AddressType', 'in' => 'query', + 'schema' => ['description' => '地址类型。'."\n" + ."\n" + .'- **Ip**:IP地址。'."\n" + ."\n" + .'- **Domain**:域名。', 'type' => 'string', 'required' => true, 'example' => 'Domain'], + ], + [ + 'name' => 'ListAddress', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '达量停用后,次月是否自动复用。'."\n" - ."\n" - .'- true(默认值):次月自动复用。'."\n" - ."\n" - .'- false:次月不自动复用。', - 'type' => 'boolean', + 'description' => '具体定向地址。', + 'type' => 'array', + 'items' => ['description' => '具体地址,上限10个。', 'type' => 'string', 'required' => false, 'example' => '*.aliyun.com'], 'required' => true, - 'docRequired' => true, - 'example' => 'true', + 'maxItems' => 10, ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'BatchAddDirectionalAddressResponse', + 'description' => 'BatchAddDirectionalAddressResponse', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '执行结果。'."\n" - ."\n" - .'- **true**:执行成功。'."\n" - ."\n" - .'- **false**:执行失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的唯一标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => '系统异常', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'- **200**:表示成功。'."\n" - .'- 其它:表示错误码。错误码详情,请参见[错误码](~~375339~~)。', - 'type' => 'string', - 'example' => '200', - ], + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'Success' => ['title' => '必填', 'description' => '是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'- 200:调用成功。'."\n" + ."\n" + .'- 其他:调用失败。错误码详情,请参见[错误码](~~87387~~)。', 'type' => 'string', 'example' => '200'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'Data' => ['description' => '地址是否添加成功。'."\n" + ."\n" + .'- true:添加成功。'."\n" + ."\n" + .'- false:添加失败。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'linkcard.check.RuleMaxValueLimit', - 'errorMessage' => 'The maximum value of Rule must be less than 9007199254740991.', - ], - [ - 'errorCode' => 'linkcard.check.RuleMustBePositiveInteger', - 'errorMessage' => 'The valid values of Rule are positive integers and zero.', - ], + ['errorCode' => 'linkcard.system.IllegalRequest', 'errorMessage' => 'The request parameter is invalid.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => ''], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => ''], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny ', 'errorMessage' => 'You do not have the RAM permission. ', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], - [ - 'errorCode' => '%s..', - 'errorMessage' => '%s..', - ], - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"ErrorMessage\\": \\"系统异常\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<SetCardStopRuleResponse>\\n <Data>true</Data>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n</SetCardStopRuleResponse>","errorExample":""}]', - 'title' => '设置卡的达量停用规则', - 'description' => '## 使用限制'."\n" - ."\n" - .'单个阿里云账号调用该接口的每秒请求数(QPS)最大限制为20。'."\n" - ."\n" - .'> RAM用户共享阿里云账号配额。', - 'requestParamsDescription' => '调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~375336~~)。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Data\\": true\\n}","errorExample":""},{"type":"xml","example":"<BatchAddDirectionalAddressResponse>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n <Data>true</Data>\\n</BatchAddDirectionalAddressResponse>","errorExample":""}]', + 'title' => '定向地址添加', + 'description' => '## 使用说明'."\n" + .'仅新版定向服务菜单支持定向分组功能,如果您使用的是旧版定向服务菜单,无法使用该接口。更多信息,请参见[定向服务](~~279455~~)。', + 'requestParamsDescription' => '调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~30561~~)。', + 'changeSet' => [], ], - 'UpdateAutoRechargeSwitch' => [ - 'summary' => '该接口用于开启或关闭卡的自动续费功能,仅适用于单卡套餐和同档位池套餐。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteDirectionalAddress' => [ + 'summary' => '定向分组删除目标地址。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1040,363 +647,148 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => [], 'parameters' => [ [ - 'name' => 'Iccid', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'description' => '物联网卡的ICCID。'."\n" - ."\n" - .'您可在物联网卡上查看ICCID,或者在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/?spm=a2c4g.11186623.0.0.6a072d25p4pUg8)的卡管理页面查看ICCID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '89860321******15668', - ], + 'schema' => ['description' => '分组ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '10000002595'], ], [ - 'name' => 'Open', + 'name' => 'Address', 'in' => 'query', - 'schema' => [ - 'description' => '自动续费开关。'."\n" - ."\n" - .'- **true**:开启自动续费。'."\n" - ."\n" - .'- **false**:关闭自动续费。', - 'type' => 'boolean', - 'required' => true, - 'docRequired' => true, - 'example' => 'true', - ], + 'schema' => ['description' => '目标地址。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '*.aliyun.com'], + ], + [ + 'name' => 'SerialNo', + 'in' => 'query', + 'schema' => ['description' => '请求编号,支持幂等。', 'type' => 'string', 'required' => false, 'example' => '123123'], + ], + [ + 'name' => 'MsgNotify', + 'in' => 'query', + 'schema' => ['description' => '执行成功后是否通过MQ推送,默认false: '."\n" + ."\n" + .'false:不推送 '."\n" + ."\n" + .'true: 推送', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '返回参数。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '执行结果。'."\n" - ."\n" - .'- **true**:执行成功。'."\n" - ."\n" - .'- **false**:执行失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的唯一标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => '系统异常', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'- **200**:表示成功。'."\n" - .'- 其它:表示错误码。错误码详情,请参见[错误码](~~375339~~)。', - 'type' => 'string', - 'example' => '200', - ], + 'Data' => ['description' => '操作是否成功。'."\n" + ."\n" + .'true:成功。'."\n" + ."\n" + .'false:失败。', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'Success' => ['description' => '是否调用成功。'."\n" + ."\n" + .'true:调用成功。 false:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'200:调用成功。'."\n" + ."\n" + .'其他:调用失败。错误码详情,请参见错误码。', 'type' => 'string', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'linkcard.common.CardDestroy', - 'errorMessage' => 'The card do not exist or destroy.', - ], + ['errorCode' => 'IllegalParameter', 'errorMessage' => 'The request parameter %s is invalid.', 'description' => '请求参数%s非法.'], + ['errorCode' => 'linkcard.system.IllegalRequest', 'errorMessage' => 'The request parameter is invalid.', 'description' => '非法的请求参数。'], ], 403 => [ - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => '%s.'], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => '没有RAM权限。'], ], 500 => [ - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => 'RPC远程请求错误'], + ['errorCode' => '%s..', 'errorMessage' => '%s..', 'description' => '%s..'], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => '系统内部异常'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"ErrorMessage\\": \\"系统异常\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateAutoRechargeSwitchResponse>\\n <Data>true</Data>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n</UpdateAutoRechargeSwitchResponse>","errorExample":""}]', - 'title' => 'UpdateAutoRechargeSwitch', - 'description' => '## 使用限制'."\n" - ."\n" - .'单个阿里云账号调用该接口的每秒请求数(QPS)最大限制为20。'."\n" - ."\n" - .'> RAM用户共享阿里云账号配额。', - 'requestParamsDescription' => '调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~375336~~)。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteDirectionalAddressResponse>\\n <Data>true</Data>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <Success>true</Success>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n <Code>200</Code>\\n</DeleteDirectionalAddressResponse>","errorExample":""}]', + 'title' => '定向分组删除目标地址', + 'changeSet' => [], ], - 'GetCredentialPoolStatistics' => [ - 'summary' => '查询套餐凭证对应的池信息。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteDirectionalGroup' => [ + 'summary' => '删除定向分组。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => [], 'parameters' => [ [ - 'name' => 'Date', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的套餐流量使用详情的月份。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '202108', - ], - ], - [ - 'name' => 'CredentialNO', - 'in' => 'query', - 'schema' => [ - 'description' => '套餐凭证。获取方法如下:'."\n" - ."\n" - .'- 在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/?spm=a2c4g.11186623.0.0.6a072d25p4pUg8)的**套餐凭证**页面,查看套餐凭证。'."\n" - ."\n" - .'- 调用接口[GetCardDetail](~~374328~~),在返回参数中查看套餐凭证(CredentialNo)。'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'CM-SF-M-2-12G', - ], + 'schema' => ['description' => '分组ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '10000002595'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '返回参数。', 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'- **200**:表示成功。'."\n" - .'- 其它:表示错误码。错误码详情,请参见[错误码](~~375339~~)。', - 'type' => 'string', - 'example' => '200', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的出错信息。', - 'type' => 'string', - 'example' => '系统异常', - ], - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - ."\n" - .'- true:调用成功。'."\n" - ."\n" - .'- false:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Data' => [ - 'description' => '套餐流量使用详情。', - 'type' => 'object', - 'properties' => [ - 'PoolUsed' => [ - 'description' => '当月已用流量。', - 'type' => 'string', - 'example' => '0KB', - ], - 'CredentialNO' => [ - 'description' => '套餐凭证。', - 'type' => 'string', - 'example' => 'CM-SF-M-2-12G', - ], - 'PoolOutUsed' => [ - 'description' => '当月套餐外流量。', - 'type' => 'string', - 'example' => '0KB', - ], - 'PoolGrandTotalUsed' => [ - 'description' => '套餐流量使用总量,仅统付池套餐显示该参数。', - 'type' => 'string', - 'example' => '6.00GB', - ], - 'CredentialType' => [ - 'description' => '套餐凭证类型。'."\n" - ."\n" - .'- 单卡套餐示例:CT-SC-M-1-30M(运营商-套餐类型-套餐周期-资费版本-流量包档位)。'."\n" - ."\n" - .'- 同档位池套餐示例:CM-SF-M-3-100M(运营商-套餐类型-套餐周期-资费版本-流量包档位)。'."\n" - ."\n" - .'- 统付池套餐示例:CU-UPG-M-2-池编号(运营商-套餐类型-套餐周期-资费版本-池编号)。', - 'type' => 'string', - 'example' => 'CT-SC-M-1-30M', - ], - 'CardTotalNum' => [ - 'description' => '套餐内总卡数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'PoolGrandTotal' => [ - 'description' => '套餐总流量,仅统付池套餐显示该参数。', - 'type' => 'string', - 'example' => '12.00GB', - ], - 'CardActiveNum' => [ - 'description' => '套餐内的生效卡数(已激活且未停机未销户)。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'EffectiveTotalFlow' => [ - 'description' => '套餐总流量,仅同档位池套餐显示该参数。', - 'type' => 'string', - 'example' => '12.00GB', - ], - 'EffectiveAvailableFlow' => [ - 'description' => '套餐内可用余量,仅同档位池套餐显示该参数。', - 'type' => 'string', - 'example' => '6.00GB', - ], - 'PoolAvaiable' => [ - 'description' => '套餐内可用余量,仅统付池套餐显示该参数。', - 'type' => 'string', - 'example' => '6.00GB', - ], - 'MonthFeatureFee' => [ - 'description' => '月功能费份数,仅统付池套餐显示该参数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'CredentialInstanceId' => [ - 'description' => '凭证实例ID。', - 'type' => 'string', - 'example' => '259****', - ], - 'SmsUsed' => [ - 'description' => '短信用量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'MonthUsedAmount' => [ - 'description' => '月度流量使用总量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3.00GB', - ], - 'MonthExceedFee' => [ - 'description' => '当月功能费超套份数。'."\n" - ."\n" - .'大于0代表功能费已超套;等于0或null代表未超套。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '200', - ], - ], - ], + 'Data' => ['description' => '操作是否成功。'."\n" + ."\n" + .'true:成功。'."\n" + ."\n" + .'false:失败。', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'Success' => ['description' => '是否调用成功。'."\n" + ."\n" + .'true:调用成功。'."\n" + .'false:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'200:调用成功。'."\n" + ."\n" + .'其他:调用失败。错误码详情,请参见错误码。', 'type' => 'string', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'linkcard.check.TimeFormatError', - 'errorMessage' => 'Time format error.', - ], - [ - 'errorCode' => 'linkcard.system.IllegalRequest', - 'errorMessage' => 'The request parameter is invalid.', - ], + ['errorCode' => 'IllegalParameter', 'errorMessage' => 'The request parameter %s is invalid.', 'description' => '请求参数%s非法.'], + ['errorCode' => 'linkcard.system.IllegalRequest', 'errorMessage' => 'The request parameter is invalid.', 'description' => '非法的请求参数。'], ], 403 => [ - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => '%s.'], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => '没有RAM权限。'], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny ', 'errorMessage' => 'You do not have the RAM permission. ', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], - [ - 'errorCode' => '%s..', - 'errorMessage' => '%s..', - ], - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], - [ - 'errorCode' => 'linkcard.common.BusinessProcessError', - 'errorMessage' => 'A business processing exception occurred.', - ], + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => 'RPC远程请求错误'], + ['errorCode' => '%s..', 'errorMessage' => '%s..', 'description' => '%s..'], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => '系统内部异常'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"系统异常\\",\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PoolUsed\\": \\"0KB\\",\\n \\"CredentialNO\\": \\"CM-SF-M-2-12G\\",\\n \\"PoolOutUsed\\": \\"0KB\\",\\n \\"PoolGrandTotalUsed\\": \\"6.00GB\\",\\n \\"CredentialType\\": \\"CT-SC-M-1-30M\\",\\n \\"CardTotalNum\\": 20,\\n \\"PoolGrandTotal\\": \\"12.00GB\\",\\n \\"CardActiveNum\\": 10,\\n \\"EffectiveTotalFlow\\": \\"12.00GB\\",\\n \\"EffectiveAvailableFlow\\": \\"6.00GB\\",\\n \\"PoolAvaiable\\": \\"6.00GB\\",\\n \\"MonthFeatureFee\\": 100,\\n \\"CredentialInstanceId\\": \\"259****\\",\\n \\"SmsUsed\\": 0,\\n \\"MonthUsedAmount\\": 0,\\n \\"MonthExceedFee\\": 200\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetCredentialPoolStatisticsResponse>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Data>\\n <PoolUsed>0KB</PoolUsed>\\n <CredentialNO>CM-SF-M-2-12G</CredentialNO>\\n <PoolOutUsed>0KB</PoolOutUsed>\\n <PoolGrandTotalUsed>6.00GB</PoolGrandTotalUsed>\\n <CredentialType>CM-SF-M-2-12G</CredentialType>\\n <CardTotalNum>20</CardTotalNum>\\n <PoolGrandTotal>12.00GB</PoolGrandTotal>\\n <CardActiveNum>10</CardActiveNum>\\n <EffectiveTotalFlow>12.00GB</EffectiveTotalFlow>\\n <EffectiveAvailableFlow>6.00GB</EffectiveAvailableFlow>\\n <PoolAvaiable>6.00GB</PoolAvaiable>\\n <MonthFeatureFee>100</MonthFeatureFee>\\n <CredentialInstanceId>259****</CredentialInstanceId>\\n <SmsUsed>0</SmsUsed>\\n </Data>\\n</GetCredentialPoolStatisticsResponse>","errorExample":""}]', - 'title' => '套餐凭证信息查询', - 'requestParamsDescription' => '调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~375336~~)。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteDirectionalGroupResponse>\\n <Data>true</Data>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <Success>true</Success>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n <Code>200</Code>\\n</DeleteDirectionalGroupResponse>","errorExample":""}]', + 'title' => '删除定向分组', + 'changeSet' => [], ], - 'GetCardFlowInfo' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ForceActivation' => [ + 'summary' => '同档位套餐的卡强制激活,实现共享流量扩池。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1404,44 +796,23 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'Iccid', 'in' => 'query', - 'schema' => [ - 'description' => '物联网卡的ICCID。'."\n" - ."\n" - .'您可在物联网卡上查看ICCID,或者在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/?spm=a2c4g.11186623.0.0.6a072d25p4pUg8)的卡管理页面查看ICCID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '89860321******15668', - ], + 'schema' => ['description' => '物联网卡的ICCID。'."\n" + ."\n" + .'您可在物联网卡上查看ICCID,或者在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/?spm=a2c4g.11186623.0.0.6a072d25p4pUg8)的卡管理页面查看ICCID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '89860321******15668'], ], [ - 'name' => 'DateList', + 'name' => 'DateType', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '需要查询的月份。'."\n" - ."\n" - .'最多可以查询6个月,如果为空则获取最近两个月的数据。', - 'type' => 'array', - 'items' => [ - 'description' => '需要查询的月份。'."\n" - ."\n" - .'最多可以查询6个月,如果为空则获取最近两个月的数据。', - 'type' => 'string', - 'required' => false, - 'example' => '["202110","202111"]', - ], - 'required' => false, - 'example' => '["202110","202111"]', - 'maxItems' => 5, - ], + 'schema' => ['description' => '套餐类型。'."\n" + ."\n" + .'- **sameflowcard**:同档位通用流量套餐。'."\n" + ."\n" + .'- **directional_sameflowcard**:同档位定向流量套餐。'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'sameflowcard'], ], ], 'responses' => [ @@ -1449,216 +820,57 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'- **200**:表示成功。'."\n" - .'- 其它:表示错误码。错误码详情,请参见[错误码](~~375339~~)。', - 'type' => 'string', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'Data' => [ - 'description' => '物联网卡的流量信息。', - 'type' => 'object', - 'properties' => [ - 'ListVendorDetail' => [ - 'description' => '网络数据。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'NetWorkDelay' => [ - 'description' => '网络延迟,单位ms。', - 'type' => 'string', - 'example' => '20', - ], - 'SignalStrength' => [ - 'description' => '信号强度。', - 'type' => 'string', - 'example' => '20', - ], - 'Vendor' => [ - 'description' => '物联网卡的运营商。'."\n" - .'- CMCC:移动。'."\n" - .'- CUCC:联通。'."\n" - .'- CTCC:电信。'."\n", - 'type' => 'string', - 'example' => 'CMCC', - ], - 'UsedFlow' => [ - 'description' => '已用流量。', - 'type' => 'string', - 'example' => '100MB', - ], - 'Ratio' => [ - 'description' => '用量占比。', - 'type' => 'string', - 'example' => '80%', - ], - ], - ], - ], - 'ListCardMonthFlow' => [ - 'description' => '月用量详情。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'FlowCount' => [ - 'description' => '月总流量统计。', - 'type' => 'string', - 'example' => '200MB', - ], - 'Month' => [ - 'description' => '流量月份。', - 'type' => 'string', - 'example' => '202112', - ], - 'ListDayFlow' => [ - 'description' => '每日用量。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Flow' => [ - 'description' => '日用量。', - 'type' => 'string', - 'example' => '100MB', - ], - 'Day' => [ - 'description' => '流量日期。', - 'type' => 'string', - 'example' => '20211201', - ], - ], - ], - ], - ], - ], - ], - 'ListPackageDTO' => [ - 'description' => '套餐包信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'EffectiveTime' => [ - 'description' => '套餐生效时间。', - 'type' => 'string', - 'example' => '2022-03-20 23:59:59', - ], - 'Remark' => [ - 'description' => '备注。', - 'type' => 'string', - 'example' => '备注内容', - ], - 'PackageName' => [ - 'description' => '套餐名称。', - 'type' => 'string', - 'example' => '移动-单卡通用流量-月包-30M', - ], - 'ExpireTime' => [ - 'description' => '套餐到期时间。', - 'type' => 'string', - 'example' => '2022-04-30 23:59:59', - ], - ], - ], - ], - ], - ], + 'Data' => ['description' => '执行结果。'."\n" + ."\n" + .'- **true**:执行成功。'."\n" + ."\n" + .'- **false**:执行失败。', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => '系统异常'], + 'Success' => ['description' => '是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'- **200**:表示成功。'."\n" + .'- 其它:表示错误码。错误码详情,请参见[错误码](~~375339~~)。', 'type' => 'string', 'example' => '200'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'linkcard.check.IccidCanNotEmpty', - 'errorMessage' => 'Iccid cannot be empty.', - ], - [ - 'errorCode' => 'linkcard.system.IllegalRequest', - 'errorMessage' => 'The request parameter is invalid.', - ], - [ - 'errorCode' => 'linkcard.common.CardDestroy', - 'errorMessage' => 'The card do not exist or destroy.', - ], - [ - 'errorCode' => 'linkcard.common.CardNotExist', - 'errorMessage' => 'The card does not exist.', - ], - [ - 'errorCode' => 'CardDisabled', - 'errorMessage' => 'The SIM card has been permanently disabled.', - ], + ['errorCode' => 'linkcard.check.ForceActivationSameFlowCard', 'errorMessage' => 'Only cards in the same flow support forced activation.', 'description' => ''], + ['errorCode' => 'linkcard.system.IllegalRequest', 'errorMessage' => 'The request parameter is invalid.', 'description' => ''], + ['errorCode' => 'linkcard.common.CardDestroy', 'errorMessage' => 'The card do not exist or destroy.', 'description' => ''], + ['errorCode' => 'linkcard.check.OnlyUnusedCanForceActivation', 'errorMessage' => 'Only unused cards support forced activation.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => ''], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => ''], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny ', 'errorMessage' => 'You do not have the RAM permission. ', 'description' => ''], ], 500 => [ - [ - 'errorCode' => '%s..', - 'errorMessage' => '%s..', - ], - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => ''], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Data\\": {\\n \\"ListVendorDetail\\": [\\n {\\n \\"NetWorkDelay\\": \\"20\\",\\n \\"SignalStrength\\": \\"20\\",\\n \\"Vendor\\": \\"CMCC\\",\\n \\"UsedFlow\\": \\"100MB\\",\\n \\"Ratio\\": \\"80%\\"\\n }\\n ],\\n \\"ListCardMonthFlow\\": [\\n {\\n \\"FlowCount\\": \\"200MB\\",\\n \\"Month\\": \\"202112\\",\\n \\"ListDayFlow\\": [\\n {\\n \\"Flow\\": \\"100MB\\",\\n \\"Day\\": \\"20211201\\"\\n }\\n ]\\n }\\n ],\\n \\"ListPackageDTO\\": [\\n {\\n \\"EffectiveTime\\": \\"2022-03-20 23:59:59\\",\\n \\"Remark\\": \\"备注内容\\",\\n \\"PackageName\\": \\"移动-单卡通用流量-月包-30M\\",\\n \\"ExpireTime\\": \\"2022-04-30 23:59:59\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetCardFlowInfoResponse>\\n <Code>200</Code>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Data>\\n <ListVendorDetail>\\n <NetWorkDelay>20</NetWorkDelay>\\n <SignalStrength>20</SignalStrength>\\n <Vendor>CMCC</Vendor>\\n </ListVendorDetail>\\n <ListCardMonthFlow>\\n <FlowCount>200MB</FlowCount>\\n <Month>202112</Month>\\n <ListDayFlow>\\n <Flow>100MB</Flow>\\n <Day>20211201</Day>\\n </ListDayFlow>\\n </ListCardMonthFlow>\\n <ListPackageDTO>\\n <EffectiveTime>2022-03-20 23:59:59</EffectiveTime>\\n <Remark>备注内容</Remark>\\n <PackageName>移动-单卡通用流量-月包-30M</PackageName>\\n <ExpireTime>2022-04-30 23:59:59</ExpireTime>\\n </ListPackageDTO>\\n </Data>\\n</GetCardFlowInfoResponse>","errorExample":""}]', - 'title' => '卡流量查询', - 'summary' => '查询卡的流量信息。', - 'description' => '## 限制说明'."\n" - ."\n\n" + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"ErrorMessage\\": \\"系统异常\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<ForceActivationResponse>\\n <Data>true</Data>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n</ForceActivationResponse>","errorExample":""}]', + 'title' => '卡的强制激活', + 'description' => '## 使用限制'."\n" + ."\n" .'单个阿里云账号调用该接口的每秒请求数(QPS)最大限制为20。'."\n" ."\n" .'> RAM用户共享阿里云账号配额。', 'requestParamsDescription' => '调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~375336~~)。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'changeSet' => [], ], 'GetCardDetail' => [ 'summary' => '查询卡的详情信息。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1671,56 +883,34 @@ [ 'name' => 'Iccid', 'in' => 'query', - 'schema' => [ - 'description' => '物联网卡的ICCID。'."\n" - ."\n" - .'您可在物联网卡上查看ICCID,或者在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/?spm=a2c4g.11186623.0.0.6a072d25p4pUg8)的**卡管理页面**查看ICCID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '89860321******15668', - ], + 'schema' => ['description' => '物联网卡的ICCID。'."\n" + ."\n" + .'您可在物联网卡上查看ICCID,或者在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/?spm=a2c4g.11186623.0.0.6a072d25p4pUg8)的**卡管理页面**查看ICCID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '89860321******15668'], ], [ 'name' => 'ShowPsim', 'in' => 'query', - 'schema' => [ - 'description' => '是否展示子卡的详情信息,默认为否。'."\n" - ."\n" - .'- **true**:是。'."\n" - .'- **false**:否。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '是否展示子卡的详情信息,默认为否。'."\n" + ."\n" + .'- **true**:是。'."\n" + .'- **false**:否。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '物联网卡的实例ID。'."\n" - ."\n" - .'只有查询的物联网卡已销户时(即**DestroyCard**为**true**)需要填入该参数。'."\n" - ."\n" - .'您可以调用接口[ListCardInfo](~~425529~~)在返回参数中查看物联网卡的实例ID(VsimInstanceId)。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '411****', - ], + 'schema' => ['description' => '物联网卡的实例ID。'."\n" + ."\n" + .'只有查询的物联网卡已销户时(即**DestroyCard**为**true**)需要填入该参数。'."\n" + ."\n" + .'您可以调用接口[ListCardInfo](~~425529~~)在返回参数中查看物联网卡的实例ID(VsimInstanceId)。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '411****'], ], [ 'name' => 'DestroyCard', 'in' => 'query', - 'schema' => [ - 'description' => '查询的物联网卡是否已销户,默认为否。'."\n" - ."\n" - .'- **true**:是。'."\n" - .'- **false**:否。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '查询的物联网卡是否已销户,默认为否。'."\n" + ."\n" + .'- **true**:是。'."\n" + .'- **false**:否。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], ], 'responses' => [ @@ -1729,36 +919,16 @@ 'description' => '返回参数。', 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'- **200**:表示成功。'."\n" - .'- 其它:表示错误码。错误码详情,请参见[错误码](~~375339~~)。', - 'type' => 'string', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'- **200**:表示成功。'."\n" + .'- 其它:表示错误码。错误码详情,请参见[错误码](~~375339~~)。', 'type' => 'string', 'example' => '200'], + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'Success' => ['description' => '是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], 'Data' => [ 'description' => '物联网卡的详情信息。', 'type' => 'object', @@ -1770,134 +940,7 @@ 'description' => '多网卡的子卡详情。', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '物联网卡的状态。'."\n" - ."\n" - .'- **10**:可测试。'."\n" - ."\n" - .'- **20**:未使用。'."\n" - ."\n" - .'- **30**:使用中。'."\n" - ."\n" - .'- **35**:已停用。'."\n" - ."\n" - .'- **40**:已停机。'."\n" - ."\n" - .'- **50**:已销户。', - 'type' => 'string', - 'example' => '35', - ], - 'PrivateNetworkSegment' => [ - 'description' => '私网网段(定向卡)。', - 'type' => 'string', - 'example' => '*.2.*.4', - ], - 'OsStatus' => [ - 'description' => '物联网卡的具体状态。'."\n" - ."\n" - .'- **10**:测试期。'."\n" - .'- **20**:静默期。'."\n" - .'- **100**:使用中。'."\n" - .'- **130**:测试期换绑停用。'."\n" - .'- **150**:部分使用中。'."\n" - .'- **200**:主动停用。'."\n" - .'- **300**:达量停用。'."\n" - .'- **400**:信控停用。'."\n" - .'- **500**:换绑停用。'."\n" - .'- **600**:实名停用。'."\n" - .'- **700**:异常停用。'."\n" - .'- **40**:已停机。'."\n" - .'- **50**:已销户。', - 'type' => 'string', - 'example' => '300', - ], - 'CertifyStatus' => [ - 'description' => '实名认证状态。'."\n" - ."\n" - .'- **1**:未认证。'."\n" - ."\n" - .'- **2**:已认证。', - 'type' => 'string', - 'example' => '2', - ], - 'ApnName' => [ - 'description' => 'APN名称。', - 'type' => 'string', - 'example' => 'cmiot', - ], - 'PeriodAddFlow' => [ - 'description' => '周期累计流量。', - 'type' => 'string', - 'example' => '130.00MB', - ], - 'Iccid' => [ - 'description' => '子卡的ICCID。', - 'type' => 'string', - 'example' => '89860321******15668', - ], - 'Vendor' => [ - 'description' => '运营商。'."\n" - ."\n" - .'- **CMCC**:移动。'."\n" - ."\n" - .'- **CUCC**:联通。'."\n" - ."\n" - .'- **CTCC**:电信。', - 'type' => 'string', - 'example' => 'CMCC', - ], - 'PeriodSmsUse' => [ - 'description' => '周期短信用量。', - 'type' => 'string', - 'example' => '0', - ], - 'Imsi' => [ - 'description' => '子卡的IMSI。', - 'type' => 'array', - 'items' => [ - 'description' => '子卡的IMSI。', - 'type' => 'string', - 'example' => '460081937******', - ], - ], - 'Msisdn' => [ - 'description' => '子卡的MSISDN。', - 'type' => 'array', - 'items' => [ - 'description' => '子卡的MSISDN。', - 'type' => 'string', - 'example' => '1411111******', - ], - ], - 'OpenSms' => [ - 'description' => '短信功能开通情况。'."\n" - ."\n" - .' - **true**:开通。'."\n" - ."\n" - .'- **false**:关闭。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Ip' => [ - 'description' => '物联网卡的IP地址。', - 'type' => 'array', - 'items' => [ - 'description' => '物联网卡的IP地址。', - 'type' => 'string', - 'example' => '1.1.*.*', - ], - ], - ], - ], - ], - 'VsimCardInfo' => [ - 'description' => '物联网卡的详情。'."\n" - ."\n" - .'当查询多网卡时,展示虚拟卡信息。', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '物联网卡状态。'."\n" + 'Status' => ['description' => '物联网卡的状态。'."\n" ."\n" .'- **10**:可测试。'."\n" ."\n" @@ -1909,108 +952,134 @@ ."\n" .'- **40**:已停机。'."\n" ."\n" - .'- **50**:已销户。', - 'type' => 'string', - 'example' => '35', - ], - 'DataType' => [ - 'description' => '流量类型。'."\n" - ."\n" - .'- **singlecard**:单卡通用流量。'."\n" - ."\n" - .'- **directionalcard**:单卡定向流量。'."\n" - ."\n" - .'- **sameflowcard**:同档位池共享流量。'."\n" - ."\n" - .'- **directional_sameflowcard**:同档位池共享定向流量。'."\n" - ."\n" - .'- **unityPayPool**:统付池通用流量。'."\n" - ."\n" - .'- **GREcard**:统付池定向流量。', - 'type' => 'string', - 'example' => 'sameflowcard', - ], - 'CardLimitSpeedThreshold' => [ - 'description' => '物联网卡达量限速阈值,单位为KB。(暂不支持)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1024', - ], - 'PeriodRestFlow' => [ - 'description' => '周期剩余流量。', - 'type' => 'string', - 'example' => '130.00MB', - ], - 'DirectionalGroupName' => [ - 'description' => '定向分组名称。', - 'type' => 'string', - 'example' => '测试分组', - ], - 'CredentialType' => [ - 'description' => '套餐凭证类型。'."\n" - ."\n" - .'- 单卡套餐示例:CT-SC-M-1-30M(运营商-套餐类型-套餐周期-资费版本-流量包档位)。'."\n" - ."\n" - .'- 同档位池套餐示例:CM-SF-M-3-100M(运营商-套餐类型-套餐周期-资费版本-流量包档位)。'."\n" - ."\n" - .'- 统付池套餐示例:CU-UPG-M-2-池编号(运营商-套餐类型-套餐周期-资费版本-池编号)。', - 'type' => 'string', - 'example' => 'CT-SC-M-1-30M', - ], - 'PeriodAddFlow' => [ - 'description' => '周期累计流量。', - 'type' => 'string', - 'example' => '0KB', - ], - 'DirectionalGroupId' => [ - 'description' => '定向分组ID。', - 'type' => 'string', - 'example' => '22', - ], - 'PeriodSmsUse' => [ - 'description' => '周期短信用量。', - 'type' => 'string', - 'example' => '0', - ], - 'OsStatus' => [ - 'description' => '物联网卡的具体状态。'."\n" + .'- **50**:已销户。', 'type' => 'string', 'example' => '35'], + 'PrivateNetworkSegment' => ['description' => '私网网段(定向卡)。', 'type' => 'string', 'example' => '*.2.*.4'], + 'OsStatus' => ['description' => '物联网卡的具体状态。'."\n" ."\n" .'- **10**:测试期。'."\n" - ."\n" .'- **20**:静默期。'."\n" - ."\n" .'- **100**:使用中。'."\n" - ."\n" + .'- **130**:测试期换绑停用。'."\n" .'- **150**:部分使用中。'."\n" - ."\n" .'- **200**:主动停用。'."\n" - ."\n" .'- **300**:达量停用。'."\n" - ."\n" .'- **400**:信控停用。'."\n" - ."\n" .'- **500**:换绑停用。'."\n" - ."\n" .'- **600**:实名停用。'."\n" - ."\n" .'- **700**:异常停用。'."\n" - ."\n" .'- **40**:已停机。'."\n" + .'- **50**:已销户。', 'type' => 'string', 'example' => '300'], + 'CertifyStatus' => ['description' => '实名认证状态。'."\n" ."\n" - .'- **50**:已销户。', - 'type' => 'string', - 'example' => '200', - ], - 'NotifyId' => [ - 'description' => '自动化规则的通知ID。', - 'type' => 'string', - 'example' => '11111', - ], - 'DataLevel' => [ - 'description' => '流量包档位。', - 'type' => 'string', - 'example' => '30MB', + .'- **1**:未认证。'."\n" + ."\n" + .'- **2**:已认证。', 'type' => 'string', 'example' => '2'], + 'ApnName' => ['description' => 'APN名称。', 'type' => 'string', 'example' => 'cmiot'], + 'PeriodAddFlow' => ['description' => '周期累计流量。', 'type' => 'string', 'example' => '130.00MB'], + 'Iccid' => ['description' => '子卡的ICCID。', 'type' => 'string', 'example' => '89860321******15668'], + 'Vendor' => ['description' => '运营商。'."\n" + ."\n" + .'- **CMCC**:移动。'."\n" + ."\n" + .'- **CUCC**:联通。'."\n" + ."\n" + .'- **CTCC**:电信。', 'type' => 'string', 'example' => 'CMCC'], + 'PeriodSmsUse' => ['description' => '周期短信用量。', 'type' => 'string', 'example' => '0'], + 'Imsi' => [ + 'description' => '子卡的IMSI。', + 'type' => 'array', + 'items' => ['description' => '子卡的IMSI。', 'type' => 'string', 'example' => '460081937******'], + ], + 'Msisdn' => [ + 'description' => '子卡的MSISDN。', + 'type' => 'array', + 'items' => ['description' => '子卡的MSISDN。', 'type' => 'string', 'example' => '1411111******'], + ], + 'OpenSms' => ['description' => '短信功能开通情况。'."\n" + ."\n" + .' - **true**:开通。'."\n" + ."\n" + .'- **false**:关闭。', 'type' => 'boolean', 'example' => 'true'], + 'Ip' => [ + 'description' => '物联网卡的IP地址。', + 'type' => 'array', + 'items' => ['description' => '物联网卡的IP地址。', 'type' => 'string', 'example' => '1.1.*.*'], + ], ], + ], + ], + 'VsimCardInfo' => [ + 'description' => '物联网卡的详情。'."\n" + ."\n" + .'当查询多网卡时,展示虚拟卡信息。', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '物联网卡状态。'."\n" + ."\n" + .'- **10**:可测试。'."\n" + ."\n" + .'- **20**:未使用。'."\n" + ."\n" + .'- **30**:使用中。'."\n" + ."\n" + .'- **35**:已停用。'."\n" + ."\n" + .'- **40**:已停机。'."\n" + ."\n" + .'- **50**:已销户。', 'type' => 'string', 'example' => '35'], + 'DataType' => ['description' => '流量类型。'."\n" + ."\n" + .'- **singlecard**:单卡通用流量。'."\n" + ."\n" + .'- **directionalcard**:单卡定向流量。'."\n" + ."\n" + .'- **sameflowcard**:同档位池共享流量。'."\n" + ."\n" + .'- **directional_sameflowcard**:同档位池共享定向流量。'."\n" + ."\n" + .'- **unityPayPool**:统付池通用流量。'."\n" + ."\n" + .'- **GREcard**:统付池定向流量。', 'type' => 'string', 'example' => 'sameflowcard'], + 'CardLimitSpeedThreshold' => ['description' => '物联网卡达量限速阈值,单位为KB。(暂不支持)', 'type' => 'integer', 'format' => 'int32', 'example' => '1024'], + 'PeriodRestFlow' => ['description' => '周期剩余流量。', 'type' => 'string', 'example' => '130.00MB'], + 'DirectionalGroupName' => ['description' => '定向分组名称。', 'type' => 'string', 'example' => '测试分组'], + 'CredentialType' => ['description' => '套餐凭证类型。'."\n" + ."\n" + .'- 单卡套餐示例:CT-SC-M-1-30M(运营商-套餐类型-套餐周期-资费版本-流量包档位)。'."\n" + ."\n" + .'- 同档位池套餐示例:CM-SF-M-3-100M(运营商-套餐类型-套餐周期-资费版本-流量包档位)。'."\n" + ."\n" + .'- 统付池套餐示例:CU-UPG-M-2-池编号(运营商-套餐类型-套餐周期-资费版本-池编号)。', 'type' => 'string', 'example' => 'CT-SC-M-1-30M'], + 'PeriodAddFlow' => ['description' => '周期累计流量。', 'type' => 'string', 'example' => '0KB'], + 'DirectionalGroupId' => ['description' => '定向分组ID。', 'type' => 'string', 'example' => '22'], + 'PeriodSmsUse' => ['description' => '周期短信用量。', 'type' => 'string', 'example' => '0'], + 'OsStatus' => ['description' => '物联网卡的具体状态。'."\n" + ."\n" + .'- **10**:测试期。'."\n" + ."\n" + .'- **20**:静默期。'."\n" + ."\n" + .'- **100**:使用中。'."\n" + ."\n" + .'- **150**:部分使用中。'."\n" + ."\n" + .'- **200**:主动停用。'."\n" + ."\n" + .'- **300**:达量停用。'."\n" + ."\n" + .'- **400**:信控停用。'."\n" + ."\n" + .'- **500**:换绑停用。'."\n" + ."\n" + .'- **600**:实名停用。'."\n" + ."\n" + .'- **700**:异常停用。'."\n" + ."\n" + .'- **40**:已停机。'."\n" + ."\n" + .'- **50**:已销户。', 'type' => 'string', 'example' => '200'], + 'NotifyId' => ['description' => '自动化规则的通知ID。', 'type' => 'string', 'example' => '11111'], + 'DataLevel' => ['description' => '流量包档位。', 'type' => 'string', 'example' => '30MB'], 'TagList' => [ 'description' => '物联网卡的标签。', 'type' => 'array', @@ -2018,249 +1087,120 @@ 'description' => '标签列表。', 'type' => 'object', 'properties' => [ - 'TagName' => [ - 'description' => '标签名称。', - 'type' => 'string', - 'example' => '测试标签', - ], - 'Id' => [ - 'description' => '标签ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '24', - ], + 'TagName' => ['description' => '标签名称。', 'type' => 'string', 'example' => '测试标签'], + 'Id' => ['description' => '标签ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '24'], ], ], 'example' => '测试标签', ], - 'AliyunOrderId' => [ - 'description' => '物联网卡关联的订单编号。', - 'type' => 'string', - 'example' => '211519634******', - ], - 'AliFee' => [ - 'description' => '资费版本。', - 'type' => 'string', - 'example' => 'ali_2', - ], - 'ActiveType' => [ - 'description' => '激活方式。'."\n" - ."\n" - .'- **first_data_record**:首话单激活。'."\n" - ."\n" - .'- **carrier_status_push**:运营商状态推送激活。'."\n" - ."\n" - .'- **silence_expire**:静默期结束激活。'."\n" - ."\n" - .'- **manage**:手动激活。'."\n" - ."\n" - .'- **test_flow_depleted**:测试流量超套激活。', - 'type' => 'string', - 'example' => 'first_data_record', - ], - 'IsAutoRecharge' => [ - 'description' => '套餐是否自动续费。'."\n" - ."\n" - .'- **true**:是。'."\n" - ."\n" - .'- **false**:否。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'AutoLimitResume' => [ - 'description' => '达量停用后,次月是否自动复用。'."\n" - ."\n" - .'- **true**:是。'."\n" - ."\n" - .'- **false**:否。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'CredentialInstanceId' => [ - 'description' => '凭证实例ID。', - 'type' => 'string', - 'example' => '2622***', - ], - 'CredentialLimitSpeedThreshold' => [ - 'description' => '凭证达量限速阈值,单位为KB。(暂不支持)。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1024', - ], - 'ExpireTime' => [ - 'description' => '套餐到期时间。', - 'type' => 'string', - 'example' => '2022-04-30 23:59:59', - ], - 'FlowThresholdUnit' => [ - 'description' => '阈值流量单位。', - 'type' => 'string', - 'example' => 'KB', - ], - 'ApnName' => [ - 'description' => 'APN名称。', - 'type' => 'string', - 'example' => 'cmiot', - ], - 'ActiveTime' => [ - 'description' => '激活时间。', - 'type' => 'string', - 'example' => '2021-11-16 16:35:50', - ], - 'CardLimitStopThreshold' => [ - 'description' => '物联网卡达量停用阈值,单位为KB。(暂不支持)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20480', - ], - 'Iccid' => [ - 'description' => '物联网卡的ICCID。', - 'type' => 'string', - 'example' => '89860321******15668', - ], - 'Vendor' => [ - 'description' => '运营商。'."\n" - ."\n" - .'- **CMCC**:移动。'."\n" - ."\n" - .'- **CUCC**:联通。'."\n" - ."\n" - .'- **CTCC**:电信。'."\n" - ."\n" - .'- **VNO**:虚拟运营商。', - 'type' => 'string', - 'example' => 'CMCC', - ], - 'Period' => [ - 'description' => '套餐结算周期。'."\n" - ."\n" - .'- **1101**:月度。'."\n" - ."\n" - .'- **1103**:季度。'."\n" - ."\n" - .'- **1106**:半年度。'."\n" - ."\n" - .'- **1112**:年度。', - 'type' => 'string', - 'example' => '1101', - ], - 'PrivateNetworkSegment' => [ - 'description' => '私网网段(定向卡)。', - 'type' => 'string', - 'example' => '1.*.3.*', - ], - 'OpenAccountTime' => [ - 'description' => '开户时间。', - 'type' => 'string', - 'example' => '2021-11-29 16:12:14', - ], - 'CertifyType' => [ - 'description' => '认证方式。'."\n" - ."\n" - .'enterprise:企业认证。', - 'type' => 'string', - 'example' => 'enterprise', - ], - 'SimType' => [ - 'description' => 'SIM卡类型。'."\n" - ."\n" - .'- **nano**:插拔三切卡(消费级)。'."\n" - ."\n" - .'- **micro**:插拔双切卡(消费级)。'."\n" - ."\n" - .'- **normal**:插拔大卡(消费级)。'."\n" - ."\n" - .'- **simplus56**:贴片卡5*6(消费级)。'."\n" - ."\n" - .'- **simplus22**:贴片卡2*2(消费级)。'."\n" - ."\n" - .'- **industry-normal**:插拔大卡(工业级)。'."\n" - ."\n" - .'- **industry-micro**:插拔双切卡(工业级)。'."\n" - ."\n" - .'- **industry-nano**:插拔三切卡(工业级)。'."\n" - ."\n" - .'- **simplus**:贴片卡5*6(工业级)。'."\n" - ."\n" - .'- **industry-simplus22**:贴片卡2*2(工业级)。', - 'type' => 'string', - 'example' => 'nano', - ], - 'CertifyStatus' => [ - 'description' => '实名认证状态。'."\n" - ."\n" - .'- **1**:未认证。'."\n" - ."\n" - .'- **2**:已认证。', - 'type' => 'string', - 'example' => '2', - ], - 'DeviceImei' => [ - 'description' => '设备的IMEI号。', - 'type' => 'string', - 'example' => '11111111******', - ], - 'VsimInstanceId' => [ - 'description' => '物联网卡的InstanceId值。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '123456', - ], - 'AutoRebindReuse' => [ - 'description' => '自动换绑重用。'."\n" - ."\n" - .'- **true**:开。'."\n" - ."\n" - .'- **false**:关。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'CredentialNo' => [ - 'description' => '套餐凭证。', - 'type' => 'string', - 'example' => 'CM-***-*-2-**M', - ], - 'CredentialLimitStopThreshold' => [ - 'description' => '凭证达量停用阈值。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20480', - ], + 'AliyunOrderId' => ['description' => '物联网卡关联的订单编号。', 'type' => 'string', 'example' => '211519634******'], + 'AliFee' => ['description' => '资费版本。', 'type' => 'string', 'example' => 'ali_2'], + 'ActiveType' => ['description' => '激活方式。'."\n" + ."\n" + .'- **first_data_record**:首话单激活。'."\n" + ."\n" + .'- **carrier_status_push**:运营商状态推送激活。'."\n" + ."\n" + .'- **silence_expire**:静默期结束激活。'."\n" + ."\n" + .'- **manage**:手动激活。'."\n" + ."\n" + .'- **test_flow_depleted**:测试流量超套激活。', 'type' => 'string', 'example' => 'first_data_record'], + 'IsAutoRecharge' => ['description' => '套餐是否自动续费。'."\n" + ."\n" + .'- **true**:是。'."\n" + ."\n" + .'- **false**:否。', 'type' => 'boolean', 'example' => 'true'], + 'AutoLimitResume' => ['description' => '达量停用后,次月是否自动复用。'."\n" + ."\n" + .'- **true**:是。'."\n" + ."\n" + .'- **false**:否。', 'type' => 'boolean', 'example' => 'true'], + 'CredentialInstanceId' => ['description' => '凭证实例ID。', 'type' => 'string', 'example' => '2622***'], + 'CredentialLimitSpeedThreshold' => ['description' => '凭证达量限速阈值,单位为KB。(暂不支持)。', 'type' => 'integer', 'format' => 'int32', 'example' => '1024'], + 'ExpireTime' => ['description' => '套餐到期时间。', 'type' => 'string', 'example' => '2022-04-30 23:59:59'], + 'FlowThresholdUnit' => ['description' => '阈值流量单位。', 'type' => 'string', 'example' => 'KB'], + 'ApnName' => ['description' => 'APN名称。', 'type' => 'string', 'example' => 'cmiot'], + 'ActiveTime' => ['description' => '激活时间。', 'type' => 'string', 'example' => '2021-11-16 16:35:50'], + 'CardLimitStopThreshold' => ['description' => '物联网卡达量停用阈值,单位为KB。(暂不支持)', 'type' => 'integer', 'format' => 'int32', 'example' => '20480'], + 'Iccid' => ['description' => '物联网卡的ICCID。', 'type' => 'string', 'example' => '89860321******15668'], + 'Vendor' => ['description' => '运营商。'."\n" + ."\n" + .'- **CMCC**:移动。'."\n" + ."\n" + .'- **CUCC**:联通。'."\n" + ."\n" + .'- **CTCC**:电信。'."\n" + ."\n" + .'- **VNO**:虚拟运营商。', 'type' => 'string', 'example' => 'CMCC'], + 'Period' => ['description' => '套餐结算周期。'."\n" + ."\n" + .'- **1101**:月度。'."\n" + ."\n" + .'- **1103**:季度。'."\n" + ."\n" + .'- **1106**:半年度。'."\n" + ."\n" + .'- **1112**:年度。', 'type' => 'string', 'example' => '1101'], + 'PrivateNetworkSegment' => ['description' => '私网网段(定向卡)。', 'type' => 'string', 'example' => '1.*.3.*'], + 'OpenAccountTime' => ['description' => '开户时间。', 'type' => 'string', 'example' => '2021-11-29 16:12:14'], + 'CertifyType' => ['description' => '认证方式。'."\n" + ."\n" + .'enterprise:企业认证。', 'type' => 'string', 'example' => 'enterprise'], + 'SimType' => ['description' => 'SIM卡类型。'."\n" + ."\n" + .'- **nano**:插拔三切卡(消费级)。'."\n" + ."\n" + .'- **micro**:插拔双切卡(消费级)。'."\n" + ."\n" + .'- **normal**:插拔大卡(消费级)。'."\n" + ."\n" + .'- **simplus56**:贴片卡5*6(消费级)。'."\n" + ."\n" + .'- **simplus22**:贴片卡2*2(消费级)。'."\n" + ."\n" + .'- **industry-normal**:插拔大卡(工业级)。'."\n" + ."\n" + .'- **industry-micro**:插拔双切卡(工业级)。'."\n" + ."\n" + .'- **industry-nano**:插拔三切卡(工业级)。'."\n" + ."\n" + .'- **simplus**:贴片卡5*6(工业级)。'."\n" + ."\n" + .'- **industry-simplus22**:贴片卡2*2(工业级)。', 'type' => 'string', 'example' => 'nano'], + 'CertifyStatus' => ['description' => '实名认证状态。'."\n" + ."\n" + .'- **1**:未认证。'."\n" + ."\n" + .'- **2**:已认证。', 'type' => 'string', 'example' => '2'], + 'DeviceImei' => ['description' => '设备的IMEI号。', 'type' => 'string', 'example' => '11111111******'], + 'VsimInstanceId' => ['description' => '物联网卡的InstanceId值。', 'type' => 'integer', 'format' => 'int32', 'example' => '123456'], + 'AutoRebindReuse' => ['description' => '自动换绑重用。'."\n" + ."\n" + .'- **true**:开。'."\n" + ."\n" + .'- **false**:关。', 'type' => 'boolean', 'example' => 'false'], + 'CredentialNo' => ['description' => '套餐凭证。', 'type' => 'string', 'example' => 'CM-***-*-2-**M'], + 'CredentialLimitStopThreshold' => ['description' => '凭证达量停用阈值。', 'type' => 'integer', 'format' => 'int32', 'example' => '20480'], 'Imsi' => [ 'description' => '物联网卡的IMSI。', 'type' => 'array', - 'items' => [ - 'description' => '物联网卡的IMSI。', - 'type' => 'string', - 'example' => '460081937******', - ], + 'items' => ['description' => '物联网卡的IMSI。', 'type' => 'string', 'example' => '460081937******'], ], 'Msisdn' => [ 'description' => '物联网卡的MSISDN。', 'type' => 'array', - 'items' => [ - 'description' => '物联网卡的MSISDN。', - 'type' => 'string', - 'example' => '1440993******', - ], - ], - 'OpenSms' => [ - 'description' => '短信功能开通情况。'."\n" - ."\n" - .'- true:开通。'."\n" - ."\n" - .'- false:关闭。', - 'type' => 'boolean', - 'example' => 'true', + 'items' => ['description' => '物联网卡的MSISDN。', 'type' => 'string', 'example' => '1440993******'], ], + 'OpenSms' => ['description' => '短信功能开通情况。'."\n" + ."\n" + .'- true:开通。'."\n" + ."\n" + .'- false:关闭。', 'type' => 'boolean', 'example' => 'true'], 'Ip' => [ 'description' => '物联网卡的IP地址。', 'type' => 'array', - 'items' => [ - 'description' => '物联网卡的IP地址。', - 'type' => 'string', - 'example' => '190.*.*.*', - ], + 'items' => ['description' => '物联网卡的IP地址。', 'type' => 'string', 'example' => '190.*.*.*'], ], ], ], @@ -2272,58 +1212,22 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'linkcard.check.InstanceIdCanNotEmpty', - 'errorMessage' => 'InstanceId cannot be empty.', - ], - [ - 'errorCode' => 'linkcard.check.IccidCanNotEmpty', - 'errorMessage' => 'Iccid cannot be empty.', - ], - [ - 'errorCode' => 'linkcard.system.IllegalRequest', - 'errorMessage' => 'The request parameter is invalid.', - ], - [ - 'errorCode' => 'linkcard.common.CardDestroy', - 'errorMessage' => 'The card do not exist or destroy.', - ], - [ - 'errorCode' => 'linkcard.common.CardNotExist', - 'errorMessage' => 'The card does not exist.', - ], - [ - 'errorCode' => 'CardDisabled', - 'errorMessage' => 'The SIM card has been permanently disabled.', - ], + ['errorCode' => 'linkcard.check.InstanceIdCanNotEmpty', 'errorMessage' => 'InstanceId cannot be empty.', 'description' => ''], + ['errorCode' => 'linkcard.check.IccidCanNotEmpty', 'errorMessage' => 'Iccid cannot be empty.', 'description' => ''], + ['errorCode' => 'linkcard.system.IllegalRequest', 'errorMessage' => 'The request parameter is invalid.', 'description' => ''], + ['errorCode' => 'linkcard.common.CardDestroy', 'errorMessage' => 'The card do not exist or destroy.', 'description' => ''], + ['errorCode' => 'linkcard.common.CardNotExist', 'errorMessage' => 'The card does not exist.', 'description' => ''], + ['errorCode' => 'CardDisabled', 'errorMessage' => 'The SIM card has been permanently disabled.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => ''], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => '%s..', - 'errorMessage' => '%s..', - ], - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], - [ - 'errorCode' => 'linkcard.common.BusinessProcessError', - 'errorMessage' => 'A business processing exception occurred.', - ], + ['errorCode' => '%s..', 'errorMessage' => '%s..', 'description' => ''], + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => ''], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => ''], + ['errorCode' => 'linkcard.common.BusinessProcessError', 'errorMessage' => 'A business processing exception occurred.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Data\\": {\\n \\"ListPsimCards\\": [\\n {\\n \\"Status\\": \\"35\\",\\n \\"PrivateNetworkSegment\\": \\"*.2.*.4\\",\\n \\"OsStatus\\": \\"300\\",\\n \\"CertifyStatus\\": \\"2\\",\\n \\"ApnName\\": \\"cmiot\\",\\n \\"PeriodAddFlow\\": \\"130.00MB\\",\\n \\"Iccid\\": \\"89860321******15668\\",\\n \\"Vendor\\": \\"CMCC\\",\\n \\"PeriodSmsUse\\": \\"0\\",\\n \\"Imsi\\": [\\n \\"460081937******\\"\\n ],\\n \\"Msisdn\\": [\\n \\"1411111******\\"\\n ],\\n \\"OpenSms\\": true,\\n \\"Ip\\": [\\n \\"1.1.*.*\\"\\n ]\\n }\\n ],\\n \\"VsimCardInfo\\": {\\n \\"Status\\": \\"35\\",\\n \\"DataType\\": \\"sameflowcard\\",\\n \\"CardLimitSpeedThreshold\\": 1024,\\n \\"PeriodRestFlow\\": \\"130.00MB\\",\\n \\"DirectionalGroupName\\": \\"测试分组\\",\\n \\"CredentialType\\": \\"CT-SC-M-1-30M\\",\\n \\"PeriodAddFlow\\": \\"0KB\\",\\n \\"DirectionalGroupId\\": \\"22\\",\\n \\"PeriodSmsUse\\": \\"0\\",\\n \\"OsStatus\\": \\"200\\",\\n \\"NotifyId\\": \\"11111\\",\\n \\"DataLevel\\": \\"30MB\\",\\n \\"TagList\\": [\\n {\\n \\"TagName\\": \\"测试标签\\",\\n \\"Id\\": 24\\n }\\n ],\\n \\"AliyunOrderId\\": \\"211519634******\\",\\n \\"AliFee\\": \\"ali_2\\",\\n \\"ActiveType\\": \\"first_data_record\\",\\n \\"IsAutoRecharge\\": true,\\n \\"AutoLimitResume\\": true,\\n \\"CredentialInstanceId\\": \\"2622***\\",\\n \\"CredentialLimitSpeedThreshold\\": 1024,\\n \\"ExpireTime\\": \\"2022-04-30 23:59:59\\",\\n \\"FlowThresholdUnit\\": \\"KB\\",\\n \\"ApnName\\": \\"cmiot\\",\\n \\"ActiveTime\\": \\"2021-11-16 16:35:50\\",\\n \\"CardLimitStopThreshold\\": 20480,\\n \\"Iccid\\": \\"89860321******15668\\",\\n \\"Vendor\\": \\"CMCC\\",\\n \\"Period\\": \\"1101\\",\\n \\"PrivateNetworkSegment\\": \\"1.*.3.*\\",\\n \\"OpenAccountTime\\": \\"2021-11-29 16:12:14\\",\\n \\"CertifyType\\": \\"enterprise\\",\\n \\"SimType\\": \\"nano\\",\\n \\"CertifyStatus\\": \\"2\\",\\n \\"DeviceImei\\": \\"11111111******\\",\\n \\"VsimInstanceId\\": 123456,\\n \\"AutoRebindReuse\\": false,\\n \\"CredentialNo\\": \\"CM-***-*-2-**M\\",\\n \\"CredentialLimitStopThreshold\\": 20480,\\n \\"Imsi\\": [\\n \\"460081937******\\"\\n ],\\n \\"Msisdn\\": [\\n \\"1440993******\\"\\n ],\\n \\"OpenSms\\": true,\\n \\"Ip\\": [\\n \\"190.*.*.*\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetCardDetailResponse>\\n <Code>200</Code>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <Success>true</Success>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n <Data>\\n <ListPsimCards>\\n <Status>35</Status>\\n <PrivateNetworkSegment>*.2.*.4</PrivateNetworkSegment>\\n <OsStatus>300</OsStatus>\\n <CertifyStatus>2</CertifyStatus>\\n <ApnName>cmiot</ApnName>\\n <PeriodAddFlow>130.00MB</PeriodAddFlow>\\n <Iccid>89860321******15668</Iccid>\\n <Vendor>CMCC</Vendor>\\n <PeriodSmsUse>0</PeriodSmsUse>\\n <Imsi>460081937******</Imsi>\\n <Msisdn>1411111******</Msisdn>\\n <OpenSms>true</OpenSms>\\n <Ip>1.1.*.*</Ip>\\n </ListPsimCards>\\n <VsimCardInfo>\\n <Status>35</Status>\\n <DataType>sameflowcard</DataType>\\n <CardLimitSpeedThreshold>1024</CardLimitSpeedThreshold>\\n <PeriodRestFlow>130.00MB</PeriodRestFlow>\\n <DirectionalGroupName>测试分组</DirectionalGroupName>\\n <CredentialType>CT-SC-M-1-30M</CredentialType>\\n <PeriodAddFlow>0KB</PeriodAddFlow>\\n <DirectionalGroupId>22</DirectionalGroupId>\\n <PeriodSmsUse>0</PeriodSmsUse>\\n <OsStatus>200</OsStatus>\\n <NotifyId>11111</NotifyId>\\n <DataLevel>30MB</DataLevel>\\n <TagList>\\n <TagName>测试标签</TagName>\\n <Id>24</Id>\\n </TagList>\\n <AliyunOrderId>211519634******</AliyunOrderId>\\n <AliFee>ali_2</AliFee>\\n <ActiveType>first_data_record</ActiveType>\\n <IsAutoRecharge>true</IsAutoRecharge>\\n <AutoLimitResume>true</AutoLimitResume>\\n <CredentialInstanceId>2622***</CredentialInstanceId>\\n <CredentialLimitSpeedThreshold>1024</CredentialLimitSpeedThreshold>\\n <ExpireTime>2022-04-30 23:59:59</ExpireTime>\\n <FlowThresholdUnit>KB</FlowThresholdUnit>\\n <ApnName>cmiot</ApnName>\\n <ActiveTime>2021-11-16 16:35:50</ActiveTime>\\n <CardLimitStopThreshold>20480</CardLimitStopThreshold>\\n <Iccid>89860321******15668</Iccid>\\n <Vendor>CMCC</Vendor>\\n <Period>1101</Period>\\n <PrivateNetworkSegment>1.*.3.*</PrivateNetworkSegment>\\n <OpenAccountTime>2021-11-29 16:12:14</OpenAccountTime>\\n <CertifyType>enterprise</CertifyType>\\n <SimType>nano</SimType>\\n <CertifyStatus>2</CertifyStatus>\\n <DeviceImei>11111111******</DeviceImei>\\n <VsimInstanceId>123456</VsimInstanceId>\\n <AutoRebindReuse>false</AutoRebindReuse>\\n <CredentialNo>CM-***-*-2-**M</CredentialNo>\\n <CredentialLimitStopThreshold>20480</CredentialLimitStopThreshold>\\n <Imsi>460081937******</Imsi>\\n <Msisdn>1440993******</Msisdn>\\n <OpenSms>true</OpenSms>\\n <Ip>190.*.*.*</Ip>\\n </VsimCardInfo>\\n </Data>\\n</GetCardDetailResponse>","errorExample":""}]', @@ -2336,438 +1240,42 @@ 'requestParamsDescription' => ' 调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~375336~~)。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [], ], - 'ListCardInfo' => [ - 'summary' => '查询卡列表。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetCardFlowInfo' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ActiveTimeEnd', - 'in' => 'query', - 'schema' => [ - 'description' => '物联网卡的激活时间区间:结束时间。'."\n" - ."\n" - .'格式为:`yyyy-MM-dd HH:mm:ss`。', - 'type' => 'string', - 'required' => false, - 'example' => '2022-05-25 23:59:59', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '每页的数量,支持10、15、25、40。'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '10', - ], - ], - [ 'name' => 'Iccid', 'in' => 'query', - 'schema' => [ - 'description' => '物联网卡的ICCID。'."\n" - ."\n" - .'您可在物联网卡上查看ICCID,或者在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/?spm=a2c4g.11186623.0.0.6a072d25p4pUg8)的**卡管理页面**查看ICCID。', - 'type' => 'string', - 'required' => false, - 'example' => '89860321******15668', - ], - ], - [ - 'name' => 'CredentialNo', - 'in' => 'query', - 'schema' => [ - 'description' => '套餐凭证。'."\n" - ."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CM-***-*-2-**M', - ], - ], - [ - 'name' => 'Vendor', - 'in' => 'query', - 'schema' => [ - 'description' => '运营商。'."\n" - ."\n" - .'- **CMCC**:移动。'."\n" - ."\n" - .'- **CUCC**:联通。'."\n" - ."\n" - .'- **CTCC**:电信。'."\n" - ."\n" - .'- **VNO**:虚拟运营商。', - 'type' => 'string', - 'required' => false, - 'example' => 'CMCC', - ], - ], - [ - 'name' => 'PageNo', - 'in' => 'query', - 'schema' => [ - 'description' => '查询页数,需结合**PageSize**参数组合使用。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'Msisdn', - 'in' => 'query', - 'schema' => [ - 'description' => '物联网卡的MSISDN。', - 'type' => 'string', - 'required' => false, - 'example' => '1440993******', - ], - ], - [ - 'name' => 'AliyunOrderId', - 'in' => 'query', - 'schema' => [ - 'description' => '物联网卡关联的订单编号。'."\n" - ."\n", - 'type' => 'string', - 'required' => false, - 'example' => '211519634******', - ], - ], - [ - 'name' => 'AliFee', - 'in' => 'query', - 'schema' => [ - 'description' => '资费版本。', - 'type' => 'string', - 'required' => false, - 'example' => 'ali_2', - ], - ], - [ - 'name' => 'Period', - 'in' => 'query', - 'schema' => [ - 'description' => '套餐结算周期。'."\n" - ."\n" - .'- **1101**:月度。'."\n" - ."\n" - .'- **1103**:季度。'."\n" - ."\n" - .'- **1106**:半年度。'."\n" - ."\n" - .'- **1112**:年度。', - 'type' => 'string', - 'required' => false, - 'example' => '1101', - ], - ], - [ - 'name' => 'DataType', - 'in' => 'query', - 'schema' => [ - 'description' => '流量类型。'."\n" - ."\n" - .'- **singlecard**:单卡通用流量。'."\n" - ."\n" - .'- **directionalcard**:单卡定向流量。'."\n" - ."\n" - .'- **sameflowcard**:同档位池共享流量。'."\n" - ."\n" - .'- **directional_sameflowcard**:同档位池共享定向流量。'."\n" - ."\n" - .'- **unityPayPool**:统付池通用流量。'."\n" - ."\n" - .'- **GREcard** :统付池定向流量。', - 'type' => 'string', - 'required' => false, - 'example' => 'sameflowcard', - ], - ], - [ - 'name' => 'ActiveTimeStart', - 'in' => 'query', - 'schema' => [ - 'description' => '物联网卡的激活时间区间:开始时间。'."\n" - ."\n" - .'格式为:`yyyy-MM-dd HH:mm:ss`。', - 'type' => 'string', - 'required' => false, - 'example' => '2022-05-25 23:59:59', - ], - ], - [ - 'name' => 'SimType', - 'in' => 'query', - 'schema' => [ - 'description' => 'SIM卡类型。'."\n" - ."\n" - .'- **nano**:插拔三切卡(消费级)。'."\n" - ."\n" - .'- **micro**:插拔双切卡(消费级)。'."\n" - ."\n" - .'- **normal**:插拔大卡(消费级)。'."\n" - ."\n" - .'- **simplus56**:贴片卡5*6(消费级)。'."\n" - ."\n" - .'- **simplus22**:贴片卡2*2(消费级)。'."\n" - ."\n" - .'- **industry-normal**:插拔大卡(工业级)。'."\n" - ."\n" - .'- **industry-micro**:插拔双切卡(工业级)。'."\n" - ."\n" - .'- **industry-nano**:插拔三切卡(工业级)。'."\n" - ."\n" - .'- **simplus**:贴片卡5*6(工业级)。'."\n" - ."\n" - .'- **industry-simplus22**:贴片卡2*2(工业级)。', - 'type' => 'string', - 'required' => false, - 'example' => 'nano', - ], - ], - [ - 'name' => 'ExpireTimeEnd', - 'in' => 'query', - 'schema' => [ - 'description' => '物联网卡的套餐结束时间。'."\n" - ."\n" - .'格式为:`yyyy-MM-dd HH:mm:ss`', - 'type' => 'string', - 'required' => false, - 'example' => '2022-05-25 23:59:59', - ], + 'schema' => ['description' => '物联网卡的ICCID。'."\n" + ."\n" + .'您可在物联网卡上查看ICCID,或者在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/?spm=a2c4g.11186623.0.0.6a072d25p4pUg8)的卡管理页面查看ICCID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '89860321******15668'], ], [ - 'name' => 'IsAutoRecharge', - 'in' => 'query', - 'schema' => [ - 'description' => '套餐是否自动续费。'."\n" - ."\n" - .'- **true**:是。'."\n" - ."\n" - .'- **false**:否。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - [ - 'name' => 'ExpireTimeStart', - 'in' => 'query', - 'schema' => [ - 'description' => '物联网卡的套餐开始时间。'."\n" - ."\n" - .'格式为:`yyyy-MM-dd HH:mm:ss`', - 'type' => 'string', - 'required' => false, - 'example' => '2022-05-25 23:59:59', - ], - ], - [ - 'name' => 'OsStatus', - 'in' => 'query', - 'schema' => [ - 'description' => '物联网卡的具体状态。'."\n" - ."\n" - .'- **10**:测试期。'."\n" - ."\n" - .'- **20**:静默期。'."\n" - ."\n" - .'- **100**:使用中。'."\n" - ."\n" - .'- **150**:部分使用中。'."\n" - ."\n" - .'- **200**:主动停用。'."\n" - ."\n" - .'- **300**:达量停用。'."\n" - ."\n" - .'- **400**:信控停用。'."\n" - ."\n" - .'- **500**:换绑停用。'."\n" - ."\n" - .'- **600**:实名停用。'."\n" - ."\n" - .'- **700**:异常停用。'."\n" - ."\n" - .'- **40**:已停机。'."\n" - ."\n" - .'- **50**:已销户。', - 'type' => 'string', - 'required' => false, - 'example' => '300', - ], - ], - [ - 'name' => 'NotifyId', - 'in' => 'query', - 'schema' => [ - 'description' => '自动化规则的通知ID。', - 'type' => 'string', - 'required' => false, - 'example' => '11111', - ], - ], - [ - 'name' => 'DataLevel', - 'in' => 'query', - 'schema' => [ - 'description' => '流量包档位。', - 'type' => 'string', - 'required' => false, - 'example' => '30MB', - ], - ], - [ - 'name' => 'Status', + 'name' => 'DateList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '物联网卡的状态。'."\n" - ."\n" - .'- **10**:可测试。'."\n" - ."\n" - .'- **20**:未使用。'."\n" - ."\n" - .'- **30**:使用中。'."\n" - ."\n" - .'- **35**:已停用。'."\n" - ."\n" - .'- **40**:已停机。'."\n" + 'description' => '需要查询的月份。'."\n" ."\n" - .'- **50**:已销户。', - 'type' => 'string', - 'required' => false, - 'example' => '35', - ], - ], - [ - 'name' => 'TagName', - 'in' => 'query', - 'schema' => [ - 'description' => '标签名称。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '测试标签', - ], - ], - [ - 'name' => 'CertifyType', - 'in' => 'query', - 'schema' => [ - 'description' => '认证方式。'."\n" + .'最多可以查询6个月,如果为空则获取最近两个月的数据。', + 'type' => 'array', + 'items' => ['description' => '需要查询的月份。'."\n" ."\n" - .'仅支持enterprise:企业认证。', - 'type' => 'string', - 'required' => false, - 'example' => 'enterprise', - ], - ], - [ - 'name' => 'DirectionalGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => '定向分组ID。', - 'type' => 'string', + .'最多可以查询6个月,如果为空则获取最近两个月的数据。', 'type' => 'string', 'required' => false, 'example' => '["202110","202111"]'], 'required' => false, - 'example' => '22', - ], - ], - [ - 'name' => 'ApnName', - 'in' => 'query', - 'schema' => [ - 'description' => 'APN名称。'."\n" - ."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cmiot', - ], - ], - [ - 'name' => 'Imsi', - 'in' => 'query', - 'schema' => [ - 'description' => '物联网卡的IMSI。', - 'type' => 'string', - 'required' => false, - 'example' => '460081937******', - ], - ], - [ - 'name' => 'PoolId', - 'in' => 'query', - 'schema' => [ - 'description' => '池编号。', - 'type' => 'string', - 'required' => false, - 'example' => 'test1', - ], - ], - [ - 'name' => 'MinFlow', - 'in' => 'query', - 'schema' => [ - 'description' => '周期用量区间筛选:最小用量(单位MB)。', - 'type' => 'string', - 'required' => false, - 'example' => '20', - ], - ], - [ - 'name' => 'MaxFlow', - 'in' => 'query', - 'schema' => [ - 'description' => '周期用量区间筛选:最大用量(单位MB)。', - 'type' => 'string', - 'required' => false, - 'example' => '30', - ], - ], - [ - 'name' => 'MaxRestFlowPercentage', - 'in' => 'query', - 'schema' => [ - 'description' => '单卡周期流量剩余比例,仅支持如下三个参数。'."\n" - .'0.1:剩余10%'."\n" - .'0.2:剩余20%'."\n" - .'0.3:剩余30%', - 'type' => 'number', - 'format' => 'double', - 'required' => false, - 'example' => '0.2', - ], - ], - [ - 'name' => 'NetworkType', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '网络制式:4G,5G。', - 'type' => 'string', - 'required' => false, - 'example' => '4G', + 'example' => '["202110","202111"]', + 'maxItems' => 5, ], ], ], @@ -2776,434 +1284,117 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'- **200**:表示成功。'."\n" - .'- 其它:表示错误码。错误码详情,请参见[错误码](~~375339~~)。', - 'type' => 'string', - 'example' => '200', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - ."\n" - .'- true:调用成功。'."\n" - ."\n" - .'- false:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'- **200**:表示成功。'."\n" + .'- 其它:表示错误码。错误码详情,请参见[错误码](~~375339~~)。', 'type' => 'string', 'example' => '200'], + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'Success' => ['description' => '是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], 'Data' => [ - 'description' => '返回页面信息。', + 'description' => '物联网卡的流量信息。', 'type' => 'object', 'properties' => [ - 'PageNo' => [ - 'description' => '查询页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '每页显示的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageCount' => [ - 'description' => '总页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'Total' => [ - 'description' => '符合条件的物联网卡总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '199', + 'ListVendorDetail' => [ + 'description' => '网络数据。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'NetWorkDelay' => ['description' => '网络延迟,单位ms。', 'type' => 'string', 'example' => '20'], + 'SignalStrength' => ['description' => '信号强度。', 'type' => 'string', 'example' => '20'], + 'Vendor' => ['description' => '物联网卡的运营商。'."\n" + .'- CMCC:移动。'."\n" + .'- CUCC:联通。'."\n" + .'- CTCC:电信。'."\n", 'type' => 'string', 'example' => 'CMCC'], + 'UsedFlow' => ['description' => '已用流量。', 'type' => 'string', 'example' => '100MB'], + 'Ratio' => ['description' => '用量占比。', 'type' => 'string', 'example' => '80%'], + ], + 'description' => '', + ], ], - 'List' => [ - 'description' => '卡列表。', + 'ListCardMonthFlow' => [ + 'description' => '月用量详情。', 'type' => 'array', 'items' => [ - 'description' => '卡列表。', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '卡的状态。'."\n" - ."\n" - .'- **10**:可测试。'."\n" - ."\n" - .'- **20**:未使用。'."\n" - ."\n" - .'- **30**:使用中。'."\n" - ."\n" - .'- **35**:已停用。'."\n" - ."\n" - .'- **40**:已停机。'."\n" - ."\n" - .'- **50**:已销户。', - 'type' => 'string', - 'example' => '35', - ], - 'DataType' => [ - 'description' => '流量类型。'."\n" - ."\n" - .'- **singlecard**:单卡通用流量。'."\n" - ."\n" - .'- **directionalcard**:单卡定向流量。'."\n" - ."\n" - .'- **sameflowcard**:同档位池共享流量。'."\n" - ."\n" - .'- **directional_sameflowcard**:同档位池共享定向流量。'."\n" - ."\n" - .'- **unityPayPool**:统付池通用流量。'."\n" - ."\n" - .'- **GREcard** :统付池定向流量。', - 'type' => 'string', - 'example' => 'sameflowcard', - ], - 'DirectionalGroupName' => [ - 'description' => '定向分组名称。', - 'type' => 'string', - 'example' => '测试分组', - ], - 'PeriodRestFlow' => [ - 'description' => '周期剩余流量。', - 'type' => 'string', - 'example' => '130.00MB', - ], - 'CredentialType' => [ - 'description' => '套餐凭证类型。', - 'type' => 'string', - 'example' => 'unityPayPool', - ], - 'PeriodAddFlow' => [ - 'description' => '周期累计流量。', - 'type' => 'string', - 'example' => '0KB', - ], - 'PeriodSmsUse' => [ - 'description' => '周期短信用量。', - 'type' => 'string', - 'example' => '0', - ], - 'DataLevel' => [ - 'description' => '流量包档位。', - 'type' => 'string', - 'example' => '30MB', - ], - 'OsStatus' => [ - 'description' => '物联网卡的具体状态。'."\n" - ."\n" - .'- **10**:测试期。'."\n" - ."\n" - .'- **20**:静默期。'."\n" - ."\n" - .'- **100**:使用中。'."\n" - ."\n" - .'- **150**:部分使用中。'."\n" - ."\n" - .'- **200**:主动停用。'."\n" - ."\n" - .'- **300**:达量停用。'."\n" - ."\n" - .'- **400**:信控停用。'."\n" - ."\n" - .'- **500**:换绑停用。'."\n" - ."\n" - .'- **600**:实名停用。'."\n" - ."\n" - .'- **700**:异常停用。'."\n" - ."\n" - .'- **40**:已停机。'."\n" - ."\n" - .'- **50**:已销户。', - 'type' => 'string', - 'example' => '300', - ], - 'NotifyId' => [ - 'description' => '自动化规则的通知ID。', - 'type' => 'string', - 'example' => '11111', - ], - 'AliFee' => [ - 'description' => '资费版本。', - 'type' => 'string', - 'example' => 'ali_2', - ], - 'AliyunOrderId' => [ - 'description' => '物联网卡关联的订单编号。', - 'type' => 'string', - 'example' => '211519634******', - ], - 'ActiveType' => [ - 'description' => '物联网卡的激活方式。'."\n" - ."\n" - .'- **firstdatarecord**:首话单激活。'."\n" - ."\n" - .'- **carrierstatuspush**:运营商状态推送激活。'."\n" - ."\n" - .'- **silence_expire**:沉默期结束激活。'."\n" - ."\n" - .'- **manage**:手动激活。'."\n" - ."\n" - .'- **testflowdepleted**:测试期流量超出后激活。', - 'type' => 'string', - 'example' => 'first_data_record', - ], - 'IsAutoRecharge' => [ - 'description' => '套餐是否自动续费。'."\n" - ."\n" - .'- true:是。'."\n" - ."\n" - .'- false:否。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'CredentialInstanceId' => [ - 'description' => '凭证实例ID。', - 'type' => 'string', - 'example' => '2622***', - ], - 'ExpireTime' => [ - 'description' => '套餐到期时间。', - 'type' => 'string', - 'example' => '2022-04-30 23:59:59', - ], - 'ApnName' => [ - 'description' => 'APN名称。', - 'type' => 'string', - 'example' => 'cmiot', - ], - 'ActiveTime' => [ - 'description' => '激活时间。', - 'type' => 'string', - 'example' => '2021-11-16 16:35:50', - ], - 'Iccid' => [ - 'description' => '物联网卡的ICCID。', - 'type' => 'string', - 'example' => '89860321******15668', - ], - 'Vendor' => [ - 'description' => '运营商。'."\n" - ."\n" - .'- **CMCC**:移动。'."\n" - ."\n" - .'- **CUCC**:联通。'."\n" - ."\n" - .'- **CTCC**:电信。'."\n" - ."\n" - .'- **VNO**:虚拟运营商。', - 'type' => 'string', - 'example' => 'CMCC', - ], - 'Period' => [ - 'description' => '套餐结算周期。'."\n" - ."\n" - .'- **1101**:月度。'."\n" - ."\n" - .'- **1103**:季度。'."\n" - ."\n" - .'- **1106**:半年度。'."\n" - ."\n" - .'- **1112**:年度。', - 'type' => 'string', - 'example' => '1101', - ], - 'CertifyType' => [ - 'description' => '认证方式。'."\n" - ."\n" - .'enterprise:企业认证。', - 'type' => 'string', - 'example' => 'enterprise', - ], - 'PrivateNetworkSegment' => [ - 'description' => '私网网段(定向卡)。', - 'type' => 'string', - 'example' => '1.*.3.*', - ], - 'OpenAccountTime' => [ - 'description' => '开户时间。', - 'type' => 'string', - 'example' => '2021-11-29 16:12:14', - ], - 'SimType' => [ - 'description' => 'SIM卡类型。'."\n" - ."\n" - .'- **nano**:插拔三切卡(消费级)。'."\n" - ."\n" - .'- **micro**:插拔双切卡(消费级)。'."\n" - ."\n" - .'- **normal**:插拔大卡(消费级)。'."\n" - ."\n" - .'- **simplus56**:贴片卡5*6(消费级)。'."\n" - ."\n" - .'- **simplus22**:贴片卡2*2(消费级)。'."\n" - ."\n" - .'- **industry-normal**:插拔大卡(工业级)。'."\n" - ."\n" - .'- **industry-micro**:插拔双切卡(工业级)。'."\n" - ."\n" - .'- **industry-nano**:插拔三切卡(工业级)。'."\n" - ."\n" - .'- **simplus**:贴片卡5*6(工业级)。'."\n" - ."\n" - .'- **industry-simplus22**:贴片卡2*2(工业级)。', - 'type' => 'string', - 'example' => 'nano', - ], - 'VsimInstanceId' => [ - 'description' => '物联网卡的InstanceId值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123456', - ], - 'CredentialNo' => [ - 'description' => '套餐凭证。', - 'type' => 'string', - 'example' => 'CM-***-*-2-**M', - ], - 'TagList' => [ - 'description' => '物联网卡的标签。', + 'FlowCount' => ['description' => '月总流量统计。', 'type' => 'string', 'example' => '200MB'], + 'Month' => ['description' => '流量月份。', 'type' => 'string', 'example' => '202112'], + 'ListDayFlow' => [ + 'description' => '每日用量。', 'type' => 'array', 'items' => [ - 'description' => '标签列表。', 'type' => 'object', 'properties' => [ - 'TagName' => [ - 'description' => '标签名称。', - 'type' => 'string', - 'example' => '测试标签', - ], - 'Id' => [ - 'description' => '标签ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '24', - ], + 'Flow' => ['description' => '日用量。', 'type' => 'string', 'example' => '100MB'], + 'Day' => ['description' => '流量日期。', 'type' => 'string', 'example' => '20211201'], ], + 'description' => '', ], ], - 'Imsi' => [ - 'description' => '物联网卡的IMSI。', - 'type' => 'array', - 'items' => [ - 'description' => '物联网卡的IMSI。', - 'type' => 'string', - 'example' => '460081937******', - ], - ], - 'Msisdn' => [ - 'description' => '物联网卡的MSISDN。', - 'type' => 'array', - 'items' => [ - 'description' => '物联网卡的MSISDN。', - 'type' => 'string', - 'example' => '1440993******', - ], - ], - 'Remark' => [ - 'description' => '备注信息。', - 'type' => 'string', - 'example' => '备注信息', - ], - 'DirectionalGroupId' => [ - 'description' => '定向分组ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '55', - ], - 'NetworkType' => [ - 'description' => '网络制式:4G,5G。', - 'type' => 'string', - 'example' => '4G', - ], - 'FlowLatestModifiedTime' => [ - 'description' => '用量更新时间', - 'type' => 'string', - 'example' => '2023-08-15 18:20:11', - ], ], + 'description' => '', + ], + ], + 'ListPackageDTO' => [ + 'description' => '套餐包信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EffectiveTime' => ['description' => '套餐生效时间。', 'type' => 'string', 'example' => '2022-03-20 23:59:59'], + 'Remark' => ['description' => '备注。', 'type' => 'string', 'example' => '备注内容'], + 'PackageName' => ['description' => '套餐名称。', 'type' => 'string', 'example' => '移动-单卡通用流量-月包-30M'], + 'ExpireTime' => ['description' => '套餐到期时间。', 'type' => 'string', 'example' => '2022-04-30 23:59:59'], + ], + 'description' => '', ], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'linkcard.common.InvalidAliyunPK', - 'errorMessage' => 'AliyunPk is invalid.', - ], - [ - 'errorCode' => 'linkcard.system.IllegalRequest', - 'errorMessage' => 'The request parameter is invalid.', - ], + ['errorCode' => 'linkcard.check.IccidCanNotEmpty', 'errorMessage' => 'Iccid cannot be empty.', 'description' => '卡号不能为空。'], + ['errorCode' => 'linkcard.system.IllegalRequest', 'errorMessage' => 'The request parameter is invalid.', 'description' => '非法的请求参数。'], + ['errorCode' => 'linkcard.common.CardDestroy', 'errorMessage' => 'The card do not exist or destroy.', 'description' => '卡不存在或已销户'], + ['errorCode' => 'linkcard.common.CardNotExist', 'errorMessage' => 'The card does not exist.', 'description' => '卡号有误,卡不存在'], + ['errorCode' => 'CardDisabled', 'errorMessage' => 'The SIM card has been permanently disabled.', 'description' => '卡已经被销户'], ], 403 => [ - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => '没有RAM权限。'], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => '%s.'], ], 500 => [ - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], - [ - 'errorCode' => '%s..', - 'errorMessage' => '%s..', - ], - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], - [ - 'errorCode' => 'linkcard.common.BusinessProcessError', - 'errorMessage' => 'A business processing exception occurred.', - ], + ['errorCode' => '%s..', 'errorMessage' => '%s..', 'description' => '%s..'], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => '系统内部异常'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Data\\": {\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"PageCount\\": 20,\\n \\"Total\\": 199,\\n \\"List\\": [\\n {\\n \\"Status\\": \\"35\\",\\n \\"DataType\\": \\"sameflowcard\\",\\n \\"DirectionalGroupName\\": \\"测试分组\\",\\n \\"PeriodRestFlow\\": \\"130.00MB\\",\\n \\"CredentialType\\": \\"unityPayPool\\",\\n \\"PeriodAddFlow\\": \\"0KB\\",\\n \\"PeriodSmsUse\\": \\"0\\",\\n \\"DataLevel\\": \\"30MB\\",\\n \\"OsStatus\\": \\"300\\",\\n \\"NotifyId\\": \\"11111\\",\\n \\"AliFee\\": \\"ali_2\\",\\n \\"AliyunOrderId\\": \\"211519634******\\",\\n \\"ActiveType\\": \\"first_data_record\\",\\n \\"IsAutoRecharge\\": true,\\n \\"CredentialInstanceId\\": \\"2622***\\",\\n \\"ExpireTime\\": \\"2022-04-30 23:59:59\\",\\n \\"ApnName\\": \\"cmiot\\",\\n \\"ActiveTime\\": \\"2021-11-16 16:35:50\\",\\n \\"Iccid\\": \\"89860321******15668\\",\\n \\"Vendor\\": \\"CMCC\\",\\n \\"Period\\": \\"1101\\",\\n \\"CertifyType\\": \\"enterprise\\",\\n \\"PrivateNetworkSegment\\": \\"1.*.3.*\\",\\n \\"OpenAccountTime\\": \\"2021-11-29 16:12:14\\",\\n \\"SimType\\": \\"nano\\",\\n \\"VsimInstanceId\\": 123456,\\n \\"CredentialNo\\": \\"CM-***-*-2-**M\\",\\n \\"TagList\\": [\\n {\\n \\"TagName\\": \\"测试标签\\",\\n \\"Id\\": 24\\n }\\n ],\\n \\"Imsi\\": [\\n \\"460081937******\\"\\n ],\\n \\"Msisdn\\": [\\n \\"1440993******\\"\\n ],\\n \\"Remark\\": \\"备注信息\\",\\n \\"DirectionalGroupId\\": 55,\\n \\"NetworkType\\": \\"4G\\",\\n \\"FlowLatestModifiedTime\\": \\"2023-08-15 18:20:11\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListCardInfoResponse>\\n <Code>200</Code>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n <Data>\\n <PageNo>1</PageNo>\\n <PageSize>10</PageSize>\\n <PageCount>20</PageCount>\\n <Total>199</Total>\\n <List>\\n <Status>35</Status>\\n <DataType>sameflowcard</DataType>\\n <DirectionalGroupName>测试分组</DirectionalGroupName>\\n <PeriodRestFlow>130.00MB</PeriodRestFlow>\\n <CredentialType>unityPayPool</CredentialType>\\n <PeriodAddFlow>0KB</PeriodAddFlow>\\n <PeriodSmsUse>0</PeriodSmsUse>\\n <DataLevel>30MB</DataLevel>\\n <OsStatus>300</OsStatus>\\n <NotifyId>11111</NotifyId>\\n <AliFee>ali_2</AliFee>\\n <AliyunOrderId>211519634******</AliyunOrderId>\\n <ActiveType>first_data_record</ActiveType>\\n <IsAutoRecharge>true</IsAutoRecharge>\\n <CredentialInstanceId>2622***</CredentialInstanceId>\\n <ExpireTime>2022-04-30 23:59:59</ExpireTime>\\n <ApnName>cmiot</ApnName>\\n <ActiveTime>2021-11-16 16:35:50</ActiveTime>\\n <Iccid>89860321******15668</Iccid>\\n <Vendor>CMCC</Vendor>\\n <Period>1101</Period>\\n <CertifyType>enterprise</CertifyType>\\n <PrivateNetworkSegment>1.*.3.*</PrivateNetworkSegment>\\n <OpenAccountTime>2021-11-29 16:12:14</OpenAccountTime>\\n <SimType>nano</SimType>\\n <VsimInstanceId>123456</VsimInstanceId>\\n <CredentialNo>CM-***-*-2-**M</CredentialNo>\\n <TagList>\\n <TagName>测试标签</TagName>\\n <Id>24</Id>\\n </TagList>\\n <Imsi>460081937******</Imsi>\\n <Msisdn>1440993******</Msisdn>\\n <Remark>备注信息</Remark>\\n <DirectionalGroupId>55</DirectionalGroupId>\\n </List>\\n </Data>\\n</ListCardInfoResponse>","errorExample":""}]', - 'title' => '查询卡列表', - 'description' => '### 使用说明'."\n" - .'该接口的请求参数您可以在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/?spm=a2c4g.11186623.0.0.6a072d25p4pUg8)查看并获取,或者调用接口[GetCardDetail](~~374328~~)在返回参数中查看并获取(后者更为推荐)。'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Data\\": {\\n \\"ListVendorDetail\\": [\\n {\\n \\"NetWorkDelay\\": \\"20\\",\\n \\"SignalStrength\\": \\"20\\",\\n \\"Vendor\\": \\"CMCC\\",\\n \\"UsedFlow\\": \\"100MB\\",\\n \\"Ratio\\": \\"80%\\"\\n }\\n ],\\n \\"ListCardMonthFlow\\": [\\n {\\n \\"FlowCount\\": \\"200MB\\",\\n \\"Month\\": \\"202112\\",\\n \\"ListDayFlow\\": [\\n {\\n \\"Flow\\": \\"100MB\\",\\n \\"Day\\": \\"20211201\\"\\n }\\n ]\\n }\\n ],\\n \\"ListPackageDTO\\": [\\n {\\n \\"EffectiveTime\\": \\"2022-03-20 23:59:59\\",\\n \\"Remark\\": \\"备注内容\\",\\n \\"PackageName\\": \\"移动-单卡通用流量-月包-30M\\",\\n \\"ExpireTime\\": \\"2022-04-30 23:59:59\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetCardFlowInfoResponse>\\n <Code>200</Code>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Data>\\n <ListVendorDetail>\\n <NetWorkDelay>20</NetWorkDelay>\\n <SignalStrength>20</SignalStrength>\\n <Vendor>CMCC</Vendor>\\n </ListVendorDetail>\\n <ListCardMonthFlow>\\n <FlowCount>200MB</FlowCount>\\n <Month>202112</Month>\\n <ListDayFlow>\\n <Flow>100MB</Flow>\\n <Day>20211201</Day>\\n </ListDayFlow>\\n </ListCardMonthFlow>\\n <ListPackageDTO>\\n <EffectiveTime>2022-03-20 23:59:59</EffectiveTime>\\n <Remark>备注内容</Remark>\\n <PackageName>移动-单卡通用流量-月包-30M</PackageName>\\n <ExpireTime>2022-04-30 23:59:59</ExpireTime>\\n </ListPackageDTO>\\n </Data>\\n</GetCardFlowInfoResponse>","errorExample":""}]', + 'title' => '卡流量查询', + 'summary' => '查询卡的流量信息。', + 'description' => '## 限制说明'."\n" + ."\n\n" + .'单个阿里云账号调用该接口的每秒请求数(QPS)最大限制为20。'."\n" + ."\n" + .'> RAM用户共享阿里云账号配额。', 'requestParamsDescription' => '调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~375336~~)。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], ], - 'ListOrder' => [ - 'summary' => '查询订单列表。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetCardLatestFlow' => [ + 'summary' => '该接口用于查询物联网卡的实时周期用量。', + 'methods' => ['post', 'get'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], @@ -3211,634 +1402,499 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'OrderId', + 'name' => 'Iccid', 'in' => 'query', + 'schema' => ['title' => 'iccid', 'description' => '物联网卡的ICCID。'."\n" + ."\n" + .'您可在物联网卡上查看ICCID,或者在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/sim/card)的卡管理页面查看ICCID。', 'type' => 'string', 'required' => true, 'example' => '89860321******15668'], + ], + ], + 'responses' => [ + 200 => [ + 'headers' => [], 'schema' => [ - 'description' => '订单ID。', - 'type' => 'string', - 'required' => false, - 'example' => '21450******0275', + 'title' => 'GetCardLatestFlowResponse', + 'description' => 'GetCardLatestFlowResponse', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'Success' => ['title' => '必填', 'description' => '是否调用成功。'."\n" + ."\n" + .'true:调用成功。'."\n" + .'false:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'200:表示成功。'."\n" + ."\n" + .'其它:表示错误码。错误码详情,请参见错误码。', 'type' => 'string', 'example' => '200'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'Data' => ['description' => '实时周期用量,带流量单位。', 'type' => 'string', 'example' => '1.00MB'], + ], ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'linkcard.system.IllegalRequest', 'errorMessage' => 'The request parameter is invalid.', 'description' => ''], + ['errorCode' => 'linkcard.common.InvalidAliyunPK', 'errorMessage' => 'AliyunPk is invalid.', 'description' => ''], + ['errorCode' => 'linkcard.common.CardDestroy', 'errorMessage' => 'The card do not exist or destroy.', 'description' => ''], + ['errorCode' => 'linkcard.common.IccidNotExist', 'errorMessage' => 'IccId does not exist.', 'description' => ''], + ['errorCode' => 'IllegalParameter', 'errorMessage' => 'The request parameter %s is invalid.', 'description' => ''], + ], + 403 => [ + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => ''], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => ''], + ], + 500 => [ + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => ''], + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Data\\": \\"1.00MB\\"\\n}","errorExample":""},{"type":"xml","example":"<GetCardLatestFlowResponse>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n <Data>1.00MB</Data>\\n</GetCardLatestFlowResponse>","errorExample":""}]', + 'title' => 'GetCardLatestFlow', + 'changeSet' => [], + ], + 'GetCardRealStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https', 'http'], + 'security' => [ [ - 'name' => 'StartDate', - 'in' => 'query', - 'schema' => [ - 'description' => '订单购买的时间区间(开始日期)。'."\n" - ."\n" - .'格式:`YYYY-MM-dd`', - 'type' => 'string', - 'required' => false, - 'example' => '2022-04-05', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'EndDate', + 'name' => 'Iccid', 'in' => 'query', - 'schema' => [ - 'description' => '订单购买的时间区间(结束日期)。'."\n" - ."\n" - .'格式:`YYYY-MM-dd`', - 'type' => 'string', - 'required' => false, - 'example' => '2022-04-05', - ], + 'schema' => ['description' => '物联网卡的ICCID。'."\n" + ."\n" + .'您可在物联网卡上查看ICCID,或者在物联网SIM服务控制台的卡管理页面查看ICCID。', 'type' => 'string', 'required' => false, 'example' => '89860321******15668'], ], [ - 'name' => 'OrderType', + 'name' => 'Msisdn', 'in' => 'query', - 'schema' => [ - 'description' => '订单类型。'."\n" - ."\n" - .'- **NEW**:新购。'."\n" - ."\n" - .'- **ADD_FLOW**:扩池。'."\n" - ."\n" - .'- **ADD_CARD**:补卡。'."\n" - ."\n" - .'- **FUNCTION**:购月功能费。'."\n" - ."\n" - .'- **FLOW_PLUS**:购买叠加包。'."\n" - ."\n" - .'- **RENEW**:续订套餐。'."\n" - ."\n" - .'- **AUTO_RENEW**:自动续订套餐。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'NEW', - ], + 'schema' => ['description' => '物联网卡的MSISDN。', 'type' => 'string', 'required' => false, 'example' => '144******1111'], ], [ - 'name' => 'OrderStatus', + 'name' => 'SerialNo', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '订单状态。'."\n" - ."\n" - .'- **processing**:处理中。'."\n" - ."\n" - .'- **failure**:失败。'."\n" + 'description' => '轮询查询结果的唯一标识。', + 'type' => 'array', + 'items' => ['description' => '轮询查询结果的唯一标识。'."\n" ."\n" - .'- **completed**:处理完成。'."\n" + .'说明:'."\n" ."\n" - .'- **unpaid**:待支付。'."\n" + .'1、因该接口运营商能力较弱,查询结果需时,故结合轮询能力使用。'."\n" ."\n" - .'- **refunded**:已退款。', - 'type' => 'string', + .'2、在首次请求后,如Status未成功,则返回参数中会带此数据,再用此数据进行结果轮询。', 'type' => 'string', 'required' => false, 'example' => '4f84******7895'], 'required' => false, - 'example' => 'processing', ], ], - [ - 'name' => 'PageNo', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '查询页数,需结合`PageSize`参数使用。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '1', + 'title' => 'GetCardRealStatusResponse', + 'description' => 'GetCardRealStatusResponse', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'Success' => ['title' => '必填', 'description' => '是否调用成功。'."\n" + ."\n" + .'true:调用成功。 false:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'200:表示成功。 其它:表示错误码。错误码详情,请参见错误码。', 'type' => 'string', 'example' => '200'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'Data' => [ + 'description' => '返回数据。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SerialNo' => ['description' => '轮询查询结果的唯一标识。'."\n" + ."\n" + .'说明:'."\n" + ."\n" + .'1、因该接口运营商能力较弱,查询结果需时,故结合轮询能力使用。'."\n" + ."\n" + .'2、在首次请求后,如Status未成功,则返回参数中会带此数据,再用此数据进行结果轮询。', 'type' => 'string', 'example' => '4f84******7895'], + 'Iccid' => ['description' => '卡的ICCID,当请求ICCID为多网卡主卡时,此处返回子卡ICCID。', 'type' => 'string', 'example' => '89860321******15668'], + 'Gprs' => ['description' => '网络服务状态。'."\n" + ."\n" + .'true:开通。'."\n" + ."\n" + .'false:关闭。', 'type' => 'boolean', 'example' => 'true'], + 'Online' => ['description' => '在线状态。'."\n" + ."\n" + .'true:在线。'."\n" + ."\n" + .'false:不在线。', 'type' => 'boolean', 'example' => 'true'], + 'Status' => ['description' => '查询结果状态: '."\n" + ."\n" + .'SUCCESS:成功'."\n" + ."\n" + .'FAILURE:失败'."\n" + ."\n" + .'PROCESSING'."\0".':处理中', 'type' => 'string', 'example' => 'SUCCESS'], + ], + 'description' => '', + ], + ], + ], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '每页的数量,支持10、15、25、40。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '10', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'linkcard.system.IllegalRequest', 'errorMessage' => 'The request parameter is invalid.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => ''], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => ''], ], + 500 => [ + ['errorCode' => '%s..', 'errorMessage' => '%s..', 'description' => ''], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => ''], + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => ''], + ['errorCode' => 'linkcard.common.BusinessProcessError', 'errorMessage' => 'A business processing exception occurred.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Data\\": [\\n {\\n \\"SerialNo\\": \\"4f84******7895\\",\\n \\"Iccid\\": \\"89860321******15668\\",\\n \\"Gprs\\": true,\\n \\"Online\\": true,\\n \\"Status\\": \\"SUCCESS\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetCardRealStatusResponse>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n <Data>\\n <SerialNo>4f84b7a5-90******07895</SerialNo>\\n <Iccid>89860321******15668</Iccid>\\n <Gprs>true</Gprs>\\n <Online>true</Online>\\n <Status>SUCCESS</Status>\\n </Data>\\n</GetCardRealStatusResponse>","errorExample":""}]', + 'title' => '智能诊断-查询卡在运营商侧状态', + 'summary' => '智能诊断-查询卡在运营商侧状态', + 'changeSet' => [], + ], + 'GetCardStatusStatistics' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https', 'http'], + 'security' => [ [ - 'name' => 'CredentialNo', - 'in' => 'query', - 'schema' => [ - 'description' => '套餐凭证。', - 'type' => 'string', - 'required' => false, - 'example' => 'CT-SF-M-2-100M', - ], + 'AK' => [], ], ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'- **200**:表示成功。'."\n" - .'- 其它:表示错误码。错误码详情,请参见[错误码](~~375339~~)。', - 'type' => 'string', - 'example' => '200', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - ."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'200:表示成功。'."\n" + .'其它:表示错误码。错误码详情,请参见错误码。', 'type' => 'string', 'example' => '200'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'Success' => ['description' => '是否调用成功。'."\n" + ."\n" + .'true:调用成功。'."\n" + .'false:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], 'Data' => [ - 'description' => '返回信息。', + 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'PageNo' => [ - 'description' => '查询页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'UnbindResumeStatisticsDTO' => [ + 'description' => '换绑停用数据统计。', + 'type' => 'object', + 'properties' => [ + 'PoolCount' => ['description' => '统付池套餐卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'SingleCardCount' => ['description' => '单卡套餐卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'SameFlowCardCount' => ['description' => '同档位池套餐卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '30'], + 'TotalCount' => ['description' => '总卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '60'], + ], ], - 'PageSize' => [ - 'description' => '每页的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', + 'FlowOutStatisticsDTO' => [ + 'description' => '信控停用数据统计。', + 'type' => 'object', + 'properties' => [ + 'PoolCount' => ['description' => '统付池套餐卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'SingleCardCount' => ['description' => '单卡套餐卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'SameFlowCardCount' => ['description' => '同档位池套餐卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '30'], + 'TotalCount' => ['description' => '总卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '60'], + ], ], - 'PageCount' => [ - 'description' => '总页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', + 'ErrorStopStatisticsDTO' => [ + 'description' => '异常停用数据统计。', + 'type' => 'object', + 'properties' => [ + 'PoolCount' => ['description' => '统付池套餐卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'SingleCardCount' => ['description' => '单卡套餐卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'SameFlowCardCount' => ['description' => '同档位池套餐卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '30'], + 'TotalCount' => ['description' => '总卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '60'], + ], ], - 'Total' => [ - 'description' => '符合条件的总订单数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '48', + 'ExhaustStopStatisticsDTO' => [ + 'description' => '达量停用数据统计。', + 'type' => 'object', + 'properties' => [ + 'PoolCount' => ['description' => '统付池套餐卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'SingleCardCount' => ['description' => '单卡套餐卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'SameFlowCardCount' => ['description' => '同档位池套餐卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '30'], + 'TotalCount' => ['description' => '总卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '60'], + ], ], - 'List' => [ - 'description' => '订单列表。', - 'type' => 'array', - 'items' => [ - 'description' => '订单列表。', - 'type' => 'object', - 'properties' => [ - 'BillingCycle' => [ - 'description' => '套餐结算周期。'."\n" - ."\n" - .'- **1101**:月度。'."\n" - ."\n" - .'- **1103**:季度。'."\n" - ."\n" - .'- **1106**:半年度。'."\n" - ."\n" - .'- **1112**:年度。', - 'type' => 'string', - 'example' => '1101', - ], - 'BuyNum' => [ - 'description' => '购买张数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'PoolCapacityUnit' => [ - 'description' => '池容量单位。', - 'type' => 'string', - 'example' => 'GB', - ], - 'CardPayCount' => [ - 'description' => '支付时间。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2022-04-11 16:43:00', - ], - 'CredentialPackage' => [ - 'description' => '套餐凭证。', - 'type' => 'string', - 'example' => 'AL-UPG-******3_beika4', - ], - 'Vendor' => [ - 'description' => '运营商。'."\n" - ."\n" - .'- **CMCC**:移动。'."\n" - ."\n" - .'- **CUCC**:联通。'."\n" - ."\n" - .'- **CTCC**:电信。'."\n" - ."\n" - .'- **VNO**:虚拟运营商。', - 'type' => 'string', - 'example' => 'CMCC', - ], - 'DataLevel' => [ - 'description' => '流量包档位。', - 'type' => 'string', - 'example' => '30MB', - ], - 'PayDuration' => [ - 'description' => '购买时长。', - 'type' => 'string', - 'example' => '12月', - ], - 'AliFee' => [ - 'description' => '资费版本。', - 'type' => 'string', - 'example' => 'ali_2', - ], - 'OrderStatus' => [ - 'description' => '订单状态。'."\n" - ."\n" - .'- **processing**:处理中。'."\n" - ."\n" - .'- **failure**:失败。'."\n" - ."\n" - .'- **completed**:处理完成。'."\n" - ."\n" - .'- **unpaid**:待支付。'."\n" - ."\n" - .'- **refunded**:已退款。', - 'type' => 'string', - 'example' => 'processing', - ], - 'PoolNo' => [ - 'description' => '池编号。', - 'type' => 'string', - 'example' => 'beika4', - ], - 'FunctionFee' => [ - 'description' => '月功能费份数(统付池专用)。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '90', - ], - 'PayTime' => [ - 'description' => '购买时间。', - 'type' => 'string', - 'example' => '2022-04-11 16:43:00', - ], - 'FlowType' => [ - 'description' => '流量类型。'."\n" - ."\n" - .'- **singlecard**:单卡通用流量。'."\n" - ."\n" - .'- **directionalcard**:单卡定向流量。'."\n" - ."\n" - .'- **sameflowcard**:同档位池共享流量。'."\n" - ."\n" - .'- **directional_sameflowcard**:同档位池共享定向流量。'."\n" - ."\n" - .'- **unityPayPool**:统付池通用流量。'."\n" - ."\n" - .'- **GREcard**:统付池定向流量。', - 'type' => 'string', - 'example' => 'singlecard', - ], - 'PoolCapacity' => [ - 'description' => '池容量,单位参见**PoolCapacityUnit**字段。', - 'type' => 'string', - 'example' => '200', - ], - 'OrderInfo' => [ - 'description' => '订单信息。', - 'type' => 'string', - 'example' => '123123', - ], - 'OrderType' => [ - 'description' => '订单类型。'."\n" - ."\n" - .'- **NEW**:新购。'."\n" - ."\n" - .'- **ADD_FLOW**:扩池。'."\n" - ."\n" - .'- **ADD_CARD**:补卡。'."\n" - ."\n" - .'- **FUNCTION**:购月功能费。'."\n" - ."\n" - .'- **FLOW_PLUS**:购买叠加包。'."\n" - ."\n" - .'- **RENEW**:续订套餐。'."\n" - ."\n" - .'- **AUTO_RENEW**:自动续订套餐。'."\n", - 'type' => 'string', - 'example' => 'NEW', - ], - 'OrderId' => [ - 'description' => '订单编号。', - 'type' => 'string', - 'example' => '21450******0275', - ], - 'CredentialNo' => [ - 'description' => '套餐凭证。', - 'type' => 'string', - 'example' => 'CM-***-*-2-**M', - ], - 'ExpressNoList' => [ - 'description' => '物流信息。', - 'type' => 'array', - 'items' => [ - 'description' => '物流单号。', - 'type' => 'string', - 'example' => '123123123', - ], - ], - 'DeliveryInfo' => [ - 'description' => '收货信息。', - 'type' => 'object', - 'properties' => [ - 'ZipCode' => [ - 'description' => '收货信息:邮编。', - 'type' => 'string', - 'example' => '100000', - ], - 'Address' => [ - 'description' => '收货信息:地址。', - 'type' => 'string', - 'example' => '收货地址', - ], - 'Mail' => [ - 'description' => '收货信息:邮箱。', - 'type' => 'string', - 'example' => 'xxx@xxx.com', - ], - 'Receiver' => [ - 'description' => '收货信息:收件人。', - 'type' => 'string', - 'example' => '收件人', - ], - 'BuyerMessage' => [ - 'description' => '收货信息:收件电话。', - 'type' => 'string', - 'example' => '收件电话', - ], - ], - ], - 'OrderDetailUrl' => [ - 'description' => '订单详情链接。', - 'type' => 'string', - 'example' => 'https://us******60589', - ], - 'ApnName' => [ - 'description' => 'APN名称。', - 'type' => 'string', - 'example' => 'CMIOTCZHZA.JS', - ], - 'ApnRegion' => [ - 'description' => 'APN地域。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'ResourceQuantity' => [ - 'description' => 'IP购买数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10000', - ], - 'NetworkType' => [ - 'description' => '网络制式:4G,5G。', - 'type' => 'string', - 'example' => '4G', - ], - ], + 'UnCertifiedStopStatisticsDTO' => [ + 'description' => '未实名停用数据统计。', + 'type' => 'object', + 'properties' => [ + 'PoolCount' => ['description' => '统付池套餐卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'SingleCardCount' => ['description' => '单卡套餐卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'SameFlowCardCount' => ['description' => '同档位池套餐卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '30'], + 'TotalCount' => ['description' => '总卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '60'], + ], + ], + 'ManageStopStatisticsDTO' => [ + 'description' => '主动停用数据统计。', + 'type' => 'object', + 'properties' => [ + 'PoolCount' => ['description' => '统付池套餐卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'SingleCardCount' => ['description' => '单卡套餐卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'SameFlowCardCount' => ['description' => '同档位池套餐卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '30'], + 'TotalCount' => ['description' => '总卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '60'], + ], + ], + 'ExpireStopStatisticsDTO' => [ + 'description' => '套餐到期停机数据统计。', + 'type' => 'object', + 'properties' => [ + 'PoolCount' => ['description' => '统付池套餐卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'SingleCardCount' => ['description' => '单卡套餐卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'SameFlowCardCount' => ['description' => '同档位池套餐卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '30'], + 'TotalCount' => ['description' => '总卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '60'], + ], + ], + 'WeekWarnStatisticsDTO' => [ + 'description' => '套餐7天到期预警数据统计。', + 'type' => 'object', + 'properties' => [ + 'PoolCount' => ['description' => '统付池套餐卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'SingleCardCount' => ['description' => '单卡套餐卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'SameFlowCardCount' => ['description' => '同档位池套餐卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '30'], + 'TotalCount' => ['description' => '总卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '60'], + ], + ], + 'RiskWaringStatisticsDTO' => [ + 'description' => '风险告警统计。与控制台风险告警板块数据一致。', + 'type' => 'object', + 'properties' => [ + 'WarningCount' => ['description' => '到期预警数。(7天内套餐到期)', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'WaringTotalCount' => ['description' => '总告警数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'StopCount' => ['description' => '停机/停用数。', 'type' => 'integer', 'format' => 'int64', 'example' => '40'], + 'LeftFlowPercentageWarnCount' => ['description' => '余量预警数。(单卡套餐余量不足10%)', 'type' => 'integer', 'format' => 'int64', 'example' => '40'], + ], + ], + 'SingCardPeriodLeftFlowWarnDTO' => [ + 'description' => '套餐余量不足数据统计。', + 'type' => 'object', + 'properties' => [ + 'LessFlowPercentage10Count' => ['description' => '单卡周期套餐余量不足10%的告警数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'LessFlowPercentage30Count' => ['description' => '单卡周期套餐余量不足30%的告警数量.', 'type' => 'integer', 'format' => 'int64', 'example' => '8'], ], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'linkcard.system.IllegalRequest', - 'errorMessage' => 'The request parameter is invalid.', - ], - [ - 'errorCode' => 'linkcard.common.InvalidAliyunPK', - 'errorMessage' => 'AliyunPk is invalid.', - ], + ['errorCode' => 'linkcard.system.IllegalRequest', 'errorMessage' => 'The request parameter is invalid.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => ''], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], - [ - 'errorCode' => 'linkcard.common.BusinessProcessError', - 'errorMessage' => 'A business processing exception occurred.', - ], + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => ''], + ['errorCode' => '%s..', 'errorMessage' => '%s..', 'description' => ''], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Data\\": {\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"PageCount\\": 5,\\n \\"Total\\": 48,\\n \\"List\\": [\\n {\\n \\"BillingCycle\\": \\"1101\\",\\n \\"BuyNum\\": 100,\\n \\"PoolCapacityUnit\\": \\"GB\\",\\n \\"CardPayCount\\": 0,\\n \\"CredentialPackage\\": \\"AL-UPG-******3_beika4\\",\\n \\"Vendor\\": \\"CMCC\\",\\n \\"DataLevel\\": \\"30MB\\",\\n \\"PayDuration\\": \\"12月\\",\\n \\"AliFee\\": \\"ali_2\\",\\n \\"OrderStatus\\": \\"processing\\",\\n \\"PoolNo\\": \\"beika4\\",\\n \\"FunctionFee\\": 90,\\n \\"PayTime\\": \\"2022-04-11 16:43:00\\",\\n \\"FlowType\\": \\"singlecard\\",\\n \\"PoolCapacity\\": \\"200\\",\\n \\"OrderInfo\\": \\"123123\\",\\n \\"OrderType\\": \\"NEW\\",\\n \\"OrderId\\": \\"21450******0275\\",\\n \\"CredentialNo\\": \\"CM-***-*-2-**M\\",\\n \\"ExpressNoList\\": [\\n \\"123123123\\"\\n ],\\n \\"DeliveryInfo\\": {\\n \\"ZipCode\\": \\"100000\\",\\n \\"Address\\": \\"收货地址\\",\\n \\"Mail\\": \\"xxx@xxx.com\\",\\n \\"Receiver\\": \\"收件人\\",\\n \\"BuyerMessage\\": \\"收件电话\\"\\n },\\n \\"OrderDetailUrl\\": \\"https://us******60589\\",\\n \\"ApnName\\": \\"CMIOTCZHZA.JS\\",\\n \\"ApnRegion\\": \\"cn-hangzhou\\",\\n \\"ResourceQuantity\\": 10000,\\n \\"NetworkType\\": \\"4G\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListOrderResponse>\\n <Code>200</Code>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Data>\\n <PageNo>1</PageNo>\\n <PageSize>10</PageSize>\\n <PageCount>5</PageCount>\\n <Total>48</Total>\\n <List>\\n <BillingCycle>1101</BillingCycle>\\n <BuyNum>100</BuyNum>\\n <PoolCapacityUnit>GB</PoolCapacityUnit>\\n <CredentialPackage>AL-UPG-******3_beika4</CredentialPackage>\\n <Vendor>CMCC</Vendor>\\n <DataLevel>30MB</DataLevel>\\n <PayDuration>12月</PayDuration>\\n <AliFee>ali_2</AliFee>\\n <OrderStatus>processing</OrderStatus>\\n <PoolNo>beika4</PoolNo>\\n <FunctionFee>90</FunctionFee>\\n <PayTime>2022-04-11 16:43:00</PayTime>\\n <FlowType>singlecard</FlowType>\\n <PoolCapacity>200</PoolCapacity>\\n <OrderInfo>123123</OrderInfo>\\n <OrderType>NEW</OrderType>\\n <OrderId>21450******0275</OrderId>\\n <CredentialNo>CM-***-*-2-**M</CredentialNo>\\n <ExpressNoList>123123123</ExpressNoList>\\n <DeliveryInfo>\\n <ZipCode>100000</ZipCode>\\n <Address>收货地址</Address>\\n <Mail>xxx@xxx.com</Mail>\\n <Receiver>收件人</Receiver>\\n <BuyerMessage>收件电话</BuyerMessage>\\n </DeliveryInfo>\\n <OrderDetailUrl>https://us******60589</OrderDetailUrl>\\n </List>\\n </Data>\\n</ListOrderResponse>","errorExample":""}]', - 'title' => '查询订单列表', - 'description' => '## 使用限制'."\n" - ."\n" - .'单个阿里云账号调用该接口的每秒请求数(QPS)最大限制为20。'."\n" - ."\n" - .'> RAM用户共享阿里云账号配额。', - 'requestParamsDescription' => '调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~375336~~)。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Data\\": {\\n \\"UnbindResumeStatisticsDTO\\": {\\n \\"PoolCount\\": 10,\\n \\"SingleCardCount\\": 20,\\n \\"SameFlowCardCount\\": 30,\\n \\"TotalCount\\": 60\\n },\\n \\"FlowOutStatisticsDTO\\": {\\n \\"PoolCount\\": 10,\\n \\"SingleCardCount\\": 20,\\n \\"SameFlowCardCount\\": 30,\\n \\"TotalCount\\": 60\\n },\\n \\"ErrorStopStatisticsDTO\\": {\\n \\"PoolCount\\": 10,\\n \\"SingleCardCount\\": 20,\\n \\"SameFlowCardCount\\": 30,\\n \\"TotalCount\\": 60\\n },\\n \\"ExhaustStopStatisticsDTO\\": {\\n \\"PoolCount\\": 10,\\n \\"SingleCardCount\\": 20,\\n \\"SameFlowCardCount\\": 30,\\n \\"TotalCount\\": 60\\n },\\n \\"UnCertifiedStopStatisticsDTO\\": {\\n \\"PoolCount\\": 10,\\n \\"SingleCardCount\\": 20,\\n \\"SameFlowCardCount\\": 30,\\n \\"TotalCount\\": 60\\n },\\n \\"ManageStopStatisticsDTO\\": {\\n \\"PoolCount\\": 10,\\n \\"SingleCardCount\\": 20,\\n \\"SameFlowCardCount\\": 30,\\n \\"TotalCount\\": 60\\n },\\n \\"ExpireStopStatisticsDTO\\": {\\n \\"PoolCount\\": 10,\\n \\"SingleCardCount\\": 20,\\n \\"SameFlowCardCount\\": 30,\\n \\"TotalCount\\": 60\\n },\\n \\"WeekWarnStatisticsDTO\\": {\\n \\"PoolCount\\": 10,\\n \\"SingleCardCount\\": 20,\\n \\"SameFlowCardCount\\": 30,\\n \\"TotalCount\\": 60\\n },\\n \\"RiskWaringStatisticsDTO\\": {\\n \\"WarningCount\\": 20,\\n \\"WaringTotalCount\\": 100,\\n \\"StopCount\\": 40,\\n \\"LeftFlowPercentageWarnCount\\": 40\\n },\\n \\"SingCardPeriodLeftFlowWarnDTO\\": {\\n \\"LessFlowPercentage10Count\\": 5,\\n \\"LessFlowPercentage30Count\\": 8\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetCardStatusStatisticsResponse>\\n <code>200</code>\\n <data>\\n <RequestId>DCBDCDBC-0E54-53AC-97A4-6194849CC6BC</RequestId>\\n <Data>\\n <ExhaustStopStatisticsDTO>\\n <TotalCount>8</TotalCount>\\n <SingleCardCount>0</SingleCardCount>\\n <SameFlowCardCount>4</SameFlowCardCount>\\n <PoolCount>4</PoolCount>\\n </ExhaustStopStatisticsDTO>\\n <WeekWarnStatisticsDTO>\\n <TotalCount>20</TotalCount>\\n <SingleCardCount>20</SingleCardCount>\\n <SameFlowCardCount>0</SameFlowCardCount>\\n <PoolCount>0</PoolCount>\\n </WeekWarnStatisticsDTO>\\n <FlowOutStatisticsDTO>\\n <TotalCount>12</TotalCount>\\n <SingleCardCount>7</SingleCardCount>\\n <SameFlowCardCount>0</SameFlowCardCount>\\n <PoolCount>5</PoolCount>\\n </FlowOutStatisticsDTO>\\n <SingCardPeriodLeftFlowWarnDTO>\\n <LessFlowPercentage10Count>15</LessFlowPercentage10Count>\\n <LessFlowPercentage30Count>0</LessFlowPercentage30Count>\\n </SingCardPeriodLeftFlowWarnDTO>\\n <ErrorStopStatisticsDTO>\\n <TotalCount>1</TotalCount>\\n <SingleCardCount>0</SingleCardCount>\\n <SameFlowCardCount>0</SameFlowCardCount>\\n <PoolCount>1</PoolCount>\\n </ErrorStopStatisticsDTO>\\n <ExpireStopStatisticsDTO>\\n <TotalCount>652</TotalCount>\\n <SingleCardCount>506</SingleCardCount>\\n <SameFlowCardCount>146</SameFlowCardCount>\\n <PoolCount>0</PoolCount>\\n </ExpireStopStatisticsDTO>\\n <UnbindResumeStatisticsDTO>\\n <TotalCount>1</TotalCount>\\n <SingleCardCount>0</SingleCardCount>\\n <SameFlowCardCount>0</SameFlowCardCount>\\n <PoolCount>1</PoolCount>\\n </UnbindResumeStatisticsDTO>\\n <UnCertifiedStopStatisticsDTO>\\n <TotalCount>1</TotalCount>\\n <SingleCardCount>0</SingleCardCount>\\n <SameFlowCardCount>0</SameFlowCardCount>\\n <PoolCount>1</PoolCount>\\n </UnCertifiedStopStatisticsDTO>\\n <RiskWaringStatisticsDTO>\\n <WarningCount>20</WarningCount>\\n <StopCount>825</StopCount>\\n <LeftFlowPercentageWarnCount>15</LeftFlowPercentageWarnCount>\\n <WaringTotalCount>860</WaringTotalCount>\\n </RiskWaringStatisticsDTO>\\n <ManageStopStatisticsDTO>\\n <TotalCount>150</TotalCount>\\n <SingleCardCount>57</SingleCardCount>\\n <SameFlowCardCount>31</SameFlowCardCount>\\n <PoolCount>62</PoolCount>\\n </ManageStopStatisticsDTO>\\n </Data>\\n <ErrorMessage/>\\n <Code/>\\n <Success>true</Success>\\n <LocalizedMessage/>\\n </data>\\n <httpStatusCode>200</httpStatusCode>\\n <requestId>DCBDCDBC-0E54-53AC-97A4-6194849CC6BC</requestId>\\n <successResponse>true</successResponse>\\n</GetCardStatusStatisticsResponse>","errorExample":""}]', + 'title' => '概览页风险告警', + 'summary' => '概览页风险告警', + 'changeSet' => [], ], - 'AddDirectionalCard' => [ - 'summary' => '给定向分组中导入定向卡。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetCredentialPoolStatistics' => [ + 'summary' => '查询套餐凭证对应的池信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'description' => '定向分组ID。'."\n" - ."\n" - .'您可调用接口[GetCardDetail](~~374328~~)在返回参数中查看定向分组ID(DirectionalGroupId)。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '5', - ], - ], - [ - 'name' => 'UploadType', + 'name' => 'Date', 'in' => 'query', - 'schema' => [ - 'description' => '导入类型。'."\n" - ."\n" - .'- **NO_GROUP**:仅导入还未分组的定向卡。'."\n" - ."\n" - .'- **ALL**:全量导入。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ALL', - ], + 'schema' => ['description' => '要查询的套餐流量使用详情的月份。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '202108'], ], [ - 'name' => 'UploadMethod', + 'name' => 'CredentialNO', 'in' => 'query', - 'schema' => [ - 'description' => '导入方式。'."\n" - ."\n" - .'- **TAG**:标签,导入指定标签的定向卡。'."\n" - ."\n" - .'- **ORDER**:订单,导入指定订单的定向卡。'."\n" - ."\n" - .'- **FILE**:批量文件,导入批量文件中的定向卡。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'TAG', - ], + 'schema' => ['description' => '套餐凭证。获取方法如下:'."\n" + ."\n" + .'- 在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/?spm=a2c4g.11186623.0.0.6a072d25p4pUg8)的**套餐凭证**页面,查看套餐凭证。'."\n" + ."\n" + .'- 调用接口[GetCardDetail](~~374328~~),在返回参数中查看套餐凭证(CredentialNo)。'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'CM-SF-M-2-12G'], ], - [ - 'name' => 'TagList', - 'in' => 'query', - 'style' => 'json', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '标签ID列表。导入方式选择为标签时,需填入该参数。', - 'type' => 'array', - 'items' => [ - 'description' => '标签ID。导入方式选择为标签时,需填入该参数。'."\n" + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'- **200**:表示成功。'."\n" + .'- 其它:表示错误码。错误码详情,请参见[错误码](~~375339~~)。', 'type' => 'string', 'example' => '200'], + 'ErrorMessage' => ['description' => '调用失败时,返回的出错信息。', 'type' => 'string', 'example' => '系统异常'], + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'Success' => ['description' => '是否调用成功。'."\n" ."\n" - .'标签ID可在物联网无线连接服务控制台的**SIM卡管理** > **标签管理**页面查看。', - 'type' => 'string', - 'required' => false, - 'example' => '5', + .'- true:调用成功。'."\n" + ."\n" + .'- false:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'Data' => [ + 'description' => '套餐流量使用详情。', + 'type' => 'object', + 'properties' => [ + 'PoolUsed' => ['description' => '当月已用流量。', 'type' => 'string', 'example' => '0KB'], + 'CredentialNO' => ['description' => '套餐凭证。', 'type' => 'string', 'example' => 'CM-SF-M-2-12G'], + 'PoolOutUsed' => ['description' => '当月套餐外流量。', 'type' => 'string', 'example' => '0KB'], + 'PoolGrandTotalUsed' => ['description' => '套餐流量使用总量,仅统付池套餐显示该参数。', 'type' => 'string', 'example' => '6.00GB'], + 'CredentialType' => ['description' => '套餐凭证类型。'."\n" + ."\n" + .'- 单卡套餐示例:CT-SC-M-1-30M(运营商-套餐类型-套餐周期-资费版本-流量包档位)。'."\n" + ."\n" + .'- 同档位池套餐示例:CM-SF-M-3-100M(运营商-套餐类型-套餐周期-资费版本-流量包档位)。'."\n" + ."\n" + .'- 统付池套餐示例:CU-UPG-M-2-池编号(运营商-套餐类型-套餐周期-资费版本-池编号)。', 'type' => 'string', 'example' => 'CT-SC-M-1-30M'], + 'CardTotalNum' => ['description' => '套餐内总卡数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'PoolGrandTotal' => ['description' => '套餐总流量,仅统付池套餐显示该参数。', 'type' => 'string', 'example' => '12.00GB'], + 'CardActiveNum' => ['description' => '套餐内的生效卡数(已激活且未停机未销户)。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'EffectiveTotalFlow' => ['description' => '套餐总流量,仅同档位池套餐显示该参数。', 'type' => 'string', 'example' => '12.00GB'], + 'EffectiveAvailableFlow' => ['description' => '套餐内可用余量,仅同档位池套餐显示该参数。', 'type' => 'string', 'example' => '6.00GB'], + 'PoolAvaiable' => ['description' => '套餐内可用余量,仅统付池套餐显示该参数。', 'type' => 'string', 'example' => '6.00GB'], + 'MonthFeatureFee' => ['description' => '月功能费份数,仅统付池套餐显示该参数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'CredentialInstanceId' => ['description' => '凭证实例ID。', 'type' => 'string', 'example' => '259****'], + 'SmsUsed' => ['description' => '短信用量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'MonthUsedAmount' => ['description' => '月度流量使用总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3.00GB'], + 'MonthExceedFee' => ['description' => '当月功能费超套份数。'."\n" + ."\n" + .'大于0代表功能费已超套;等于0或null代表未超套。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], + ], + ], ], - 'required' => true, - 'docRequired' => true, - 'maxItems' => 100, + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'linkcard.check.TimeFormatError', 'errorMessage' => 'Time format error.', 'description' => ''], + ['errorCode' => 'linkcard.system.IllegalRequest', 'errorMessage' => 'The request parameter is invalid.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => ''], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => ''], + ], + 500 => [ + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => ''], + ['errorCode' => '%s..', 'errorMessage' => '%s..', 'description' => ''], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => ''], + ['errorCode' => 'linkcard.common.BusinessProcessError', 'errorMessage' => 'A business processing exception occurred.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"系统异常\\",\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PoolUsed\\": \\"0KB\\",\\n \\"CredentialNO\\": \\"CM-SF-M-2-12G\\",\\n \\"PoolOutUsed\\": \\"0KB\\",\\n \\"PoolGrandTotalUsed\\": \\"6.00GB\\",\\n \\"CredentialType\\": \\"CT-SC-M-1-30M\\",\\n \\"CardTotalNum\\": 20,\\n \\"PoolGrandTotal\\": \\"12.00GB\\",\\n \\"CardActiveNum\\": 10,\\n \\"EffectiveTotalFlow\\": \\"12.00GB\\",\\n \\"EffectiveAvailableFlow\\": \\"6.00GB\\",\\n \\"PoolAvaiable\\": \\"6.00GB\\",\\n \\"MonthFeatureFee\\": 100,\\n \\"CredentialInstanceId\\": \\"259****\\",\\n \\"SmsUsed\\": 0,\\n \\"MonthUsedAmount\\": 0,\\n \\"MonthExceedFee\\": 200\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetCredentialPoolStatisticsResponse>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Data>\\n <PoolUsed>0KB</PoolUsed>\\n <CredentialNO>CM-SF-M-2-12G</CredentialNO>\\n <PoolOutUsed>0KB</PoolOutUsed>\\n <PoolGrandTotalUsed>6.00GB</PoolGrandTotalUsed>\\n <CredentialType>CM-SF-M-2-12G</CredentialType>\\n <CardTotalNum>20</CardTotalNum>\\n <PoolGrandTotal>12.00GB</PoolGrandTotal>\\n <CardActiveNum>10</CardActiveNum>\\n <EffectiveTotalFlow>12.00GB</EffectiveTotalFlow>\\n <EffectiveAvailableFlow>6.00GB</EffectiveAvailableFlow>\\n <PoolAvaiable>6.00GB</PoolAvaiable>\\n <MonthFeatureFee>100</MonthFeatureFee>\\n <CredentialInstanceId>259****</CredentialInstanceId>\\n <SmsUsed>0</SmsUsed>\\n </Data>\\n</GetCredentialPoolStatisticsResponse>","errorExample":""}]', + 'title' => '套餐凭证信息查询', + 'requestParamsDescription' => '调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~375336~~)。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + ], + 'GetRealNameStatus' => [ + 'summary' => '该接口用于查询物联网卡的个人实名状态。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'OrderList', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => '订单编号列表。导入方式选择为订单时,需填入该参数。', - 'type' => 'array', - 'items' => [ - 'description' => '订单编号。导入方式选择为订单时,需填入该参数。'."\n" - ."\n" - .'订单编号可在物联网无线连接服务控制台的**订单统计** > **订单管理**页面查看。', - 'type' => 'string', - 'required' => false, - 'example' => '2172***80589', - ], - 'required' => false, - 'maxItems' => 50, - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ [ - 'name' => 'FileUri', + 'name' => 'Iccid', 'in' => 'query', - 'schema' => [ - 'description' => '批量文件的OSS路径。导入方式选择为批量文件时,需填入该参数。', - 'type' => 'string', - 'required' => false, - 'example' => 'https://linkcard-user-online.oss-cn-zhangjiakou.aliyuncs.com/DIRECTIONAL_GROUP/20220811/xxxx.csv', - ], + 'schema' => ['description' => '物联网卡的ICCID。'."\n" + ."\n" + .'您可在物联网卡上查看ICCID,或者在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/sim/card)的卡管理页面查看ICCID。', 'type' => 'string', 'required' => true, 'example' => '89860321******15668'], ], [ - 'name' => 'GroupName', + 'name' => 'ListMsisdns', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '定向分组名称。', - 'type' => 'string', + 'description' => '多网卡子卡MSISDN。', + 'type' => 'array', + 'items' => ['description' => '物联网卡的MSISDN。', 'type' => 'string', 'required' => false, 'example' => '144******1111'], 'required' => false, - 'example' => '测试分组', + 'maxItems' => 10, ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'GetRealNameStatusResponse', + 'description' => 'GetRealNameStatusResponse', 'type' => 'object', 'properties' => [ + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'Success' => ['title' => '必填', 'description' => '是否调用成功。'."\n" + ."\n" + .'true:调用成功。'."\n" + .'false:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'200:表示成功。'."\n" + .'其它:表示错误码。错误码详情,请参见错误码。', 'type' => 'string', 'example' => '200'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], 'Data' => [ - 'description' => '是否导入成功。'."\n" - ."\n" - .'- **true**:导入成功。'."\n" - ."\n" - .'- **false**:导入失败。', - 'type' => 'string', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'- 200:调用成功。'."\n" - ."\n" - .'- 其他:调用失败。错误码详情,请参见[错误码](~~87387~~)。', - 'type' => 'string', - 'example' => '200', + 'description' => '返回数据。', + 'type' => 'object', + 'properties' => [ + 'RealNameStatus' => ['description' => '个人实名认证状态。'."\n" + .'NOT_CERTIFIED:未认证'."\n" + .'APPROVING:认证审核中'."\n" + .'CERTIFIED:已认证', 'type' => 'string', 'example' => 'CERTIFIED'], + 'Desc' => ['description' => '认证状态描述。', 'type' => 'string', 'example' => '已认证'], + ], ], ], ], @@ -3846,77 +1902,49 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'linkcard.system.IllegalRequest', - 'errorMessage' => 'The request parameter is invalid.', - ], + ['errorCode' => 'linkcard.system.IllegalRequest', 'errorMessage' => 'The request parameter is invalid.', 'description' => ''], + ['errorCode' => 'linkcard.common.InvalidAliyunPK', 'errorMessage' => 'AliyunPk is invalid.', 'description' => ''], + ['errorCode' => 'linkcard.check.IccidCanNotEmpty', 'errorMessage' => 'Iccid cannot be empty.', 'description' => ''], + ['errorCode' => 'linkcard.common.CardDestroy', 'errorMessage' => 'The card do not exist or destroy.', 'description' => ''], + ['errorCode' => 'linkcard.common.IccidFormatError', 'errorMessage' => 'Iccid format error.', 'description' => ''], + ['errorCode' => 'linkcard.common.VnoCardNotSupported', 'errorMessage' => 'This function does not support vno card.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => ''], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], - [ - 'errorCode' => '%s..', - 'errorMessage' => '%s..', - ], - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => ''], + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": \\"true\\",\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<AddDirectionalCardResponse>\\n <Data>true</Data>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <Success>true</Success>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n <Code>200</Code>\\n</AddDirectionalCardResponse>","errorExample":""}]', - 'title' => '定向分组导卡', - 'description' => '## 使用说明'."\n" - .'定向卡是指仅能访问指定地址的物联网卡。可以调用接口[VerifyIotCard](~~446797~~)查询物联网卡是否为定向卡。', - 'requestParamsDescription' => '调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~30561~~)。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Data\\": {\\n \\"RealNameStatus\\": \\"CERTIFIED\\",\\n \\"Desc\\": \\"已认证\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetRealNameStatusResponse>\\n <data>\\n <realNameStatus>NOT_CERTIFIED</realNameStatus>\\n <desc>未认证</desc>\\n </data>\\n <requestId>D3778AAD-6A0E-16F8-8074-C4AF604E21B3</requestId>\\n <success>true</success>\\n</GetRealNameStatusResponse>","errorExample":""}]', + 'title' => 'GetRealNameStatus', + 'changeSet' => [], ], - 'AddDirectionalGroup' => [ - 'summary' => '创建定向分组。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetSimCardStateDistribution' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'GroupName', + 'name' => 'CredentialNO', 'in' => 'query', - 'schema' => [ - 'description' => '给定向分组设置一个名称。'."\n" - ."\n" - .'分组名称支持中文、英文、数字及下划线(_),长度不超过30个字符。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '测试分组', - 'maxLength' => 30, - 'minLength' => 0, - ], + 'schema' => ['description' => '套餐凭证编号,您可在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/sim/license)的凭证管理页面查看。', 'type' => 'string', 'required' => false, 'example' => 'CT-SC-M-2-100M'], + ], + [ + 'name' => 'Date', + 'in' => 'query', + 'schema' => ['description' => '查询的日期。'."\n" + ."\n" + .'格式:yyyyMM。', 'type' => 'string', 'required' => true, 'example' => '202209'], ], ], 'responses' => [ @@ -3925,255 +1953,550 @@ 'schema' => [ 'type' => 'object', 'properties' => [ + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'200:表示成功。'."\n" + ."\n" + .'其它:表示错误码。错误码详情,请参见错误码。', 'type' => 'string', 'example' => '200'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'Success' => ['description' => '是否调用成功。'."\n" + ."\n" + .'true:调用成功。'."\n" + .'false:调用失败。', 'type' => 'boolean', 'example' => 'true'], 'Data' => [ - 'description' => '定向分组ID。'."\n" - ."\n" - .'请记录定向分组ID,后续调用其他接口,例如调用[AddDirectionalCard](~~446808~~)给定向分组里导入物联网卡时需填入定向分组ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', - ], - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => '系统异常', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'- 200:调用成功。'."\n" - ."\n" - .'- 其他:调用失败。错误码详情,请参见[错误码](~~87387~~)。', - 'type' => 'string', - 'example' => '200', + 'description' => '返回数据。', + 'type' => 'object', + 'properties' => [ + 'CardCount' => ['description' => '卡总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'TestCount' => ['description' => '可测试卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'UnusedCount' => ['description' => '未使用卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'StopCount' => ['description' => '已停用卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'DestoryedCount' => ['description' => '已销户卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'UsingCount' => ['description' => '使用中卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '50'], + 'ShutDownCount' => ['description' => '已停机卡数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ + 400 => [ + ['errorCode' => 'linkcard.system.IllegalRequest', 'errorMessage' => 'The request parameter is invalid.', 'description' => ''], + ['errorCode' => 'linkcard.check.TimeFormatError', 'errorMessage' => 'Time format error.', 'description' => ''], + ['errorCode' => 'IllegalParameter', 'errorMessage' => 'The request parameter %s is invalid.', 'description' => ''], + ['errorCode' => 'linkcard.common.CredentialInstanceNotExist', 'errorMessage' => 'The credential instance does not exist.', 'description' => ''], + ['errorCode' => 'linkcard.common.CredentialNoNotExist', 'errorMessage' => 'The credentialNo does not exist', 'description' => ''], + ], 403 => [ - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => ''], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], - [ - 'errorCode' => '%s..', - 'errorMessage' => '%s..', - ], - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => ''], + ['errorCode' => '%s..', 'errorMessage' => '%s..', 'description' => ''], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": 6,\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"ErrorMessage\\": \\"系统异常\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<AddDirectionalGroupResponse>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <ErrorMessage>系统异常</ErrorMessage>\\n <Success>true</Success>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n <Code>200</Code>\\n</AddDirectionalGroupResponse>","errorExample":""}]', - 'title' => '创建定向分组', - 'description' => '## 使用说明'."\n" - .'仅新版定向服务菜单支持定向分组功能,如果您使用的是旧版定向服务菜单,无法使用该接口。更多信息,请参见[定向服务](~~279455~~)。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"CardCount\\": 100,\\n \\"TestCount\\": 20,\\n \\"UnusedCount\\": 10,\\n \\"StopCount\\": 5,\\n \\"DestoryedCount\\": 0,\\n \\"UsingCount\\": 50,\\n \\"ShutDownCount\\": 10\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetSimCardStateDistributionResponse>\\n <code>200</code>\\n <data>\\n <RequestId>5C06CF1A-959D-10A9-9C56-003EDF663BAF</RequestId>\\n <Data>\\n <StopCount>166</StopCount>\\n <TestCount>50098</TestCount>\\n <UnusedCount>426</UnusedCount>\\n <CardCount>902847</CardCount>\\n <DestoryedCount>340498</DestoryedCount>\\n <UsingCount>511007</UsingCount>\\n <ShutDownCount>652</ShutDownCount>\\n </Data>\\n <Success>true</Success>\\n </data>\\n <httpStatusCode>200</httpStatusCode>\\n <requestId>5C06CF1A-959D-10A9-9C56-003EDF663BAF</requestId>\\n <successResponse>true</successResponse>\\n</GetSimCardStateDistributionResponse>","errorExample":""}]', + 'title' => '获取卡状态分布', + 'summary' => '获取卡状态分布', + 'changeSet' => [], ], - 'BatchAddDirectionalAddress' => [ - 'summary' => '给定向分组添加访问地址。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListCardInfo' => [ + 'summary' => '查询卡列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'GroupId', + 'name' => 'ActiveTimeEnd', 'in' => 'query', - 'schema' => [ - 'description' => '定向分组ID。'."\n" - ."\n" - .'您可调用接口[GetCardDetail](~~374328~~)在返回参数中查看定向分组ID(DirectionalGroupId)。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '5', - ], + 'schema' => ['description' => '物联网卡的激活时间区间:结束时间。'."\n" + ."\n" + .'格式为:`yyyy-MM-dd HH:mm:ss`。', 'type' => 'string', 'required' => false, 'example' => '2022-05-25 23:59:59'], ], [ - 'name' => 'Source', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '地址来源。'."\n" - ."\n" - .'- **user_defined**:用户配置。'."\n" - ."\n" - .'- **aliyun_defined**:阿里云预配。', - 'type' => 'string', - 'required' => true, - 'example' => 'user_defined', - ], + 'schema' => ['description' => '每页的数量,支持10、15、25、40。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '10'], ], [ - 'name' => 'AddressType', + 'name' => 'Iccid', 'in' => 'query', - 'schema' => [ - 'description' => '地址类型。'."\n" - ."\n" - .'- **Ip**:IP地址。'."\n" - ."\n" - .'- **Domain**:域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'Domain', - ], + 'schema' => ['description' => '物联网卡的ICCID。'."\n" + ."\n" + .'您可在物联网卡上查看ICCID,或者在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/?spm=a2c4g.11186623.0.0.6a072d25p4pUg8)的**卡管理页面**查看ICCID。', 'type' => 'string', 'required' => false, 'example' => '89860321******15668'], ], [ - 'name' => 'ListAddress', + 'name' => 'CredentialNo', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '具体定向地址。', - 'type' => 'array', - 'items' => [ - 'description' => '具体地址,上限10个。', - 'type' => 'string', - 'required' => false, - 'example' => '*.aliyun.com', - ], - 'required' => true, - 'maxItems' => 10, - ], + 'schema' => ['description' => '套餐凭证。'."\n" + ."\n", 'type' => 'string', 'required' => false, 'example' => 'CM-***-*-2-**M'], + ], + [ + 'name' => 'Vendor', + 'in' => 'query', + 'schema' => ['description' => '运营商。'."\n" + ."\n" + .'- **CMCC**:移动。'."\n" + ."\n" + .'- **CUCC**:联通。'."\n" + ."\n" + .'- **CTCC**:电信。'."\n" + ."\n" + .'- **VNO**:虚拟运营商。', 'type' => 'string', 'required' => false, 'example' => 'CMCC'], + ], + [ + 'name' => 'PageNo', + 'in' => 'query', + 'schema' => ['description' => '查询页数,需结合**PageSize**参数组合使用。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'], + ], + [ + 'name' => 'Msisdn', + 'in' => 'query', + 'schema' => ['description' => '物联网卡的MSISDN。', 'type' => 'string', 'required' => false, 'example' => '1440993******'], + ], + [ + 'name' => 'AliyunOrderId', + 'in' => 'query', + 'schema' => ['description' => '物联网卡关联的订单编号。'."\n" + ."\n", 'type' => 'string', 'required' => false, 'example' => '211519634******'], + ], + [ + 'name' => 'AliFee', + 'in' => 'query', + 'schema' => ['description' => '资费版本。', 'type' => 'string', 'required' => false, 'example' => 'ali_2'], + ], + [ + 'name' => 'Period', + 'in' => 'query', + 'schema' => ['description' => '套餐结算周期。'."\n" + ."\n" + .'- **1101**:月度。'."\n" + ."\n" + .'- **1103**:季度。'."\n" + ."\n" + .'- **1106**:半年度。'."\n" + ."\n" + .'- **1112**:年度。', 'type' => 'string', 'required' => false, 'example' => '1101'], + ], + [ + 'name' => 'DataType', + 'in' => 'query', + 'schema' => ['description' => '流量类型。'."\n" + ."\n" + .'- **singlecard**:单卡通用流量。'."\n" + ."\n" + .'- **directionalcard**:单卡定向流量。'."\n" + ."\n" + .'- **sameflowcard**:同档位池共享流量。'."\n" + ."\n" + .'- **directional_sameflowcard**:同档位池共享定向流量。'."\n" + ."\n" + .'- **unityPayPool**:统付池通用流量。'."\n" + ."\n" + .'- **GREcard** :统付池定向流量。', 'type' => 'string', 'required' => false, 'example' => 'sameflowcard'], + ], + [ + 'name' => 'ActiveTimeStart', + 'in' => 'query', + 'schema' => ['description' => '物联网卡的激活时间区间:开始时间。'."\n" + ."\n" + .'格式为:`yyyy-MM-dd HH:mm:ss`。', 'type' => 'string', 'required' => false, 'example' => '2022-05-25 23:59:59'], + ], + [ + 'name' => 'SimType', + 'in' => 'query', + 'schema' => ['description' => 'SIM卡类型。'."\n" + ."\n" + .'- **nano**:插拔三切卡(消费级)。'."\n" + ."\n" + .'- **micro**:插拔双切卡(消费级)。'."\n" + ."\n" + .'- **normal**:插拔大卡(消费级)。'."\n" + ."\n" + .'- **simplus56**:贴片卡5*6(消费级)。'."\n" + ."\n" + .'- **simplus22**:贴片卡2*2(消费级)。'."\n" + ."\n" + .'- **industry-normal**:插拔大卡(工业级)。'."\n" + ."\n" + .'- **industry-micro**:插拔双切卡(工业级)。'."\n" + ."\n" + .'- **industry-nano**:插拔三切卡(工业级)。'."\n" + ."\n" + .'- **simplus**:贴片卡5*6(工业级)。'."\n" + ."\n" + .'- **industry-simplus22**:贴片卡2*2(工业级)。', 'type' => 'string', 'required' => false, 'example' => 'nano'], + ], + [ + 'name' => 'ExpireTimeEnd', + 'in' => 'query', + 'schema' => ['description' => '物联网卡的套餐结束时间。'."\n" + ."\n" + .'格式为:`yyyy-MM-dd HH:mm:ss`', 'type' => 'string', 'required' => false, 'example' => '2022-05-25 23:59:59'], + ], + [ + 'name' => 'IsAutoRecharge', + 'in' => 'query', + 'schema' => ['description' => '套餐是否自动续费。'."\n" + ."\n" + .'- **true**:是。'."\n" + ."\n" + .'- **false**:否。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'ExpireTimeStart', + 'in' => 'query', + 'schema' => ['description' => '物联网卡的套餐开始时间。'."\n" + ."\n" + .'格式为:`yyyy-MM-dd HH:mm:ss`', 'type' => 'string', 'required' => false, 'example' => '2022-05-25 23:59:59'], + ], + [ + 'name' => 'OsStatus', + 'in' => 'query', + 'schema' => ['description' => '物联网卡的具体状态。'."\n" + ."\n" + .'- **10**:测试期。'."\n" + ."\n" + .'- **20**:静默期。'."\n" + ."\n" + .'- **100**:使用中。'."\n" + ."\n" + .'- **150**:部分使用中。'."\n" + ."\n" + .'- **200**:主动停用。'."\n" + ."\n" + .'- **300**:达量停用。'."\n" + ."\n" + .'- **400**:信控停用。'."\n" + ."\n" + .'- **500**:换绑停用。'."\n" + ."\n" + .'- **600**:实名停用。'."\n" + ."\n" + .'- **700**:异常停用。'."\n" + ."\n" + .'- **40**:已停机。'."\n" + ."\n" + .'- **50**:已销户。', 'type' => 'string', 'required' => false, 'example' => '300'], + ], + [ + 'name' => 'NotifyId', + 'in' => 'query', + 'schema' => ['description' => '自动化规则的通知ID。', 'type' => 'string', 'required' => false, 'example' => '11111'], + ], + [ + 'name' => 'DataLevel', + 'in' => 'query', + 'schema' => ['description' => '流量包档位。', 'type' => 'string', 'required' => false, 'example' => '30MB'], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => ['description' => '物联网卡的状态。'."\n" + ."\n" + .'- **10**:可测试。'."\n" + ."\n" + .'- **20**:未使用。'."\n" + ."\n" + .'- **30**:使用中。'."\n" + ."\n" + .'- **35**:已停用。'."\n" + ."\n" + .'- **40**:已停机。'."\n" + ."\n" + .'- **50**:已销户。', 'type' => 'string', 'required' => false, 'example' => '35'], + ], + [ + 'name' => 'TagName', + 'in' => 'query', + 'schema' => ['description' => '标签名称。'."\n", 'type' => 'string', 'required' => false, 'example' => '测试标签'], + ], + [ + 'name' => 'CertifyType', + 'in' => 'query', + 'schema' => ['description' => '认证方式。'."\n" + ."\n" + .'仅支持enterprise:企业认证。', 'type' => 'string', 'required' => false, 'example' => 'enterprise'], + ], + [ + 'name' => 'DirectionalGroupId', + 'in' => 'query', + 'schema' => ['description' => '定向分组ID。', 'type' => 'string', 'required' => false, 'example' => '22'], + ], + [ + 'name' => 'ApnName', + 'in' => 'query', + 'schema' => ['description' => 'APN名称。'."\n" + ."\n", 'type' => 'string', 'required' => false, 'example' => 'cmiot'], + ], + [ + 'name' => 'Imsi', + 'in' => 'query', + 'schema' => ['description' => '物联网卡的IMSI。', 'type' => 'string', 'required' => false, 'example' => '460081937******'], + ], + [ + 'name' => 'PoolId', + 'in' => 'query', + 'schema' => ['description' => '池编号。', 'type' => 'string', 'required' => false, 'example' => 'test1'], + ], + [ + 'name' => 'MinFlow', + 'in' => 'query', + 'schema' => ['description' => '周期用量区间筛选:最小用量(单位MB)。', 'type' => 'string', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'MaxFlow', + 'in' => 'query', + 'schema' => ['description' => '周期用量区间筛选:最大用量(单位MB)。', 'type' => 'string', 'required' => false, 'example' => '30'], + ], + [ + 'name' => 'MaxRestFlowPercentage', + 'in' => 'query', + 'schema' => ['description' => '单卡周期流量剩余比例,仅支持如下三个参数。'."\n" + .'0.1:剩余10%'."\n" + .'0.2:剩余20%'."\n" + .'0.3:剩余30%', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '0.2'], + ], + [ + 'name' => 'NetworkType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '网络制式:4G,5G。', 'type' => 'string', 'required' => false, 'example' => '4G'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'BatchAddDirectionalAddressResponse', - 'description' => 'BatchAddDirectionalAddressResponse', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'Success' => [ - 'title' => '必填', - 'description' => '是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'- 200:调用成功。'."\n" - ."\n" - .'- 其他:调用失败。错误码详情,请参见[错误码](~~87387~~)。', - 'type' => 'string', - 'example' => '200', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'- **200**:表示成功。'."\n" + .'- 其它:表示错误码。错误码详情,请参见[错误码](~~375339~~)。', 'type' => 'string', 'example' => '200'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'Success' => ['description' => '是否调用成功。'."\n" + ."\n" + .'- true:调用成功。'."\n" + ."\n" + .'- false:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], 'Data' => [ - 'description' => '地址是否添加成功。'."\n" - ."\n" - .'- true:添加成功。'."\n" - ."\n" - .'- false:添加失败。', - 'type' => 'boolean', - 'example' => 'true', + 'description' => '返回页面信息。', + 'type' => 'object', + 'properties' => [ + 'PageNo' => ['description' => '查询页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '每页显示的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageCount' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'Total' => ['description' => '符合条件的物联网卡总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '199'], + 'List' => [ + 'description' => '卡列表。', + 'type' => 'array', + 'items' => [ + 'description' => '卡列表。', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '卡的状态。'."\n" + ."\n" + .'- **10**:可测试。'."\n" + ."\n" + .'- **20**:未使用。'."\n" + ."\n" + .'- **30**:使用中。'."\n" + ."\n" + .'- **35**:已停用。'."\n" + ."\n" + .'- **40**:已停机。'."\n" + ."\n" + .'- **50**:已销户。', 'type' => 'string', 'example' => '35'], + 'DataType' => ['description' => '流量类型。'."\n" + ."\n" + .'- **singlecard**:单卡通用流量。'."\n" + ."\n" + .'- **directionalcard**:单卡定向流量。'."\n" + ."\n" + .'- **sameflowcard**:同档位池共享流量。'."\n" + ."\n" + .'- **directional_sameflowcard**:同档位池共享定向流量。'."\n" + ."\n" + .'- **unityPayPool**:统付池通用流量。'."\n" + ."\n" + .'- **GREcard** :统付池定向流量。', 'type' => 'string', 'example' => 'sameflowcard'], + 'DirectionalGroupName' => ['description' => '定向分组名称。', 'type' => 'string', 'example' => '测试分组'], + 'PeriodRestFlow' => ['description' => '周期剩余流量。', 'type' => 'string', 'example' => '130.00MB'], + 'CredentialType' => ['description' => '套餐凭证类型。', 'type' => 'string', 'example' => 'unityPayPool'], + 'PeriodAddFlow' => ['description' => '周期累计流量。', 'type' => 'string', 'example' => '0KB'], + 'PeriodSmsUse' => ['description' => '周期短信用量。', 'type' => 'string', 'example' => '0'], + 'DataLevel' => ['description' => '流量包档位。', 'type' => 'string', 'example' => '30MB'], + 'OsStatus' => ['description' => '物联网卡的具体状态。'."\n" + ."\n" + .'- **10**:测试期。'."\n" + ."\n" + .'- **20**:静默期。'."\n" + ."\n" + .'- **100**:使用中。'."\n" + ."\n" + .'- **150**:部分使用中。'."\n" + ."\n" + .'- **200**:主动停用。'."\n" + ."\n" + .'- **300**:达量停用。'."\n" + ."\n" + .'- **400**:信控停用。'."\n" + ."\n" + .'- **500**:换绑停用。'."\n" + ."\n" + .'- **600**:实名停用。'."\n" + ."\n" + .'- **700**:异常停用。'."\n" + ."\n" + .'- **40**:已停机。'."\n" + ."\n" + .'- **50**:已销户。', 'type' => 'string', 'example' => '300'], + 'NotifyId' => ['description' => '自动化规则的通知ID。', 'type' => 'string', 'example' => '11111'], + 'AliFee' => ['description' => '资费版本。', 'type' => 'string', 'example' => 'ali_2'], + 'AliyunOrderId' => ['description' => '物联网卡关联的订单编号。', 'type' => 'string', 'example' => '211519634******'], + 'ActiveType' => ['description' => '物联网卡的激活方式。'."\n" + ."\n" + .'- **firstdatarecord**:首话单激活。'."\n" + ."\n" + .'- **carrierstatuspush**:运营商状态推送激活。'."\n" + ."\n" + .'- **silence_expire**:沉默期结束激活。'."\n" + ."\n" + .'- **manage**:手动激活。'."\n" + ."\n" + .'- **testflowdepleted**:测试期流量超出后激活。', 'type' => 'string', 'example' => 'first_data_record'], + 'IsAutoRecharge' => ['description' => '套餐是否自动续费。'."\n" + ."\n" + .'- true:是。'."\n" + ."\n" + .'- false:否。', 'type' => 'boolean', 'example' => 'true'], + 'CredentialInstanceId' => ['description' => '凭证实例ID。', 'type' => 'string', 'example' => '2622***'], + 'ExpireTime' => ['description' => '套餐到期时间。', 'type' => 'string', 'example' => '2022-04-30 23:59:59'], + 'ApnName' => ['description' => 'APN名称。', 'type' => 'string', 'example' => 'cmiot'], + 'ActiveTime' => ['description' => '激活时间。', 'type' => 'string', 'example' => '2021-11-16 16:35:50'], + 'Iccid' => ['description' => '物联网卡的ICCID。', 'type' => 'string', 'example' => '89860321******15668'], + 'Vendor' => ['description' => '运营商。'."\n" + ."\n" + .'- **CMCC**:移动。'."\n" + ."\n" + .'- **CUCC**:联通。'."\n" + ."\n" + .'- **CTCC**:电信。'."\n" + ."\n" + .'- **VNO**:虚拟运营商。', 'type' => 'string', 'example' => 'CMCC'], + 'Period' => ['description' => '套餐结算周期。'."\n" + ."\n" + .'- **1101**:月度。'."\n" + ."\n" + .'- **1103**:季度。'."\n" + ."\n" + .'- **1106**:半年度。'."\n" + ."\n" + .'- **1112**:年度。', 'type' => 'string', 'example' => '1101'], + 'CertifyType' => ['description' => '认证方式。'."\n" + ."\n" + .'enterprise:企业认证。', 'type' => 'string', 'example' => 'enterprise'], + 'PrivateNetworkSegment' => ['description' => '私网网段(定向卡)。', 'type' => 'string', 'example' => '1.*.3.*'], + 'OpenAccountTime' => ['description' => '开户时间。', 'type' => 'string', 'example' => '2021-11-29 16:12:14'], + 'SimType' => ['description' => 'SIM卡类型。'."\n" + ."\n" + .'- **nano**:插拔三切卡(消费级)。'."\n" + ."\n" + .'- **micro**:插拔双切卡(消费级)。'."\n" + ."\n" + .'- **normal**:插拔大卡(消费级)。'."\n" + ."\n" + .'- **simplus56**:贴片卡5*6(消费级)。'."\n" + ."\n" + .'- **simplus22**:贴片卡2*2(消费级)。'."\n" + ."\n" + .'- **industry-normal**:插拔大卡(工业级)。'."\n" + ."\n" + .'- **industry-micro**:插拔双切卡(工业级)。'."\n" + ."\n" + .'- **industry-nano**:插拔三切卡(工业级)。'."\n" + ."\n" + .'- **simplus**:贴片卡5*6(工业级)。'."\n" + ."\n" + .'- **industry-simplus22**:贴片卡2*2(工业级)。', 'type' => 'string', 'example' => 'nano'], + 'VsimInstanceId' => ['description' => '物联网卡的InstanceId值。', 'type' => 'integer', 'format' => 'int64', 'example' => '123456'], + 'CredentialNo' => ['description' => '套餐凭证。', 'type' => 'string', 'example' => 'CM-***-*-2-**M'], + 'TagList' => [ + 'description' => '物联网卡的标签。', + 'type' => 'array', + 'items' => [ + 'description' => '标签列表。', + 'type' => 'object', + 'properties' => [ + 'TagName' => ['description' => '标签名称。', 'type' => 'string', 'example' => '测试标签'], + 'Id' => ['description' => '标签ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '24'], + ], + ], + ], + 'Imsi' => [ + 'description' => '物联网卡的IMSI。', + 'type' => 'array', + 'items' => ['description' => '物联网卡的IMSI。', 'type' => 'string', 'example' => '460081937******'], + ], + 'Msisdn' => [ + 'description' => '物联网卡的MSISDN。', + 'type' => 'array', + 'items' => ['description' => '物联网卡的MSISDN。', 'type' => 'string', 'example' => '1440993******'], + ], + 'Remark' => ['description' => '备注信息。', 'type' => 'string', 'example' => '备注信息'], + 'DirectionalGroupId' => ['description' => '定向分组ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '55'], + 'NetworkType' => ['description' => '网络制式:4G,5G。', 'type' => 'string', 'example' => '4G'], + 'FlowLatestModifiedTime' => ['description' => '用量更新时间', 'type' => 'string', 'example' => '2023-08-15 18:20:11'], + ], + ], + ], + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'linkcard.system.IllegalRequest', - 'errorMessage' => 'The request parameter is invalid.', - ], + ['errorCode' => 'linkcard.common.InvalidAliyunPK', 'errorMessage' => 'AliyunPk is invalid.', 'description' => ''], + ['errorCode' => 'linkcard.system.IllegalRequest', 'errorMessage' => 'The request parameter is invalid.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny ', - 'errorMessage' => 'You do not have the RAM permission. ', - ], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => ''], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => ''], + ['errorCode' => '%s..', 'errorMessage' => '%s..', 'description' => ''], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => ''], + ['errorCode' => 'linkcard.common.BusinessProcessError', 'errorMessage' => 'A business processing exception occurred.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Data\\": true\\n}","errorExample":""},{"type":"xml","example":"<BatchAddDirectionalAddressResponse>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n <Data>true</Data>\\n</BatchAddDirectionalAddressResponse>","errorExample":""}]', - 'title' => '定向地址添加', - 'description' => '## 使用说明'."\n" - .'仅新版定向服务菜单支持定向分组功能,如果您使用的是旧版定向服务菜单,无法使用该接口。更多信息,请参见[定向服务](~~279455~~)。', - 'requestParamsDescription' => '调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~30561~~)。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Data\\": {\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"PageCount\\": 20,\\n \\"Total\\": 199,\\n \\"List\\": [\\n {\\n \\"Status\\": \\"35\\",\\n \\"DataType\\": \\"sameflowcard\\",\\n \\"DirectionalGroupName\\": \\"测试分组\\",\\n \\"PeriodRestFlow\\": \\"130.00MB\\",\\n \\"CredentialType\\": \\"unityPayPool\\",\\n \\"PeriodAddFlow\\": \\"0KB\\",\\n \\"PeriodSmsUse\\": \\"0\\",\\n \\"DataLevel\\": \\"30MB\\",\\n \\"OsStatus\\": \\"300\\",\\n \\"NotifyId\\": \\"11111\\",\\n \\"AliFee\\": \\"ali_2\\",\\n \\"AliyunOrderId\\": \\"211519634******\\",\\n \\"ActiveType\\": \\"first_data_record\\",\\n \\"IsAutoRecharge\\": true,\\n \\"CredentialInstanceId\\": \\"2622***\\",\\n \\"ExpireTime\\": \\"2022-04-30 23:59:59\\",\\n \\"ApnName\\": \\"cmiot\\",\\n \\"ActiveTime\\": \\"2021-11-16 16:35:50\\",\\n \\"Iccid\\": \\"89860321******15668\\",\\n \\"Vendor\\": \\"CMCC\\",\\n \\"Period\\": \\"1101\\",\\n \\"CertifyType\\": \\"enterprise\\",\\n \\"PrivateNetworkSegment\\": \\"1.*.3.*\\",\\n \\"OpenAccountTime\\": \\"2021-11-29 16:12:14\\",\\n \\"SimType\\": \\"nano\\",\\n \\"VsimInstanceId\\": 123456,\\n \\"CredentialNo\\": \\"CM-***-*-2-**M\\",\\n \\"TagList\\": [\\n {\\n \\"TagName\\": \\"测试标签\\",\\n \\"Id\\": 24\\n }\\n ],\\n \\"Imsi\\": [\\n \\"460081937******\\"\\n ],\\n \\"Msisdn\\": [\\n \\"1440993******\\"\\n ],\\n \\"Remark\\": \\"备注信息\\",\\n \\"DirectionalGroupId\\": 55,\\n \\"NetworkType\\": \\"4G\\",\\n \\"FlowLatestModifiedTime\\": \\"2023-08-15 18:20:11\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListCardInfoResponse>\\n <Code>200</Code>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n <Data>\\n <PageNo>1</PageNo>\\n <PageSize>10</PageSize>\\n <PageCount>20</PageCount>\\n <Total>199</Total>\\n <List>\\n <Status>35</Status>\\n <DataType>sameflowcard</DataType>\\n <DirectionalGroupName>测试分组</DirectionalGroupName>\\n <PeriodRestFlow>130.00MB</PeriodRestFlow>\\n <CredentialType>unityPayPool</CredentialType>\\n <PeriodAddFlow>0KB</PeriodAddFlow>\\n <PeriodSmsUse>0</PeriodSmsUse>\\n <DataLevel>30MB</DataLevel>\\n <OsStatus>300</OsStatus>\\n <NotifyId>11111</NotifyId>\\n <AliFee>ali_2</AliFee>\\n <AliyunOrderId>211519634******</AliyunOrderId>\\n <ActiveType>first_data_record</ActiveType>\\n <IsAutoRecharge>true</IsAutoRecharge>\\n <CredentialInstanceId>2622***</CredentialInstanceId>\\n <ExpireTime>2022-04-30 23:59:59</ExpireTime>\\n <ApnName>cmiot</ApnName>\\n <ActiveTime>2021-11-16 16:35:50</ActiveTime>\\n <Iccid>89860321******15668</Iccid>\\n <Vendor>CMCC</Vendor>\\n <Period>1101</Period>\\n <CertifyType>enterprise</CertifyType>\\n <PrivateNetworkSegment>1.*.3.*</PrivateNetworkSegment>\\n <OpenAccountTime>2021-11-29 16:12:14</OpenAccountTime>\\n <SimType>nano</SimType>\\n <VsimInstanceId>123456</VsimInstanceId>\\n <CredentialNo>CM-***-*-2-**M</CredentialNo>\\n <TagList>\\n <TagName>测试标签</TagName>\\n <Id>24</Id>\\n </TagList>\\n <Imsi>460081937******</Imsi>\\n <Msisdn>1440993******</Msisdn>\\n <Remark>备注信息</Remark>\\n <DirectionalGroupId>55</DirectionalGroupId>\\n </List>\\n </Data>\\n</ListCardInfoResponse>","errorExample":""}]', + 'title' => '查询卡列表', + 'description' => '### 使用说明'."\n" + .'该接口的请求参数您可以在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/?spm=a2c4g.11186623.0.0.6a072d25p4pUg8)查看并获取,或者调用接口[GetCardDetail](~~374328~~)在返回参数中查看并获取(后者更为推荐)。'."\n", + 'requestParamsDescription' => '调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~375336~~)。', + 'changeSet' => [], ], 'ListDirectionalAddress' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4181,49 +2504,24 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '每页的数量,支持10、15、25、40。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '200', - 'minimum' => '1', - 'example' => '10', - ], + 'schema' => ['description' => '每页的数量,支持10、15、25、40。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '200', 'minimum' => '1', 'example' => '10'], ], [ 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => '查询页数,需结合PageSize参数使用。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => '查询页数,需结合PageSize参数使用。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'minimum' => '1', 'example' => '1'], ], [ 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'description' => '定向分组ID。'."\n" - ."\n" - .'您可调用接口[GetCardDetail](~~374328~~)在返回参数中查看定向分组ID(DirectionalGroupId)。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '5', - ], + 'schema' => ['description' => '定向分组ID。'."\n" + ."\n" + .'您可调用接口[GetCardDetail](~~374328~~)在返回参数中查看定向分组ID(DirectionalGroupId)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '5'], ], ], 'responses' => [ @@ -4232,158 +2530,78 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'- 200:调用成功。'."\n" - ."\n" - .'- 其他:调用失败。错误码详情,请参见[错误码](~~375339~~)。', - 'type' => 'string', - 'example' => '200', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'- 200:调用成功。'."\n" + ."\n" + .'- 其他:调用失败。错误码详情,请参见[错误码](~~375339~~)。', 'type' => 'string', 'example' => '200'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'Success' => ['description' => '是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], 'Data' => [ 'description' => '返回的访问地址。', 'type' => 'object', 'properties' => [ - 'PageNo' => [ - 'description' => '查询页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '每页的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageCount' => [ - 'description' => '列表总页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9', - ], - 'Total' => [ - 'description' => '列表总数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '90', - ], + 'PageNo' => ['description' => '查询页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '每页的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageCount' => ['description' => '列表总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '9'], + 'Total' => ['description' => '列表总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '90'], 'List' => [ 'description' => '访问地址。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Address' => [ - 'description' => '定向访问地址。', - 'type' => 'string', - 'example' => '*.aliyun.com', - ], - 'AddressType' => [ - 'description' => '地址类型。'."\n" - ."\n" - .'- **Ip**:IP地址。'."\n" - ."\n" - .'- **Domain**:域名。', - 'type' => 'string', - 'example' => 'Domain', - ], - 'Source' => [ - 'description' => '地址来源。'."\n" - ."\n" - .'- **user_defined**:用户配置。'."\n" - ."\n" - .'- **aliyun_defined**:阿里云预配。', - 'type' => 'string', - 'example' => 'user_defined', - ], - 'GroupId' => [ - 'description' => '定向分组ID。', - 'type' => 'string', - 'example' => '5', - ], - 'State' => [ - 'description' => '地址状态。'."\n" - ."\n" - .'- **100**:新增处理中。'."\n" - ."\n" - .'- **200**:删除处理中。'."\n" - ."\n" - .'- **300**:新增失败。'."\n" - ."\n" - .'- **400**:删除失败。'."\n" - ."\n" - .'- **500**:新增成功。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '500', - ], + 'Address' => ['description' => '定向访问地址。', 'type' => 'string', 'example' => '*.aliyun.com'], + 'AddressType' => ['description' => '地址类型。'."\n" + ."\n" + .'- **Ip**:IP地址。'."\n" + ."\n" + .'- **Domain**:域名。', 'type' => 'string', 'example' => 'Domain'], + 'Source' => ['description' => '地址来源。'."\n" + ."\n" + .'- **user_defined**:用户配置。'."\n" + ."\n" + .'- **aliyun_defined**:阿里云预配。', 'type' => 'string', 'example' => 'user_defined'], + 'GroupId' => ['description' => '定向分组ID。', 'type' => 'string', 'example' => '5'], + 'State' => ['description' => '地址状态。'."\n" + ."\n" + .'- **100**:新增处理中。'."\n" + ."\n" + .'- **200**:删除处理中。'."\n" + ."\n" + .'- **300**:新增失败。'."\n" + ."\n" + .'- **400**:删除失败。'."\n" + ."\n" + .'- **500**:新增成功。', 'type' => 'integer', 'format' => 'int32', 'example' => '500'], ], + 'description' => '', ], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'linkcard.system.IllegalRequest', - 'errorMessage' => 'The request parameter is invalid.', - ], - [ - 'errorCode' => 'IllegalParameter', - 'errorMessage' => 'The request parameter %s is invalid.', - ], + ['errorCode' => 'linkcard.system.IllegalRequest', 'errorMessage' => 'The request parameter is invalid.', 'description' => ''], + ['errorCode' => 'IllegalParameter', 'errorMessage' => 'The request parameter %s is invalid.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => ''], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], - [ - 'errorCode' => '%s..', - 'errorMessage' => '%s..', - ], - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => ''], + ['errorCode' => '%s..', 'errorMessage' => '%s..', 'description' => ''], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Data\\": {\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"PageCount\\": 9,\\n \\"Total\\": 90,\\n \\"List\\": [\\n {\\n \\"Address\\": \\"*.aliyun.com\\",\\n \\"AddressType\\": \\"Domain\\",\\n \\"Source\\": \\"user_defined\\",\\n \\"GroupId\\": \\"5\\",\\n \\"State\\": 500\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListDirectionalAddressResponse>\\n <Code>200</Code>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n <Data>\\n <PageNo>1</PageNo>\\n <PageSize>10</PageSize>\\n <PageCount>9</PageCount>\\n <Total>90</Total>\\n <List>\\n <Address>*.aliyun.com</Address>\\n <AddressType>Domain</AddressType>\\n <Source>user_defined</Source>\\n <GroupId>5</GroupId>\\n <State>500</State>\\n </List>\\n </Data>\\n</ListDirectionalAddressResponse>","errorExample":""}]', @@ -4391,17 +2609,12 @@ 'summary' => '查询定向分组的访问地址列表。', 'description' => '## 使用说明'."\n" .'仅新版定向服务菜单支持定向分组功能,如果您使用的是旧版定向服务菜单,无法使用该接口。更多信息,请参见[定向服务](~~279455~~)。', + 'changeSet' => [], ], 'ListDirectionalDetail' => [ 'summary' => '查询物联网卡所在的定向分组及访问地址列表。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], @@ -4409,43 +2622,24 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'Iccid', 'in' => 'query', - 'schema' => [ - 'description' => '物联网卡的ICCID。'."\n" - ."\n" - .'您可在物联网卡上查看ICCID,或者在物联网SIM服务控制台的卡管理页面,查看ICCID。', - 'type' => 'string', - 'required' => true, - 'example' => '89860321******15668', - ], + 'schema' => ['description' => '物联网卡的ICCID。'."\n" + ."\n" + .'您可在物联网卡上查看ICCID,或者在物联网SIM服务控制台的卡管理页面,查看ICCID。', 'type' => 'string', 'required' => true, 'example' => '89860321******15668'], ], [ 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => '查询的页数,不能为0。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '查询的页数,不能为0。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '每页的数量,支持10、15、25、40。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => '每页的数量,支持10、15、25、40。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], ], ], 'responses' => [ @@ -4455,81 +2649,31 @@ 'description' => 'ListDirectionalDetailResponse', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'Success' => [ - 'title' => '必填', - 'description' => '是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'- 200:调用成功。'."\n" - ."\n" - .'- 其他:调用失败。错误码详情,请参见[错误码](~~87387~~)。', - 'type' => 'string', - 'example' => '200', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'Success' => ['title' => '必填', 'description' => '是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'- 200:调用成功。'."\n" + ."\n" + .'- 其他:调用失败。错误码详情,请参见[错误码](~~87387~~)。', 'type' => 'string', 'example' => '200'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], 'Data' => [ 'description' => '返回的分组信息及分组内的访问地址清单。', 'type' => 'object', 'properties' => [ - 'DirectionalGroupId' => [ - 'description' => '定向分组ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'DirectionalName' => [ - 'description' => '定向分组名称。', - 'type' => 'string', - 'example' => '测试分组', - ], + 'DirectionalGroupId' => ['description' => '定向分组ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'DirectionalName' => ['description' => '定向分组名称。', 'type' => 'string', 'example' => '测试分组'], 'PaginationResult' => [ 'description' => '定向分组内的访问地址列表。', 'type' => 'object', 'properties' => [ - 'PageNo' => [ - 'description' => '当前页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '每页的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'Total' => [ - 'description' => '列表总数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '90', - ], - 'PageCount' => [ - 'description' => '列表总页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9', - ], + 'PageNo' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '每页的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'Total' => ['description' => '列表总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '90'], + 'PageCount' => ['description' => '列表总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '9'], 'List' => [ 'description' => '定向地址列表。', 'type' => 'array', @@ -4537,49 +2681,29 @@ 'description' => '定向地址列表。', 'type' => 'object', 'properties' => [ - 'GroupId' => [ - 'description' => '定向分组ID。', - 'type' => 'string', - 'example' => '5', - ], - 'Address' => [ - 'description' => '定向访问地址。', - 'type' => 'string', - 'example' => '*.aliyun.com', - ], - 'Source' => [ - 'description' => '地址来源。'."\n" - ."\n" - .'- **user_defined**:用户配置。'."\n" - ."\n" - .'- **aliyun_defined**:阿里云预配。', - 'type' => 'string', - 'example' => 'user_defined', - ], - 'AddressType' => [ - 'description' => '地址类型。'."\n" - ."\n" - .'- **Ip**:IP地址。'."\n" - ."\n" - .'- **Domain**:域名。', - 'type' => 'string', - 'example' => 'Domain', - ], - 'State' => [ - 'description' => '地址状态。'."\n" - ."\n" - .'- **100**:新增处理中。'."\n" - ."\n" - .'- **200**:删除处理中。'."\n" - ."\n" - .'- **300**:新增失败。'."\n" - ."\n" - .'- **400**:删除失败。'."\n" - ."\n" - .'- **500**:新增成功。', - 'type' => 'string', - 'example' => '500', - ], + 'GroupId' => ['description' => '定向分组ID。', 'type' => 'string', 'example' => '5'], + 'Address' => ['description' => '定向访问地址。', 'type' => 'string', 'example' => '*.aliyun.com'], + 'Source' => ['description' => '地址来源。'."\n" + ."\n" + .'- **user_defined**:用户配置。'."\n" + ."\n" + .'- **aliyun_defined**:阿里云预配。', 'type' => 'string', 'example' => 'user_defined'], + 'AddressType' => ['description' => '地址类型。'."\n" + ."\n" + .'- **Ip**:IP地址。'."\n" + ."\n" + .'- **Domain**:域名。', 'type' => 'string', 'example' => 'Domain'], + 'State' => ['description' => '地址状态。'."\n" + ."\n" + .'- **100**:新增处理中。'."\n" + ."\n" + .'- **200**:删除处理中。'."\n" + ."\n" + .'- **300**:新增失败。'."\n" + ."\n" + .'- **400**:删除失败。'."\n" + ."\n" + .'- **500**:新增成功。', 'type' => 'string', 'example' => '500'], ], ], ], @@ -4593,50 +2717,20 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'linkcard.system.IllegalRequest', - 'errorMessage' => 'The request parameter is invalid.', - ], - [ - 'errorCode' => 'linkcard.directional.notExist', - 'errorMessage' => 'Can not find direction group.', - ], - [ - 'errorCode' => 'IllegalParameter', - 'errorMessage' => 'The request parameter %s is invalid.', - ], - [ - 'errorCode' => 'linkcard.common.CardNotExist', - 'errorMessage' => 'The card does not exist.', - ], - [ - 'errorCode' => 'CardDisabled', - 'errorMessage' => 'The SIM card has been permanently disabled.', - ], + ['errorCode' => 'linkcard.system.IllegalRequest', 'errorMessage' => 'The request parameter is invalid.', 'description' => ''], + ['errorCode' => 'linkcard.directional.notExist', 'errorMessage' => 'Can not find direction group.', 'description' => ''], + ['errorCode' => 'IllegalParameter', 'errorMessage' => 'The request parameter %s is invalid.', 'description' => ''], + ['errorCode' => 'linkcard.common.CardNotExist', 'errorMessage' => 'The card does not exist.', 'description' => ''], + ['errorCode' => 'CardDisabled', 'errorMessage' => 'The SIM card has been permanently disabled.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny ', - 'errorMessage' => 'You do not have the RAM permission. ', - ], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => ''], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => ''], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny ', 'errorMessage' => 'You do not have the RAM permission. ', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => ''], + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Data\\": {\\n \\"DirectionalGroupId\\": 5,\\n \\"DirectionalName\\": \\"测试分组\\",\\n \\"PaginationResult\\": {\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 90,\\n \\"PageCount\\": 9,\\n \\"List\\": [\\n {\\n \\"GroupId\\": \\"5\\",\\n \\"Address\\": \\"*.aliyun.com\\",\\n \\"Source\\": \\"user_defined\\",\\n \\"AddressType\\": \\"Domain\\",\\n \\"State\\": \\"500\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListDirectionalDetailResponse>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n <Data>\\n <DirectionalGroupId>5</DirectionalGroupId>\\n <DirectionalName>测试分组</DirectionalName>\\n <PaginationResult>\\n <PageNo>1</PageNo>\\n <PageSize>10</PageSize>\\n <Total>90</Total>\\n <PageCount>9</PageCount>\\n <List>\\n <GroupId>5</GroupId>\\n <Address>*.aliyun.com</Address>\\n <Source>user_defined</Source>\\n <AddressType>Domain</AddressType>\\n <State>500</State>\\n </List>\\n </PaginationResult>\\n </Data>\\n</ListDirectionalDetailResponse>","errorExample":""}]', @@ -4644,17 +2738,12 @@ 'description' => '## 使用说明'."\n" .'仅新版定向服务菜单支持定向分组,如果您使用的是旧版定向服务菜单,无法使用该接口。更多信息,请参见[定向服务](~~279455~~)。', 'requestParamsDescription' => '调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~30561~~)。', + 'changeSet' => [], ], - 'VerifyIotCard' => [ - 'summary' => '查询物联网卡是否为定向卡。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'ListOrder' => [ + 'summary' => '查询订单列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4662,177 +2751,75 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Iccid', + 'name' => 'OrderId', 'in' => 'query', - 'schema' => [ - 'description' => '物联网卡的ICCID。'."\n" - ."\n" - .'您可在物联网卡上查看ICCID,或者在物联网SIM服务控制台的卡管理页面,查看ICCID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '89860321******15668', - ], + 'schema' => ['description' => '订单ID。', 'type' => 'string', 'required' => false, 'example' => '21450******0275'], ], - ], - 'responses' => [ - 200 => [ - 'headers' => [], - 'schema' => [ - 'title' => 'VerifyIotCardResponse', - 'description' => 'VerifyIotCardResponse', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'Success' => [ - 'title' => '必填', - 'description' => '是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'- 200:调用成功。'."\n" - ."\n" - .'- 其他:调用失败。错误码详情,请参见[错误码](~~375339~~)。', - 'type' => 'string', - 'example' => '200', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'Data' => [ - 'description' => '是否为定向卡。'."\n" - ."\n" - .'- **true**:是定向卡。'."\n" - ."\n" - .'- **false**:不是定向卡。', - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], + [ + 'name' => 'StartDate', + 'in' => 'query', + 'schema' => ['description' => '订单购买的时间区间(开始日期)。'."\n" + ."\n" + .'格式:`YYYY-MM-dd`', 'type' => 'string', 'required' => false, 'example' => '2022-04-05'], ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'linkcard.check.IccidCanNotEmpty', - 'errorMessage' => 'Iccid cannot be empty.', - ], - [ - 'errorCode' => 'linkcard.system.IllegalRequest', - 'errorMessage' => 'The request parameter is invalid.', - ], - [ - 'errorCode' => 'linkcard.common.CardDestroy', - 'errorMessage' => 'The card do not exist or destroy.', - ], - [ - 'errorCode' => 'CardDisabled', - 'errorMessage' => 'The SIM card has been permanently disabled.', - ], - [ - 'errorCode' => 'linkcard.common.CardNotExist', - 'errorMessage' => 'The card does not exist.', - ], - [ - 'errorCode' => 'IllegalParameter', - 'errorMessage' => 'The request parameter %s is invalid.', - ], + [ + 'name' => 'EndDate', + 'in' => 'query', + 'schema' => ['description' => '订单购买的时间区间(结束日期)。'."\n" + ."\n" + .'格式:`YYYY-MM-dd`', 'type' => 'string', 'required' => false, 'example' => '2022-04-05'], ], - 403 => [ - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny ', - 'errorMessage' => 'You do not have the RAM permission. ', - ], + [ + 'name' => 'OrderType', + 'in' => 'query', + 'schema' => ['description' => '订单类型。'."\n" + ."\n" + .'- **NEW**:新购。'."\n" + ."\n" + .'- **ADD_FLOW**:扩池。'."\n" + ."\n" + .'- **ADD_CARD**:补卡。'."\n" + ."\n" + .'- **FUNCTION**:购月功能费。'."\n" + ."\n" + .'- **FLOW_PLUS**:购买叠加包。'."\n" + ."\n" + .'- **RENEW**:续订套餐。'."\n" + ."\n" + .'- **AUTO_RENEW**:自动续订套餐。'."\n", 'type' => 'string', 'required' => false, 'example' => 'NEW'], ], - 500 => [ - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], + [ + 'name' => 'OrderStatus', + 'in' => 'query', + 'schema' => ['description' => '订单状态。'."\n" + ."\n" + .'- **processing**:处理中。'."\n" + ."\n" + .'- **failure**:失败。'."\n" + ."\n" + .'- **completed**:处理完成。'."\n" + ."\n" + .'- **unpaid**:待支付。'."\n" + ."\n" + .'- **refunded**:已退款。', 'type' => 'string', 'required' => false, 'example' => 'processing'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Data\\": true\\n}","errorExample":""},{"type":"xml","example":"<VerifyIotCardResponse>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n <Data>true</Data>\\n</VerifyIotCardResponse>","errorExample":""}]', - 'title' => '定向卡查询', - 'requestParamsDescription' => '调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~30561~~)。', - ], - 'AddTagsToCard' => [ - 'summary' => '物联网卡添加标签', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'PageNo', + 'in' => 'query', + 'schema' => ['description' => '查询页数,需结合`PageSize`参数使用。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'], ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [], - 'parameters' => [ [ - 'name' => 'Iccid', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '物联网卡的ICCID。'."\n" - ."\n" - .'您可在物联网卡上查看ICCID,或者在物联网SIM服务控制台的卡管理页面查看ICCID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '89860321******15668', - ], + 'schema' => ['description' => '每页的数量,支持10、15、25、40。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '10'], ], [ - 'name' => 'TagNameList', + 'name' => 'CredentialNo', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => '标签名称。', - 'type' => 'array', - 'items' => [ - 'description' => '标签名称。'."\n" - ."\n" - .'参数为空或者空集合的时候代表从卡上删除所有标签。'."\n" - ."\n" - .'如标签不存在,则会自动创建该标签并打标。', - 'type' => 'string', - 'required' => false, - 'example' => '测试标签', - ], - 'required' => false, - 'maxItems' => 4, - ], + 'schema' => ['description' => '套餐凭证。', 'type' => 'string', 'required' => false, 'example' => 'CT-SF-M-2-100M'], ], ], 'responses' => [ @@ -4840,286 +2827,263 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'200:表示成功。 其它:表示错误码。错误码详情,请参见错误码。', - 'type' => 'string', - 'example' => '200', - ], + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'- **200**:表示成功。'."\n" + .'- 其它:表示错误码。错误码详情,请参见[错误码](~~375339~~)。', 'type' => 'string', 'example' => '200'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'Success' => ['description' => '是否调用成功。'."\n" + ."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], 'Data' => [ - 'description' => '该卡已有标签的集合。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'TagName' => [ - 'description' => '标签名称。', - 'type' => 'string', - 'example' => '测试标签', - ], - 'TagId' => [ - 'description' => '标签ID。', - 'type' => 'string', - 'example' => '14', + 'description' => '返回信息。', + 'type' => 'object', + 'properties' => [ + 'PageNo' => ['description' => '查询页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '每页的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageCount' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'Total' => ['description' => '符合条件的总订单数。', 'type' => 'integer', 'format' => 'int32', 'example' => '48'], + 'List' => [ + 'description' => '订单列表。', + 'type' => 'array', + 'items' => [ + 'description' => '订单列表。', + 'type' => 'object', + 'properties' => [ + 'BillingCycle' => ['description' => '套餐结算周期。'."\n" + ."\n" + .'- **1101**:月度。'."\n" + ."\n" + .'- **1103**:季度。'."\n" + ."\n" + .'- **1106**:半年度。'."\n" + ."\n" + .'- **1112**:年度。', 'type' => 'string', 'example' => '1101'], + 'BuyNum' => ['description' => '购买张数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'PoolCapacityUnit' => ['description' => '池容量单位。', 'type' => 'string', 'example' => 'GB'], + 'CardPayCount' => ['description' => '支付时间。', 'type' => 'integer', 'format' => 'int32', 'example' => '2022-04-11 16:43:00'], + 'CredentialPackage' => ['description' => '套餐凭证。', 'type' => 'string', 'example' => 'AL-UPG-******3_beika4'], + 'Vendor' => ['description' => '运营商。'."\n" + ."\n" + .'- **CMCC**:移动。'."\n" + ."\n" + .'- **CUCC**:联通。'."\n" + ."\n" + .'- **CTCC**:电信。'."\n" + ."\n" + .'- **VNO**:虚拟运营商。', 'type' => 'string', 'example' => 'CMCC'], + 'DataLevel' => ['description' => '流量包档位。', 'type' => 'string', 'example' => '30MB'], + 'PayDuration' => ['description' => '购买时长。', 'type' => 'string', 'example' => '12月'], + 'AliFee' => ['description' => '资费版本。', 'type' => 'string', 'example' => 'ali_2'], + 'OrderStatus' => ['description' => '订单状态。'."\n" + ."\n" + .'- **processing**:处理中。'."\n" + ."\n" + .'- **failure**:失败。'."\n" + ."\n" + .'- **completed**:处理完成。'."\n" + ."\n" + .'- **unpaid**:待支付。'."\n" + ."\n" + .'- **refunded**:已退款。', 'type' => 'string', 'example' => 'processing'], + 'PoolNo' => ['description' => '池编号。', 'type' => 'string', 'example' => 'beika4'], + 'FunctionFee' => ['description' => '月功能费份数(统付池专用)。', 'type' => 'integer', 'format' => 'int32', 'example' => '90'], + 'PayTime' => ['description' => '购买时间。', 'type' => 'string', 'example' => '2022-04-11 16:43:00'], + 'FlowType' => ['description' => '流量类型。'."\n" + ."\n" + .'- **singlecard**:单卡通用流量。'."\n" + ."\n" + .'- **directionalcard**:单卡定向流量。'."\n" + ."\n" + .'- **sameflowcard**:同档位池共享流量。'."\n" + ."\n" + .'- **directional_sameflowcard**:同档位池共享定向流量。'."\n" + ."\n" + .'- **unityPayPool**:统付池通用流量。'."\n" + ."\n" + .'- **GREcard**:统付池定向流量。', 'type' => 'string', 'example' => 'singlecard'], + 'PoolCapacity' => ['description' => '池容量,单位参见**PoolCapacityUnit**字段。', 'type' => 'string', 'example' => '200'], + 'OrderInfo' => ['description' => '订单信息。', 'type' => 'string', 'example' => '123123'], + 'OrderType' => ['description' => '订单类型。'."\n" + ."\n" + .'- **NEW**:新购。'."\n" + ."\n" + .'- **ADD_FLOW**:扩池。'."\n" + ."\n" + .'- **ADD_CARD**:补卡。'."\n" + ."\n" + .'- **FUNCTION**:购月功能费。'."\n" + ."\n" + .'- **FLOW_PLUS**:购买叠加包。'."\n" + ."\n" + .'- **RENEW**:续订套餐。'."\n" + ."\n" + .'- **AUTO_RENEW**:自动续订套餐。'."\n", 'type' => 'string', 'example' => 'NEW'], + 'OrderId' => ['description' => '订单编号。', 'type' => 'string', 'example' => '21450******0275'], + 'CredentialNo' => ['description' => '套餐凭证。', 'type' => 'string', 'example' => 'CM-***-*-2-**M'], + 'ExpressNoList' => [ + 'description' => '物流信息。', + 'type' => 'array', + 'items' => ['description' => '物流单号。', 'type' => 'string', 'example' => '123123123'], + ], + 'DeliveryInfo' => [ + 'description' => '收货信息。', + 'type' => 'object', + 'properties' => [ + 'ZipCode' => ['description' => '收货信息:邮编。', 'type' => 'string', 'example' => '100000'], + 'Address' => ['description' => '收货信息:地址。', 'type' => 'string', 'example' => '收货地址'], + 'Mail' => ['description' => '收货信息:邮箱。', 'type' => 'string', 'example' => 'xxx@xxx.com'], + 'Receiver' => ['description' => '收货信息:收件人。', 'type' => 'string', 'example' => '收件人'], + 'BuyerMessage' => ['description' => '收货信息:收件电话。', 'type' => 'string', 'example' => '收件电话'], + ], + ], + 'OrderDetailUrl' => ['description' => '订单详情链接。', 'type' => 'string', 'example' => 'https://us******60589'], + 'ApnName' => ['description' => 'APN名称。', 'type' => 'string', 'example' => 'CMIOTCZHZA.JS'], + 'ApnRegion' => ['description' => 'APN地域。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'ResourceQuantity' => ['description' => 'IP购买数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'], + 'NetworkType' => ['description' => '网络制式:4G,5G。', 'type' => 'string', 'example' => '4G'], + ], ], ], ], ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - ."\n" - .'true:调用成功。 false:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'linkcard.check.IccidCanNotEmpty', - 'errorMessage' => 'Iccid cannot be empty.', - ], - [ - 'errorCode' => 'linkcard.common.CardDestroy', - 'errorMessage' => 'The card do not exist or destroy.', - ], - [ - 'errorCode' => 'linkcard.system.IllegalRequest', - 'errorMessage' => 'The request parameter is invalid.', - ], + ['errorCode' => 'linkcard.system.IllegalRequest', 'errorMessage' => 'The request parameter is invalid.', 'description' => '非法的请求参数。'], + ['errorCode' => 'linkcard.common.InvalidAliyunPK', 'errorMessage' => 'AliyunPk is invalid.', 'description' => '阿里云账号无效。'], ], 403 => [ - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => '没有RAM权限。'], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => '%s.'], ], 500 => [ - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], - [ - 'errorCode' => '%s..', - 'errorMessage' => '%s..', - ], - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => 'RPC远程请求错误'], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => '系统内部异常'], + ['errorCode' => 'linkcard.common.BusinessProcessError', 'errorMessage' => 'A business processing exception occurred.', 'description' => '业务处理异常'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Data\\": [\\n {\\n \\"TagName\\": \\"测试标签\\",\\n \\"TagId\\": \\"14\\"\\n }\\n ],\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<AddTagsToCardResponse>\\n <Code>200</Code>\\n <Data>\\n <TagName>测试标签</TagName>\\n <TagId>14</TagId>\\n </Data>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n</AddTagsToCardResponse>","errorExample":""}]', - 'title' => '物联网卡添加标签', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Data\\": {\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"PageCount\\": 5,\\n \\"Total\\": 48,\\n \\"List\\": [\\n {\\n \\"BillingCycle\\": \\"1101\\",\\n \\"BuyNum\\": 100,\\n \\"PoolCapacityUnit\\": \\"GB\\",\\n \\"CardPayCount\\": 0,\\n \\"CredentialPackage\\": \\"AL-UPG-******3_beika4\\",\\n \\"Vendor\\": \\"CMCC\\",\\n \\"DataLevel\\": \\"30MB\\",\\n \\"PayDuration\\": \\"12月\\",\\n \\"AliFee\\": \\"ali_2\\",\\n \\"OrderStatus\\": \\"processing\\",\\n \\"PoolNo\\": \\"beika4\\",\\n \\"FunctionFee\\": 90,\\n \\"PayTime\\": \\"2022-04-11 16:43:00\\",\\n \\"FlowType\\": \\"singlecard\\",\\n \\"PoolCapacity\\": \\"200\\",\\n \\"OrderInfo\\": \\"123123\\",\\n \\"OrderType\\": \\"NEW\\",\\n \\"OrderId\\": \\"21450******0275\\",\\n \\"CredentialNo\\": \\"CM-***-*-2-**M\\",\\n \\"ExpressNoList\\": [\\n \\"123123123\\"\\n ],\\n \\"DeliveryInfo\\": {\\n \\"ZipCode\\": \\"100000\\",\\n \\"Address\\": \\"收货地址\\",\\n \\"Mail\\": \\"xxx@xxx.com\\",\\n \\"Receiver\\": \\"收件人\\",\\n \\"BuyerMessage\\": \\"收件电话\\"\\n },\\n \\"OrderDetailUrl\\": \\"https://us******60589\\",\\n \\"ApnName\\": \\"CMIOTCZHZA.JS\\",\\n \\"ApnRegion\\": \\"cn-hangzhou\\",\\n \\"ResourceQuantity\\": 10000,\\n \\"NetworkType\\": \\"4G\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListOrderResponse>\\n <Code>200</Code>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Data>\\n <PageNo>1</PageNo>\\n <PageSize>10</PageSize>\\n <PageCount>5</PageCount>\\n <Total>48</Total>\\n <List>\\n <BillingCycle>1101</BillingCycle>\\n <BuyNum>100</BuyNum>\\n <PoolCapacityUnit>GB</PoolCapacityUnit>\\n <CredentialPackage>AL-UPG-******3_beika4</CredentialPackage>\\n <Vendor>CMCC</Vendor>\\n <DataLevel>30MB</DataLevel>\\n <PayDuration>12月</PayDuration>\\n <AliFee>ali_2</AliFee>\\n <OrderStatus>processing</OrderStatus>\\n <PoolNo>beika4</PoolNo>\\n <FunctionFee>90</FunctionFee>\\n <PayTime>2022-04-11 16:43:00</PayTime>\\n <FlowType>singlecard</FlowType>\\n <PoolCapacity>200</PoolCapacity>\\n <OrderInfo>123123</OrderInfo>\\n <OrderType>NEW</OrderType>\\n <OrderId>21450******0275</OrderId>\\n <CredentialNo>CM-***-*-2-**M</CredentialNo>\\n <ExpressNoList>123123123</ExpressNoList>\\n <DeliveryInfo>\\n <ZipCode>100000</ZipCode>\\n <Address>收货地址</Address>\\n <Mail>xxx@xxx.com</Mail>\\n <Receiver>收件人</Receiver>\\n <BuyerMessage>收件电话</BuyerMessage>\\n </DeliveryInfo>\\n <OrderDetailUrl>https://us******60589</OrderDetailUrl>\\n </List>\\n </Data>\\n</ListOrderResponse>","errorExample":""}]', + 'title' => '查询订单列表', + 'description' => '## 使用限制'."\n" + ."\n" + .'单个阿里云账号调用该接口的每秒请求数(QPS)最大限制为20。'."\n" + ."\n" + .'> RAM用户共享阿里云账号配额。', + 'requestParamsDescription' => '调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~375336~~)。', + 'changeSet' => [], ], - 'GetSimCardStateDistribution' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RebindResumeSingleCard' => [ + 'summary' => '将状态为“换绑停用”的单卡操作为“换绑复用”。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'CredentialNO', + 'name' => 'Iccid', 'in' => 'query', - 'schema' => [ - 'description' => '套餐凭证编号,您可在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/sim/license)的凭证管理页面查看。', - 'type' => 'string', - 'required' => false, - 'example' => 'CT-SC-M-2-100M', - ], + 'schema' => ['description' => '物联网卡的ICCID。'."\n" + ."\n" + .'您可在物联网卡上查看ICCID,或者在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/?spm=a2c4g.11186623.0.0.6a072d25p4pUg8)的卡管理页面查看ICCID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '89860321******15668'], ], [ - 'name' => 'Date', + 'name' => 'OptMsisdns', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '查询的日期。'."\n" + 'description' => '是否对子卡进行操作,填入子卡的MSISDN。'."\n" ."\n" - .'格式:yyyyMM。', - 'type' => 'string', - 'required' => true, - 'example' => '202209', + .'- 普通单网卡无需传入此参数。'."\n" + .'- 虚拟运营商:'."\n" + .' - 如果传入该参数,则对指定的子卡进行操作。'."\n" + .' - 如果不传入该参数,则对所有子卡进行操作。', + 'type' => 'array', + 'items' => ['description' => '子卡的MSISDN。', 'type' => 'string', 'required' => false, 'example' => '141******1111'], + 'required' => false, + 'example' => ' ["1112******826","1112******827"] ', ], ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'200:表示成功。'."\n" - ."\n" - .'其它:表示错误码。错误码详情,请参见错误码。', - 'type' => 'string', - 'example' => '200', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - ."\n" - .'true:调用成功。'."\n" - .'false:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'object', - 'properties' => [ - 'CardCount' => [ - 'description' => '卡总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'TestCount' => [ - 'description' => '可测试卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'UnusedCount' => [ - 'description' => '未使用卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'StopCount' => [ - 'description' => '已停用卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'DestoryedCount' => [ - 'description' => '已销户卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'UsingCount' => [ - 'description' => '使用中卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '50', - ], - 'ShutDownCount' => [ - 'description' => '已停机卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - ], - ], + 'Data' => ['description' => '执行结果。'."\n" + ."\n" + .'- **true**:执行成功。'."\n" + ."\n" + .'- **false**:执行失败。', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。'."\n", 'type' => 'string', 'example' => '系统异常'], + 'Success' => ['description' => '是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'Iccid cannot be empty. '], + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'- **200**:表示成功。'."\n" + .'- 其它:表示错误码。错误码详情,请参见[错误码](~~375339~~)。', 'type' => 'string', 'example' => '200'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'linkcard.system.IllegalRequest', - 'errorMessage' => 'The request parameter is invalid.', - ], - [ - 'errorCode' => 'linkcard.check.TimeFormatError', - 'errorMessage' => 'Time format error.', - ], - [ - 'errorCode' => 'IllegalParameter', - 'errorMessage' => 'The request parameter %s is invalid.', - ], - [ - 'errorCode' => 'linkcard.common.CredentialInstanceNotExist', - 'errorMessage' => 'The credential instance does not exist.', - ], - [ - 'errorCode' => 'linkcard.common.CredentialNoNotExist', - 'errorMessage' => 'The credentialNo does not exist', - ], + ['errorCode' => 'linkcard.check.IccidCanNotEmpty', 'errorMessage' => 'Iccid cannot be empty.', 'description' => '卡号不能为空。'], + ['errorCode' => 'linkcard.common.CardDestroy', 'errorMessage' => 'The card do not exist or destroy.', 'description' => '卡不存在或已销户'], ], 403 => [ - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => '%s.'], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => '没有RAM权限。'], ], 500 => [ - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], - [ - 'errorCode' => '%s..', - 'errorMessage' => '%s..', - ], - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => 'RPC远程请求错误'], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => '系统内部异常'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"ErrorMessage\\": \\"系统异常\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"Iccid cannot be empty.\\\\t\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<RebindResumeSingleCardResponse>\\n <Data>true</Data>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n</RebindResumeSingleCardResponse>","errorExample":""}]', + 'title' => '卡的换绑复用', + 'description' => '## 使用说明'."\n" + ."\n\n" + .'物联网卡与设备是一一对应关系,在物联网卡首次插入设备通电使用产生流量时,就与设备进行了绑定。如果将卡更换至其他设备中使用,将导致卡被锁定,用户可以使用此接口进行解卡。'."\n" + ."\n", + 'requestParamsDescription' => ' 调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~375336~~)。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'linkcard:RebindResumeSingleCard', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"CardCount\\": 100,\\n \\"TestCount\\": 20,\\n \\"UnusedCount\\": 10,\\n \\"StopCount\\": 5,\\n \\"DestoryedCount\\": 0,\\n \\"UsingCount\\": 50,\\n \\"ShutDownCount\\": 10\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetSimCardStateDistributionResponse>\\n <code>200</code>\\n <data>\\n <RequestId>5C06CF1A-959D-10A9-9C56-003EDF663BAF</RequestId>\\n <Data>\\n <StopCount>166</StopCount>\\n <TestCount>50098</TestCount>\\n <UnusedCount>426</UnusedCount>\\n <CardCount>902847</CardCount>\\n <DestoryedCount>340498</DestoryedCount>\\n <UsingCount>511007</UsingCount>\\n <ShutDownCount>652</ShutDownCount>\\n </Data>\\n <Success>true</Success>\\n </data>\\n <httpStatusCode>200</httpStatusCode>\\n <requestId>5C06CF1A-959D-10A9-9C56-003EDF663BAF</requestId>\\n <successResponse>true</successResponse>\\n</GetSimCardStateDistributionResponse>","errorExample":""}]', - 'title' => '获取卡状态分布', - 'summary' => '获取卡状态分布', ], - 'AddDirectionalAddress' => [ - 'summary' => '定向分组新增目标地址。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'Renew' => [ + 'summary' => '卡的套餐续订和叠加包订购,仅适用于单卡套餐和同档位池套餐(统付池套餐请通过控制台进行扩池和购功能费)。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5127,139 +3091,84 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'description' => '分组ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '10000002595', - ], + 'name' => 'ApiProduct', + 'in' => 'formData', + 'schema' => ['description' => '接口Code。', 'type' => 'string', 'required' => false, 'example' => 'linkcard'], ], [ - 'name' => 'Source', - 'in' => 'query', - 'schema' => [ - 'description' => '地址类型:'."\n" - ."\n" - .'客户配置: user_defined'."\n" - ."\n" - .'阿里云预配:aliyun_defined', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'user_defined', - ], + 'name' => 'ApiRevision', + 'in' => 'formData', + 'schema' => ['description' => '接口版本。', 'type' => 'string', 'required' => false, 'example' => '2021-05-20'], ], [ - 'name' => 'AddressType', + 'name' => 'Iccid', 'in' => 'query', - 'schema' => [ - 'description' => '目标地址类型:'."\n" - ."\n" - .'Ip:Ip'."\n" - ."\n" - .'域名:Domain', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'Domain', - ], + 'allowEmptyValue' => false, + 'schema' => ['description' => '物联网卡的ICCID。'."\n" + ."\n" + .'您可在物联网卡上查看ICCID,或者在物联网SIM服务控制台的卡管理页面,查看ICCID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '89860321******15668'], ], [ - 'name' => 'Address', + 'name' => 'RechargeType', 'in' => 'query', - 'schema' => [ - 'description' => '目标地址', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '*.aliyun.com', - ], + 'schema' => ['description' => '充值类型。'."\n" + ."\n" + .'- STANDARD:续订套餐。'."\n" + ."\n" + .'- OVERLAY :订购叠加包。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'STANDARD'], ], [ 'name' => 'SerialNo', 'in' => 'query', - 'schema' => [ - 'description' => '请求编号,支持幂等。', - 'type' => 'string', - 'required' => false, - 'example' => '123123', - ], + 'schema' => ['description' => '自定义的订单编号,编号需唯一且保持幂等性。'."\n" + ."\n" + .'如果您的充值,涉及自有平台的订单管理,如给下游客户充值等,您可填入自有平台已生成的外部订单编号,该接口调用成功后,会生成一个订单编号(OrderNo)。该参数可以方便您将生成的订单编号与外部订单号关联起来。如果非此场景,你可填入任意正整数,例如0。'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '12345678'], ], [ - 'name' => 'MsgNotify', + 'name' => 'OfferCode', 'in' => 'query', - 'schema' => [ - 'description' => '执行成功后是否通过MQ推送,默认false:'."\n" - .'false:不推送'."\n" - .'true: 推送(目前不支持)', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '充值类型为订购叠加包时需填写。'."\n" + ."\n" + .'具体Code请咨询技术对接人员。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'COM***0203'], ], [ - 'name' => 'UrlInsecurityForce', + 'name' => 'BuyNum', 'in' => 'query', - 'schema' => [ - 'description' => '检测到的高危风险域名是否强制添加,默认被拦截,不添加', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '订购份数。根据物联网卡本身的套餐类型选择订购份数。'."\n" + .'- 续订月套餐:支持1、2、3、6、9、12。'."\n" + ."\n" + .'- 续订年套餐:支持1、2、3。'."\n" + ."\n" + .'- 订购叠加包:支持1、2、3。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '12'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '返回参数。', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'- **200**:表示成功。'."\n" + .'- 其它:表示错误码。错误码详情,请参见[错误码](~~375339~~)。', 'type' => 'string', 'example' => '200'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => '系统异常'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'Success' => ['description' => '是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], 'Data' => [ - 'description' => '地址是否添加成功。'."\n" - ."\n" - .'true:添加成功。'."\n" - ."\n" - .'false:添加失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - ."\n" - .'true:调用成功。'."\n" - .'false:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'200:调用成功。'."\n" - ."\n" - .'其他:调用失败。错误码详情,请参见错误码。', - 'type' => 'string', - 'example' => '200', + 'description' => '返回的订单编号数据。', + 'type' => 'object', + 'properties' => [ + 'OrderNo' => ['description' => '接口调用成功后生成的订单编号。', 'type' => 'string', 'example' => '21450******0275'], + 'SerialNo' => ['description' => '自定义的订单编号(SerialNo)。', 'type' => 'string', 'example' => '12345678'], + ], ], ], ], @@ -5267,208 +3176,120 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'linkcard.system.IllegalRequest', - 'errorMessage' => 'The request parameter is invalid.', - ], - [ - 'errorCode' => 'IllegalParameter', - 'errorMessage' => 'The request parameter %s is invalid.', - ], + ['errorCode' => 'linkcard.system.IllegalRequest', 'errorMessage' => 'The request parameter is invalid.', 'description' => ''], + ['errorCode' => 'linkcard.common.CardDestroy', 'errorMessage' => 'The card do not exist or destroy.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => ''], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny ', 'errorMessage' => 'You do not have the RAM permission. ', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], - [ - 'errorCode' => '%s..', - 'errorMessage' => '%s..', - ], - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], + ['errorCode' => '%s..', 'errorMessage' => '%s..', 'description' => ''], + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => ''], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<AddDirectionalAddressResponse>\\n <Data>true</Data>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <Success>true</Success>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n <Code>200</Code>\\n</AddDirectionalAddressResponse>","errorExample":""}]', - 'title' => '定向分组新增目标地址', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"系统异常\\",\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"OrderNo\\": \\"21450******0275\\",\\n \\"SerialNo\\": \\"12345678\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RenewResponse>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Code>200</Code>\\n <Success>true</Success>\\n <Data>\\n <OrderNo>21450******0275</OrderNo>\\n <SerialNo>12345678</SerialNo>\\n </Data>\\n</RenewResponse>","errorExample":""}]', + 'title' => '充值', + 'description' => '## 使用限制'."\n" + ."\n" + .'单个阿里云账号调用该接口的每秒请求数(QPS)最大限制为20。'."\n" + ."\n" + .'> RAM用户共享阿里云账号配额。', + 'requestParamsDescription' => '调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~375336~~)。', + 'changeSet' => [], ], - 'DeleteDirectionalAddress' => [ - 'summary' => '定向分组删除目标地址。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ResumeSingleCard' => [ + 'summary' => '将状态为“主动停用”、“大量停用”的单卡操作为“复用”。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'description' => '分组ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '10000002595', - ], - ], - [ - 'name' => 'Address', - 'in' => 'query', - 'schema' => [ - 'description' => '目标地址。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '*.aliyun.com', - ], - ], - [ - 'name' => 'SerialNo', + 'name' => 'Iccid', 'in' => 'query', - 'schema' => [ - 'description' => '请求编号,支持幂等。', - 'type' => 'string', - 'required' => false, - 'example' => '123123', - ], + 'schema' => ['description' => '物联网卡的ICCID。'."\n" + ."\n" + .'您可在物联网卡上查看ICCID,或者在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/?spm=a2c4g.11186623.0.0.6a072d25p4pUg8)的卡管理页面查看ICCID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '89860321******15668'], ], [ - 'name' => 'MsgNotify', + 'name' => 'OptMsisdns', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '执行成功后是否通过MQ推送,默认false: '."\n" - ."\n" - .'false:不推送 '."\n" + 'description' => '是否对子卡进行操作,填入子卡的MSISDN。'."\n" ."\n" - .'true: 推送', - 'type' => 'boolean', + .'- 普通单网卡无需传入此参数。'."\n" + .'- 虚拟运营商:'."\n" + .' - 如果传入该参数,则对指定的子卡进行操作。'."\n" + .' - 如果不传入该参数,则对所有子卡进行操作。', + 'type' => 'array', + 'items' => ['description' => '子卡的MSISDN。', 'type' => 'string', 'required' => false, 'example' => '141******1111'], 'required' => false, - 'example' => 'false', + 'example' => '["111******6826","11*******6827"]', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '返回参数。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '操作是否成功。'."\n" - ."\n" - .'true:成功。'."\n" - ."\n" - .'false:失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - ."\n" - .'true:调用成功。 false:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'200:调用成功。'."\n" - ."\n" - .'其他:调用失败。错误码详情,请参见错误码。', - 'type' => 'string', - 'example' => '200', - ], + 'Data' => ['description' => '执行结果。'."\n" + ."\n" + .'- **true**:执行成功。'."\n" + ."\n" + .'- **false**:执行失败。', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => '系统异常'], + 'Success' => ['description' => '是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'InstanceId cannot be empty. '], + 'Code' => ['description' => '接口返回码:'."\n" + ."\n" + .'- **200**:表示成功。'."\n" + .'- 其它:表示错误码。错误码详情,请参见[错误码](~~375339~~)。', 'type' => 'string', 'example' => '200'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'IllegalParameter', - 'errorMessage' => 'The request parameter %s is invalid.', - ], - [ - 'errorCode' => 'linkcard.system.IllegalRequest', - 'errorMessage' => 'The request parameter is invalid.', - ], + ['errorCode' => 'linkcard.check.IccidCanNotEmpty', 'errorMessage' => 'Iccid cannot be empty.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => ''], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], - [ - 'errorCode' => '%s..', - 'errorMessage' => '%s..', - ], - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => ''], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteDirectionalAddressResponse>\\n <Data>true</Data>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <Success>true</Success>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n <Code>200</Code>\\n</DeleteDirectionalAddressResponse>","errorExample":""}]', - 'title' => '定向分组删除目标地址', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"ErrorMessage\\": \\"系统异常\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\\\t\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<ResumeSingleCardResponse>\\n <Data>true</Data>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n</ResumeSingleCardResponse>","errorExample":""}]', + 'title' => '卡的主动复用', + 'description' => '## 限制说明'."\n" + ."\n\n" + .'单个阿里云账号调用该接口的每秒请求数(QPS)最大限制为20。'."\n" + ."\n" + .'> RAM用户共享阿里云账号配额。', + 'requestParamsDescription' => '调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~375336~~)。'."\n", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], ], - 'DeleteDirectionalGroup' => [ - 'summary' => '删除定向分组。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'SendMessage' => [ + 'summary' => '平台短信下发。', + 'methods' => ['post', 'get'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], @@ -5476,1638 +3297,1071 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'description' => '分组ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '10000002595', - ], + 'name' => 'TaskName', + 'in' => 'formData', + 'schema' => ['description' => '自定义任务名称,不能包含特殊字符,最长40个字符。', 'type' => 'string', 'required' => true, 'example' => '任务0912'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => '返回参数。', - 'type' => 'object', - 'properties' => [ - 'Data' => [ - 'description' => '操作是否成功。'."\n" - ."\n" - .'true:成功。'."\n" - ."\n" - .'false:失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - ."\n" - .'true:调用成功。'."\n" - .'false:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'200:调用成功。'."\n" - ."\n" - .'其他:调用失败。错误码详情,请参见错误码。', - 'type' => 'string', - 'example' => '200', - ], - ], - ], + [ + 'name' => 'MessageTemplateId', + 'in' => 'formData', + 'schema' => ['title' => '模版ID', 'description' => '短信模版编号,可以在控制台查看。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '14'], ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'IllegalParameter', - 'errorMessage' => 'The request parameter %s is invalid.', - ], - [ - 'errorCode' => 'linkcard.system.IllegalRequest', - 'errorMessage' => 'The request parameter is invalid.', - ], + [ + 'name' => 'MessageVariableParam', + 'in' => 'formData', + 'schema' => ['title' => '请求参数', 'description' => '动态参数短信,替换的参数,格式{1}{2}', 'type' => 'string', 'required' => false, 'example' => '{参数1}{参数2}{参数3}'], ], - 403 => [ - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny ', - 'errorMessage' => 'You do not have the RAM permission. ', - ], + [ + 'name' => 'MessageSendTime', + 'in' => 'formData', + 'schema' => ['title' => '单位:s', 'description' => '时间戳,单位:秒 。'."\n" + ."\n" + .'当时间早于当前时间则立即发送,晚于当前时间为定时发送。'."\n" + ."\n" + .'最晚不能超过一个月。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1694401634'], ], - 500 => [ - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], - [ - 'errorCode' => '%s..', - 'errorMessage' => '%s..', - ], - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', + [ + 'name' => 'Msisdns', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '发送短信的目标MSISDN列表', + 'type' => 'array', + 'items' => ['description' => '发送短信的目标MSISDN', 'type' => 'string', 'required' => false, 'example' => '1411234123412'], + 'required' => false, ], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteDirectionalGroupResponse>\\n <Data>true</Data>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <Success>true</Success>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n <Code>200</Code>\\n</DeleteDirectionalGroupResponse>","errorExample":""}]', - 'title' => '删除定向分组', - ], - 'GetCardStatusStatistics' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'ApiProduct', + 'in' => 'formData', + 'schema' => ['description' => 'Linkcard', 'type' => 'string', 'required' => false, 'example' => 'Linkcard'], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ + 'title' => 'SendMessageResponse', + 'description' => 'SendMessageResponse', 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'200:表示成功。'."\n" - .'其它:表示错误码。错误码详情,请参见错误码。', - 'type' => 'string', - 'example' => '200', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - ."\n" - .'true:调用成功。'."\n" - .'false:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'object', - 'properties' => [ - 'UnbindResumeStatisticsDTO' => [ - 'description' => '换绑停用数据统计。', - 'type' => 'object', - 'properties' => [ - 'PoolCount' => [ - 'description' => '统付池套餐卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'SingleCardCount' => [ - 'description' => '单卡套餐卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'SameFlowCardCount' => [ - 'description' => '同档位池套餐卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30', - ], - 'TotalCount' => [ - 'description' => '总卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '60', - ], - ], - ], - 'FlowOutStatisticsDTO' => [ - 'description' => '信控停用数据统计。', - 'type' => 'object', - 'properties' => [ - 'PoolCount' => [ - 'description' => '统付池套餐卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'SingleCardCount' => [ - 'description' => '单卡套餐卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'SameFlowCardCount' => [ - 'description' => '同档位池套餐卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30', - ], - 'TotalCount' => [ - 'description' => '总卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '60', - ], - ], - ], - 'ErrorStopStatisticsDTO' => [ - 'description' => '异常停用数据统计。', - 'type' => 'object', - 'properties' => [ - 'PoolCount' => [ - 'description' => '统付池套餐卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'SingleCardCount' => [ - 'description' => '单卡套餐卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'SameFlowCardCount' => [ - 'description' => '同档位池套餐卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30', - ], - 'TotalCount' => [ - 'description' => '总卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '60', - ], - ], - ], - 'ExhaustStopStatisticsDTO' => [ - 'description' => '达量停用数据统计。', - 'type' => 'object', - 'properties' => [ - 'PoolCount' => [ - 'description' => '统付池套餐卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'SingleCardCount' => [ - 'description' => '单卡套餐卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'SameFlowCardCount' => [ - 'description' => '同档位池套餐卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30', - ], - 'TotalCount' => [ - 'description' => '总卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '60', - ], - ], - ], - 'UnCertifiedStopStatisticsDTO' => [ - 'description' => '未实名停用数据统计。', - 'type' => 'object', - 'properties' => [ - 'PoolCount' => [ - 'description' => '统付池套餐卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'SingleCardCount' => [ - 'description' => '单卡套餐卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'SameFlowCardCount' => [ - 'description' => '同档位池套餐卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30', - ], - 'TotalCount' => [ - 'description' => '总卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '60', - ], - ], - ], - 'ManageStopStatisticsDTO' => [ - 'description' => '主动停用数据统计。', - 'type' => 'object', - 'properties' => [ - 'PoolCount' => [ - 'description' => '统付池套餐卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'SingleCardCount' => [ - 'description' => '单卡套餐卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'SameFlowCardCount' => [ - 'description' => '同档位池套餐卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30', - ], - 'TotalCount' => [ - 'description' => '总卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '60', - ], - ], - ], - 'ExpireStopStatisticsDTO' => [ - 'description' => '套餐到期停机数据统计。', - 'type' => 'object', - 'properties' => [ - 'PoolCount' => [ - 'description' => '统付池套餐卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'SingleCardCount' => [ - 'description' => '单卡套餐卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'SameFlowCardCount' => [ - 'description' => '同档位池套餐卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30', - ], - 'TotalCount' => [ - 'description' => '总卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '60', - ], - ], - ], - 'WeekWarnStatisticsDTO' => [ - 'description' => '套餐7天到期预警数据统计。', - 'type' => 'object', - 'properties' => [ - 'PoolCount' => [ - 'description' => '统付池套餐卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'SingleCardCount' => [ - 'description' => '单卡套餐卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'SameFlowCardCount' => [ - 'description' => '同档位池套餐卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30', - ], - 'TotalCount' => [ - 'description' => '总卡数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '60', - ], - ], - ], - 'RiskWaringStatisticsDTO' => [ - 'description' => '风险告警统计。与控制台风险告警板块数据一致。', - 'type' => 'object', - 'properties' => [ - 'WarningCount' => [ - 'description' => '到期预警数。(7天内套餐到期)', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'WaringTotalCount' => [ - 'description' => '总告警数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'StopCount' => [ - 'description' => '停机/停用数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '40', - ], - 'LeftFlowPercentageWarnCount' => [ - 'description' => '余量预警数。(单卡套餐余量不足10%)', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '40', - ], - ], - ], - 'SingCardPeriodLeftFlowWarnDTO' => [ - 'description' => '套餐余量不足数据统计。', - 'type' => 'object', - 'properties' => [ - 'LessFlowPercentage10Count' => [ - 'description' => '单卡周期套餐余量不足10%的告警数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'LessFlowPercentage30Count' => [ - 'description' => '单卡周期套餐余量不足30%的告警数量.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '8', - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'Success' => ['title' => '必填', 'description' => '是否调用成功。'."\n" + ."\n" + .'true:调用成功。 false:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'200:调用成功。'."\n" + ."\n" + .'其他:调用失败。错误码详情,请参见错误码。', 'type' => 'string', 'example' => '200'], + 'ErrorMessage' => ['description' => ' '."\n" + .'调用失败时,返回的错误信息。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'DynamicCode' => ['description' => '错误码', 'type' => 'string', 'example' => 'InvokeError'], + 'DynamicMessage' => ['description' => '错误码信息', 'type' => 'string', 'example' => '入参不能为空,或不能包含空格'], + 'Data' => ['description' => '地址是否添加成功。'."\n" + ."\n" + .'true:添加成功。'."\n" + ."\n" + .'false:添加失败。', 'type' => 'integer', 'format' => 'int64', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'linkcard.system.IllegalRequest', - 'errorMessage' => 'The request parameter is invalid.', - ], + ['errorCode' => 'linkcard.common.InvalidAliyunPK', 'errorMessage' => 'AliyunPk is invalid.', 'description' => '阿里云账号无效。'], + ['errorCode' => 'linkcard.system.IllegalRequest', 'errorMessage' => 'The request parameter is invalid.', 'description' => '非法的请求参数。'], ], 403 => [ - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => '没有RAM权限。'], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => '%s.'], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny ', 'errorMessage' => 'You do not have the RAM permission. ', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], - [ - 'errorCode' => '%s..', - 'errorMessage' => '%s..', - ], - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => '系统内部异常'], + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => 'RPC远程请求错误'], + ['errorCode' => '%s..', 'errorMessage' => '%s..', 'description' => '%s..'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Data\\": {\\n \\"UnbindResumeStatisticsDTO\\": {\\n \\"PoolCount\\": 10,\\n \\"SingleCardCount\\": 20,\\n \\"SameFlowCardCount\\": 30,\\n \\"TotalCount\\": 60\\n },\\n \\"FlowOutStatisticsDTO\\": {\\n \\"PoolCount\\": 10,\\n \\"SingleCardCount\\": 20,\\n \\"SameFlowCardCount\\": 30,\\n \\"TotalCount\\": 60\\n },\\n \\"ErrorStopStatisticsDTO\\": {\\n \\"PoolCount\\": 10,\\n \\"SingleCardCount\\": 20,\\n \\"SameFlowCardCount\\": 30,\\n \\"TotalCount\\": 60\\n },\\n \\"ExhaustStopStatisticsDTO\\": {\\n \\"PoolCount\\": 10,\\n \\"SingleCardCount\\": 20,\\n \\"SameFlowCardCount\\": 30,\\n \\"TotalCount\\": 60\\n },\\n \\"UnCertifiedStopStatisticsDTO\\": {\\n \\"PoolCount\\": 10,\\n \\"SingleCardCount\\": 20,\\n \\"SameFlowCardCount\\": 30,\\n \\"TotalCount\\": 60\\n },\\n \\"ManageStopStatisticsDTO\\": {\\n \\"PoolCount\\": 10,\\n \\"SingleCardCount\\": 20,\\n \\"SameFlowCardCount\\": 30,\\n \\"TotalCount\\": 60\\n },\\n \\"ExpireStopStatisticsDTO\\": {\\n \\"PoolCount\\": 10,\\n \\"SingleCardCount\\": 20,\\n \\"SameFlowCardCount\\": 30,\\n \\"TotalCount\\": 60\\n },\\n \\"WeekWarnStatisticsDTO\\": {\\n \\"PoolCount\\": 10,\\n \\"SingleCardCount\\": 20,\\n \\"SameFlowCardCount\\": 30,\\n \\"TotalCount\\": 60\\n },\\n \\"RiskWaringStatisticsDTO\\": {\\n \\"WarningCount\\": 20,\\n \\"WaringTotalCount\\": 100,\\n \\"StopCount\\": 40,\\n \\"LeftFlowPercentageWarnCount\\": 40\\n },\\n \\"SingCardPeriodLeftFlowWarnDTO\\": {\\n \\"LessFlowPercentage10Count\\": 5,\\n \\"LessFlowPercentage30Count\\": 8\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetCardStatusStatisticsResponse>\\n <code>200</code>\\n <data>\\n <RequestId>DCBDCDBC-0E54-53AC-97A4-6194849CC6BC</RequestId>\\n <Data>\\n <ExhaustStopStatisticsDTO>\\n <TotalCount>8</TotalCount>\\n <SingleCardCount>0</SingleCardCount>\\n <SameFlowCardCount>4</SameFlowCardCount>\\n <PoolCount>4</PoolCount>\\n </ExhaustStopStatisticsDTO>\\n <WeekWarnStatisticsDTO>\\n <TotalCount>20</TotalCount>\\n <SingleCardCount>20</SingleCardCount>\\n <SameFlowCardCount>0</SameFlowCardCount>\\n <PoolCount>0</PoolCount>\\n </WeekWarnStatisticsDTO>\\n <FlowOutStatisticsDTO>\\n <TotalCount>12</TotalCount>\\n <SingleCardCount>7</SingleCardCount>\\n <SameFlowCardCount>0</SameFlowCardCount>\\n <PoolCount>5</PoolCount>\\n </FlowOutStatisticsDTO>\\n <SingCardPeriodLeftFlowWarnDTO>\\n <LessFlowPercentage10Count>15</LessFlowPercentage10Count>\\n <LessFlowPercentage30Count>0</LessFlowPercentage30Count>\\n </SingCardPeriodLeftFlowWarnDTO>\\n <ErrorStopStatisticsDTO>\\n <TotalCount>1</TotalCount>\\n <SingleCardCount>0</SingleCardCount>\\n <SameFlowCardCount>0</SameFlowCardCount>\\n <PoolCount>1</PoolCount>\\n </ErrorStopStatisticsDTO>\\n <ExpireStopStatisticsDTO>\\n <TotalCount>652</TotalCount>\\n <SingleCardCount>506</SingleCardCount>\\n <SameFlowCardCount>146</SameFlowCardCount>\\n <PoolCount>0</PoolCount>\\n </ExpireStopStatisticsDTO>\\n <UnbindResumeStatisticsDTO>\\n <TotalCount>1</TotalCount>\\n <SingleCardCount>0</SingleCardCount>\\n <SameFlowCardCount>0</SameFlowCardCount>\\n <PoolCount>1</PoolCount>\\n </UnbindResumeStatisticsDTO>\\n <UnCertifiedStopStatisticsDTO>\\n <TotalCount>1</TotalCount>\\n <SingleCardCount>0</SingleCardCount>\\n <SameFlowCardCount>0</SameFlowCardCount>\\n <PoolCount>1</PoolCount>\\n </UnCertifiedStopStatisticsDTO>\\n <RiskWaringStatisticsDTO>\\n <WarningCount>20</WarningCount>\\n <StopCount>825</StopCount>\\n <LeftFlowPercentageWarnCount>15</LeftFlowPercentageWarnCount>\\n <WaringTotalCount>860</WaringTotalCount>\\n </RiskWaringStatisticsDTO>\\n <ManageStopStatisticsDTO>\\n <TotalCount>150</TotalCount>\\n <SingleCardCount>57</SingleCardCount>\\n <SameFlowCardCount>31</SameFlowCardCount>\\n <PoolCount>62</PoolCount>\\n </ManageStopStatisticsDTO>\\n </Data>\\n <ErrorMessage/>\\n <Code/>\\n <Success>true</Success>\\n <LocalizedMessage/>\\n </data>\\n <httpStatusCode>200</httpStatusCode>\\n <requestId>DCBDCDBC-0E54-53AC-97A4-6194849CC6BC</requestId>\\n <successResponse>true</successResponse>\\n</GetCardStatusStatisticsResponse>","errorExample":""}]', - 'title' => '概览页风险告警', - 'summary' => '概览页风险告警', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"DynamicCode\\": \\"InvokeError\\",\\n \\"DynamicMessage\\": \\"入参不能为空,或不能包含空格\\",\\n \\"Data\\": 0\\n}","errorExample":""},{"type":"xml","example":"<SendMessageResponse>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n</SendMessageResponse>","errorExample":""}]', + 'title' => 'SendMessage', + 'changeSet' => [], ], - 'GetCardRealStatus' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'SetCardStopRule' => [ + 'summary' => '设置卡的达量停用规则,仅支持同档位池套餐和统付池套餐。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'Iccid', 'in' => 'query', - 'schema' => [ - 'description' => '物联网卡的ICCID。'."\n" - ."\n" - .'您可在物联网卡上查看ICCID,或者在物联网SIM服务控制台的卡管理页面查看ICCID。', - 'type' => 'string', - 'required' => false, - 'example' => '89860321******15668', - ], + 'schema' => ['description' => '物联网卡的ICCID。'."\n" + ."\n" + .'您可在物联网卡上查看ICCID,或者在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/?spm=a2c4g.11186623.0.0.6a072d25p4pUg8)的卡管理页面查看ICCID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '89860321******15668'], ], [ - 'name' => 'Msisdn', + 'name' => 'FlowLimit', 'in' => 'query', - 'schema' => [ - 'description' => '物联网卡的MSISDN。', - 'type' => 'string', - 'required' => false, - 'example' => '144******1111', - ], + 'schema' => ['description' => '达量停用的数值,仅支持正整数,单位:MB。'."\n" + ."\n" + .'当月流量达到此数值时将自动停用,可主动复用。'."\n" + ."\n\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '100'], ], [ - 'name' => 'SerialNo', + 'name' => 'AutoRestore', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => '轮询查询结果的唯一标识。', - 'type' => 'array', - 'items' => [ - 'description' => '轮询查询结果的唯一标识。'."\n" - ."\n" - .'说明:'."\n" - ."\n" - .'1、因该接口运营商能力较弱,查询结果需时,故结合轮询能力使用。'."\n" - ."\n" - .'2、在首次请求后,如Status未成功,则返回参数中会带此数据,再用此数据进行结果轮询。', - 'type' => 'string', - 'required' => false, - 'example' => '4f84******7895', - ], - 'required' => false, - ], + 'schema' => ['description' => '达量停用后,次月是否自动复用。'."\n" + ."\n" + .'- true(默认值):次月自动复用。'."\n" + ."\n" + .'- false:次月不自动复用。', 'type' => 'boolean', 'required' => true, 'docRequired' => true, 'example' => 'true'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'GetCardRealStatusResponse', - 'description' => 'GetCardRealStatusResponse', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'Success' => [ - 'title' => '必填', - 'description' => '是否调用成功。'."\n" - ."\n" - .'true:调用成功。 false:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'200:表示成功。 其它:表示错误码。错误码详情,请参见错误码。', - 'type' => 'string', - 'example' => '200', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'SerialNo' => [ - 'description' => '轮询查询结果的唯一标识。'."\n" - ."\n" - .'说明:'."\n" - ."\n" - .'1、因该接口运营商能力较弱,查询结果需时,故结合轮询能力使用。'."\n" - ."\n" - .'2、在首次请求后,如Status未成功,则返回参数中会带此数据,再用此数据进行结果轮询。', - 'type' => 'string', - 'example' => '4f84******7895', - ], - 'Iccid' => [ - 'description' => '卡的ICCID,当请求ICCID为多网卡主卡时,此处返回子卡ICCID。', - 'type' => 'string', - 'example' => '89860321******15668', - ], - 'Gprs' => [ - 'description' => '网络服务状态。'."\n" - ."\n" - .'true:开通。'."\n" - ."\n" - .'false:关闭。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Online' => [ - 'description' => '在线状态。'."\n" - ."\n" - .'true:在线。'."\n" - ."\n" - .'false:不在线。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Status' => [ - 'description' => '查询结果状态: '."\n" - ."\n" - .'SUCCESS:成功'."\n" - ."\n" - .'FAILURE:失败'."\n" - ."\n" - .'PROCESSING'."\0".':处理中', - 'type' => 'string', - 'example' => 'SUCCESS', - ], - ], - ], - ], + 'Data' => ['description' => '执行结果。'."\n" + ."\n" + .'- **true**:执行成功。'."\n" + ."\n" + .'- **false**:执行失败。', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的唯一标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => '系统异常'], + 'Success' => ['description' => '是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'- **200**:表示成功。'."\n" + .'- 其它:表示错误码。错误码详情,请参见[错误码](~~375339~~)。', 'type' => 'string', 'example' => '200'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'linkcard.system.IllegalRequest', - 'errorMessage' => 'The request parameter is invalid.', - ], + ['errorCode' => 'linkcard.check.RuleMaxValueLimit', 'errorMessage' => 'The maximum value of Rule must be less than 9007199254740991.', 'description' => '达量停用策略数值,必须小于9007199254740991。'], + ['errorCode' => 'linkcard.check.RuleMustBePositiveInteger', 'errorMessage' => 'The valid values of Rule are positive integers and zero.', 'description' => '达量停用策略数值,仅支持正整数和0。'], ], 403 => [ - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => '%s.'], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => '没有RAM权限。'], ], 500 => [ - [ - 'errorCode' => '%s..', - 'errorMessage' => '%s..', - ], - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], - [ - 'errorCode' => 'linkcard.common.BusinessProcessError', - 'errorMessage' => 'A business processing exception occurred.', - ], + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => 'RPC远程请求错误'], + ['errorCode' => '%s..', 'errorMessage' => '%s..', 'description' => '%s..'], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => '系统内部异常'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Data\\": [\\n {\\n \\"SerialNo\\": \\"4f84******7895\\",\\n \\"Iccid\\": \\"89860321******15668\\",\\n \\"Gprs\\": true,\\n \\"Online\\": true,\\n \\"Status\\": \\"SUCCESS\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetCardRealStatusResponse>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n <Data>\\n <SerialNo>4f84b7a5-90******07895</SerialNo>\\n <Iccid>89860321******15668</Iccid>\\n <Gprs>true</Gprs>\\n <Online>true</Online>\\n <Status>SUCCESS</Status>\\n </Data>\\n</GetCardRealStatusResponse>","errorExample":""}]', - 'title' => '智能诊断-查询卡在运营商侧状态', - 'summary' => '智能诊断-查询卡在运营商侧状态', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"ErrorMessage\\": \\"系统异常\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<SetCardStopRuleResponse>\\n <Data>true</Data>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n</SetCardStopRuleResponse>","errorExample":""}]', + 'title' => '设置卡的达量停用规则', + 'description' => '## 使用限制'."\n" + ."\n" + .'单个阿里云账号调用该接口的每秒请求数(QPS)最大限制为20。'."\n" + ."\n" + .'> RAM用户共享阿里云账号配额。', + 'requestParamsDescription' => '调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~375336~~)。', + 'changeSet' => [], ], - 'GetCardLatestFlow' => [ - 'summary' => '该接口用于查询物联网卡的实时周期用量。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'StopSingleCard' => [ + 'summary' => '将状态为“使用中”的单卡进行自主停用。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'Iccid', 'in' => 'query', - 'schema' => [ - 'title' => 'iccid', - 'description' => '物联网卡的ICCID。'."\n" - ."\n" - .'您可在物联网卡上查看ICCID,或者在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/sim/card)的卡管理页面查看ICCID。', - 'type' => 'string', - 'required' => true, - 'example' => '89860321******15668', - ], + 'schema' => ['description' => '物联网卡的ICCID。'."\n" + ."\n" + .'您可在物联网卡上查看ICCID,或者在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/?spm=a2c4g.11186623.0.0.6a072d25p4pUg8)的卡管理页面,查看ICCID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '89860321******15668'], ], - ], - 'responses' => [ - 200 => [ - 'headers' => [], - 'schema' => [ - 'title' => 'GetCardLatestFlowResponse', - 'description' => 'GetCardLatestFlowResponse', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'Success' => [ - 'title' => '必填', - 'description' => '是否调用成功。'."\n" - ."\n" - .'true:调用成功。'."\n" - .'false:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'200:表示成功。'."\n" - ."\n" - .'其它:表示错误码。错误码详情,请参见错误码。', - 'type' => 'string', - 'example' => '200', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'Data' => [ - 'description' => '实时周期用量,带流量单位。', - 'type' => 'string', - 'example' => '1.00MB', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'linkcard.system.IllegalRequest', - 'errorMessage' => 'The request parameter is invalid.', - ], - [ - 'errorCode' => 'linkcard.common.InvalidAliyunPK', - 'errorMessage' => 'AliyunPk is invalid.', - ], - [ - 'errorCode' => 'linkcard.common.CardDestroy', - 'errorMessage' => 'The card do not exist or destroy.', - ], - [ - 'errorCode' => 'linkcard.common.IccidNotExist', - 'errorMessage' => 'IccId does not exist.', - ], - [ - 'errorCode' => 'IllegalParameter', - 'errorMessage' => 'The request parameter %s is invalid.', - ], - ], - 403 => [ - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], - ], - 500 => [ - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Data\\": \\"1.00MB\\"\\n}","errorExample":""},{"type":"xml","example":"<GetCardLatestFlowResponse>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n <Data>1.00MB</Data>\\n</GetCardLatestFlowResponse>","errorExample":""}]', - 'title' => 'GetCardLatestFlow', - ], - 'AddCardToDirectionalGroup' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [], - 'parameters' => [ [ - 'name' => 'IccidList', + 'name' => 'OptMsisdns', 'in' => 'query', 'style' => 'json', 'schema' => [ - 'description' => '卡号的iccid集合,数量小于等于200', - 'type' => 'array', - 'items' => [ - 'description' => 'ICCID。', - 'type' => 'string', - 'required' => true, - 'example' => '1111****6225', - ], - 'required' => true, - 'maxItems' => 200, - ], - ], - [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'description' => '分组ID。', - 'type' => 'string', - 'required' => true, - 'example' => '10000002595', - ], - ], - [ - 'name' => 'SerialNo', - 'in' => 'query', - 'schema' => [ - 'description' => '请求编号,支持幂等。', - 'type' => 'string', - 'required' => true, - 'example' => '123123', - ], - ], - [ - 'name' => 'AddType', - 'in' => 'query', - 'schema' => [ - 'description' => '添加的方式:'."\n" - ."\n" - .'NEW:仅导入其中待分组的卡'."\n" - ."\n" - .'TRANSFER:全量导入(卡从原分组中删除)', - 'type' => 'string', - 'required' => true, - 'example' => 'NEW', - ], - ], - [ - 'name' => 'MsgNotify', - 'in' => 'query', - 'schema' => [ - 'description' => '执行成功后是否通过MQ推送,默认false: '."\n" - ."\n" - .'false:不推送 '."\n" + 'description' => '是否对子卡进行操作,填入子卡的MSISDN。'."\n" ."\n" - .'true: 推送', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - ], - [ - 'name' => 'ApiProduct', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Linkcard', - 'type' => 'string', + .'- 普通单网卡无需传入此参数。'."\n" + .'- 虚拟运营商:'."\n" + .' - 如果传入该参数,则对指定的子卡进行操作。'."\n" + .' - 如果不传入该参数,则对所有子卡进行操作。', + 'type' => 'array', + 'items' => ['description' => '子卡的MSISDN。', 'type' => 'string', 'required' => false, 'example' => '141******1111'], 'required' => false, - 'example' => 'Linkcard', + 'example' => '["1112******826","1112******827"] ', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'AddCardToDirectionalGroupResponse', - 'description' => 'AddCardToDirectionalGroupResponse', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'Success' => [ - 'title' => '必填', - 'description' => '是否调用成功。'."\n" - ."\n" - .'true:调用成功。 false:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'200:调用成功。'."\n" - ."\n" - .'其他:调用失败。错误码详情,请参见错误码。', - 'type' => 'string', - 'example' => '200', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'Data' => [ - 'description' => '请求结果。', - 'type' => 'object', - 'properties' => [ - 'Result' => [ - 'description' => '执行是否成功。'."\n" - ."\n" - .'true:添加成功。'."\n" - ."\n" - .'false:添加失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'SerialNo' => [ - 'description' => '请求编号,幂等序列号', - 'type' => 'string', - 'example' => '123213', - ], - ], - ], + 'Data' => ['description' => '执行结果。'."\n" + ."\n" + .'- **true**:执行成功。'."\n" + ."\n" + .'- **false**:执行失败。', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。'."\n", 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => '系统异常'], + 'Success' => ['description' => '是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'InstanceId cannot be empty. '], + 'Code' => ['description' => '接口返回码:'."\n" + ."\n" + .'- **200**:表示成功。'."\n" + .'- 其它:表示错误码。错误码详情,请参见[错误码](~~375339~~)。', 'type' => 'string', 'example' => '200'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'IllegalParameter', - 'errorMessage' => 'The request parameter %s is invalid.', - ], - [ - 'errorCode' => 'linkcard.system.IllegalRequest', - 'errorMessage' => 'The request parameter is invalid.', - ], + ['errorCode' => 'linkcard.check.IccidCanNotEmpty', 'errorMessage' => 'Iccid cannot be empty.', 'description' => ''], + ['errorCode' => 'linkcard.common.CardDestroy', 'errorMessage' => 'The card do not exist or destroy.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny ', - 'errorMessage' => 'You do not have the RAM permission. ', - ], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => ''], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], - [ - 'errorCode' => '%s..', - 'errorMessage' => '%s..', - ], - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => ''], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Data\\": {\\n \\"Result\\": true,\\n \\"SerialNo\\": \\"123213\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<AddCardToDirectionalGroupResponse>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n <Data>\\n <Result>true</Result>\\n <SerialNo>123213</SerialNo>\\n </Data>\\n</AddCardToDirectionalGroupResponse>","errorExample":""}]', - 'title' => '定向分组添加卡片', - 'summary' => '定向分组添加卡片。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"ErrorMessage\\": \\"系统异常\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\\\t\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<StopSingleCardResponse>\\n <Data>true</Data>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n</StopSingleCardResponse>","errorExample":""}]', + 'title' => '卡的主动停用', + 'description' => '## 限制说明'."\n" + ."\n\n" + .'单个阿里云账号调用该接口的每秒请求数(QPS)最大限制为20。'."\n" + ."\n" + .'> RAM用户共享阿里云账号配额。', + 'requestParamsDescription' => '调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~375336~~)。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], ], - 'GetRealNameStatus' => [ - 'summary' => '该接口用于查询物联网卡的个人实名状态。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateAutoRechargeSwitch' => [ + 'summary' => '该接口用于开启或关闭卡的自动续费功能,仅适用于单卡套餐和同档位池套餐。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'Iccid', 'in' => 'query', - 'schema' => [ - 'description' => '物联网卡的ICCID。'."\n" - ."\n" - .'您可在物联网卡上查看ICCID,或者在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/sim/card)的卡管理页面查看ICCID。', - 'type' => 'string', - 'required' => true, - 'example' => '89860321******15668', - ], + 'schema' => ['description' => '物联网卡的ICCID。'."\n" + ."\n" + .'您可在物联网卡上查看ICCID,或者在[物联网SIM服务控制台](https://dyiotnext.console.aliyun.com/?spm=a2c4g.11186623.0.0.6a072d25p4pUg8)的卡管理页面查看ICCID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '89860321******15668'], ], [ - 'name' => 'ListMsisdns', + 'name' => 'Open', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => '多网卡子卡MSISDN。', - 'type' => 'array', - 'items' => [ - 'description' => '物联网卡的MSISDN。', - 'type' => 'string', - 'required' => false, - 'example' => '144******1111', - ], - 'required' => false, - 'maxItems' => 10, - ], + 'schema' => ['description' => '自动续费开关。'."\n" + ."\n" + .'- **true**:开启自动续费。'."\n" + ."\n" + .'- **false**:关闭自动续费。', 'type' => 'boolean', 'required' => true, 'docRequired' => true, 'example' => 'true'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'GetRealNameStatusResponse', - 'description' => 'GetRealNameStatusResponse', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'Success' => [ - 'title' => '必填', - 'description' => '是否调用成功。'."\n" - ."\n" - .'true:调用成功。'."\n" - .'false:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'200:表示成功。'."\n" - .'其它:表示错误码。错误码详情,请参见错误码。', - 'type' => 'string', - 'example' => '200', - ], - 'ErrorMessage' => [ - 'description' => '调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'object', - 'properties' => [ - 'RealNameStatus' => [ - 'description' => '个人实名认证状态。'."\n" - .'NOT_CERTIFIED:未认证'."\n" - .'APPROVING:认证审核中'."\n" - .'CERTIFIED:已认证', - 'type' => 'string', - 'example' => 'CERTIFIED', - ], - 'Desc' => [ - 'description' => '认证状态描述。', - 'type' => 'string', - 'example' => '已认证', - ], - ], - ], + 'Data' => ['description' => '执行结果。'."\n" + ."\n" + .'- **true**:执行成功。'."\n" + ."\n" + .'- **false**:执行失败。', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的唯一标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => '系统异常'], + 'Success' => ['description' => '是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'- **200**:表示成功。'."\n" + .'- 其它:表示错误码。错误码详情,请参见[错误码](~~375339~~)。', 'type' => 'string', 'example' => '200'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'linkcard.system.IllegalRequest', - 'errorMessage' => 'The request parameter is invalid.', - ], - [ - 'errorCode' => 'linkcard.common.InvalidAliyunPK', - 'errorMessage' => 'AliyunPk is invalid.', - ], - [ - 'errorCode' => 'linkcard.check.IccidCanNotEmpty', - 'errorMessage' => 'Iccid cannot be empty.', - ], - [ - 'errorCode' => 'linkcard.common.CardDestroy', - 'errorMessage' => 'The card do not exist or destroy.', - ], - [ - 'errorCode' => 'linkcard.common.IccidFormatError', - 'errorMessage' => 'Iccid format error.', - ], - [ - 'errorCode' => 'linkcard.common.VnoCardNotSupported', - 'errorMessage' => 'This function does not support vno card.', - ], + ['errorCode' => 'linkcard.common.CardDestroy', 'errorMessage' => 'The card do not exist or destroy.', 'description' => '卡不存在或已销户'], ], 403 => [ - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], + ['errorCode' => '%s.', 'errorMessage' => '%s.', 'description' => '%s.'], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => '没有RAM权限。'], ], 500 => [ - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], + ['errorCode' => 'linkcard.system.RPCInvokeError', 'errorMessage' => 'An RPC invoking error occurred', 'description' => 'RPC远程请求错误'], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => '系统内部异常'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Data\\": {\\n \\"RealNameStatus\\": \\"CERTIFIED\\",\\n \\"Desc\\": \\"已认证\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetRealNameStatusResponse>\\n <data>\\n <realNameStatus>NOT_CERTIFIED</realNameStatus>\\n <desc>未认证</desc>\\n </data>\\n <requestId>D3778AAD-6A0E-16F8-8074-C4AF604E21B3</requestId>\\n <success>true</success>\\n</GetRealNameStatusResponse>","errorExample":""}]', - 'title' => 'GetRealNameStatus', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"ErrorMessage\\": \\"系统异常\\",\\n \\"Success\\": true,\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateAutoRechargeSwitchResponse>\\n <Data>true</Data>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n</UpdateAutoRechargeSwitchResponse>","errorExample":""}]', + 'title' => 'UpdateAutoRechargeSwitch', + 'description' => '## 使用限制'."\n" + ."\n" + .'单个阿里云账号调用该接口的每秒请求数(QPS)最大限制为20。'."\n" + ."\n" + .'> RAM用户共享阿里云账号配额。', + 'requestParamsDescription' => '调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~375336~~)。', + 'changeSet' => [], ], - 'SendMessage' => [ - 'summary' => '平台短信下发。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'VerifyIotCard' => [ + 'summary' => '查询物联网卡是否为定向卡。', + 'methods' => ['post', 'get'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'TaskName', - 'in' => 'formData', - 'schema' => [ - 'description' => '自定义任务名称,不能包含特殊字符,最长40个字符。', - 'type' => 'string', - 'required' => true, - 'example' => '任务0912', - ], - ], - [ - 'name' => 'MessageTemplateId', - 'in' => 'formData', - 'schema' => [ - 'title' => '模版ID', - 'description' => '短信模版编号,可以在控制台查看。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '14', - ], - ], - [ - 'name' => 'MessageVariableParam', - 'in' => 'formData', - 'schema' => [ - 'title' => '请求参数', - 'description' => '动态参数短信,替换的参数,格式{1}{2}', - 'type' => 'string', - 'required' => false, - 'example' => '{参数1}{参数2}{参数3}', - ], - ], - [ - 'name' => 'MessageSendTime', - 'in' => 'formData', - 'schema' => [ - 'title' => '单位:s', - 'description' => '时间戳,单位:秒 。'."\n" - ."\n" - .'当时间早于当前时间则立即发送,晚于当前时间为定时发送。'."\n" - ."\n" - .'最晚不能超过一个月。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1694401634', - ], - ], - [ - 'name' => 'Msisdns', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => '发送短信的目标MSISDN列表', - 'type' => 'array', - 'items' => [ - 'description' => '发送短信的目标MSISDN', - 'type' => 'string', - 'required' => false, - 'example' => '1411234123412', - ], - 'required' => false, - ], - ], - [ - 'name' => 'ApiProduct', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Linkcard', - 'type' => 'string', - 'required' => false, - 'example' => 'Linkcard', - ], + 'name' => 'Iccid', + 'in' => 'query', + 'schema' => ['description' => '物联网卡的ICCID。'."\n" + ."\n" + .'您可在物联网卡上查看ICCID,或者在物联网SIM服务控制台的卡管理页面,查看ICCID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '89860321******15668'], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ - 'title' => 'SendMessageResponse', - 'description' => 'SendMessageResponse', + 'title' => 'VerifyIotCardResponse', + 'description' => 'VerifyIotCardResponse', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID,阿里云为该请求生成的标识符。', - 'type' => 'string', - 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43', - ], - 'Success' => [ - 'title' => '必填', - 'description' => '是否调用成功。'."\n" - ."\n" - .'true:调用成功。 false:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Code' => [ - 'description' => '接口返回码。'."\n" - ."\n" - .'200:调用成功。'."\n" - ."\n" - .'其他:调用失败。错误码详情,请参见错误码。', - 'type' => 'string', - 'example' => '200', - ], - 'ErrorMessage' => [ - 'description' => ' '."\n" - .'调用失败时,返回的错误信息。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'LocalizedMessage' => [ - 'description' => '根据当前所在地展示对应语言的错误提示。', - 'type' => 'string', - 'example' => 'InstanceId cannot be empty.', - ], - 'DynamicCode' => [ - 'description' => '错误码', - 'type' => 'string', - 'example' => 'InvokeError', - ], - 'DynamicMessage' => [ - 'description' => '错误码信息', - 'type' => 'string', - 'example' => '入参不能为空,或不能包含空格', - ], - 'Data' => [ - 'description' => '地址是否添加成功。'."\n" - ."\n" - .'true:添加成功。'."\n" - ."\n" - .'false:添加失败。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID,阿里云为该请求生成的标识符。', 'type' => 'string', 'example' => 'E4F94B97-1D64-4080-BFD2-67461667AA43'], + 'Success' => ['title' => '必填', 'description' => '是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'Code' => ['description' => '接口返回码。'."\n" + ."\n" + .'- 200:调用成功。'."\n" + ."\n" + .'- 其他:调用失败。错误码详情,请参见[错误码](~~375339~~)。', 'type' => 'string', 'example' => '200'], + 'ErrorMessage' => ['description' => '调用失败时,返回的错误信息。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'LocalizedMessage' => ['description' => '根据当前所在地展示对应语言的错误提示。', 'type' => 'string', 'example' => 'InstanceId cannot be empty.'], + 'Data' => ['description' => '是否为定向卡。'."\n" + ."\n" + .'- **true**:是定向卡。'."\n" + ."\n" + .'- **false**:不是定向卡。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'linkcard.common.InvalidAliyunPK', - 'errorMessage' => 'AliyunPk is invalid.', - ], - [ - 'errorCode' => 'linkcard.system.IllegalRequest', - 'errorMessage' => 'The request parameter is invalid.', - ], + ['errorCode' => 'linkcard.check.IccidCanNotEmpty', 'errorMessage' => 'Iccid cannot be empty.', 'description' => ''], + ['errorCode' => 'linkcard.system.IllegalRequest', 'errorMessage' => 'The request parameter is invalid.', 'description' => ''], + ['errorCode' => 'linkcard.common.CardDestroy', 'errorMessage' => 'The card do not exist or destroy.', 'description' => ''], + ['errorCode' => 'CardDisabled', 'errorMessage' => 'The SIM card has been permanently disabled.', 'description' => ''], + ['errorCode' => 'linkcard.common.CardNotExist', 'errorMessage' => 'The card does not exist.', 'description' => ''], + ['errorCode' => 'IllegalParameter', 'errorMessage' => 'The request parameter %s is invalid.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny', - 'errorMessage' => 'You do not have the RAM permission.', - ], - [ - 'errorCode' => '%s.', - 'errorMessage' => '%s.', - ], - [ - 'errorCode' => 'linkcard.common.RamActionPermissionDeny ', - 'errorMessage' => 'You do not have the RAM permission. ', - ], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny', 'errorMessage' => 'You do not have the RAM permission.', 'description' => ''], + ['errorCode' => 'linkcard.common.RamActionPermissionDeny ', 'errorMessage' => 'You do not have the RAM permission. ', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'Service.InternalError', - 'errorMessage' => 'An internal error occurred.', - ], - [ - 'errorCode' => 'linkcard.system.RPCInvokeError', - 'errorMessage' => 'An RPC invoking error occurred', - ], - [ - 'errorCode' => '%s..', - 'errorMessage' => '%s..', - ], + ['errorCode' => 'Service.InternalError', 'errorMessage' => 'An internal error occurred.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"DynamicCode\\": \\"InvokeError\\",\\n \\"DynamicMessage\\": \\"入参不能为空,或不能包含空格\\",\\n \\"Data\\": 0\\n}","errorExample":""},{"type":"xml","example":"<SendMessageResponse>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n</SendMessageResponse>","errorExample":""}]', - 'title' => 'SendMessage', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E4F94B97-1D64-4080-BFD2-67461667AA43\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"ErrorMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"LocalizedMessage\\": \\"InstanceId cannot be empty.\\",\\n \\"Data\\": true\\n}","errorExample":""},{"type":"xml","example":"<VerifyIotCardResponse>\\n <RequestId>E4F94B97-1D64-4080-BFD2-67461667AA43</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n <ErrorMessage>InstanceId cannot be empty.</ErrorMessage>\\n <LocalizedMessage>InstanceId cannot be empty.</LocalizedMessage>\\n <Data>true</Data>\\n</VerifyIotCardResponse>","errorExample":""}]', + 'title' => '定向卡查询', + 'requestParamsDescription' => '调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见[公共参数文档](~~30561~~)。', + 'changeSet' => [], ], ], 'endpoints' => [ + ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-2', 'regionName' => '澳大利亚(悉尼)已关停', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-south-1', 'regionName' => '印度(孟买)已关停', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-north-2-gov-1', 'regionName' => '北京政务云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hangzhou-finance', 'regionName' => '华东1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-beijing-finance-1', 'regionName' => '华北2 金融云(邀测)', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'linkcard.aliyuncs.com', 'endpoint' => 'linkcard.aliyuncs.com', 'vpc' => ''], + ], + 'errorCodes' => [ + ['code' => '%s.', 'message' => '%s.', 'http_code' => 403, 'description' => '%s.'], + ['code' => '%s..', 'message' => '%s..', 'http_code' => 500, 'description' => '%s..'], + ['code' => 'BBC.FAIL', 'message' => 'A business processing exception occurred.', 'http_code' => 400, 'description' => '业务处理异常'], + ['code' => 'CardDisabled', 'message' => 'The SIM card has been permanently disabled.', 'http_code' => 400, 'description' => '卡已经被销户'], + ['code' => 'IdempotentParameterMismatch', 'message' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'http_code' => 400, 'description' => '请使用不同的客户端令牌'], + ['code' => 'IllegalParameter', 'message' => 'The request parameter %s is invalid.', 'http_code' => 400, 'description' => '请求参数%s非法.'], + ['code' => 'linkcard.cha.PolicyAlreadyBound', 'message' => 'Cha policy has already been bound', 'http_code' => 400, 'description' => '组策略已经绑定到其他分组'], + ['code' => 'linkcard.cha.ResourceNotExist', 'message' => 'Cha resource does not exist.', 'http_code' => 404, 'description' => '找不到指定的资源。'], + ['code' => 'linkcard.check.DataLevelCanNotEmpty', 'message' => 'Data level cannot be empty.', 'http_code' => 400, 'description' => '充值类型为叠加包时,流量档位不能为空。'], + ['code' => 'linkcard.check.DataTypeCanNotEmpty', 'message' => 'Data type cannot be empty.', 'http_code' => 400, 'description' => '流量类型不能为空'], + ['code' => 'linkcard.check.ForceActivationSameFlowCard', 'message' => 'Only cards in the same flow support forced activation.', 'http_code' => 400, 'description' => '强制激活仅支持同档位的卡。'], + ['code' => 'linkcard.check.IccidCanNotEmpty', 'message' => 'Iccid cannot be empty.', 'http_code' => 400, 'description' => '卡号不能为空。'], + ['code' => 'linkcard.check.InstanceIdCanNotEmpty', 'message' => 'InstanceId cannot be empty.', 'http_code' => 400, 'description' => '卡实例ID不能为空。'], + ['code' => 'linkcard.check.NonCard', 'message' => 'The number of cards triggered by the condition is zero.', 'http_code' => 400, 'description' => '筛选的卡数量为零'], + ['code' => 'linkcard.check.OnlyUnusedCanForceActivation', 'message' => 'Only unused cards support forced activation.', 'http_code' => 400, 'description' => '仅支持可测试和未使用状态的卡强制激活。'], + ['code' => 'linkcard.check.OssFileFormatError', 'message' => 'The file format is invalid.', 'http_code' => 400, 'description' => '文件格式错误。'], + ['code' => 'linkcard.check.OverCardCount', 'message' => 'The number of cards triggered by the condition exceeds the limit.', 'http_code' => 400, 'description' => '筛选的卡数量超限,最多500000张'], + ['code' => 'linkcard.check.OverExportCount', 'message' => 'The number of cards owned by the user exceeds the limit.', 'http_code' => 400, 'description' => '导出数量超限。'], + ['code' => 'linkcard.check.OverExportCount', 'message' => 'OverExportCount', 'http_code' => 400, 'description' => '最多支持导出数量最多500000张'], + ['code' => 'linkcard.check.OverRuleCount', 'message' => 'The number of rules owned by the user exceeds the limit.', 'http_code' => 400, 'description' => '规则超限。'], + ['code' => 'linkcard.check.OverThreshold', 'message' => 'The number of Trigger Condition Usage setting exceeds the limit.', 'http_code' => 400, 'description' => '触发条件的用量设置超限。'], + ['code' => 'linkcard.check.RuleMaxValueLimit', 'message' => 'The maximum value of Rule must be less than 9007199254740991.', 'http_code' => 400, 'description' => '达量停用策略数值,必须小于9007199254740991。'], + ['code' => 'linkcard.check.RuleMustBePositiveInteger', 'message' => 'The valid values of Rule are positive integers and zero.', 'http_code' => 400, 'description' => '达量停用策略数值,仅支持正整数和0。'], + ['code' => 'linkcard.check.SerialNoCanNotEmpty', 'message' => 'Serial Number cannot be empty.', 'http_code' => 400, 'description' => '唯一序列号不能为空'], + ['code' => 'linkcard.check.SerialNoNotExist', 'message' => 'Serial Number not exist.', 'http_code' => 400, 'description' => '唯一序列号serialNo不存在'], + ['code' => 'linkcard.check.StartTimeLessEndTime', 'message' => 'The StartTime must be earlier than the EndTime.', 'http_code' => 400, 'description' => '起始时间必须小于结束时间'], + ['code' => 'linkcard.check.TagIdCanNotEmpty', 'message' => 'The TagId must not be empty.', 'http_code' => 400, 'description' => '标签ID不能为空'], + ['code' => 'linkcard.check.TimeFormatError', 'message' => 'Time format error.', 'http_code' => 400, 'description' => '传参时间格式错误。'], + ['code' => 'linkcard.check.UploadFileBeyondLimit', 'message' => 'The uploaded file exceeds the limit.', 'http_code' => 400, 'description' => '上传文件超出限制。'], + ['code' => 'linkcard.check.UploadFileDuplicateCard', 'message' => 'Iccid is duplicated.', 'http_code' => 400, 'description' => '上传文件内有重复卡号。'], + ['code' => 'linkcard.check.UploadFileInvalidCard', 'message' => 'Iccid is invalid.', 'http_code' => 400, 'description' => '上传文件内有卡号不合法。'], + ['code' => 'linkcard.common.Ambiguous', 'message' => 'The input value is ambiguous.', 'http_code' => 400, 'description' => '输入值存在歧义'], + ['code' => 'linkcard.common.BusinessProcessError', 'message' => 'A business processing exception occurred.', 'http_code' => 500, 'description' => '业务处理异常'], + ['code' => 'linkcard.common.CardDestroy', 'message' => 'The card do not exist or destroy.', 'http_code' => 400, 'description' => '卡不存在或已销户'], + ['code' => 'linkcard.common.CardNotExist', 'message' => 'The card does not exist.', 'http_code' => 400, 'description' => '卡号有误,卡不存在'], + ['code' => 'linkcard.common.CredentialInstanceNotExist', 'message' => 'The credential instance does not exist.', 'http_code' => 400, 'description' => '凭证实例不存在'], + ['code' => 'linkcard.common.CredentialNoNotExist', 'message' => 'The credentialNo does not exist', 'http_code' => 400, 'description' => '凭证号不存在'], + ['code' => 'linkcard.common.IccidFormatError', 'message' => 'Iccid format error.', 'http_code' => 400, 'description' => 'iccid格式错误'], + ['code' => 'linkcard.common.IccidNotExist', 'message' => 'IccId does not exist.', 'http_code' => 400, 'description' => 'iccid不存在'], + ['code' => 'linkcard.common.InvalidAliyunPK', 'message' => 'AliyunPk is invalid.', 'http_code' => 400, 'description' => '阿里云账号无效。'], + ['code' => 'linkcard.common.InvalidCallerTypeError', 'message' => 'This access mode is not supported.', 'http_code' => 400, 'description' => '不支持的访问方式。'], + ['code' => 'linkcard.common.RamActionPermissionDeny', 'message' => 'You do not have the RAM permission.', 'http_code' => 403, 'description' => '没有RAM权限。'], + ['code' => 'linkcard.common.Retry', 'message' => 'Please try again later', 'http_code' => 400, 'description' => '请稍后重试'], + ['code' => 'linkcard.common.SignVerificationFailed', 'message' => 'Sign verification failed.', 'http_code' => 400, 'description' => '验签失败'], + ['code' => 'linkcard.common.VnoCardNotSupported', 'message' => 'This function does not support vno card.', 'http_code' => 400, 'description' => '该功能暂不支云鹰卡'], + ['code' => 'linkcard.directional.notExist', 'message' => 'Can not find direction group.', 'http_code' => 400, 'description' => '找不到定向网络组'], + ['code' => 'linkcard.service.forbidden', 'message' => 'Please cancel agree write to RocketMq before delete', 'http_code' => 403, 'description' => '请在删除前取消写入RocketMq的权限'], + ['code' => 'linkcard.system.BatchOperationFailed', 'message' => 'An internal error occurred. Try again later.', 'http_code' => 500, 'description' => '批量操作异常。'], + ['code' => 'linkcard.system.CarrierNotSupport', 'message' => 'The carrier of the card does not support.', 'http_code' => 400, 'description' => '卡归属的运营商不支持此功能'], + ['code' => 'linkcard.system.IllegalRequest', 'message' => 'The request parameter is invalid.', 'http_code' => 400, 'description' => '非法的请求参数。'], + ['code' => 'linkcard.system.RPCInvokeError', 'message' => 'An RPC invoking error occurred', 'http_code' => 500, 'description' => 'RPC远程请求错误'], + ['code' => 'RamActionPermissionDeny', 'message' => 'You do not have the RAM permission.', 'http_code' => 403, 'description' => '没有RAM权限。'], + ['code' => 'Service.InternalError', 'message' => 'An internal error occurred.', 'http_code' => 500, 'description' => '系统内部异常'], + ['code' => 'YX.BusinessError', 'message' => 'A business processing exception occurred.', 'http_code' => 500, 'description' => '业务处理异常'], + ['code' => 'YX.RpcError', 'message' => 'An RPC invoking error occurred.', 'http_code' => 500, 'description' => '服务请求出错'], + ['code' => 'YX.SystemInvokeError', 'message' => '%s.', 'http_code' => 500, 'description' => '%s.'], + ], + 'changeSet' => [ [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-2-pop', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'ap-south-1', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-2', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-1', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-pop', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-gov-1', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-nu16-b01', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-edge-1', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-fujian', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-haidian-cm12-c01', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-bj-b01', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-prod-1', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-1', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-2', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-3', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-test-306', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong-finance-pop', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote-nebula-1', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-north-2-gov-1', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao-nebula', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-et15-b01', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-et2-b01', - 'endpoint' => 'linkcard.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'linkcard.aliyuncs.com', + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'AddCardToDirectionalGroup'], + ['description' => '错误码发生变更', 'api' => 'BatchAddDirectionalAddress'], + ['description' => '错误码发生变更', 'api' => 'DeleteDirectionalGroup'], + ['description' => '错误码发生变更', 'api' => 'ForceActivation'], + ], + 'createdAt' => '2025-11-27T07:56:50.000Z', + 'description' => '', ], [ - 'regionId' => 'cn-shanghai-inner', - 'endpoint' => 'linkcard.aliyuncs.com', + 'apis' => [ + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListCardInfo'], + ['description' => '响应参数发生变更', 'api' => 'ListOrder'], + ], + 'createdAt' => '2023-08-03T02:46:41.000Z', + 'description' => '', ], [ - 'regionId' => 'cn-shanghai-internal-test-1', - 'endpoint' => 'linkcard.aliyuncs.com', + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'ForceActivation'], + ], + 'createdAt' => '2023-06-29T06:52:29.000Z', + 'description' => '', ], [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'linkcard.aliyuncs.com', + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AddTagsToCard'], + ], + 'createdAt' => '2023-06-29T05:50:58.000Z', + 'description' => '', ], [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'linkcard.aliyuncs.com', + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'GetCredentialPoolStatistics'], + ], + 'createdAt' => '2023-06-28T06:33:04.000Z', + 'description' => '', ], [ - 'regionId' => 'cn-shenzhen-inner', - 'endpoint' => 'linkcard.aliyuncs.com', + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AddDirectionalAddress'], + ], + 'createdAt' => '2023-05-15T08:05:05.000Z', + 'description' => '', ], [ - 'regionId' => 'cn-shenzhen-st4-d01', - 'endpoint' => 'linkcard.aliyuncs.com', + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ListOrder'], + ], + 'createdAt' => '2023-04-12T04:59:49.000Z', + 'description' => '', ], [ - 'regionId' => 'cn-shenzhen-su18-b01', - 'endpoint' => 'linkcard.aliyuncs.com', + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'GetCardDetail'], + ['description' => '错误码发生变更、响应参数发生变更', 'api' => 'GetCardFlowInfo'], + ], + 'createdAt' => '2023-03-24T08:24:58.000Z', + 'description' => '', ], [ - 'regionId' => 'cn-wuhan', - 'endpoint' => 'linkcard.aliyuncs.com', + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'GetRealNameStatus'], + ], + 'createdAt' => '2023-03-24T08:24:17.000Z', + 'description' => '', ], [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'linkcard.aliyuncs.com', + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'ListDirectionalDetail'], + ], + 'createdAt' => '2023-03-24T08:20:41.000Z', + 'description' => '', ], [ - 'regionId' => 'cn-yushanfang', - 'endpoint' => 'linkcard.aliyuncs.com', + 'apis' => [ + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListDirectionalAddress'], + ], + 'createdAt' => '2023-01-09T08:11:33.000Z', + 'description' => '定向组中地址列表增加限制条件', ], [ - 'regionId' => 'cn-zhangbei', - 'endpoint' => 'linkcard.aliyuncs.com', + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'GetCardDetail'], + ], + 'createdAt' => '2022-12-08T06:04:54.000Z', + 'description' => '卡详情增加销户提示错误码', ], [ - 'regionId' => 'cn-zhangbei-na61-b01', - 'endpoint' => 'linkcard.aliyuncs.com', + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'Renew'], + ], + 'createdAt' => '2022-11-07T06:20:21.000Z', + 'description' => '充值接口增加错误码', ], [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'linkcard.aliyuncs.com', + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'ForceActivation'], + ['description' => '错误码发生变更', 'api' => 'ListDirectionalDetail'], + ['description' => '错误码发生变更、响应参数发生变更', 'api' => 'ListOrder'], + ['description' => '错误码发生变更、请求参数发生变更', 'api' => 'RebindResumeSingleCard'], + ['description' => '错误码发生变更、请求参数发生变更', 'api' => 'ResumeSingleCard'], + ['description' => '错误码发生变更、请求参数发生变更', 'api' => 'StopSingleCard'], + ['description' => '错误码发生变更', 'api' => 'UpdateAutoRechargeSwitch'], + ], + 'createdAt' => '2022-10-28T11:23:46.000Z', + 'description' => '变更对外开放接口的格式', ], [ - 'regionId' => 'cn-zhangjiakou-na62-a01', - 'endpoint' => 'linkcard.aliyuncs.com', + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ListCardInfo'], + ], + 'createdAt' => '2022-09-29T01:48:49.000Z', + 'description' => '八月份迭代上线', ], [ - 'regionId' => 'cn-zhengzhou-nebula-1', - 'endpoint' => 'linkcard.aliyuncs.com', + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'AddDirectionalGroup'], + ['description' => 'OpenAPI 下线', 'api' => 'BatchAddDirectionalAddress'], + ['description' => 'OpenAPI 下线', 'api' => 'ListDirectionalDetail'], + ], + 'createdAt' => '2022-08-09T12:00:42.000Z', + 'description' => '定向网相关的api发布', ], [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'linkcard.aliyuncs.com', + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'GetMqConfig'], + ['description' => 'OpenAPI 下线', 'api' => 'ListMqService'], + ['description' => 'OpenAPI 下线', 'api' => 'UpdateMqConfig'], + ], + 'createdAt' => '2022-06-16T08:05:03.000Z', + 'description' => 'MQ业务新增接口', ], [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'linkcard.aliyuncs.com', + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'Renew'], + ], + 'createdAt' => '2022-04-20T06:14:10.000Z', + 'description' => '变更充值接口offerCode参数文档非必填', ], [ - 'regionId' => 'eu-west-1-oxs', - 'endpoint' => 'linkcard.aliyuncs.com', + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Renew'], + ], + 'createdAt' => '2022-04-19T03:32:17.000Z', + 'description' => '增加充值接口', ], [ - 'regionId' => 'me-east-1', - 'endpoint' => 'linkcard.aliyuncs.com', + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'GetCardDetail'], + ], + 'createdAt' => '2022-01-20T06:00:57.000Z', + 'description' => '发布接口,向上兼容, 开放平台SDK在本次迭代发布后才会上传', ], - [ - 'regionId' => 'rus-west-1-pop', - 'endpoint' => 'linkcard.aliyuncs.com', + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAutoRechargeSwitch'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddDirectionalGroup'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetCardLatestFlow'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RebindResumeSingleCard'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddDirectionalAddress'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResumeSingleCard'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDirectionalGroup'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetCardRealStatus'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetCardStopRule'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddDirectionalCard'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddTagsToCard'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetCardFlowInfo'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCardInfo'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'Renew'], + ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDirectionalAddress'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopSingleCard'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetRealNameStatus'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListOrder'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetSimCardStateDistribution'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ForceActivation'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDirectionalDetail'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetCardDetail'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetCardStatusStatistics'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'VerifyIotCard'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddCardToDirectionalGroup'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetCredentialPoolStatistics'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDirectionalAddress'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchAddDirectionalAddress'], ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'linkcard.aliyuncs.com', + ], + 'ram' => [ + 'productCode' => 'Dyiot', + 'productName' => '物联网无线连接服务', + 'ramCodes' => ['linkcard', 'dyiot'], + 'ramLevel' => '操作级', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'GetCardDetail', + 'description' => 'GetCardDetail', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'linkcard:GetCardDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetCardLatestFlow', + 'description' => 'GetCardLatestFlow', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'linkcard:GetCardLatestFlow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => 'CardManage', 'arn' => 'acs:linkcard::{#accountId}:cardmanage/{#cardmanageId}'], + ], + ], + ], + [ + 'apiName' => 'ForceActivation', + 'description' => '卡的强制激活', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'linkcard:ForceActivation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'SendMessage', + 'description' => 'SendMessage', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'linkcard:SendMessage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'RebindResumeSingleCard', + 'description' => '卡的换绑复用', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'linkcard:RebindResumeSingleCard', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListDirectionalDetail', + 'description' => '查询卡的定向信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'linkcard:ListDirectionalDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ResumeSingleCard', + 'description' => 'ResumeSingleCard', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'linkcard:ResumeSingleCard', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'VerifyIotCard', + 'description' => '定向卡查询', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'linkcard:VerifyIotCard', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListDirectionalAddress', + 'description' => '查询定向分组信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'linkcard:ListDirectionalAddress', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteDirectionalGroup', + 'description' => '删除定向分组', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'linkcard:DeleteDirectionalGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteDirectionalAddress', + 'description' => '定向分组删除目标地址', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'linkcard:DeleteDirectionalAddress', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'BatchAddDirectionalAddress', + 'description' => '定向地址添加', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'linkcard:BatchAddDirectionalAddress', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'StopSingleCard', + 'description' => '卡的主动停用', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'linkcard:StopSingleCard', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AddDirectionalAddress', + 'description' => '定向分组新增目标地址', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'linkcard:AddDirectionalAddress', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'Renew', + 'description' => '充值', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'linkcard:Renew', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetCardStatusStatistics', + 'description' => '概览页风险告警', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'linkcard:GetCardStatusStatistics', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetCredentialPoolStatistics', + 'description' => 'GetCredentialPoolStatistics', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'linkcard:GetCredentialPoolStatistics', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetCardRealStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'linkcard:GetCardRealStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AddTagsToCard', + 'description' => '物联网卡添加标签', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'linkcard:AddTagsToCard', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetSimCardStateDistribution', + 'description' => '获取卡状态分布', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'linkcard:GetSimCardStateDistribution', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'SetCardStopRule', + 'description' => '设置卡的达量停用规则', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'linkcard:SetCardStopRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateAutoRechargeSwitch', + 'description' => 'UpdateAutoRechargeSwitch', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'linkcard:UpdateAutoRechargeSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AddCardToDirectionalGroup', + 'description' => '定向分组添加卡片', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'linkcard:AddCardToDirectionalGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => 'DirectionalManage', 'arn' => 'acs:linkcard:*:{#accountId}:directionalmanage/{#DirectionalManageId}'], + ], + ], + ], + [ + 'apiName' => 'GetRealNameStatus', + 'description' => 'GetRealNameStatus', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'linkcard:GetRealNameStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AddDirectionalCard', + 'description' => '定向分组导卡', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'linkcard:AddDirectionalCard', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AddDirectionalGroup', + 'description' => '创建定向分组', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'linkcard:AddDirectionalGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => 'DirectionalManage', 'arn' => 'acs:linkcard::{#accountId}:directionalmanage/*'], + ], + ], + ], + [ + 'apiName' => 'GetCardFlowInfo', + 'description' => '卡流量查询', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'linkcard:GetCardFlowInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Dyiot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'linkcard.aliyuncs.com', + 'resourceTypes' => [ + ['validationType' => 'always', 'resourceType' => 'CardManage', 'arn' => 'acs:linkcard::{#accountId}:*'], + ['validationType' => 'always', 'resourceType' => 'CardManage', 'arn' => 'acs:linkcard::{#accountId}:cardmanage/{#cardmanageId}'], + ['validationType' => 'always', 'resourceType' => 'CardManage', 'arn' => 'acs:linkcard::{#accountId}:cardmanage/*'], + ['validationType' => 'always', 'resourceType' => 'SmsManage', 'arn' => 'acs:linkcard:{#regionId}:{#accountId}:smsmanage/*'], + ['validationType' => 'always', 'resourceType' => 'DirectionalManage', 'arn' => 'acs:linkcard::{#accountId}:directionalmanage/*'], + ['validationType' => 'always', 'resourceType' => 'DashboardManage', 'arn' => 'acs:linkcard::{#accountId}:dashboardmanage/*'], + ['validationType' => 'always', 'resourceType' => 'CredentialManage', 'arn' => 'acs:linkcard::{#accountId}:credentialmanage/*'], + ['validationType' => 'always', 'resourceType' => 'TagManage', 'arn' => 'acs:linkcard::{#accountId}:tagmanage/*'], + ['validationType' => 'always', 'resourceType' => 'DirectionalManage', 'arn' => 'acs:linkcard:*:{#accountId}:directionalmanage/{#DirectionalManageId}'], ], ], ]; |
