v20180523

package
v1.0.476 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// 该账号不具有该合同。
	FAILEDOPERATION_ACCOUNTNOTOWNCONTRACTERROR = "FailedOperation.AccountNotOwnContractError"

	// 授权时间格式错误。
	FAILEDOPERATION_AUTHORIZATIONTIMEERROR = "FailedOperation.AuthorizationTimeError"

	// 后端接口调用失败。
	FAILEDOPERATION_BACKENDINTERFACEERROR = "FailedOperation.BackendInterfaceError"

	// 后端接口返回内容异常,请检查请求参数。
	FAILEDOPERATION_BACKENDINTERFACERESPONSECONTENTERROR = "FailedOperation.BackendInterfaceResponseContentError"

	// 后端接口返回头异常,请检查请求参数。
	FAILEDOPERATION_BACKENDINTERFACERESPONSEHEADERERROR = "FailedOperation.BackendInterfaceResponseHeaderError"

	// 证书类型错误。
	FAILEDOPERATION_CERTTYPEERROR = "FailedOperation.CertTypeError"

	// 验证签署验证码失败。
	FAILEDOPERATION_CHECKVCODEERROR = "FailedOperation.CheckVcodeError"

	// 合同已过期。
	FAILEDOPERATION_CONTRACTEXPIRED = "FailedOperation.ContractExpired"

	// 该合同已被签署过。
	FAILEDOPERATION_CONTRACTSIGNEDERROR = "FailedOperation.ContractSignedError"

	// 坐标值错误,必须保证坐标值为数字。
	FAILEDOPERATION_COORDINATEERROR = "FailedOperation.CoordinateError"

	// 坐标值超出PDF尺寸范围。
	FAILEDOPERATION_COORDINATEOUTSIDEPDF = "FailedOperation.CoordinateOutsidePDF"

	// 计费账户问题。
	FAILEDOPERATION_COSTACCOUNTERROR = "FailedOperation.CostAccountError"

	// 合同创建失败。
	FAILEDOPERATION_CREATECONTRACTERROR = "FailedOperation.CreateContractError"

	// 创建企业账户失败,请检查请求参数。
	FAILEDOPERATION_CREATEENTERPRISEACCOUNTERROR = "FailedOperation.CreateEnterpriseAccountError"

	// 创建个人账户失败。
	FAILEDOPERATION_CREATEPERSONALACCOUNTERROR = "FailedOperation.CreatePersonalAccountError"

	// 新增印章失败。
	FAILEDOPERATION_CREATESEALERROR = "FailedOperation.CreateSealError"

	// 删除账户失败。
	FAILEDOPERATION_DELETEACCOUNTERROR = "FailedOperation.DeleteAccountError"

	// 删除印章失败。
	FAILEDOPERATION_DELETESEALERROR = "FailedOperation.DeleteSealError"

	// 获取子平台信息失败。
	FAILEDOPERATION_DESCRIBESUBPLATERROR = "FailedOperation.DescribeSubplatError"

	// 查询任务结果失败。
	FAILEDOPERATION_DESCRIBETASKSTATUSERROR = "FailedOperation.DescribeTaskStatusError"

	// 下载签章文件失败,请确保路径正确。
	FAILEDOPERATION_DOWNLOADSEALERROR = "FailedOperation.DownloadSealError"

	// 企业名称格式错误,不能包含数字。
	FAILEDOPERATION_ENTERPRISENAMEFORMATERROR = "FailedOperation.EnterpriseNameFormatError"

	// 不能删除第一个有效的企业账户。
	FAILEDOPERATION_FIRSTENTERPRISEACCOUNTDELETEERROR = "FailedOperation.FirstEnterpriseAccountDeleteError"

	// 签署关键字信息中存在格式错误(偏移坐标,签章图片宽/高度都必须为数字)。
	FAILEDOPERATION_FORMATERROR = "FailedOperation.FormatError"

	// 获得PDF页面尺寸失败。
	FAILEDOPERATION_GETPDFSIZEFAILED = "FailedOperation.GetPDFSizeFailed"

	// 授权IP地址格式错误。
	FAILEDOPERATION_IPFORMATERROR = "FailedOperation.IPFormatError"

	// 证件号码格式错误,请输入正确的个人/企业证件号码。
	FAILEDOPERATION_IDENTNOFORMATERROR = "FailedOperation.IdentNoFormatError"

	// 证件类型错误,企业证件类型值只允许[0-8],个人证件类型值为0。
	FAILEDOPERATION_IDENTTYPEERROR = "FailedOperation.IdentTypeError"

	// 图片宽度/高度超过最大像素限制(300px)。
	FAILEDOPERATION_IMAGEMEASUREMENTOVERLIMITERROR = "FailedOperation.ImageMeasurementOverLimitError"

	// 图片数据应为BASE64编码格式。
	FAILEDOPERATION_IMAGENOTBASE = "FailedOperation.ImageNotBase"

	// 图片数据应为PNG格式。
	FAILEDOPERATION_IMAGENOTPNG = "FailedOperation.ImageNotPNG"

	// 报文不可包含以下字符 '%&<>。
	FAILEDOPERATION_MESSAGEDATAILLEGAL = "FailedOperation.MessageDataIllegal"

	// 报文数据长度过长。
	FAILEDOPERATION_MESSAGEDATAOVERSIZE = "FailedOperation.MessageDataOverSize"

	// 用户名称不能包含数字。
	FAILEDOPERATION_NAMECONTAINSNUMBER = "FailedOperation.NameContainsNumber"

	// 企业名称不能为纯数字。
	FAILEDOPERATION_NAMEISPURENUMBER = "FailedOperation.NameIsPureNumber"

	// 用户没有开通代签权限。
	FAILEDOPERATION_NOPERMISSIONTOSIGN = "FailedOperation.NoPermissionToSign"

	// 未经短信验证。
	FAILEDOPERATION_NOVERIFYERROR = "FailedOperation.NoVerifyError"

	// 偏移坐标超过最大偏移量,X轴/Y轴最大偏移量为50。
	FAILEDOPERATION_OFFSETCOORDOVERLIMITERROR = "FailedOperation.OffsetCoordOverLimitError"

	// 其它。
	FAILEDOPERATION_OTHER = "FailedOperation.Other"

	// 签名域对角坐标值不能重复。
	FAILEDOPERATION_REPEATEDCOORDINATE = "FailedOperation.RepeatedCoordinate"

	// 短信验证码已超时。
	FAILEDOPERATION_SMSCODEEXPIRED = "FailedOperation.SMSCodeExpired"

	// 短信校验码长度错误。
	FAILEDOPERATION_SMSCODELENGTHWRONG = "FailedOperation.SMSCodeLengthWrong"

	// 印章不匹配。
	FAILEDOPERATION_SEALMISMATCHED = "FailedOperation.SealMismatched"

	// 印章数超过上限。
	FAILEDOPERATION_SEALNUMOVERLIMIT = "FailedOperation.SealNumOverLimit"

	// 印章数量超出限制。
	FAILEDOPERATION_SEALSEXCEED = "FailedOperation.SealsExceed"

	// 发送签署验证码失败。
	FAILEDOPERATION_SENDVCODEERROR = "FailedOperation.SendVcodeError"

	// 按坐标签署合同失败。
	FAILEDOPERATION_SIGNCONTRACTBYCOORDINATEERROR = "FailedOperation.SignContractByCoordinateError"

	// 按关键字签署合同失败。
	FAILEDOPERATION_SIGNCONTRACTBYKEYWORDERROR = "FailedOperation.SignContractByKeywordError"

	// 根据关键字获得PDF签名域失败。
	FAILEDOPERATION_SIGNFIELDNOTFOUND = "FailedOperation.SignFieldNotFound"

	// 页数必须是自然数。
	FAILEDOPERATION_SIGNPAGEERROR = "FailedOperation.SignPageError"

	// 已经开通代签权限。
	FAILEDOPERATION_SIGNPERMISSIONEXISTED = "FailedOperation.SignPermissionExisted"

	// 经办人姓名格式错误,不能包含数字。
	FAILEDOPERATION_TRANSACTORNAMEFORMATERROR = "FailedOperation.TransactorNameFormatError"

	// 经办人手机号格式错误,必须为全数字。
	FAILEDOPERATION_TRANSACTORPHONEFORMATERROR = "FailedOperation.TransactorPhoneFormatError"

	// 更新计费状态错误。
	FAILEDOPERATION_UPDATEFEESTATUSERROR = "FailedOperation.UpdateFeeStatusError"

	// 已经开通代签权限。
	FAILEDOPERATION_VCODECHECKED = "FailedOperation.VcodeChecked"

	// 证书类型为不支持的类型。
	FAILEDOPERATION_WRONGCERTTYPE = "FailedOperation.WrongCertType"

	// 身份证号格式错误。
	FAILEDOPERATION_WRONGIDENTNOFORMAT = "FailedOperation.WrongIdentNoFormat"

	// 身份证号只能为15或18位字符。
	FAILEDOPERATION_WRONGIDENTNOSIZE = "FailedOperation.WrongIdentNoSize"

	// 短信验证码不正确。
	FAILEDOPERATION_WRONGSMSCODE = "FailedOperation.WrongSMSCode"

	// 内部错误。
	INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"

	// 合同名称不能为空。
	MISSINGPARAMETER_CONTRACTFILENAMEERROR = "MissingParameter.ContractFileNameError"

	// 合同文件路径不能为空。
	MISSINGPARAMETER_CONTRACTFILEPATHERROR = "MissingParameter.ContractFilePathError"

	// 签署关键字信息-签章图片宽度/高度不能为空。
	MISSINGPARAMETER_IMAGEMEASUREMENTNULLERROR = "MissingParameter.ImageMeasurementNullError"

	// 签署关键字信息-关键字不能为空。
	MISSINGPARAMETER_KEYWORDNULLERROR = "MissingParameter.KeywordNullError"

	// 授权IP地址不能为空。
	MISSINGPARAMETER_LOCATIONNULLERROR = "MissingParameter.LocationNullError"

	// 找不到 module 或 operation。
	MISSINGPARAMETER_MOERROR = "MissingParameter.MOError"

	// 签署关键字信息-偏移坐标不能为空。
	MISSINGPARAMETER_OFFSETCOORDNULLERROR = "MissingParameter.OffsetCoordNullError"

	// 签署人不能为空。
	MISSINGPARAMETER_SIGNERNULLERROR = "MissingParameter.SignerNullError"

	// 已经开过该账户。
	RESOURCEINUSE_ACCOUNTEXIST = "ResourceInUse.AccountExist"

	// 企业账户已存在。
	RESOURCEINUSE_ENTERPRISEACCOUNTALREADYEXIST = "ResourceInUse.EnterpriseAccountAlreadyExist"

	// 个人账户已存在。
	RESOURCEINUSE_PERSONACCOUNTALREADYEXIST = "ResourceInUse.PersonAccountAlreadyExist"

	// 账户不存在或已删除。
	RESOURCENOTFOUND_ACCOUNTNOTFOUND = "ResourceNotFound.AccountNotFound"

	// 合同ID不存在。
	RESOURCENOTFOUND_CONTRACTNOTFOUND = "ResourceNotFound.ContractNotFound"

	// 合同project_code不存在。
	RESOURCENOTFOUND_CONTRACTPROJECTCODENOTFOUND = "ResourceNotFound.ContractProjectCodeNotFound"

	// 合同发起方账号不存在。
	RESOURCENOTFOUND_INITIATORNOTFOUNDERROR = "ResourceNotFound.InitiatorNotFoundError"

	// 印章不存在。
	RESOURCENOTFOUND_SEALNOTFOUND = "ResourceNotFound.SealNotFound"

	// 子平台ID不存在。
	RESOURCENOTFOUND_SUBPLATIDNOTFOUND = "ResourceNotFound.SubplatIdNotFound"

	// 任务不存在。
	RESOURCENOTFOUND_TASKNOTFOUND = "ResourceNotFound.TaskNotFound"

	// 账户状态已冻结或已注销。
	RESOURCEUNAVAILABLE_ACCOUNTUNAVAILABLE = "ResourceUnavailable.AccountUnavailable"

	// 合同签署人不存在或状态异常,不能进行合同创建操作。
	RESOURCEUNAVAILABLE_CONTRACTSIGNERUNAVAILABLE = "ResourceUnavailable.ContractSignerUnavailable"

	// 下载签章文件失败,请确保路径正确。
	RESOURCEUNAVAILABLE_DOWNLOADSEALERROR = "ResourceUnavailable.DownloadSealError"

	// 子平台欠费。
	RESOURCEUNAVAILABLE_SUBPLATUNAVAILABLE = "ResourceUnavailable.SubplatUnavailable"
)
View Source
const APIVersion = "2018-05-23"

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckVcodeRequest

