Documentation ¶
Index ¶
- Constants
- type ApplyBlackListRequest
- type ApplyBlackListResponse
- type ApplyCreditAuditRequest
- type ApplyCreditAuditResponse
- type Client
- func (c *Client) ApplyBlackList(request *ApplyBlackListRequest) (response *ApplyBlackListResponse, err error)
- func (c *Client) ApplyCreditAudit(request *ApplyCreditAuditRequest) (response *ApplyCreditAuditResponse, err error)
- func (c *Client) DescribeCreditResult(request *DescribeCreditResultRequest) (response *DescribeCreditResultResponse, err error)
- func (c *Client) DescribeRecords(request *DescribeRecordsRequest) (response *DescribeRecordsResponse, err error)
- func (c *Client) DescribeTaskStatus(request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)
- func (c *Client) DownloadDialogueText(request *DownloadDialogueTextRequest) (response *DownloadDialogueTextResponse, err error)
- func (c *Client) DownloadRecordList(request *DownloadRecordListRequest) (response *DownloadRecordListResponse, err error)
- func (c *Client) DownloadReport(request *DownloadReportRequest) (response *DownloadReportResponse, err error)
- func (c *Client) QueryInstantData(request *QueryInstantDataRequest) (response *QueryInstantDataResponse, err error)
- func (c *Client) UploadDataFile(request *UploadDataFileRequest) (response *UploadDataFileResponse, err error)
- func (c *Client) UploadDataJson(request *UploadDataJsonRequest) (response *UploadDataJsonResponse, err error)
- func (c *Client) UploadFile(request *UploadFileRequest) (response *UploadFileResponse, err error)
- type DescribeCreditResultRequest
- type DescribeCreditResultResponse
- type DescribeRecordsRequest
- type DescribeRecordsResponse
- type DescribeTaskStatusRequest
- type DescribeTaskStatusResponse
- type DownloadDialogueTextRequest
- type DownloadDialogueTextResponse
- type DownloadRecordListRequest
- type DownloadRecordListResponse
- type DownloadReportRequest
- type DownloadReportResponse
- type QueryInstantDataRequest
- type QueryInstantDataResponse
- type SingleBlackApply
- type SingleRecord
- type UploadDataFileRequest
- type UploadDataFileResponse
- type UploadDataJsonRequest
- type UploadDataJsonResponse
- type UploadFileRequest
- type UploadFileResponse
Constants ¶
View Source
const APIVersion = "2018-03-21"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyBlackListRequest ¶
type ApplyBlackListRequest struct { *tchttp.BaseRequest // 模块名,本接口取值:account Module *string `json:"Module,omitempty" name:"Module"` // 操作名,本接口取值:ApplyBlackList Operation *string `json:"Operation,omitempty" name:"Operation"` // 黑名单列表 BlackList []*SingleBlackApply `json:"BlackList,omitempty" name:"BlackList" list` // 实例ID,不传默认为系统分配的初始实例 InstId *string `json:"InstId,omitempty" name:"InstId"` }
func NewApplyBlackListRequest ¶
func NewApplyBlackListRequest() (request *ApplyBlackListRequest)
func (*ApplyBlackListRequest) FromJsonString ¶
func (r *ApplyBlackListRequest) FromJsonString(s string) error
func (*ApplyBlackListRequest) ToJsonString ¶
func (r *ApplyBlackListRequest) ToJsonString() string
type ApplyBlackListResponse ¶
type ApplyBlackListResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewApplyBlackListResponse ¶
func NewApplyBlackListResponse() (response *ApplyBlackListResponse)
func (*ApplyBlackListResponse) FromJsonString ¶
func (r *ApplyBlackListResponse) FromJsonString(s string) error
func (*ApplyBlackListResponse) ToJsonString ¶
func (r *ApplyBlackListResponse) ToJsonString() string
type ApplyCreditAuditRequest ¶
type ApplyCreditAuditRequest struct { *tchttp.BaseRequest // 模块名,本接口取值:Credit Module *string `json:"Module,omitempty" name:"Module"` // 操作名,本接口取值:Apply Operation *string `json:"Operation,omitempty" name:"Operation"` // 实例ID InstId *string `json:"InstId,omitempty" name:"InstId"` // 产品ID,形如P******。 ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 信审任务ID,同一天内,同一InstId下,同一CaseId只能调用一次。 CaseId *string `json:"CaseId,omitempty" name:"CaseId"` // 回调地址 CallbackUrl *string `json:"CallbackUrl,omitempty" name:"CallbackUrl"` // JSON格式的业务字段。 Data *string `json:"Data,omitempty" name:"Data"` }
func NewApplyCreditAuditRequest ¶
func NewApplyCreditAuditRequest() (request *ApplyCreditAuditRequest)
func (*ApplyCreditAuditRequest) FromJsonString ¶
func (r *ApplyCreditAuditRequest) FromJsonString(s string) error
func (*ApplyCreditAuditRequest) ToJsonString ¶
func (r *ApplyCreditAuditRequest) ToJsonString() string
type ApplyCreditAuditResponse ¶
type ApplyCreditAuditResponse struct { *tchttp.BaseResponse Response *struct { // 请求日期 RequestDate *string `json:"RequestDate,omitempty" name:"RequestDate"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewApplyCreditAuditResponse ¶
func NewApplyCreditAuditResponse() (response *ApplyCreditAuditResponse)
func (*ApplyCreditAuditResponse) FromJsonString ¶
func (r *ApplyCreditAuditResponse) FromJsonString(s string) error
func (*ApplyCreditAuditResponse) ToJsonString ¶
func (r *ApplyCreditAuditResponse) ToJsonString() string
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) ApplyBlackList ¶
func (c *Client) ApplyBlackList(request *ApplyBlackListRequest) (response *ApplyBlackListResponse, err error)
提交黑名单后,黑名单中有效期内的号码将停止拨打,适用于到期/逾期提醒、回访场景。
func (*Client) ApplyCreditAudit ¶
func (c *Client) ApplyCreditAudit(request *ApplyCreditAuditRequest) (response *ApplyCreditAuditResponse, err error)
提交信审外呼申请,返回当次请求日期。
func (*Client) DescribeCreditResult ¶
func (c *Client) DescribeCreditResult(request *DescribeCreditResultRequest) (response *DescribeCreditResultResponse, err error)
根据信审任务ID和请求日期,获取相关信审结果。
func (*Client) DescribeRecords ¶
func (c *Client) DescribeRecords(request *DescribeRecordsRequest) (response *DescribeRecordsResponse, err error)
用于获取指定案件的录音地址,次日早上8:00后可查询前日录音。
func (*Client) DescribeTaskStatus ¶
func (c *Client) DescribeTaskStatus(request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)
根据上传文件接口的输出参数DataResId,获取相关上传结果。
func (*Client) DownloadDialogueText ¶
func (c *Client) DownloadDialogueText(request *DownloadDialogueTextRequest) (response *DownloadDialogueTextResponse, err error)
用于获取指定案件的对话文本内容,次日早上8:00后可查询前日对话文本内容。
func (*Client) DownloadRecordList ¶
func (c *Client) DownloadRecordList(request *DownloadRecordListRequest) (response *DownloadRecordListResponse, err error)
<p>用于获取录音下载链接清单,次日早上8:00后可查询前日录音清单。</p> <p>注意:录音清单中的录音下载链接仅次日20:00之前有效,请及时下载。</p>
func (*Client) DownloadReport ¶
func (c *Client) DownloadReport(request *DownloadReportRequest) (response *DownloadReportResponse, err error)
用于下载结果报表。当日23:00后,可获取当日到期/逾期提醒结果,次日00:30后,可获取昨日回访结果。
func (*Client) QueryInstantData ¶
func (c *Client) QueryInstantData(request *QueryInstantDataRequest) (response *QueryInstantDataResponse, err error)
实时数据查询
func (*Client) UploadDataFile ¶
func (c *Client) UploadDataFile(request *UploadDataFileRequest) (response *UploadDataFileResponse, err error)
上传文件,接口返回数据任务ID,支持xlsx、xls、csv、zip格式。
func (*Client) UploadDataJson ¶
func (c *Client) UploadDataJson(request *UploadDataJsonRequest) (response *UploadDataJsonResponse, err error)
上传Json格式数据,接口返回数据任务ID
func (*Client) UploadFile ¶
func (c *Client) UploadFile(request *UploadFileRequest) (response *UploadFileResponse, err error)
客户通过调用该接口上传需催收文档,格式需为excel格式。接口返回任务ID。
type DescribeCreditResultRequest ¶
type DescribeCreditResultRequest struct { *tchttp.BaseRequest // 模块名,本接口取值:Credit Module *string `json:"Module,omitempty" name:"Module"` // 操作名,本接口取值:Get Operation *string `json:"Operation,omitempty" name:"Operation"` // 实例ID InstId *string `json:"InstId,omitempty" name:"InstId"` // 产品ID,形如P******。 ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 信审任务ID CaseId *string `json:"CaseId,omitempty" name:"CaseId"` // 请求日期,格式为YYYY-MM-DD RequestDate *string `json:"RequestDate,omitempty" name:"RequestDate"` }
func NewDescribeCreditResultRequest ¶
func NewDescribeCreditResultRequest() (request *DescribeCreditResultRequest)
func (*DescribeCreditResultRequest) FromJsonString ¶
func (r *DescribeCreditResultRequest) FromJsonString(s string) error
func (*DescribeCreditResultRequest) ToJsonString ¶
func (r *DescribeCreditResultRequest) ToJsonString() string
type DescribeCreditResultResponse ¶
type DescribeCreditResultResponse struct { *tchttp.BaseResponse Response *struct { // <p>呼叫结果,取值范围:</p><ul style="margin-bottom:0px;"><li>NON:接通</li><li>DBU:号码忙</li><li>DRF:不在服务区</li><li>ANA:欠费未接听</li><li>REJ:拒接</li><li>SHU:关机</li><li>NAN:空号</li><li>HAL:停机</li><li>DAD:未接听</li><li>EXE:其他异常</li></ul> ResultCode *string `json:"ResultCode,omitempty" name:"ResultCode"` // 客户标识代码,多个标识码以英文逗号分隔,ResultCode为NON时才有。 // 注意:此字段可能返回 null,表示取不到有效值。 ClientCode *string `json:"ClientCode,omitempty" name:"ClientCode"` // 开始振铃时间,ResultCode为NON或DAD时才有此字段。 // 注意:此字段可能返回 null,表示取不到有效值。 RingStartTime *string `json:"RingStartTime,omitempty" name:"RingStartTime"` // 振铃时长 RingDuration *int64 `json:"RingDuration,omitempty" name:"RingDuration"` // 接通时长 AnswerDuration *int64 `json:"AnswerDuration,omitempty" name:"AnswerDuration"` // JSON格式的扩展信息字段,ResultCode为NON时才有。 // 注意:此字段可能返回 null,表示取不到有效值。 ContextValue *string `json:"ContextValue,omitempty" name:"ContextValue"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCreditResultResponse ¶
func NewDescribeCreditResultResponse() (response *DescribeCreditResultResponse)
func (*DescribeCreditResultResponse) FromJsonString ¶
func (r *DescribeCreditResultResponse) FromJsonString(s string) error
func (*DescribeCreditResultResponse) ToJsonString ¶
func (r *DescribeCreditResultResponse) ToJsonString() string
type DescribeRecordsRequest ¶
type DescribeRecordsRequest struct { *tchttp.BaseRequest // 模块名,本接口取值:Record Module *string `json:"Module,omitempty" name:"Module"` // 操作名,本接口取值:List Operation *string `json:"Operation,omitempty" name:"Operation"` // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 案件编号 AccountNum *string `json:"AccountNum,omitempty" name:"AccountNum"` // 被叫号码 CalledPhone *string `json:"CalledPhone,omitempty" name:"CalledPhone"` // 查询起始日期,格式为YYYY-MM-DD StartBizDate *string `json:"StartBizDate,omitempty" name:"StartBizDate"` // 查询结束日期,格式为YYYY-MM-DD EndBizDate *string `json:"EndBizDate,omitempty" name:"EndBizDate"` // 分页参数,索引,默认为0 Offset *string `json:"Offset,omitempty" name:"Offset"` // 分页参数,页长,默认为20 Limit *string `json:"Limit,omitempty" name:"Limit"` // 实例ID,不传默认为系统分配的初始实例 InstId *string `json:"InstId,omitempty" name:"InstId"` }
func NewDescribeRecordsRequest ¶
func NewDescribeRecordsRequest() (request *DescribeRecordsRequest)
func (*DescribeRecordsRequest) FromJsonString ¶
func (r *DescribeRecordsRequest) FromJsonString(s string) error
func (*DescribeRecordsRequest) ToJsonString ¶
func (r *DescribeRecordsRequest) ToJsonString() string
type DescribeRecordsResponse ¶
type DescribeRecordsResponse struct { *tchttp.BaseResponse Response *struct { // 录音列表。 // 注意:此字段可能返回 null,表示取不到有效值。 RecordList []*SingleRecord `json:"RecordList,omitempty" name:"RecordList" list` // 录音总量。 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeRecordsResponse ¶
func NewDescribeRecordsResponse() (response *DescribeRecordsResponse)
func (*DescribeRecordsResponse) FromJsonString ¶
func (r *DescribeRecordsResponse) FromJsonString(s string) error
func (*DescribeRecordsResponse) ToJsonString ¶
func (r *DescribeRecordsResponse) ToJsonString() string
type DescribeTaskStatusRequest ¶
type DescribeTaskStatusRequest struct { *tchttp.BaseRequest // 模块名,本接口取值:Task Module *string `json:"Module,omitempty" name:"Module"` // 操作名,本接口取值:DescribeTaskStatus Operation *string `json:"Operation,omitempty" name:"Operation"` // 任务ID,"上传文件"接口返回的DataResId,形如abc-xyz123 TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 实例ID,不传默认为系统分配的初始实例。 InstId *string `json:"InstId,omitempty" name:"InstId"` }
func NewDescribeTaskStatusRequest ¶
func NewDescribeTaskStatusRequest() (request *DescribeTaskStatusRequest)
func (*DescribeTaskStatusRequest) FromJsonString ¶
func (r *DescribeTaskStatusRequest) FromJsonString(s string) error
func (*DescribeTaskStatusRequest) ToJsonString ¶
func (r *DescribeTaskStatusRequest) ToJsonString() string
type DescribeTaskStatusResponse ¶
type DescribeTaskStatusResponse struct { *tchttp.BaseResponse Response *struct { // <p>任务结果:</p><ul style="margin-bottom:0px;"><li>处理中:"Uploading Data."</li><li>上传成功:"File Uploading Task Success."</li><li>上传失败:具体失败原因</li></ul> TaskResult *string `json:"TaskResult,omitempty" name:"TaskResult"` // <p>任务类型:</p><ul style="margin-bottom:0px;"><li>到期/逾期提醒数据上传:002</li><li>到期/逾期提醒停拨数据上传:003</li><li>回访数据上传:004</li><li>回访停拨数据上传:005</li></ul> TaskType *string `json:"TaskType,omitempty" name:"TaskType"` // 过滤文件下载链接,有过滤数据时才存在。 // 注意:此字段可能返回 null,表示取不到有效值。 TaskFileUrl *string `json:"TaskFileUrl,omitempty" name:"TaskFileUrl"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeTaskStatusResponse ¶
func NewDescribeTaskStatusResponse() (response *DescribeTaskStatusResponse)
func (*DescribeTaskStatusResponse) FromJsonString ¶
func (r *DescribeTaskStatusResponse) FromJsonString(s string) error
func (*DescribeTaskStatusResponse) ToJsonString ¶
func (r *DescribeTaskStatusResponse) ToJsonString() string
type DownloadDialogueTextRequest ¶
type DownloadDialogueTextRequest struct { *tchttp.BaseRequest // 模块名,本接口取值:Report Module *string `json:"Module,omitempty" name:"Module"` // 操作名,本接口取值:DownloadTextReport Operation *string `json:"Operation,omitempty" name:"Operation"` // 报告日期,格式为YYYY-MM-DD ReportDate *string `json:"ReportDate,omitempty" name:"ReportDate"` // 实例ID InstId *string `json:"InstId,omitempty" name:"InstId"` }
func NewDownloadDialogueTextRequest ¶
func NewDownloadDialogueTextRequest() (request *DownloadDialogueTextRequest)
func (*DownloadDialogueTextRequest) FromJsonString ¶
func (r *DownloadDialogueTextRequest) FromJsonString(s string) error
func (*DownloadDialogueTextRequest) ToJsonString ¶
func (r *DownloadDialogueTextRequest) ToJsonString() string
type DownloadDialogueTextResponse ¶
type DownloadDialogueTextResponse struct { *tchttp.BaseResponse Response *struct { // 对话文本下载地址 TextReportUrl *string `json:"TextReportUrl,omitempty" name:"TextReportUrl"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDownloadDialogueTextResponse ¶
func NewDownloadDialogueTextResponse() (response *DownloadDialogueTextResponse)
func (*DownloadDialogueTextResponse) FromJsonString ¶
func (r *DownloadDialogueTextResponse) FromJsonString(s string) error
func (*DownloadDialogueTextResponse) ToJsonString ¶
func (r *DownloadDialogueTextResponse) ToJsonString() string
type DownloadRecordListRequest ¶
type DownloadRecordListRequest struct { *tchttp.BaseRequest // 模块名,本接口取值:Record Module *string `json:"Module,omitempty" name:"Module"` // 操作名,本接口取值:DownloadList Operation *string `json:"Operation,omitempty" name:"Operation"` // 录音日期,格式为YYYY-MM-DD BizDate *string `json:"BizDate,omitempty" name:"BizDate"` // 实例ID InstId *string `json:"InstId,omitempty" name:"InstId"` }
func NewDownloadRecordListRequest ¶
func NewDownloadRecordListRequest() (request *DownloadRecordListRequest)
func (*DownloadRecordListRequest) FromJsonString ¶
func (r *DownloadRecordListRequest) FromJsonString(s string) error
func (*DownloadRecordListRequest) ToJsonString ¶
func (r *DownloadRecordListRequest) ToJsonString() string
type DownloadRecordListResponse ¶
type DownloadRecordListResponse struct { *tchttp.BaseResponse Response *struct { // 录音列表下载地址 RecordListUrl *string `json:"RecordListUrl,omitempty" name:"RecordListUrl"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDownloadRecordListResponse ¶
func NewDownloadRecordListResponse() (response *DownloadRecordListResponse)
func (*DownloadRecordListResponse) FromJsonString ¶
func (r *DownloadRecordListResponse) FromJsonString(s string) error
func (*DownloadRecordListResponse) ToJsonString ¶
func (r *DownloadRecordListResponse) ToJsonString() string
type DownloadReportRequest ¶
type DownloadReportRequest struct { *tchttp.BaseRequest // 模块名,本接口取值:Report Module *string `json:"Module,omitempty" name:"Module"` // 操作名,本接口取值:DownloadReport Operation *string `json:"Operation,omitempty" name:"Operation"` // 报告日期,格式为YYYY-MM-DD ReportDate *string `json:"ReportDate,omitempty" name:"ReportDate"` // 实例ID,不传默认为系统分配的初始实例。 InstId *string `json:"InstId,omitempty" name:"InstId"` }
func NewDownloadReportRequest ¶
func NewDownloadReportRequest() (request *DownloadReportRequest)
func (*DownloadReportRequest) FromJsonString ¶
func (r *DownloadReportRequest) FromJsonString(s string) error
func (*DownloadReportRequest) ToJsonString ¶
func (r *DownloadReportRequest) ToJsonString() string
type DownloadReportResponse ¶
type DownloadReportResponse struct { *tchttp.BaseResponse Response *struct { // 到期/逾期提醒日报下载地址 // 注意:此字段可能返回 null,表示取不到有效值。 DailyReportUrl *string `json:"DailyReportUrl,omitempty" name:"DailyReportUrl"` // 到期/逾期提醒结果下载地址 // 注意:此字段可能返回 null,表示取不到有效值。 ResultReportUrl *string `json:"ResultReportUrl,omitempty" name:"ResultReportUrl"` // 到期/逾期提醒明细下载地址 // 注意:此字段可能返回 null,表示取不到有效值。 DetailReportUrl *string `json:"DetailReportUrl,omitempty" name:"DetailReportUrl"` // 回访日报下载地址 // 注意:此字段可能返回 null,表示取不到有效值。 CallbackDailyReportUrl *string `json:"CallbackDailyReportUrl,omitempty" name:"CallbackDailyReportUrl"` // 回访结果下载地址 // 注意:此字段可能返回 null,表示取不到有效值。 CallbackResultReportUrl *string `json:"CallbackResultReportUrl,omitempty" name:"CallbackResultReportUrl"` // 回访明细下载地址 // 注意:此字段可能返回 null,表示取不到有效值。 CallbackDetailReportUrl *string `json:"CallbackDetailReportUrl,omitempty" name:"CallbackDetailReportUrl"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDownloadReportResponse ¶
func NewDownloadReportResponse() (response *DownloadReportResponse)
func (*DownloadReportResponse) FromJsonString ¶
func (r *DownloadReportResponse) FromJsonString(s string) error
func (*DownloadReportResponse) ToJsonString ¶
func (r *DownloadReportResponse) ToJsonString() string
type QueryInstantDataRequest ¶
type QueryInstantDataRequest struct { *tchttp.BaseRequest // 模块名,本接口取值:Data Module *string `json:"Module,omitempty" name:"Module"` // 操作名,本接口取值:Query Operation *string `json:"Operation,omitempty" name:"Operation"` // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 实例ID,不传默认为系统分配的初始实例 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 查询类型:callRecord 通话记录 QueryModel *string `json:"QueryModel,omitempty" name:"QueryModel"` // 查询参数 Data *string `json:"Data,omitempty" name:"Data"` }
func NewQueryInstantDataRequest ¶
func NewQueryInstantDataRequest() (request *QueryInstantDataRequest)
func (*QueryInstantDataRequest) FromJsonString ¶
func (r *QueryInstantDataRequest) FromJsonString(s string) error
func (*QueryInstantDataRequest) ToJsonString ¶
func (r *QueryInstantDataRequest) ToJsonString() string
type QueryInstantDataResponse ¶
type QueryInstantDataResponse struct { *tchttp.BaseResponse Response *struct { // 总数 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 返回内容 // 注意:此字段可能返回 null,表示取不到有效值。 Data *string `json:"Data,omitempty" name:"Data"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewQueryInstantDataResponse ¶
func NewQueryInstantDataResponse() (response *QueryInstantDataResponse)
func (*QueryInstantDataResponse) FromJsonString ¶
func (r *QueryInstantDataResponse) FromJsonString(s string) error
func (*QueryInstantDataResponse) ToJsonString ¶
func (r *QueryInstantDataResponse) ToJsonString() string
type SingleBlackApply ¶
type SingleBlackApply struct { // 黑名单类型,01代表手机号码。 BlackType *string `json:"BlackType,omitempty" name:"BlackType"` // 操作类型,A为新增,D为删除。 OperationType *string `json:"OperationType,omitempty" name:"OperationType"` // 黑名单值,BlackType为01时,填写11位手机号码。 BlackValue *string `json:"BlackValue,omitempty" name:"BlackValue"` // 备注。 BlackDescription *string `json:"BlackDescription,omitempty" name:"BlackDescription"` // 黑名单生效截止日期,格式为YYYY-MM-DD,不填默认为永久。 BlackValidDate *string `json:"BlackValidDate,omitempty" name:"BlackValidDate"` }
type SingleRecord ¶
type SingleRecord struct { // 案件编号。 AccountNum *string `json:"AccountNum,omitempty" name:"AccountNum"` // 外呼日期。 BizDate *string `json:"BizDate,omitempty" name:"BizDate"` // 开始呼叫时间。 CallStartTime *string `json:"CallStartTime,omitempty" name:"CallStartTime"` // 主叫号码。 CallerPhone *string `json:"CallerPhone,omitempty" name:"CallerPhone"` // 呼叫方向,O为呼出,I为呼入。 Direction *string `json:"Direction,omitempty" name:"Direction"` // 通话时长。 Duration *int64 `json:"Duration,omitempty" name:"Duration"` // 产品ID。 // 注意:此字段可能返回 null,表示取不到有效值。 ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 录音下载链接。 // 注意:此字段可能返回 null,表示取不到有效值。 RecordCosUrl *string `json:"RecordCosUrl,omitempty" name:"RecordCosUrl"` }
type UploadDataFileRequest ¶
type UploadDataFileRequest struct { *tchttp.BaseRequest // 模块名,本接口取值:Data Module *string `json:"Module,omitempty" name:"Module"` // 操作名,本接口取值:Upload Operation *string `json:"Operation,omitempty" name:"Operation"` // 文件名 FileName *string `json:"FileName,omitempty" name:"FileName"` // <p>上传类型,不填默认到期/逾期提醒文件,取值范围:</p><ul style="margin-bottom:0px;"><li>data:到期/逾期提醒文件</li><li>repay:到期/逾期提醒停拨文件</li><li>callback:回访文件</li><li>callstop:回访停拨文件</li><li>blacklist:黑名单文件</li></ul> UploadModel *string `json:"UploadModel,omitempty" name:"UploadModel"` // 文件,文件与文件地址上传只可选用一种,必须使用multipart/form-data协议来上传二进制流文件,建议使用xlsx格式,大小不超过5MB。 File *binary `json:"File,omitempty" name:"File"` // 文件上传地址,文件与文件地址上传只可选用一种,大小不超过50MB。 FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"` // 实例ID,不传默认为系统分配的初始实例。 InstId *string `json:"InstId,omitempty" name:"InstId"` }
func NewUploadDataFileRequest ¶
func NewUploadDataFileRequest() (request *UploadDataFileRequest)
func (*UploadDataFileRequest) FromJsonString ¶
func (r *UploadDataFileRequest) FromJsonString(s string) error
func (*UploadDataFileRequest) ToJsonString ¶
func (r *UploadDataFileRequest) ToJsonString() string
type UploadDataFileResponse ¶
type UploadDataFileResponse struct { *tchttp.BaseResponse Response *struct { // 数据ID DataResId *string `json:"DataResId,omitempty" name:"DataResId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUploadDataFileResponse ¶
func NewUploadDataFileResponse() (response *UploadDataFileResponse)
func (*UploadDataFileResponse) FromJsonString ¶
func (r *UploadDataFileResponse) FromJsonString(s string) error
func (*UploadDataFileResponse) ToJsonString ¶
func (r *UploadDataFileResponse) ToJsonString() string
type UploadDataJsonRequest ¶
type UploadDataJsonRequest struct { *tchttp.BaseRequest // 模块名,本接口取值:Data Module *string `json:"Module,omitempty" name:"Module"` // 操作名,本接口取值:UploadJson Operation *string `json:"Operation,omitempty" name:"Operation"` // 报文信息 Data *string `json:"Data,omitempty" name:"Data"` // <p>上传类型,不填默认到期/逾期提醒数据,取值范围:</p><ul style="margin-bottom:0px;"><li>data:到期/逾期提醒数据</li><li>repay:到期/逾期提醒停拨数据</li></ul> UploadModel *string `json:"UploadModel,omitempty" name:"UploadModel"` // 实例ID,不传默认为系统分配的初始实例。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewUploadDataJsonRequest ¶
func NewUploadDataJsonRequest() (request *UploadDataJsonRequest)
func (*UploadDataJsonRequest) FromJsonString ¶
func (r *UploadDataJsonRequest) FromJsonString(s string) error
func (*UploadDataJsonRequest) ToJsonString ¶
func (r *UploadDataJsonRequest) ToJsonString() string
type UploadDataJsonResponse ¶
type UploadDataJsonResponse struct { *tchttp.BaseResponse Response *struct { // 响应报文信息 // 注意:此字段可能返回 null,表示取不到有效值。 Data *string `json:"Data,omitempty" name:"Data"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUploadDataJsonResponse ¶
func NewUploadDataJsonResponse() (response *UploadDataJsonResponse)
func (*UploadDataJsonResponse) FromJsonString ¶
func (r *UploadDataJsonResponse) FromJsonString(s string) error
func (*UploadDataJsonResponse) ToJsonString ¶
func (r *UploadDataJsonResponse) ToJsonString() string
type UploadFileRequest ¶
type UploadFileRequest struct { *tchttp.BaseRequest // 模块名 Module *string `json:"Module,omitempty" name:"Module"` // 操作名 Operation *string `json:"Operation,omitempty" name:"Operation"` // 文件上传地址,要求地址协议为HTTPS,且URL端口必须为443 FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"` // 文件名 FileName *string `json:"FileName,omitempty" name:"FileName"` // 文件日期 FileDate *string `json:"FileDate,omitempty" name:"FileDate"` }
func NewUploadFileRequest ¶
func NewUploadFileRequest() (request *UploadFileRequest)
func (*UploadFileRequest) FromJsonString ¶
func (r *UploadFileRequest) FromJsonString(s string) error
func (*UploadFileRequest) ToJsonString ¶
func (r *UploadFileRequest) ToJsonString() string
type UploadFileResponse ¶
type UploadFileResponse struct { *tchttp.BaseResponse Response *struct { // 任务ID TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUploadFileResponse ¶
func NewUploadFileResponse() (response *UploadFileResponse)
func (*UploadFileResponse) FromJsonString ¶
func (r *UploadFileResponse) FromJsonString(s string) error
func (*UploadFileResponse) ToJsonString ¶
func (r *UploadFileResponse) ToJsonString() string
Click to show internal directories.
Click to hide internal directories.