ContractRecallRequest.go 1.3 KB

1234567891011121314151617181920212223242526
  1. package contract_request
  2. import (
  3. "git.sxidc.com/student-physical-examination/contract_lock_sdk/http"
  4. )
  5. type ContractRecallRequest struct {
  6. // <ext>core:true;format:string;deprecated:false</ext> 【电子签约文件id】电子签约文件id 【作用】 查询需要撤回的电子签约文件 【传参】 电子签约文件id和第三方业务系统文件id必传其一,均传入以电子签约文件id为准。
  7. ContractId *int64 `json:"contractId,omitempty"`
  8. // <ext>core:true;format:string;deprecated:false</ext> 【第三方业务系统文件id】第三方业务系统文件id 【作用】 查询需要撤回的电子签约文件 【传参】 电子签约文件id和第三方业务系统文件id必传其一,均传入以电子签约文件id为准。
  9. BizId string `json:"bizId,omitempty"`
  10. // <ext>core:true;format:string;deprecated:false</ext> 【撤回原因】撤回原因 【传参】 最大长度:500字符。
  11. Reason string `json:"reason,omitempty"`
  12. }
  13. func (obj ContractRecallRequest) GetUrl() string {
  14. return "/contract/recall"
  15. }
  16. func (obj ContractRecallRequest) GetHttpParameter() *http.HttpParameter {
  17. parameter := http.NewPostHttpParameter()
  18. parameter.AddParam("contractId", obj.ContractId)
  19. parameter.AddParam("bizId", obj.BizId)
  20. parameter.AddParam("reason", obj.Reason)
  21. return parameter
  22. }