type CheckVcodeRequest struct {
	*tchttp.BaseRequest

	// 模块名VerifyCode
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名CheckVcode
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 帐号ID
	AccountResId *string `json:"AccountResId,omitempty" name:"AccountResId"`

	// 合同ID
	ContractResId *string `json:"ContractResId,omitempty" name:"ContractResId"`

	// 验证码
	VerifyCode *string `json:"VerifyCode,omitempty" name:"VerifyCode"`
}

func NewCheckVcodeRequest

func NewCheckVcodeRequest() (request *CheckVcodeRequest)

func (*CheckVcodeRequest) FromJsonString

func (r *CheckVcodeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CheckVcodeRequest) ToJsonString

func (r *CheckVcodeRequest) ToJsonString() string

type CheckVcodeRequestParams added in v1.0.426

type CheckVcodeRequestParams struct {
	// 模块名VerifyCode
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名CheckVcode
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 帐号ID
	AccountResId *string `json:"AccountResId,omitempty" name:"AccountResId"`

	// 合同ID
	ContractResId *string `json:"ContractResId,omitempty" name:"ContractResId"`

	// 验证码
	VerifyCode *string `json:"VerifyCode,omitempty" name:"VerifyCode"`
}

Predefined struct for user

type CheckVcodeResponse

type CheckVcodeResponse struct {
	*tchttp.BaseResponse
	Response *CheckVcodeResponseParams `json:"Response"`
}

func NewCheckVcodeResponse

func NewCheckVcodeResponse() (response *CheckVcodeResponse)

func (*CheckVcodeResponse) FromJsonString

func (r *CheckVcodeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CheckVcodeResponse) ToJsonString

func (r *CheckVcodeResponse) ToJsonString() string

type CheckVcodeResponseParams added in v1.0.426

type CheckVcodeResponseParams struct {
	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) CheckVcode

func (c *Client) CheckVcode(request *CheckVcodeRequest) (response *CheckVcodeResponse, err error)

CheckVcode 检测验证码接口。此接口用于企业电子合同平台通过给用户发送短信验证码,以短信授权方式签署合同。此接口配合发送验证码接口使用。

用户在企业电子合同平台输入收到的验证码后,由企业电子合同平台调用该接口向腾讯云提交确认受托签署合同验证码命令。验证码验证正确时,本次合同签署的授权成功。

可能返回的错误码:

FAILEDOPERATION_ACCOUNTNOTOWNCONTRACTERROR = "FailedOperation.AccountNotOwnContractError"
FAILEDOPERATION_BACKENDINTERFACERESPONSEHEADERERROR = "FailedOperation.BackendInterfaceResponseHeaderError"
FAILEDOPERATION_CHECKVCODEERROR = "FailedOperation.CheckVcodeError"
FAILEDOPERATION_CONTRACTSIGNEDERROR = "FailedOperation.ContractSignedError"
FAILEDOPERATION_DESCRIBESUBPLATERROR = "FailedOperation.DescribeSubplatError"
FAILEDOPERATION_OTHER = "FailedOperation.Other"
FAILEDOPERATION_SMSCODEEXPIRED = "FailedOperation.SMSCodeExpired"
FAILEDOPERATION_SMSCODELENGTHWRONG = "FailedOperation.SMSCodeLengthWrong"
FAILEDOPERATION_WRONGSMSCODE = "FailedOperation.WrongSMSCode"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
MISSINGPARAMETER_MOERROR = "MissingParameter.MOError"
RESOURCENOTFOUND_ACCOUNTNOTFOUND = "ResourceNotFound.AccountNotFound"
RESOURCENOTFOUND_CONTRACTPROJECTCODENOTFOUND = "ResourceNotFound.ContractProjectCodeNotFound"
RESOURCENOTFOUND_SUBPLATIDNOTFOUND = "ResourceNotFound.SubplatIdNotFound"

func (*Client) CheckVcodeWithContext added in v1.0.324

func (c *Client) CheckVcodeWithContext(ctx context.Context, request *CheckVcodeRequest) (response *CheckVcodeResponse, err error)

CheckVcode 检测验证码接口。此接口用于企业电子合同平台通过给用户发送短信验证码,以短信授权方式签署合同。此接口配合发送验证码接口使用。

用户在企业电子合同平台输入收到的验证码后,由企业电子合同平台调用该接口向腾讯云提交确认受托签署合同验证码命令。验证码验证正确时,本次合同签署的授权成功。

可能返回的错误码:

FAILEDOPERATION_ACCOUNTNOTOWNCONTRACTERROR = "FailedOperation.AccountNotOwnContractError"
FAILEDOPERATION_BACKENDINTERFACERESPONSEHEADERERROR = "FailedOperation.BackendInterfaceResponseHeaderError"
FAILEDOPERATION_CHECKVCODEERROR = "FailedOperation.CheckVcodeError"
FAILEDOPERATION_CONTRACTSIGNEDERROR = "FailedOperation.ContractSignedError"
FAILEDOPERATION_DESCRIBESUBPLATERROR = "FailedOperation.DescribeSubplatError"
FAILEDOPERATION_OTHER = "FailedOperation.Other"
FAILEDOPERATION_SMSCODEEXPIRED = "FailedOperation.SMSCodeExpired"
FAILEDOPERATION_SMSCODELENGTHWRONG = "FailedOperation.SMSCodeLengthWrong"
FAILEDOPERATION_WRONGSMSCODE = "FailedOperation.WrongSMSCode"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
MISSINGPARAMETER_MOERROR = "MissingParameter.MOError"
RESOURCENOTFOUND_ACCOUNTNOTFOUND = "ResourceNotFound.AccountNotFound"
RESOURCENOTFOUND_CONTRACTPROJECTCODENOTFOUND = "ResourceNotFound.ContractProjectCodeNotFound"
RESOURCENOTFOUND_SUBPLATIDNOTFOUND = "ResourceNotFound.SubplatIdNotFound"

func (*Client) CreateContractByUpload

func (c *Client) CreateContractByUpload(request *CreateContractByUploadRequest) (response *CreateContractByUploadResponse, err error)

CreateContractByUpload 此接口适用于:客户平台通过上传PDF文件作为合同,以备未来进行签署。接口返回任务号,可调用DescribeTaskStatus接口查看任务执行结果。

可能返回的错误码:

FAILEDOPERATION_AUTHORIZATIONTIMEERROR = "FailedOperation.AuthorizationTimeError"
FAILEDOPERATION_CREATECONTRACTERROR = "FailedOperation.CreateContractError"
FAILEDOPERATION_DESCRIBESUBPLATERROR = "FailedOperation.DescribeSubplatError"
FAILEDOPERATION_IPFORMATERROR = "FailedOperation.IPFormatError"
FAILEDOPERATION_OTHER = "FailedOperation.Other"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
MISSINGPARAMETER_CONTRACTFILENAMEERROR = "MissingParameter.ContractFileNameError"
MISSINGPARAMETER_CONTRACTFILEPATHERROR = "MissingParameter.ContractFilePathError"
MISSINGPARAMETER_LOCATIONNULLERROR = "MissingParameter.LocationNullError"
MISSINGPARAMETER_MOERROR = "MissingParameter.MOError"
MISSINGPARAMETER_SIGNERNULLERROR = "MissingParameter.SignerNullError"
RESOURCENOTFOUND_ACCOUNTNOTFOUND = "ResourceNotFound.AccountNotFound"
RESOURCENOTFOUND_INITIATORNOTFOUNDERROR = "ResourceNotFound.InitiatorNotFoundError"
RESOURCENOTFOUND_SUBPLATIDNOTFOUND = "ResourceNotFound.SubplatIdNotFound"
RESOURCEUNAVAILABLE_CONTRACTSIGNERUNAVAILABLE = "ResourceUnavailable.ContractSignerUnavailable"

func (*Client) CreateContractByUploadWithContext added in v1.0.324

func (c *Client) CreateContractByUploadWithContext(ctx context.Context, request *CreateContractByUploadRequest) (response *CreateContractByUploadResponse, err error)

CreateContractByUpload 此接口适用于:客户平台通过上传PDF文件作为合同,以备未来进行签署。接口返回任务号,可调用DescribeTaskStatus接口查看任务执行结果。

可能返回的错误码:

FAILEDOPERATION_AUTHORIZATIONTIMEERROR = "FailedOperation.AuthorizationTimeError"
FAILEDOPERATION_CREATECONTRACTERROR = "FailedOperation.CreateContractError"
FAILEDOPERATION_DESCRIBESUBPLATERROR = "FailedOperation.DescribeSubplatError"
FAILEDOPERATION_IPFORMATERROR = "FailedOperation.IPFormatError"
FAILEDOPERATION_OTHER = "FailedOperation.Other"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
MISSINGPARAMETER_CONTRACTFILENAMEERROR = "MissingParameter.ContractFileNameError"
MISSINGPARAMETER_CONTRACTFILEPATHERROR = "MissingParameter.ContractFilePathError"
MISSINGPARAMETER_LOCATIONNULLERROR = "MissingParameter.LocationNullError"
MISSINGPARAMETER_MOERROR = "MissingParameter.MOError"
MISSINGPARAMETER_SIGNERNULLERROR = "MissingParameter.SignerNullError"
RESOURCENOTFOUND_ACCOUNTNOTFOUND = "ResourceNotFound.AccountNotFound"
RESOURCENOTFOUND_INITIATORNOTFOUNDERROR = "ResourceNotFound.InitiatorNotFoundError"
RESOURCENOTFOUND_SUBPLATIDNOTFOUND = "ResourceNotFound.SubplatIdNotFound"
RESOURCEUNAVAILABLE_CONTRACTSIGNERUNAVAILABLE = "ResourceUnavailable.ContractSignerUnavailable"

