lib/v20210526/client.rb in tencentcloud-sdk-essbasic-3.0.902 vs lib/v20210526/client.rb in tencentcloud-sdk-essbasic-3.0.903
- old
+ new
@@ -2036,9 +2036,43 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
+ # 获取个人用户认证证书图片下载URL
+
+ # 个人用户认证证书图片样式如下图
+
+ # ![image](https://dyn.ess.tencent.cn/guide/capi/CreatePersonAuthCertificateImage.png)
+
+ # 注:
+ # <ul>
+ # <li>只能获取个人用户证明图片, 企业员工的暂不支持</li>
+ # <li>处方单等特殊场景专用,此接口为白名单功能,使用前请联系对接的客户经理沟通。 </li>
+ # </ul>
+
+ # @param request: Request instance for CreatePersonAuthCertificateImage.
+ # @type request: :class:`Tencentcloud::essbasic::V20210526::CreatePersonAuthCertificateImageRequest`
+ # @rtype: :class:`Tencentcloud::essbasic::V20210526::CreatePersonAuthCertificateImageResponse`
+ def CreatePersonAuthCertificateImage(request)
+ body = send_request('CreatePersonAuthCertificateImage', request.serialize)
+ response = JSON.parse(body)
+ if response['Response'].key?('Error') == false
+ model = CreatePersonAuthCertificateImageResponse.new
+ model.deserialize(response['Response'])
+ model
+ else
+ code = response['Response']['Error']['Code']
+ message = response['Response']['Error']['Message']
+ reqid = response['Response']['RequestId']
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
+ end
+ rescue TencentCloud::Common::TencentCloudSDKException => e
+ raise e
+ rescue StandardError => e
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
+ end
+
# 1. 可以**通过图片**为子客企业代创建印章,图片最大5MB
# 2. 可以**系统创建**子客企业代创建印章, 系统创建的印章样子下图(样式可以调整)
# ![image](https://dyn.ess.tencent.cn/guide/capi/CreateSealByImage.png)
\ No newline at end of file