lib/v20210526/client.rb in tencentcloud-sdk-essbasic-3.0.862 vs lib/v20210526/client.rb in tencentcloud-sdk-essbasic-3.0.863
- old
+ new
@@ -1741,9 +1741,36 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
+ # 该接口用于获取个人授权执业章给企业的二维码,需要个人用户通过微信扫码。扫描后将跳转到腾讯电子签小程序,进入到授权执业章的流程。个人用户授权成功后,企业印章管理员需对印章进行审核,审核通过后,即可使用个人授权的执业章进行盖章操作。
+
+ # **注意**
+ # 1. 该二维码**有效期为7天**,过期后将失效,可重新创建。
+
+ # @param request: Request instance for CreateEmployeeQualificationSealQrCode.
+ # @type request: :class:`Tencentcloud::essbasic::V20210526::CreateEmployeeQualificationSealQrCodeRequest`
+ # @rtype: :class:`Tencentcloud::essbasic::V20210526::CreateEmployeeQualificationSealQrCodeResponse`
+ def CreateEmployeeQualificationSealQrCode(request)
+ body = send_request('CreateEmployeeQualificationSealQrCode', request.serialize)
+ response = JSON.parse(body)
+ if response['Response'].key?('Error') == false
+ model = CreateEmployeeQualificationSealQrCodeResponse.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
+
# 获取区块链存证证书查看链接/二维码接口
# 适用场景:企业员工可以通过此接口生成合同区块链存证证书的查看链接/二维码,以供他人扫码打开腾讯电子签小程序查看。
# [点击查看区块链存证证书样式](https://qcloudimg.tencent-cloud.cn/raw/47d5e9c2ffa90ad4e27b3cd14095aa08.jpg)
\ No newline at end of file