func (*Client) CreateEnterpriseAccount

func (c *Client) CreateEnterpriseAccount(request *CreateEnterpriseAccountRequest) (response *CreateEnterpriseAccountResponse, err error)

CreateEnterpriseAccount 为企业电子合同平台的最终企业用户进行开户。在企业电子合同平台进行操作的企业用户,企业电子合同平台向腾讯云发送企业用户的信息,提交开户命令。腾讯云接到请求后,自动为企业电子合同平台的企业用户生成一张数字证书。

可能返回的错误码:

FAILEDOPERATION_BACKENDINTERFACEERROR = "FailedOperation.BackendInterfaceError"
FAILEDOPERATION_BACKENDINTERFACERESPONSECONTENTERROR = "FailedOperation.BackendInterfaceResponseContentError"
FAILEDOPERATION_BACKENDINTERFACERESPONSEHEADERERROR = "FailedOperation.BackendInterfaceResponseHeaderError"
FAILEDOPERATION_CREATEENTERPRISEACCOUNTERROR = "FailedOperation.CreateEnterpriseAccountError"
FAILEDOPERATION_ENTERPRISENAMEFORMATERROR = "FailedOperation.EnterpriseNameFormatError"
FAILEDOPERATION_IDENTNOFORMATERROR = "FailedOperation.IdentNoFormatError"
FAILEDOPERATION_IDENTTYPEERROR = "FailedOperation.IdentTypeError"
FAILEDOPERATION_MESSAGEDATAILLEGAL = "FailedOperation.MessageDataIllegal"
FAILEDOPERATION_NAMEISPURENUMBER = "FailedOperation.NameIsPureNumber"
FAILEDOPERATION_OTHER = "FailedOperation.Other"
FAILEDOPERATION_TRANSACTORNAMEFORMATERROR = "FailedOperation.TransactorNameFormatError"
FAILEDOPERATION_TRANSACTORPHONEFORMATERROR = "FailedOperation.TransactorPhoneFormatError"
FAILEDOPERATION_WRONGIDENTNOFORMAT = "FailedOperation.WrongIdentNoFormat"
FAILEDOPERATION_WRONGIDENTNOSIZE = "FailedOperation.WrongIdentNoSize"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
MISSINGPARAMETER_MOERROR = "MissingParameter.MOError"
RESOURCEINUSE_ACCOUNTEXIST = "ResourceInUse.AccountExist"
RESOURCEINUSE_ENTERPRISEACCOUNTALREADYEXIST = "ResourceInUse.EnterpriseAccountAlreadyExist"
RESOURCENOTFOUND_SUBPLATIDNOTFOUND = "ResourceNotFound.SubplatIdNotFound"

func (*Client) CreateEnterpriseAccountWithContext added in v1.0.324

func (c *Client) CreateEnterpriseAccountWithContext(ctx context.Context, request *CreateEnterpriseAccountRequest) (response *CreateEnterpriseAccountResponse, err error)

CreateEnterpriseAccount 为企业电子合同平台的最终企业用户进行开户。在企业电子合同平台进行操作的企业用户,企业电子合同平台向腾讯云发送企业用户的信息,提交开户命令。腾讯云接到请求后,自动为企业电子合同平台的企业用户生成一张数字证书。

可能返回的错误码:

FAILEDOPERATION_BACKENDINTERFACEERROR = "FailedOperation.BackendInterfaceError"
FAILEDOPERATION_BACKENDINTERFACERESPONSECONTENTERROR = "FailedOperation.BackendInterfaceResponseContentError"
FAILEDOPERATION_BACKENDINTERFACERESPONSEHEADERERROR = "FailedOperation.BackendInterfaceResponseHeaderError"
FAILEDOPERATION_CREATEENTERPRISEACCOUNTERROR = "FailedOperation.CreateEnterpriseAccountError"
FAILEDOPERATION_ENTERPRISENAMEFORMATERROR = "FailedOperation.EnterpriseNameFormatError"
FAILEDOPERATION_IDENTNOFORMATERROR = "FailedOperation.IdentNoFormatError"
FAILEDOPERATION_IDENTTYPEERROR = "FailedOperation.IdentTypeError"
FAILEDOPERATION_MESSAGEDATAILLEGAL = "FailedOperation.MessageDataIllegal"
FAILEDOPERATION_NAMEISPURENUMBER = "FailedOperation.NameIsPureNumber"
FAILEDOPERATION_OTHER = "FailedOperation.Other"
FAILEDOPERATION_TRANSACTORNAMEFORMATERROR = "FailedOperation.TransactorNameFormatError"
FAILEDOPERATION_TRANSACTORPHONEFORMATERROR = "FailedOperation.TransactorPhoneFormatError"
FAILEDOPERATION_WRONGIDENTNOFORMAT = "FailedOperation.WrongIdentNoFormat"
FAILEDOPERATION_WRONGIDENTNOSIZE = "FailedOperation.WrongIdentNoSize"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
MISSINGPARAMETER_MOERROR = "MissingParameter.MOError"
RESOURCEINUSE_ACCOUNTEXIST = "ResourceInUse.AccountExist"
RESOURCEINUSE_ENTERPRISEACCOUNTALREADYEXIST = "ResourceInUse.EnterpriseAccountAlreadyExist"
RESOURCENOTFOUND_SUBPLATIDNOTFOUND = "ResourceNotFound.SubplatIdNotFound"

func (*Client) CreatePersonalAccount

func (c *Client) CreatePersonalAccount(request *CreatePersonalAccountRequest) (response *CreatePersonalAccountResponse, err error)

CreatePersonalAccount 为企业电子合同平台的最终个人用户进行开户。在企业电子合同平台进行操作的个人用户,企业电子合同平台向腾讯云发送个人用户的信息,提交开户命令。腾讯云接到请求后,自动为企业电子合同平台的个人用户生成一张数字证书。

可能返回的错误码:

FAILEDOPERATION_BACKENDINTERFACEERROR = "FailedOperation.BackendInterfaceError"
FAILEDOPERATION_BACKENDINTERFACERESPONSECONTENTERROR = "FailedOperation.BackendInterfaceResponseContentError"
FAILEDOPERATION_BACKENDINTERFACERESPONSEHEADERERROR = "FailedOperation.BackendInterfaceResponseHeaderError"
FAILEDOPERATION_CREATEPERSONALACCOUNTERROR = "FailedOperation.CreatePersonalAccountError"
FAILEDOPERATION_DESCRIBESUBPLATERROR = "FailedOperation.DescribeSubplatError"
FAILEDOPERATION_IDENTNOFORMATERROR = "FailedOperation.IdentNoFormatError"
FAILEDOPERATION_IDENTTYPEERROR = "FailedOperation.IdentTypeError"
FAILEDOPERATION_NAMECONTAINSNUMBER = "FailedOperation.NameContainsNumber"
FAILEDOPERATION_OTHER = "FailedOperation.Other"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
MISSINGPARAMETER_MOERROR = "MissingParameter.MOError"
RESOURCEINUSE_ACCOUNTEXIST = "ResourceInUse.AccountExist"
RESOURCEINUSE_PERSONACCOUNTALREADYEXIST = "ResourceInUse.PersonAccountAlreadyExist"
RESOURCENOTFOUND_SUBPLATIDNOTFOUND = "ResourceNotFound.SubplatIdNotFound"

func (*Client) CreatePersonalAccountWithContext added in v1.0.324

func (c *Client) CreatePersonalAccountWithContext(ctx context.Context, request *CreatePersonalAccountRequest) (response *CreatePersonalAccountResponse, err error)

CreatePersonalAccount 为企业电子合同平台的最终个人用户进行开户。在企业电子合同平台进行操作的个人用户,企业电子合同平台向腾讯云发送个人用户的信息,提交开户命令。腾讯云接到请求后,自动为企业电子合同平台的个人用户生成一张数字证书。

可能返回的错误码:

FAILEDOPERATION_BACKENDINTERFACEERROR = "FailedOperation.BackendInterfaceError"
FAILEDOPERATION_BACKENDINTERFACERESPONSECONTENTERROR = "FailedOperation.BackendInterfaceResponseContentError"
FAILEDOPERATION_BACKENDINTERFACERESPONSEHEADERERROR = "FailedOperation.BackendInterfaceResponseHeaderError"
FAILEDOPERATION_CREATEPERSONALACCOUNTERROR = "FailedOperation.CreatePersonalAccountError"
FAILEDOPERATION_DESCRIBESUBPLATERROR = "FailedOperation.DescribeSubplatError"
FAILEDOPERATION_IDENTNOFORMATERROR = "FailedOperation.IdentNoFormatError"
FAILEDOPERATION_IDENTTYPEERROR = "FailedOperation.IdentTypeError"
FAILEDOPERATION_NAMECONTAINSNUMBER = "FailedOperation.NameContainsNumber"
FAILEDOPERATION_OTHER = "FailedOperation.Other"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
MISSINGPARAMETER_MOERROR = "MissingParameter.MOError"
RESOURCEINUSE_ACCOUNTEXIST = "ResourceInUse.AccountExist"
RESOURCEINUSE_PERSONACCOUNTALREADYEXIST = "ResourceInUse.PersonAccountAlreadyExist"
RESOURCENOTFOUND_SUBPLATIDNOTFOUND = "ResourceNotFound.SubplatIdNotFound"

func (*Client) CreateSeal

func (c *Client) CreateSeal(request *CreateSealRequest) (response *CreateSealResponse, err error)

CreateSeal 此接口用于客户电子合同平台增加某用户的印章图片。客户平台可以调用此接口增加某用户的印章图片。

可能返回的错误码:

FAILEDOPERATION_BACKENDINTERFACEERROR = "FailedOperation.BackendInterfaceError"
FAILEDOPERATION_BACKENDINTERFACERESPONSECONTENTERROR = "FailedOperation.BackendInterfaceResponseContentError"
FAILEDOPERATION_BACKENDINTERFACERESPONSEHEADERERROR = "FailedOperation.BackendInterfaceResponseHeaderError"
FAILEDOPERATION_CREATESEALERROR = "FailedOperation.CreateSealError"
FAILEDOPERATION_DESCRIBESUBPLATERROR = "FailedOperation.DescribeSubplatError"
FAILEDOPERATION_DOWNLOADSEALERROR = "FailedOperation.DownloadSealError"
FAILEDOPERATION_IMAGENOTPNG = "FailedOperation.ImageNotPNG"
FAILEDOPERATION_MESSAGEDATAOVERSIZE = "FailedOperation.MessageDataOverSize"
FAILEDOPERATION_OTHER = "FailedOperation.Other"
FAILEDOPERATION_SEALNUMOVERLIMIT = "FailedOperation.SealNumOverLimit"
FAILEDOPERATION_SEALSEXCEED = "FailedOperation.SealsExceed"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
MISSINGPARAMETER_MOERROR = "MissingParameter.MOError"
RESOURCENOTFOUND_ACCOUNTNOTFOUND = "ResourceNotFound.AccountNotFound"
RESOURCENOTFOUND_SUBPLATIDNOTFOUND = "ResourceNotFound.SubplatIdNotFound"
RESOURCEUNAVAILABLE_ACCOUNTUNAVAILABLE = "ResourceUnavailable.AccountUnavailable"
RESOURCEUNAVAILABLE_DOWNLOADSEALERROR = "ResourceUnavailable.DownloadSealError"

