github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/ds/sign_contract_by_coordinate.go (about)

     1  package ds
     2  
     3  import (
     4  	github_com_morlay_goqcloud "github.com/morlay/goqcloud"
     5  )
     6  
     7  // 按坐标签署合同
     8  // https://cloud.tencent.com/document/api/869/17786
     9  
    10  type SignContractByCoordinateRequest struct {
    11  	// 帐户ID
    12  	AccountResId string `name:"AccountResId"`
    13  	// 授权时间,格式为年月日时分秒,例20160801095509
    14  	AuthorizationTime string `name:"AuthorizationTime"`
    15  	// 合同ID
    16  	ContractResId string `name:"ContractResId"`
    17  	// 模块名
    18  	Module string `name:"Module"`
    19  	// 操作名
    20  	Operation string `name:"Operation"`
    21  	// 授权IP地址
    22  	Position string `name:"Position"`
    23  	// 区域
    24  	Region string `name:"Region"`
    25  	// 印章ID
    26  	SealResId *string `name:"SealResId,omitempty"`
    27  	// 签署坐标,坐标不得超过合同文件边界
    28  	SignLocations []*SignLocation `name:"SignLocations"`
    29  }
    30  
    31  func (req *SignContractByCoordinateRequest) Invoke(client github_com_morlay_goqcloud.Client) (*SignContractByCoordinateResponse, error) {
    32  	resp := &SignContractByCoordinateResponse{}
    33  	err := client.Request("ds", "SignContractByCoordinate", "2018-05-23").Do(req, resp)
    34  	return resp, err
    35  }
    36  
    37  type SignContractByCoordinateResponse struct {
    38  	github_com_morlay_goqcloud.TencentCloudBaseResponse
    39  }