lib/v20201111/client.rb in tencentcloud-sdk-ess-3.0.498 vs lib/v20201111/client.rb in tencentcloud-sdk-ess-3.0.499
- old
+ new
@@ -259,9 +259,37 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
+ # 指定需要批量撤销的签署流程Id,批量催办合同
+ # 客户指定需要撤销的签署流程Id,最多100个;接口失败后返回错误信息
+ # 注意:
+ # 能撤回合同的只能是合同的发起人或者签署人
+ # 该接口需要开白后使用
+
+ # @param request: Request instance for CreateFlowReminds.
+ # @type request: :class:`Tencentcloud::ess::V20201111::CreateFlowRemindsRequest`
+ # @rtype: :class:`Tencentcloud::ess::V20201111::CreateFlowRemindsResponse`
+ def CreateFlowReminds(request)
+ body = send_request('CreateFlowReminds', request.serialize)
+ response = JSON.parse(body)
+ if response['Response'].key?('Error') == false
+ model = CreateFlowRemindsResponse.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
+
# 提交企业签署流程审批结果
# 适用场景:
# 在通过接口(CreateFlow 或者CreateFlowByFiles)创建签署流程时,若指定了参数 NeedSignReview 为true,且发起方企业作为签署方参与了流程签署,则可以调用此接口提交企业内部签署审批结果。
# 若签署流程状态正常,且本企业存在签署方未签署,同一签署流程可以多次提交签署审批结果,签署时的最后一个“审批结果”有效。
\ No newline at end of file