func (*Client) CreateSealWithContext added in v1.0.324

func (c *Client) CreateSealWithContext(ctx context.Context, request *CreateSealRequest) (response *CreateSealResponse, err error)

CreateSeal 此接口用于客户电子合同平台增加某用户的印章图片。客户平台可以调用此接口增加某用户的印章图片。

可能返回的错误码:

FAILEDOPERATION_BACKENDINTERFACEERROR = "FailedOperation.BackendInterfaceError"
FAILEDOPERATION_BACKENDINTERFACERESPONSECONTENTERROR = "FailedOperation.BackendInterfaceResponseContentError"
FAILEDOPERATION_BACKENDINTERFACERESPONSEHEADERERROR = "FailedOperation.BackendInterfaceResponseHeaderError"
FAILEDOPERATION_CREATESEALERROR = "FailedOperation.CreateSealError"
FAILEDOPERATION_DESCRIBESUBPLATERROR = "FailedOperation.DescribeSubplatError"
FAILEDOPERATION_DOWNLOADSEALERROR = "FailedOperation.DownloadSealError"
FAILEDOPERATION_IMAGENOTPNG = "FailedOperation.ImageNotPNG"
FAILEDOPERATION_MESSAGEDATAOVERSIZE = "FailedOperation.MessageDataOverSize"
FAILEDOPERATION_OTHER = "FailedOperation.Other"
FAILEDOPERATION_SEALNUMOVERLIMIT = "FailedOperation.SealNumOverLimit"
FAILEDOPERATION_SEALSEXCEED = "FailedOperation.SealsExceed"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
MISSINGPARAMETER_MOERROR = "MissingParameter.MOError"
RESOURCENOTFOUND_ACCOUNTNOTFOUND = "ResourceNotFound.AccountNotFound"
RESOURCENOTFOUND_SUBPLATIDNOTFOUND = "ResourceNotFound.SubplatIdNotFound"
RESOURCEUNAVAILABLE_ACCOUNTUNAVAILABLE = "ResourceUnavailable.AccountUnavailable"
RESOURCEUNAVAILABLE_DOWNLOADSEALERROR = "ResourceUnavailable.DownloadSealError"

func (*Client) DeleteAccount

func (c *Client) DeleteAccount(request *DeleteAccountRequest) (response *DeleteAccountResponse, err error)

DeleteAccount 删除企业电子合同平台的最终用户。调用该接口后,腾讯云将删除该用户账号。删除账号后,已经签名的合同不受影响。

可能返回的错误码:

FAILEDOPERATION_DELETEACCOUNTERROR = "FailedOperation.DeleteAccountError"
FAILEDOPERATION_DESCRIBESUBPLATERROR = "FailedOperation.DescribeSubplatError"
FAILEDOPERATION_FIRSTENTERPRISEACCOUNTDELETEERROR = "FailedOperation.FirstEnterpriseAccountDeleteError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
MISSINGPARAMETER_MOERROR = "MissingParameter.MOError"
RESOURCENOTFOUND_ACCOUNTNOTFOUND = "ResourceNotFound.AccountNotFound"
RESOURCENOTFOUND_SUBPLATIDNOTFOUND = "ResourceNotFound.SubplatIdNotFound"

func (*Client) DeleteAccountWithContext added in v1.0.324

func (c *Client) DeleteAccountWithContext(ctx context.Context, request *DeleteAccountRequest) (response *DeleteAccountResponse, err error)

DeleteAccount 删除企业电子合同平台的最终用户。调用该接口后,腾讯云将删除该用户账号。删除账号后,已经签名的合同不受影响。

可能返回的错误码:

FAILEDOPERATION_DELETEACCOUNTERROR = "FailedOperation.DeleteAccountError"
FAILEDOPERATION_DESCRIBESUBPLATERROR = "FailedOperation.DescribeSubplatError"
FAILEDOPERATION_FIRSTENTERPRISEACCOUNTDELETEERROR = "FailedOperation.FirstEnterpriseAccountDeleteError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
MISSINGPARAMETER_MOERROR = "MissingParameter.MOError"
RESOURCENOTFOUND_ACCOUNTNOTFOUND = "ResourceNotFound.AccountNotFound"
RESOURCENOTFOUND_SUBPLATIDNOTFOUND = "ResourceNotFound.SubplatIdNotFound"

func (*Client) DeleteSeal

func (c *Client) DeleteSeal(request *DeleteSealRequest) (response *DeleteSealResponse, err error)

DeleteSeal 删除印章接口,删除指定账号的某个印章

可能返回的错误码:

FAILEDOPERATION_BACKENDINTERFACEERROR = "FailedOperation.BackendInterfaceError"
FAILEDOPERATION_BACKENDINTERFACERESPONSEHEADERERROR = "FailedOperation.BackendInterfaceResponseHeaderError"
FAILEDOPERATION_DELETESEALERROR = "FailedOperation.DeleteSealError"
FAILEDOPERATION_DESCRIBESUBPLATERROR = "FailedOperation.DescribeSubplatError"
FAILEDOPERATION_OTHER = "FailedOperation.Other"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
MISSINGPARAMETER_MOERROR = "MissingParameter.MOError"
RESOURCENOTFOUND_ACCOUNTNOTFOUND = "ResourceNotFound.AccountNotFound"
RESOURCENOTFOUND_SEALNOTFOUND = "ResourceNotFound.SealNotFound"
RESOURCENOTFOUND_SUBPLATIDNOTFOUND = "ResourceNotFound.SubplatIdNotFound"
RESOURCEUNAVAILABLE_ACCOUNTUNAVAILABLE = "ResourceUnavailable.AccountUnavailable"

func (*Client) DeleteSealWithContext added in v1.0.324

func (c *Client) DeleteSealWithContext(ctx context.Context, request *DeleteSealRequest) (response *DeleteSealResponse, err error)

DeleteSeal 删除印章接口,删除指定账号的某个印章

可能返回的错误码:

FAILEDOPERATION_BACKENDINTERFACEERROR = "FailedOperation.BackendInterfaceError"
FAILEDOPERATION_BACKENDINTERFACERESPONSEHEADERERROR = "FailedOperation.BackendInterfaceResponseHeaderError"
FAILEDOPERATION_DELETESEALERROR = "FailedOperation.DeleteSealError"
FAILEDOPERATION_DESCRIBESUBPLATERROR = "FailedOperation.DescribeSubplatError"
FAILEDOPERATION_OTHER = "FailedOperation.Other"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
MISSINGPARAMETER_MOERROR = "MissingParameter.MOError"
RESOURCENOTFOUND_ACCOUNTNOTFOUND = "ResourceNotFound.AccountNotFound"
RESOURCENOTFOUND_SEALNOTFOUND = "ResourceNotFound.SealNotFound"
RESOURCENOTFOUND_SUBPLATIDNOTFOUND = "ResourceNotFound.SubplatIdNotFound"
RESOURCEUNAVAILABLE_ACCOUNTUNAVAILABLE = "ResourceUnavailable.AccountUnavailable"

func (*Client) DescribeTaskStatus

func (c *Client) DescribeTaskStatus(request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)

DescribeTaskStatus 接口使用于:客户平台可使用该接口查询任务执行状态或者执行结果

可能返回的错误码:

FAILEDOPERATION_DESCRIBESUBPLATERROR = "FailedOperation.DescribeSubplatError"
FAILEDOPERATION_DESCRIBETASKSTATUSERROR = "FailedOperation.DescribeTaskStatusError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
MISSINGPARAMETER_MOERROR = "MissingParameter.MOError"
RESOURCENOTFOUND_SUBPLATIDNOTFOUND = "ResourceNotFound.SubplatIdNotFound"
RESOURCENOTFOUND_TASKNOTFOUND = "ResourceNotFound.TaskNotFound"

func (*Client) DescribeTaskStatusWithContext added in v1.0.324

func (c *Client) DescribeTaskStatusWithContext(ctx context.Context, request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)

DescribeTaskStatus 接口使用于:客户平台可使用该接口查询任务执行状态或者执行结果

可能返回的错误码:

FAILEDOPERATION_DESCRIBESUBPLATERROR = "FailedOperation.DescribeSubplatError"
FAILEDOPERATION_DESCRIBETASKSTATUSERROR = "FailedOperation.DescribeTaskStatusError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
MISSINGPARAMETER_MOERROR = "MissingParameter.MOError"
RESOURCENOTFOUND_SUBPLATIDNOTFOUND = "ResourceNotFound.SubplatIdNotFound"
RESOURCENOTFOUND_TASKNOTFOUND = "ResourceNotFound.TaskNotFound"

func (*Client) DownloadContract

func (c *Client) DownloadContract(request *DownloadContractRequest) (response *DownloadContractResponse, err error)

DownloadContract 下载合同接口。调用该接口可以下载签署中和签署完成的合同。接口返回任务号,可调用DescribeTaskStatus接口查看任务执行结果。

可能返回的错误码:

FAILEDOPERATION_BACKENDINTERFACEERROR = "FailedOperation.BackendInterfaceError"
FAILEDOPERATION_DESCRIBESUBPLATERROR = "FailedOperation.DescribeSubplatError"
FAILEDOPERATION_OTHER = "FailedOperation.Other"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
MISSINGPARAMETER_MOERROR = "MissingParameter.MOError"
RESOURCENOTFOUND_CONTRACTNOTFOUND = "ResourceNotFound.ContractNotFound"
RESOURCENOTFOUND_SUBPLATIDNOTFOUND = "ResourceNotFound.SubplatIdNotFound"

func (*Client) DownloadContractWithContext added in v1.0.324

func (c *Client) DownloadContractWithContext(ctx context.Context, request *DownloadContractRequest) (response *DownloadContractResponse, err error)

DownloadContract 下载合同接口。调用该接口可以下载签署中和签署完成的合同。接口返回任务号,可调用DescribeTaskStatus接口查看任务执行结果。

可能返回的错误码:

FAILEDOPERATION_BACKENDINTERFACEERROR = "FailedOperation.BackendInterfaceError"
FAILEDOPERATION_DESCRIBESUBPLATERROR = "FailedOperation.DescribeSubplatError"
FAILEDOPERATION_OTHER = "FailedOperation.Other"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
MISSINGPARAMETER_MOERROR = "MissingParameter.MOError"
RESOURCENOTFOUND_CONTRACTNOTFOUND = "ResourceNotFound.ContractNotFound"
RESOURCENOTFOUND_SUBPLATIDNOTFOUND = "ResourceNotFound.SubplatIdNotFound"

