lib/v20210526/client.rb in tencentcloud-sdk-essbasic-3.0.371 vs lib/v20210526/client.rb in tencentcloud-sdk-essbasic-3.0.379
- old
+ new
@@ -51,9 +51,34 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
+ # 指定需要批量撤回的签署流程Id,获取批量撤销链接
+ # 客户指定需要撤回的签署流程Id,最多100个,超过100不处理;接口调用成功返回批量撤回合同的链接,通过链接跳转到电子签小程序完成批量撤回
+
+ # @param request: Request instance for ChannelCreateBatchCancelFlowUrl.
+ # @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateBatchCancelFlowUrlRequest`
+ # @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateBatchCancelFlowUrlResponse`
+ def ChannelCreateBatchCancelFlowUrl(request)
+ body = send_request('ChannelCreateBatchCancelFlowUrl', request.serialize)
+ response = JSON.parse(body)
+ if response['Response'].key?('Error') == false
+ model = ChannelCreateBatchCancelFlowUrlResponse.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
+
# 接口(ChannelCreateFlowByFiles)用于渠道版通过文件创建签署流程。此接口不可直接使用,需要运营申请
# @param request: Request instance for ChannelCreateFlowByFiles.
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateFlowByFilesRequest`
# @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateFlowByFilesResponse`
\ No newline at end of file