func (*Client) SendVcode

func (c *Client) SendVcode(request *SendVcodeRequest) (response *SendVcodeResponse, err error)

SendVcode 发送验证码接口。此接口用于:企业电子合同平台需要腾讯云发送验证码对其用户进行验证时调用,腾讯云将向其用户联系手机(企业电子合同平台为用户开户时通过接口传入)发送验证码,以验证码授权方式签署合同。用户验证工作由企业电子合同平台自身完成。

可能返回的错误码:

FAILEDOPERATION_ACCOUNTNOTOWNCONTRACTERROR = "FailedOperation.AccountNotOwnContractError"
FAILEDOPERATION_BACKENDINTERFACERESPONSEHEADERERROR = "FailedOperation.BackendInterfaceResponseHeaderError"
FAILEDOPERATION_CONTRACTSIGNEDERROR = "FailedOperation.ContractSignedError"
FAILEDOPERATION_COSTACCOUNTERROR = "FailedOperation.CostAccountError"
FAILEDOPERATION_DESCRIBESUBPLATERROR = "FailedOperation.DescribeSubplatError"
FAILEDOPERATION_OTHER = "FailedOperation.Other"
FAILEDOPERATION_SENDVCODEERROR = "FailedOperation.SendVcodeError"
FAILEDOPERATION_SIGNPERMISSIONEXISTED = "FailedOperation.SignPermissionExisted"
FAILEDOPERATION_VCODECHECKED = "FailedOperation.VcodeChecked"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
MISSINGPARAMETER_MOERROR = "MissingParameter.MOError"
RESOURCENOTFOUND_ACCOUNTNOTFOUND = "ResourceNotFound.AccountNotFound"
RESOURCENOTFOUND_CONTRACTPROJECTCODENOTFOUND = "ResourceNotFound.ContractProjectCodeNotFound"
RESOURCENOTFOUND_SUBPLATIDNOTFOUND = "ResourceNotFound.SubplatIdNotFound"

func (*Client) SendVcodeWithContext added in v1.0.324

func (c *Client) SendVcodeWithContext(ctx context.Context, request *SendVcodeRequest) (response *SendVcodeResponse, err error)

SendVcode 发送验证码接口。此接口用于:企业电子合同平台需要腾讯云发送验证码对其用户进行验证时调用,腾讯云将向其用户联系手机(企业电子合同平台为用户开户时通过接口传入)发送验证码,以验证码授权方式签署合同。用户验证工作由企业电子合同平台自身完成。

可能返回的错误码:

FAILEDOPERATION_ACCOUNTNOTOWNCONTRACTERROR = "FailedOperation.AccountNotOwnContractError"
FAILEDOPERATION_BACKENDINTERFACERESPONSEHEADERERROR = "FailedOperation.BackendInterfaceResponseHeaderError"
FAILEDOPERATION_CONTRACTSIGNEDERROR = "FailedOperation.ContractSignedError"
FAILEDOPERATION_COSTACCOUNTERROR = "FailedOperation.CostAccountError"
FAILEDOPERATION_DESCRIBESUBPLATERROR = "FailedOperation.DescribeSubplatError"
FAILEDOPERATION_OTHER = "FailedOperation.Other"
FAILEDOPERATION_SENDVCODEERROR = "FailedOperation.SendVcodeError"
FAILEDOPERATION_SIGNPERMISSIONEXISTED = "FailedOperation.SignPermissionExisted"
FAILEDOPERATION_VCODECHECKED = "FailedOperation.VcodeChecked"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
MISSINGPARAMETER_MOERROR = "MissingParameter.MOError"
RESOURCENOTFOUND_ACCOUNTNOTFOUND = "ResourceNotFound.AccountNotFound"
RESOURCENOTFOUND_CONTRACTPROJECTCODENOTFOUND = "ResourceNotFound.ContractProjectCodeNotFound"
RESOURCENOTFOUND_SUBPLATIDNOTFOUND = "ResourceNotFound.SubplatIdNotFound"

func (*Client) SignContractByCoordinate

func (c *Client) SignContractByCoordinate(request *SignContractByCoordinateRequest) (response *SignContractByCoordinateResponse, err error)

SignContractByCoordinate 此接口适用于:客户平台在创建好合同后,由合同签署方对创建的合同内容进行确认,无误后再进行签署。客户平台使用该接口提供详细的PDF文档签名坐标进行签署。

可能返回的错误码:

FAILEDOPERATION_ACCOUNTNOTOWNCONTRACTERROR = "FailedOperation.AccountNotOwnContractError"
FAILEDOPERATION_AUTHORIZATIONTIMEERROR = "FailedOperation.AuthorizationTimeError"
FAILEDOPERATION_CERTTYPEERROR = "FailedOperation.CertTypeError"
FAILEDOPERATION_CONTRACTEXPIRED = "FailedOperation.ContractExpired"
FAILEDOPERATION_CONTRACTSIGNEDERROR = "FailedOperation.ContractSignedError"
FAILEDOPERATION_COORDINATEERROR = "FailedOperation.CoordinateError"
FAILEDOPERATION_COORDINATEOUTSIDEPDF = "FailedOperation.CoordinateOutsidePDF"
FAILEDOPERATION_COSTACCOUNTERROR = "FailedOperation.CostAccountError"
FAILEDOPERATION_DESCRIBESUBPLATERROR = "FailedOperation.DescribeSubplatError"
FAILEDOPERATION_GETPDFSIZEFAILED = "FailedOperation.GetPDFSizeFailed"
FAILEDOPERATION_IPFORMATERROR = "FailedOperation.IPFormatError"
FAILEDOPERATION_IMAGENOTBASE = "FailedOperation.ImageNotBase"
FAILEDOPERATION_MESSAGEDATAOVERSIZE = "FailedOperation.MessageDataOverSize"
FAILEDOPERATION_NOPERMISSIONTOSIGN = "FailedOperation.NoPermissionToSign"
FAILEDOPERATION_NOVERIFYERROR = "FailedOperation.NoVerifyError"
FAILEDOPERATION_OTHER = "FailedOperation.Other"
FAILEDOPERATION_REPEATEDCOORDINATE = "FailedOperation.RepeatedCoordinate"
FAILEDOPERATION_SEALMISMATCHED = "FailedOperation.SealMismatched"
FAILEDOPERATION_SIGNCONTRACTBYCOORDINATEERROR = "FailedOperation.SignContractByCoordinateError"
FAILEDOPERATION_SIGNPAGEERROR = "FailedOperation.SignPageError"
FAILEDOPERATION_UPDATEFEESTATUSERROR = "FailedOperation.UpdateFeeStatusError"
FAILEDOPERATION_WRONGCERTTYPE = "FailedOperation.WrongCertType"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
MISSINGPARAMETER_MOERROR = "MissingParameter.MOError"
RESOURCENOTFOUND_SUBPLATIDNOTFOUND = "ResourceNotFound.SubplatIdNotFound"
RESOURCEUNAVAILABLE_SUBPLATUNAVAILABLE = "ResourceUnavailable.SubplatUnavailable"

func (*Client) SignContractByCoordinateWithContext added in v1.0.324

func (c *Client) SignContractByCoordinateWithContext(ctx context.Context, request *SignContractByCoordinateRequest) (response *SignContractByCoordinateResponse, err error)

SignContractByCoordinate 此接口适用于:客户平台在创建好合同后,由合同签署方对创建的合同内容进行确认,无误后再进行签署。客户平台使用该接口提供详细的PDF文档签名坐标进行签署。

可能返回的错误码:

FAILEDOPERATION_ACCOUNTNOTOWNCONTRACTERROR = "FailedOperation.AccountNotOwnContractError"
FAILEDOPERATION_AUTHORIZATIONTIMEERROR = "FailedOperation.AuthorizationTimeError"
FAILEDOPERATION_CERTTYPEERROR = "FailedOperation.CertTypeError"
FAILEDOPERATION_CONTRACTEXPIRED = "FailedOperation.ContractExpired"
FAILEDOPERATION_CONTRACTSIGNEDERROR = "FailedOperation.ContractSignedError"
FAILEDOPERATION_COORDINATEERROR = "FailedOperation.CoordinateError"
FAILEDOPERATION_COORDINATEOUTSIDEPDF = "FailedOperation.CoordinateOutsidePDF"
FAILEDOPERATION_COSTACCOUNTERROR = "FailedOperation.CostAccountError"
FAILEDOPERATION_DESCRIBESUBPLATERROR = "FailedOperation.DescribeSubplatError"
FAILEDOPERATION_GETPDFSIZEFAILED = "FailedOperation.GetPDFSizeFailed"
FAILEDOPERATION_IPFORMATERROR = "FailedOperation.IPFormatError"
FAILEDOPERATION_IMAGENOTBASE = "FailedOperation.ImageNotBase"
FAILEDOPERATION_MESSAGEDATAOVERSIZE = "FailedOperation.MessageDataOverSize"
FAILEDOPERATION_NOPERMISSIONTOSIGN = "FailedOperation.NoPermissionToSign"
FAILEDOPERATION_NOVERIFYERROR = "FailedOperation.NoVerifyError"
FAILEDOPERATION_OTHER = "FailedOperation.Other"
FAILEDOPERATION_REPEATEDCOORDINATE = "FailedOperation.RepeatedCoordinate"
FAILEDOPERATION_SEALMISMATCHED = "FailedOperation.SealMismatched"
FAILEDOPERATION_SIGNCONTRACTBYCOORDINATEERROR = "FailedOperation.SignContractByCoordinateError"
FAILEDOPERATION_SIGNPAGEERROR = "FailedOperation.SignPageError"
FAILEDOPERATION_UPDATEFEESTATUSERROR = "FailedOperation.UpdateFeeStatusError"
FAILEDOPERATION_WRONGCERTTYPE = "FailedOperation.WrongCertType"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
MISSINGPARAMETER_MOERROR = "MissingParameter.MOError"
RESOURCENOTFOUND_SUBPLATIDNOTFOUND = "ResourceNotFound.SubplatIdNotFound"
RESOURCEUNAVAILABLE_SUBPLATUNAVAILABLE = "ResourceUnavailable.SubplatUnavailable"

func (*Client) SignContractByKeyword

func (c *Client) SignContractByKeyword(request *SignContractByKeywordRequest) (response *SignContractByKeywordResponse, err error)

SignContractByKeyword 此接口适用于:客户平台在创建好合同后,由合同签署方对创建的合同内容进行确认,无误后再进行签署。客户平台使用该接口对PDF合同文档按照关键字和坐标进行签署。

可能返回的错误码:

FAILEDOPERATION_ACCOUNTNOTOWNCONTRACTERROR = "FailedOperation.AccountNotOwnContractError"
FAILEDOPERATION_AUTHORIZATIONTIMEERROR = "FailedOperation.AuthorizationTimeError"
FAILEDOPERATION_CERTTYPEERROR = "FailedOperation.CertTypeError"
FAILEDOPERATION_CONTRACTEXPIRED = "FailedOperation.ContractExpired"
FAILEDOPERATION_CONTRACTSIGNEDERROR = "FailedOperation.ContractSignedError"
FAILEDOPERATION_COSTACCOUNTERROR = "FailedOperation.CostAccountError"
FAILEDOPERATION_DESCRIBESUBPLATERROR = "FailedOperation.DescribeSubplatError"
FAILEDOPERATION_FORMATERROR = "FailedOperation.FormatError"
FAILEDOPERATION_IPFORMATERROR = "FailedOperation.IPFormatError"
FAILEDOPERATION_IMAGEMEASUREMENTOVERLIMITERROR = "FailedOperation.ImageMeasurementOverLimitError"
FAILEDOPERATION_NOPERMISSIONTOSIGN = "FailedOperation.NoPermissionToSign"
FAILEDOPERATION_NOVERIFYERROR = "FailedOperation.NoVerifyError"
FAILEDOPERATION_OFFSETCOORDOVERLIMITERROR = "FailedOperation.OffsetCoordOverLimitError"
FAILEDOPERATION_OTHER = "FailedOperation.Other"
FAILEDOPERATION_SEALMISMATCHED = "FailedOperation.SealMismatched"
FAILEDOPERATION_SIGNCONTRACTBYKEYWORDERROR = "FailedOperation.SignContractByKeywordError"
FAILEDOPERATION_SIGNFIELDNOTFOUND = "FailedOperation.SignFieldNotFound"
FAILEDOPERATION_UPDATEFEESTATUSERROR = "FailedOperation.UpdateFeeStatusError"
FAILEDOPERATION_WRONGCERTTYPE = "FailedOperation.WrongCertType"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
MISSINGPARAMETER_IMAGEMEASUREMENTNULLERROR = "MissingParameter.ImageMeasurementNullError"
MISSINGPARAMETER_KEYWORDNULLERROR = "MissingParameter.KeywordNullError"
MISSINGPARAMETER_MOERROR = "MissingParameter.MOError"
MISSINGPARAMETER_OFFSETCOORDNULLERROR = "MissingParameter.OffsetCoordNullError"
RESOURCENOTFOUND_SUBPLATIDNOTFOUND = "ResourceNotFound.SubplatIdNotFound"
RESOURCEUNAVAILABLE_SUBPLATUNAVAILABLE = "ResourceUnavailable.SubplatUnavailable"

func (*Client) SignContractByKeywordWithContext added in v1.0.324

func (c *Client) SignContractByKeywordWithContext(ctx context.Context, request *SignContractByKeywordRequest) (response *SignContractByKeywordResponse, err error)

SignContractByKeyword 此接口适用于:客户平台在创建好合同后,由合同签署方对创建的合同内容进行确认,无误后再进行签署。客户平台使用该接口对PDF合同文档按照关键字和坐标进行签署。

可能返回的错误码:

FAILEDOPERATION_ACCOUNTNOTOWNCONTRACTERROR = "FailedOperation.AccountNotOwnContractError"
FAILEDOPERATION_AUTHORIZATIONTIMEERROR = "FailedOperation.AuthorizationTimeError"
FAILEDOPERATION_CERTTYPEERROR = "FailedOperation.CertTypeError"
FAILEDOPERATION_CONTRACTEXPIRED = "FailedOperation.ContractExpired"
FAILEDOPERATION_CONTRACTSIGNEDERROR = "FailedOperation.ContractSignedError"
FAILEDOPERATION_COSTACCOUNTERROR = "FailedOperation.CostAccountError"
FAILEDOPERATION_DESCRIBESUBPLATERROR = "FailedOperation.DescribeSubplatError"
FAILEDOPERATION_FORMATERROR = "FailedOperation.FormatError"
FAILEDOPERATION_IPFORMATERROR = "FailedOperation.IPFormatError"
FAILEDOPERATION_IMAGEMEASUREMENTOVERLIMITERROR = "FailedOperation.ImageMeasurementOverLimitError"
FAILEDOPERATION_NOPERMISSIONTOSIGN = "FailedOperation.NoPermissionToSign"
FAILEDOPERATION_NOVERIFYERROR = "FailedOperation.NoVerifyError"
FAILEDOPERATION_OFFSETCOORDOVERLIMITERROR = "FailedOperation.OffsetCoordOverLimitError"
FAILEDOPERATION_OTHER = "FailedOperation.Other"
FAILEDOPERATION_SEALMISMATCHED = "FailedOperation.SealMismatched"
FAILEDOPERATION_SIGNCONTRACTBYKEYWORDERROR = "FailedOperation.SignContractByKeywordError"
FAILEDOPERATION_SIGNFIELDNOTFOUND = "FailedOperation.SignFieldNotFound"
FAILEDOPERATION_UPDATEFEESTATUSERROR = "FailedOperation.UpdateFeeStatusError"
FAILEDOPERATION_WRONGCERTTYPE = "FailedOperation.WrongCertType"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
MISSINGPARAMETER_IMAGEMEASUREMENTNULLERROR = "MissingParameter.ImageMeasurementNullError"
MISSINGPARAMETER_KEYWORDNULLERROR = "MissingParameter.KeywordNullError"
MISSINGPARAMETER_MOERROR = "MissingParameter.MOError"
MISSINGPARAMETER_OFFSETCOORDNULLERROR = "MissingParameter.OffsetCoordNullError"
RESOURCENOTFOUND_SUBPLATIDNOTFOUND = "ResourceNotFound.SubplatIdNotFound"
RESOURCEUNAVAILABLE_SUBPLATUNAVAILABLE = "ResourceUnavailable.SubplatUnavailable"

type CreateContractByUploadRequest

type CreateContractByUploadRequest struct {
	*tchttp.BaseRequest

	// 模块名ContractMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名CreateContractByUpload
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 签署人信息
	SignInfos []*SignInfo `json:"SignInfos,omitempty" name:"SignInfos"`

	// 合同上传链接地址
	ContractFile *string `json:"ContractFile,omitempty" name:"ContractFile"`

	// 合同名称
	ContractName *string `json:"ContractName,omitempty" name:"ContractName"`

	// 备注
	Remarks *string `json:"Remarks,omitempty" name:"Remarks"`

	// 合同发起方腾讯云帐号ID(由平台自动填写)
	Initiator *string `json:"Initiator,omitempty" name:"Initiator"`

	// 合同长时间未签署的过期时间
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`
}

func NewCreateContractByUploadRequest

func NewCreateContractByUploadRequest() (request *CreateContractByUploadRequest)

func (*CreateContractByUploadRequest) FromJsonString

func (r *CreateContractByUploadRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateContractByUploadRequest) ToJsonString

func (r *CreateContractByUploadRequest) ToJsonString() string

type CreateContractByUploadRequestParams added in v1.0.426

type CreateContractByUploadRequestParams struct {
	// 模块名ContractMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名CreateContractByUpload
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 签署人信息
	SignInfos []*SignInfo `json:"SignInfos,omitempty" name:"SignInfos"`

	// 合同上传链接地址
	ContractFile *string `json:"ContractFile,omitempty" name:"ContractFile"`

	// 合同名称
	ContractName *string `json:"ContractName,omitempty" name:"ContractName"`

	// 备注
	Remarks *string `json:"Remarks,omitempty" name:"Remarks"`

	// 合同发起方腾讯云帐号ID(由平台自动填写)
	Initiator *string `json:"Initiator,omitempty" name:"Initiator"`

	// 合同长时间未签署的过期时间
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`
}

Predefined struct for user

type CreateContractByUploadResponse

type CreateContractByUploadResponse struct {
	*tchttp.BaseResponse
	Response *CreateContractByUploadResponseParams `json:"Response"`
}

func NewCreateContractByUploadResponse

func NewCreateContractByUploadResponse() (response *CreateContractByUploadResponse)

func (*CreateContractByUploadResponse) FromJsonString

func (r *CreateContractByUploadResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateContractByUploadResponse) ToJsonString

func (r *CreateContractByUploadResponse) ToJsonString() string

type CreateContractByUploadResponseParams added in v1.0.426

type CreateContractByUploadResponseParams struct {
	// 任务ID
	TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateEnterpriseAccountRequest

type CreateEnterpriseAccountRequest struct {
	*tchttp.BaseRequest

	// 模块名AccountMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名CreateEnterpriseAccount
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 企业用户名称
	Name *string `json:"Name,omitempty" name:"Name"`

	// 企业用户证件类型,8代表营业执照,详情请见常见问题
	IdentType *int64 `json:"IdentType,omitempty" name:"IdentType"`

	// 企业用户营业执照号码
	IdentNo *string `json:"IdentNo,omitempty" name:"IdentNo"`

	// 企业联系人手机号
	MobilePhone *string `json:"MobilePhone,omitempty" name:"MobilePhone"`

	// 经办人姓名
	TransactorName *string `json:"TransactorName,omitempty" name:"TransactorName"`

	// 经办人证件类型,0代表身份证
	TransactorIdentType *int64 `json:"TransactorIdentType,omitempty" name:"TransactorIdentType"`

	// 经办人证件号码
	TransactorIdentNo *string `json:"TransactorIdentNo,omitempty" name:"TransactorIdentNo"`

	// 经办人手机号
	TransactorPhone *string `json:"TransactorPhone,omitempty" name:"TransactorPhone"`

	// 企业联系人邮箱
	Email *string `json:"Email,omitempty" name:"Email"`
}

func NewCreateEnterpriseAccountRequest

func NewCreateEnterpriseAccountRequest() (request *CreateEnterpriseAccountRequest)

func (*CreateEnterpriseAccountRequest) FromJsonString

func (r *CreateEnterpriseAccountRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateEnterpriseAccountRequest) ToJsonString

func (r *CreateEnterpriseAccountRequest) ToJsonString() string

type CreateEnterpriseAccountRequestParams added in v1.0.426

type CreateEnterpriseAccountRequestParams struct {
	// 模块名AccountMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名CreateEnterpriseAccount
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 企业用户名称
	Name *string `json:"Name,omitempty" name:"Name"`

	// 企业用户证件类型,8代表营业执照,详情请见常见问题
	IdentType *int64 `json:"IdentType,omitempty" name:"IdentType"`

	// 企业用户营业执照号码
	IdentNo *string `json:"IdentNo,omitempty" name:"IdentNo"`

	// 企业联系人手机号
	MobilePhone *string `json:"MobilePhone,omitempty" name:"MobilePhone"`

	// 经办人姓名
	TransactorName *string `json:"TransactorName,omitempty" name:"TransactorName"`

	// 经办人证件类型,0代表身份证
	TransactorIdentType *int64 `json:"TransactorIdentType,omitempty" name:"TransactorIdentType"`

	// 经办人证件号码
	TransactorIdentNo *string `json:"TransactorIdentNo,omitempty" name:"TransactorIdentNo"`

	// 经办人手机号
	TransactorPhone *string `json:"TransactorPhone,omitempty" name:"TransactorPhone"`

	// 企业联系人邮箱
	Email *string `json:"Email,omitempty" name:"Email"`
}

Predefined struct for user

type CreateEnterpriseAccountResponse

type CreateEnterpriseAccountResponse struct {
	*tchttp.BaseResponse
	Response *CreateEnterpriseAccountResponseParams `json:"Response"`
}

func NewCreateEnterpriseAccountResponse

func NewCreateEnterpriseAccountResponse() (response *CreateEnterpriseAccountResponse)

func (*CreateEnterpriseAccountResponse) FromJsonString

func (r *CreateEnterpriseAccountResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateEnterpriseAccountResponse) ToJsonString

func (r *CreateEnterpriseAccountResponse) ToJsonString() string

type CreateEnterpriseAccountResponseParams added in v1.0.426

type CreateEnterpriseAccountResponseParams struct {
	// 帐号ID
	AccountResId *string `json:"AccountResId,omitempty" name:"AccountResId"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreatePersonalAccountRequest

type CreatePersonalAccountRequest struct {
	*tchttp.BaseRequest

	// 模块名AccountMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名CreatePersonalAccount
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 个人用户姓名
	Name *string `json:"Name,omitempty" name:"Name"`

	// 个人用户证件类型,0代表身份证,详情请见常见问题
	IdentType *int64 `json:"IdentType,omitempty" name:"IdentType"`

	// 个人用户证件号码
	IdentNo *string `json:"IdentNo,omitempty" name:"IdentNo"`

	// 个人用户手机号
	MobilePhone *string `json:"MobilePhone,omitempty" name:"MobilePhone"`
}

func NewCreatePersonalAccountRequest

func NewCreatePersonalAccountRequest() (request *CreatePersonalAccountRequest)

func (*CreatePersonalAccountRequest) FromJsonString

func (r *CreatePersonalAccountRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePersonalAccountRequest) ToJsonString

func (r *CreatePersonalAccountRequest) ToJsonString() string

type CreatePersonalAccountRequestParams added in v1.0.426

type CreatePersonalAccountRequestParams struct {
	// 模块名AccountMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名CreatePersonalAccount
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 个人用户姓名
	Name *string `json:"Name,omitempty" name:"Name"`

	// 个人用户证件类型,0代表身份证,详情请见常见问题
	IdentType *int64 `json:"IdentType,omitempty" name:"IdentType"`

	// 个人用户证件号码
	IdentNo *string `json:"IdentNo,omitempty" name:"IdentNo"`

	// 个人用户手机号
	MobilePhone *string `json:"MobilePhone,omitempty" name:"MobilePhone"`
}

Predefined struct for user

type CreatePersonalAccountResponse

type CreatePersonalAccountResponse struct {
	*tchttp.BaseResponse
	Response *CreatePersonalAccountResponseParams `json:"Response"`
}

func NewCreatePersonalAccountResponse

func NewCreatePersonalAccountResponse() (response *CreatePersonalAccountResponse)

func (*CreatePersonalAccountResponse) FromJsonString

func (r *CreatePersonalAccountResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePersonalAccountResponse) ToJsonString

func (r *CreatePersonalAccountResponse) ToJsonString() string

type CreatePersonalAccountResponseParams added in v1.0.426

type CreatePersonalAccountResponseParams struct {
	// 账号ID
	AccountResId *string `json:"AccountResId,omitempty" name:"AccountResId"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateSealRequest

type CreateSealRequest struct {
	*tchttp.BaseRequest

	// 模块名SealMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名CreateSeal
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 帐号ID
	AccountResId *string `json:"AccountResId,omitempty" name:"AccountResId"`

	// 签章链接,图片必须为png格式
	ImgUrl *string `json:"ImgUrl,omitempty" name:"ImgUrl"`

	// 图片数据,base64编码
	ImgData *string `json:"ImgData,omitempty" name:"ImgData"`
}

func NewCreateSealRequest

func NewCreateSealRequest() (request *CreateSealRequest)

func (*CreateSealRequest) FromJsonString

func (r *CreateSealRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateSealRequest) ToJsonString

func (r *CreateSealRequest) ToJsonString() string

type CreateSealRequestParams added in v1.0.426

type CreateSealRequestParams struct {
	// 模块名SealMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名CreateSeal
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 帐号ID
	AccountResId *string `json:"AccountResId,omitempty" name:"AccountResId"`

	// 签章链接,图片必须为png格式
	ImgUrl *string `json:"ImgUrl,omitempty" name:"ImgUrl"`

	// 图片数据,base64编码
	ImgData *string `json:"ImgData,omitempty" name:"ImgData"`
}

Predefined struct for user

type CreateSealResponse

type CreateSealResponse struct {
	*tchttp.BaseResponse
	Response *CreateSealResponseParams `json:"Response"`
}

func NewCreateSealResponse

func NewCreateSealResponse() (response *CreateSealResponse)

func (*CreateSealResponse) FromJsonString

func (r *CreateSealResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateSealResponse) ToJsonString

func (r *CreateSealResponse) ToJsonString() string

type CreateSealResponseParams added in v1.0.426

type CreateSealResponseParams struct {
	// 签章ID
	SealResId *string `json:"SealResId,omitempty" name:"SealResId"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteAccountRequest

type DeleteAccountRequest struct {
	*tchttp.BaseRequest

	// 模块名AccountMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名DeleteAccount
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 帐号ID列表
	AccountList []*string `json:"AccountList,omitempty" name:"AccountList"`
}

func NewDeleteAccountRequest

func NewDeleteAccountRequest() (request *DeleteAccountRequest)

func (*DeleteAccountRequest) FromJsonString

func (r *DeleteAccountRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAccountRequest) ToJsonString

func (r *DeleteAccountRequest) ToJsonString() string

type DeleteAccountRequestParams added in v1.0.426

type DeleteAccountRequestParams struct {
	// 模块名AccountMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名DeleteAccount
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 帐号ID列表
	AccountList []*string `json:"AccountList,omitempty" name:"AccountList"`
}

Predefined struct for user

type DeleteAccountResponse

type DeleteAccountResponse struct {
	*tchttp.BaseResponse
	Response *DeleteAccountResponseParams `json:"Response"`
}

func NewDeleteAccountResponse

func NewDeleteAccountResponse() (response *DeleteAccountResponse)

func (*DeleteAccountResponse) FromJsonString

func (r *DeleteAccountResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAccountResponse) ToJsonString

func (r *DeleteAccountResponse) ToJsonString() string

type DeleteAccountResponseParams added in v1.0.426

type DeleteAccountResponseParams struct {
	// 删除成功帐号ID列表
	DelSuccessList []*string `json:"DelSuccessList,omitempty" name:"DelSuccessList"`

	// 删除失败帐号ID列表
	DelFailedList []*string `json:"DelFailedList,omitempty" name:"DelFailedList"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteSealRequest

type DeleteSealRequest struct {
	*tchttp.BaseRequest

	// 模块名SealMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名DeleteSeal
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 帐号ID
	AccountResId *string `json:"AccountResId,omitempty" name:"AccountResId"`

	// 签章ID
	SealResId *string `json:"SealResId,omitempty" name:"SealResId"`
}

func NewDeleteSealRequest

func NewDeleteSealRequest() (request *DeleteSealRequest)

func (*DeleteSealRequest) FromJsonString

func (r *DeleteSealRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteSealRequest) ToJsonString

func (r *DeleteSealRequest) ToJsonString() string

type DeleteSealRequestParams added in v1.0.426

type DeleteSealRequestParams struct {
	// 模块名SealMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名DeleteSeal
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 帐号ID
	AccountResId *string `json:"AccountResId,omitempty" name:"AccountResId"`

	// 签章ID
	SealResId *string `json:"SealResId,omitempty" name:"SealResId"`
}

Predefined struct for user

type DeleteSealResponse

type DeleteSealResponse struct {
	*tchttp.BaseResponse
	Response *DeleteSealResponseParams `json:"Response"`
}

func NewDeleteSealResponse

func NewDeleteSealResponse() (response *DeleteSealResponse)

func (*DeleteSealResponse) FromJsonString

func (r *DeleteSealResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteSealResponse) ToJsonString

func (r *DeleteSealResponse) ToJsonString() string

type DeleteSealResponseParams added in v1.0.426

type DeleteSealResponseParams struct {
	// 签章ID
	SealResId *string `json:"SealResId,omitempty" name:"SealResId"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTaskStatusRequest

type DescribeTaskStatusRequest struct {
	*tchttp.BaseRequest

	// 模块名CommonMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名DescribeTaskStatus
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 任务ID
	TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`
}

func NewDescribeTaskStatusRequest

func NewDescribeTaskStatusRequest() (request *DescribeTaskStatusRequest)

func (*DescribeTaskStatusRequest) FromJsonString

func (r *DescribeTaskStatusRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTaskStatusRequest) ToJsonString

func (r *DescribeTaskStatusRequest) ToJsonString() string

type DescribeTaskStatusRequestParams added in v1.0.426

type DescribeTaskStatusRequestParams struct {
	// 模块名CommonMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名DescribeTaskStatus
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 任务ID
	TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`
}

Predefined struct for user

type DescribeTaskStatusResponse

type DescribeTaskStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTaskStatusResponseParams `json:"Response"`
}

func NewDescribeTaskStatusResponse

func NewDescribeTaskStatusResponse() (response *DescribeTaskStatusResponse)

func (*DescribeTaskStatusResponse) FromJsonString

func (r *DescribeTaskStatusResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTaskStatusResponse) ToJsonString

func (r *DescribeTaskStatusResponse) ToJsonString() string

type DescribeTaskStatusResponseParams added in v1.0.426

type DescribeTaskStatusResponseParams struct {
	// 任务结果
	TaskResult *string `json:"TaskResult,omitempty" name:"TaskResult"`

	// 任务类型,010代表合同上传结果,020代表合同下载结果
	TaskType *string `json:"TaskType,omitempty" name:"TaskType"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DownloadContractRequest

type DownloadContractRequest struct {
	*tchttp.BaseRequest

	// 模块名ContractMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名DownloadContract
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 合同ID
	ContractResId *string `json:"ContractResId,omitempty" name:"ContractResId"`
}

func NewDownloadContractRequest

func NewDownloadContractRequest() (request *DownloadContractRequest)

func (*DownloadContractRequest) FromJsonString

func (r *DownloadContractRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DownloadContractRequest) ToJsonString

func (r *DownloadContractRequest) ToJsonString() string

type DownloadContractRequestParams added in v1.0.426

type DownloadContractRequestParams struct {
	// 模块名ContractMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名DownloadContract
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 合同ID
	ContractResId *string `json:"ContractResId,omitempty" name:"ContractResId"`
}

Predefined struct for user

type DownloadContractResponse

type DownloadContractResponse struct {
	*tchttp.BaseResponse
	Response *DownloadContractResponseParams `json:"Response"`
}

func NewDownloadContractResponse

func NewDownloadContractResponse() (response *DownloadContractResponse)

func (*DownloadContractResponse) FromJsonString

func (r *DownloadContractResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DownloadContractResponse) ToJsonString

func (r *DownloadContractResponse) ToJsonString() string

type DownloadContractResponseParams added in v1.0.426

type DownloadContractResponseParams struct {
	// 任务ID
	TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type SendVcodeRequest

type SendVcodeRequest struct {
	*tchttp.BaseRequest

	// 模块名VerifyCode
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名SendVcode
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 合同ID
	ContractResId *string `json:"ContractResId,omitempty" name:"ContractResId"`

	// 帐号ID
	AccountResId *string `json:"AccountResId,omitempty" name:"AccountResId"`
}

func NewSendVcodeRequest

func NewSendVcodeRequest() (request *SendVcodeRequest)

func (*SendVcodeRequest) FromJsonString

func (r *SendVcodeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SendVcodeRequest) ToJsonString

func (r *SendVcodeRequest) ToJsonString() string

type SendVcodeRequestParams added in v1.0.426

type SendVcodeRequestParams struct {
	// 模块名VerifyCode
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名SendVcode
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 合同ID
	ContractResId *string `json:"ContractResId,omitempty" name:"ContractResId"`

	// 帐号ID
	AccountResId *string `json:"AccountResId,omitempty" name:"AccountResId"`
}

Predefined struct for user

type SendVcodeResponse

type SendVcodeResponse struct {
	*tchttp.BaseResponse
	Response *SendVcodeResponseParams `json:"Response"`
}

func NewSendVcodeResponse

func NewSendVcodeResponse() (response *SendVcodeResponse)

func (*SendVcodeResponse) FromJsonString

func (r *SendVcodeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SendVcodeResponse) ToJsonString

func (r *SendVcodeResponse) ToJsonString() string

type SendVcodeResponseParams added in v1.0.426

type SendVcodeResponseParams struct {
	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type SignContractByCoordinateRequest

type SignContractByCoordinateRequest struct {
	*tchttp.BaseRequest

	// 模块名ContractMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名SignContractByCoordinate
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 合同ID
	ContractResId *string `json:"ContractResId,omitempty" name:"ContractResId"`

	// 帐户ID
	AccountResId *string `json:"AccountResId,omitempty" name:"AccountResId"`

	// 签署坐标,坐标原点在文件左下角,坐标单位为磅,坐标不得超过合同文件边界
	SignLocations []*SignLocation `json:"SignLocations,omitempty" name:"SignLocations"`

	// 授权时间(由平台自动填充)
	AuthorizationTime *string `json:"AuthorizationTime,omitempty" name:"AuthorizationTime"`

	// 授权IP地址(由平台自动填充)
	Position *string `json:"Position,omitempty" name:"Position"`

	// 签章ID
	SealResId *string `json:"SealResId,omitempty" name:"SealResId"`

	// 选用证书类型:1  表示RSA证书, 2 表示国密证书, 参数不传时默认为1
	CertType *int64 `json:"CertType,omitempty" name:"CertType"`

	// 签名图片,base64编码
	ImageData *string `json:"ImageData,omitempty" name:"ImageData"`
}

func NewSignContractByCoordinateRequest

func NewSignContractByCoordinateRequest() (request *SignContractByCoordinateRequest)

func (*SignContractByCoordinateRequest) FromJsonString

func (r *SignContractByCoordinateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SignContractByCoordinateRequest) ToJsonString

func (r *SignContractByCoordinateRequest) ToJsonString() string

type SignContractByCoordinateRequestParams added in v1.0.426

type SignContractByCoordinateRequestParams struct {
	// 模块名ContractMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名SignContractByCoordinate
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 合同ID
	ContractResId *string `json:"ContractResId,omitempty" name:"ContractResId"`

	// 帐户ID
	AccountResId *string `json:"AccountResId,omitempty" name:"AccountResId"`

	// 签署坐标,坐标原点在文件左下角,坐标单位为磅,坐标不得超过合同文件边界
	SignLocations []*SignLocation `json:"SignLocations,omitempty" name:"SignLocations"`

	// 授权时间(由平台自动填充)
	AuthorizationTime *string `json:"AuthorizationTime,omitempty" name:"AuthorizationTime"`

	// 授权IP地址(由平台自动填充)
	Position *string `json:"Position,omitempty" name:"Position"`

	// 签章ID
	SealResId *string `json:"SealResId,omitempty" name:"SealResId"`

	// 选用证书类型:1  表示RSA证书, 2 表示国密证书, 参数不传时默认为1
	CertType *int64 `json:"CertType,omitempty" name:"CertType"`

	// 签名图片,base64编码
	ImageData *string `json:"ImageData,omitempty" name:"ImageData"`
}

Predefined struct for user

type SignContractByCoordinateResponse

type SignContractByCoordinateResponse struct {
	*tchttp.BaseResponse
	Response *SignContractByCoordinateResponseParams `json:"Response"`
}

func NewSignContractByCoordinateResponse

func NewSignContractByCoordinateResponse() (response *SignContractByCoordinateResponse)

func (*SignContractByCoordinateResponse) FromJsonString

func (r *SignContractByCoordinateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SignContractByCoordinateResponse) ToJsonString

func (r *SignContractByCoordinateResponse) ToJsonString() string

type SignContractByCoordinateResponseParams added in v1.0.426

type SignContractByCoordinateResponseParams struct {
	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type SignContractByKeywordRequest

type SignContractByKeywordRequest struct {
	*tchttp.BaseRequest

	// 模块名ContractMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名SignContractByKeyword
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 合同ID
	ContractResId *string `json:"ContractResId,omitempty" name:"ContractResId"`

	// 账户ID
	AccountResId *string `json:"AccountResId,omitempty" name:"AccountResId"`

	// 签署关键字,偏移坐标原点为关键字中心
	SignKeyword *SignKeyword `json:"SignKeyword,omitempty" name:"SignKeyword"`

	// 授权时间(由平台自动填充)
	AuthorizationTime *string `json:"AuthorizationTime,omitempty" name:"AuthorizationTime"`

	// 授权IP地址(由平台自动填充)
	Position *string `json:"Position,omitempty" name:"Position"`

	// 签章ID
	SealResId *string `json:"SealResId,omitempty" name:"SealResId"`

	// 选用证书类型:1  表示RSA证书, 2 表示国密证书, 参数不传时默认为1
	CertType *int64 `json:"CertType,omitempty" name:"CertType"`

	// 签名图片,base64编码
	ImageData *string `json:"ImageData,omitempty" name:"ImageData"`
}

func NewSignContractByKeywordRequest

func NewSignContractByKeywordRequest() (request *SignContractByKeywordRequest)

func (*SignContractByKeywordRequest) FromJsonString

func (r *SignContractByKeywordRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SignContractByKeywordRequest) ToJsonString

func (r *SignContractByKeywordRequest) ToJsonString() string

type SignContractByKeywordRequestParams added in v1.0.426

type SignContractByKeywordRequestParams struct {
	// 模块名ContractMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名SignContractByKeyword
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 合同ID
	ContractResId *string `json:"ContractResId,omitempty" name:"ContractResId"`

	// 账户ID
	AccountResId *string `json:"AccountResId,omitempty" name:"AccountResId"`

	// 签署关键字,偏移坐标原点为关键字中心
	SignKeyword *SignKeyword `json:"SignKeyword,omitempty" name:"SignKeyword"`

	// 授权时间(由平台自动填充)
	AuthorizationTime *string `json:"AuthorizationTime,omitempty" name:"AuthorizationTime"`

	// 授权IP地址(由平台自动填充)
	Position *string `json:"Position,omitempty" name:"Position"`

	// 签章ID
	SealResId *string `json:"SealResId,omitempty" name:"SealResId"`

	// 选用证书类型:1  表示RSA证书, 2 表示国密证书, 参数不传时默认为1
	CertType *int64 `json:"CertType,omitempty" name:"CertType"`

	// 签名图片,base64编码
	ImageData *string `json:"ImageData,omitempty" name:"ImageData"`
}

Predefined struct for user

type SignContractByKeywordResponse

type SignContractByKeywordResponse struct {
	*tchttp.BaseResponse
	Response *SignContractByKeywordResponseParams `json:"Response"`
}

func NewSignContractByKeywordResponse

func NewSignContractByKeywordResponse() (response *SignContractByKeywordResponse)

func (*SignContractByKeywordResponse) FromJsonString

func (r *SignContractByKeywordResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SignContractByKeywordResponse) ToJsonString

func (r *SignContractByKeywordResponse) ToJsonString() string

type SignContractByKeywordResponseParams added in v1.0.426

type SignContractByKeywordResponseParams struct {
	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type SignInfo

type SignInfo struct {
	// 账户ID
	AccountResId *string `json:"AccountResId,omitempty" name:"AccountResId"`

	// 授权时间(上传合同可不传该参数)
	AuthorizationTime *string `json:"AuthorizationTime,omitempty" name:"AuthorizationTime"`

	// 授权IP地址(上传合同可不传该参数)
	Location *string `json:"Location,omitempty" name:"Location"`

	// 签章ID
	SealId *string `json:"SealId,omitempty" name:"SealId"`

	// 签名图片,优先级比SealId高
	ImageData *string `json:"ImageData,omitempty" name:"ImageData"`

	// 默认值:1  表示RSA证书, 2 表示国密证书, 参数不传时默认为1
	CertType *int64 `json:"CertType,omitempty" name:"CertType"`

	// 签名域的标签值
	SignLocation *string `json:"SignLocation,omitempty" name:"SignLocation"`
}

type SignKeyword

type SignKeyword struct {
	// 关键字
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`

	// X轴偏移坐标
	OffsetCoordX *string `json:"OffsetCoordX,omitempty" name:"OffsetCoordX"`

	// Y轴偏移坐标
	OffsetCoordY *string `json:"OffsetCoordY,omitempty" name:"OffsetCoordY"`

	// 签章图片宽度
	ImageWidth *string `json:"ImageWidth,omitempty" name:"ImageWidth"`

	// 签章图片高度
	ImageHeight *string `json:"ImageHeight,omitempty" name:"ImageHeight"`
}

type SignLocation

type SignLocation struct {
	// 签名域页数
	SignOnPage *string `json:"SignOnPage,omitempty" name:"SignOnPage"`

	// 签名域左下角X轴坐标轴
	SignLocationLBX *string `json:"SignLocationLBX,omitempty" name:"SignLocationLBX"`

	// 签名域左下角Y轴坐标轴
	SignLocationLBY *string `json:"SignLocationLBY,omitempty" name:"SignLocationLBY"`

	// 签名域右上角X轴坐标轴
	SignLocationRUX *string `json:"SignLocationRUX,omitempty" name:"SignLocationRUX"`

	// 签名域右上角Y轴坐标轴
	SignLocationRUY *string `json:"SignLocationRUY,omitempty" name:"SignLocationRUY"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL