iotticket

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package iotticket 包含IoT售后解决方案API相关结构体

https://open.taobao.com/API.htm?docType=2&docId=50245

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptTicketV2topRequest added in v1.3.1

type AcceptTicketV2topRequest struct {
	// 维修方案 depot_repair:寄回维修;parts_replacement:配件更换;onsite_repair:上门维修;remote_solution:远程解决;transfer_to_customer_service:转单给菜鸟
	MaintenanceModeCode string `json:"maintenance_mode_code,omitempty" xml:"maintenance_mode_code,omitempty"`
	// 上门人员Id
	OnsiteStaffId string `json:"onsite_staff_id,omitempty" xml:"onsite_staff_id,omitempty"`
	// 收件人名称
	ReceiverName string `json:"receiver_name,omitempty" xml:"receiver_name,omitempty"`
	// 上门地址
	OnsiteAddress string `json:"onsite_address,omitempty" xml:"onsite_address,omitempty"`
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 操作人手机号
	OperatorPhone string `json:"operator_phone,omitempty" xml:"operator_phone,omitempty"`
	// 操作人名称
	OperatorName string `json:"operator_name,omitempty" xml:"operator_name,omitempty"`
	// 上门人员名称
	OnsiteStaffName string `json:"onsite_staff_name,omitempty" xml:"onsite_staff_name,omitempty"`
	// 上门时间
	OnsiteTime string `json:"onsite_time,omitempty" xml:"onsite_time,omitempty"`
	// 服务商编码
	SpCode string `json:"sp_code,omitempty" xml:"sp_code,omitempty"`
	// 收件地址
	ReceiverAddress string `json:"receiver_address,omitempty" xml:"receiver_address,omitempty"`
	// 上门人联系方式
	OnsiteStaffPhone string `json:"onsite_staff_phone,omitempty" xml:"onsite_staff_phone,omitempty"`
	// 收件人联系方式
	ReceiverPhone string `json:"receiver_phone,omitempty" xml:"receiver_phone,omitempty"`
	// 扩展字段
	Feature string `json:"feature,omitempty" xml:"feature,omitempty"`
	// 远程解决方式 1:不想修了;2:已经修好了;3:费用太贵;4:其他原因
	SolutionRemark string `json:"solution_remark,omitempty" xml:"solution_remark,omitempty"`
	// 操作人Id
	OperatorId string `json:"operator_id,omitempty" xml:"operator_id,omitempty"`
	// 工单Id
	TicketId int64 `json:"ticket_id,omitempty" xml:"ticket_id,omitempty"`
}

AcceptTicketV2topRequest 结构体

type CainiaoIotTicketDetailQueryAPIRequest added in v1.2.0

type CainiaoIotTicketDetailQueryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

CainiaoIotTicketDetailQueryAPIRequest IoT售后工单详情查询 API请求 cainiao.iot.ticket.detail.query

Iot售后工单详情信息查询

func NewCainiaoIotTicketDetailQueryRequest

func NewCainiaoIotTicketDetailQueryRequest() *CainiaoIotTicketDetailQueryAPIRequest

NewCainiaoIotTicketDetailQueryRequest 初始化CainiaoIotTicketDetailQueryAPIRequest对象

func (CainiaoIotTicketDetailQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r CainiaoIotTicketDetailQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoIotTicketDetailQueryAPIRequest) GetApiParams added in v1.2.0

func (r CainiaoIotTicketDetailQueryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoIotTicketDetailQueryAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (CainiaoIotTicketDetailQueryAPIRequest) GetSpCode added in v1.2.0

GetSpCode SpCode Getter

func (CainiaoIotTicketDetailQueryAPIRequest) GetTicketId added in v1.2.0

GetTicketId TicketId Getter

func (*CainiaoIotTicketDetailQueryAPIRequest) SetSpCode added in v1.2.0

func (r *CainiaoIotTicketDetailQueryAPIRequest) SetSpCode(_spCode string) error

SetSpCode is SpCode Setter 服务商唯一编码

func (*CainiaoIotTicketDetailQueryAPIRequest) SetTicketId added in v1.2.0

func (r *CainiaoIotTicketDetailQueryAPIRequest) SetTicketId(_ticketId int64) error

SetTicketId is TicketId Setter 工单Id

type CainiaoIotTicketDetailQueryAPIResponse

type CainiaoIotTicketDetailQueryAPIResponse struct {
	model.CommonResponse
	CainiaoIotTicketDetailQueryAPIResponseModel
}

CainiaoIotTicketDetailQueryAPIResponse IoT售后工单详情查询 API返回值 cainiao.iot.ticket.detail.query

Iot售后工单详情信息查询

type CainiaoIotTicketDetailQueryAPIResponseModel added in v1.2.0

type CainiaoIotTicketDetailQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"cainiao_iot_ticket_detail_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *CainiaoIotTicketDetailQueryResult `json:"result,omitempty" xml:"result,omitempty"`
}

CainiaoIotTicketDetailQueryAPIResponseModel is IoT售后工单详情查询 成功返回结果

type CainiaoIotTicketDetailQueryData

type CainiaoIotTicketDetailQueryData struct {
	// 图片列表
	Images []Images `json:"images,omitempty" xml:"images>images,omitempty"`
	// 操作记录
	OperateLogList []OperateLogList `json:"operate_log_list,omitempty" xml:"operate_log_list>operate_log_list,omitempty"`
	// 客户地址
	CustomerAddress string `json:"customer_address,omitempty" xml:"customer_address,omitempty"`
	// 事件类型描述
	EventTypeDesc string `json:"event_type_desc,omitempty" xml:"event_type_desc,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 客户寄回设备邮编
	CustomerMailNo string `json:"customer_mail_no,omitempty" xml:"customer_mail_no,omitempty"`
	// 客户名称
	CustomerName string `json:"customer_name,omitempty" xml:"customer_name,omitempty"`
	// 设备bar code
	DeviceBarCode string `json:"device_bar_code,omitempty" xml:"device_bar_code,omitempty"`
	// 购买日期
	DevicePurchaseDate string `json:"device_purchase_date,omitempty" xml:"device_purchase_date,omitempty"`
	// 客户联系方式
	CustomerPhone string `json:"customer_phone,omitempty" xml:"customer_phone,omitempty"`
	// 工单详情描述
	TicketDescription string `json:"ticket_description,omitempty" xml:"ticket_description,omitempty"`
	// 服务商设备寄回邮寄编号
	SpMailNo string `json:"sp_mail_no,omitempty" xml:"sp_mail_no,omitempty"`
	// 服务状态描述:待受理;待发起维修方案;待确认维修方案;维修服务中;待确认完成;待评价;已完结;已撤销
	StatusDesc string `json:"status_desc,omitempty" xml:"status_desc,omitempty"`
	// 维修方案信息
	MaintenanceInfo *MaintenanceInfo `json:"maintenance_info,omitempty" xml:"maintenance_info,omitempty"`
	// 上门人员信息
	RepairmanInfo *RepairmanInfo `json:"repairman_info,omitempty" xml:"repairman_info,omitempty"`
	// 工单Id
	TicketId int64 `json:"ticket_id,omitempty" xml:"ticket_id,omitempty"`
}

CainiaoIotTicketDetailQueryData 结构体

type CainiaoIotTicketDetailQueryResult

type CainiaoIotTicketDetailQueryResult struct {
	// 错误描述
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 结果数据
	Data *CainiaoIotTicketDetailQueryData `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

CainiaoIotTicketDetailQueryResult 结构体

type CainiaoIotTicketSpCommentAPIRequest added in v1.2.0

type CainiaoIotTicketSpCommentAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

CainiaoIotTicketSpCommentAPIRequest IoT售后服务商工单备注 API请求 cainiao.iot.ticket.sp.comment

IoT售后服务商工单备注

func NewCainiaoIotTicketSpCommentRequest

func NewCainiaoIotTicketSpCommentRequest() *CainiaoIotTicketSpCommentAPIRequest

NewCainiaoIotTicketSpCommentRequest 初始化CainiaoIotTicketSpCommentAPIRequest对象

func (CainiaoIotTicketSpCommentAPIRequest) GetApiMethodName added in v1.2.0

func (r CainiaoIotTicketSpCommentAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoIotTicketSpCommentAPIRequest) GetApiParams added in v1.2.0

func (r CainiaoIotTicketSpCommentAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoIotTicketSpCommentAPIRequest) GetParam added in v1.2.0

GetParam Param Getter

func (CainiaoIotTicketSpCommentAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*CainiaoIotTicketSpCommentAPIRequest) SetParam added in v1.2.0

SetParam is Param Setter 请求参数

type CainiaoIotTicketSpCommentAPIResponse

type CainiaoIotTicketSpCommentAPIResponse struct {
	model.CommonResponse
	CainiaoIotTicketSpCommentAPIResponseModel
}

CainiaoIotTicketSpCommentAPIResponse IoT售后服务商工单备注 API返回值 cainiao.iot.ticket.sp.comment

IoT售后服务商工单备注

type CainiaoIotTicketSpCommentAPIResponseModel added in v1.2.0

type CainiaoIotTicketSpCommentAPIResponseModel struct {
	XMLName xml.Name `xml:"cainiao_iot_ticket_sp_comment_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *CainiaoIotTicketSpCommentResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

CainiaoIotTicketSpCommentAPIResponseModel is IoT售后服务商工单备注 成功返回结果

type CainiaoIotTicketSpCommentResultDto

type CainiaoIotTicketSpCommentResultDto struct {
	// 异常描述
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

CainiaoIotTicketSpCommentResultDto 结构体

type CainiaoIotTicketSpMailSignUploadAPIRequest added in v1.2.0

type CainiaoIotTicketSpMailSignUploadAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

CainiaoIotTicketSpMailSignUploadAPIRequest IoT售后服务商签收客户邮寄设备附件上传 API请求 cainiao.iot.ticket.sp.mail.sign.upload

IoT售后服务商签收客户邮寄设备附件上传

func NewCainiaoIotTicketSpMailSignUploadRequest

func NewCainiaoIotTicketSpMailSignUploadRequest() *CainiaoIotTicketSpMailSignUploadAPIRequest

NewCainiaoIotTicketSpMailSignUploadRequest 初始化CainiaoIotTicketSpMailSignUploadAPIRequest对象

func (CainiaoIotTicketSpMailSignUploadAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoIotTicketSpMailSignUploadAPIRequest) GetApiParams added in v1.2.0

func (r CainiaoIotTicketSpMailSignUploadAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoIotTicketSpMailSignUploadAPIRequest) GetParam added in v1.2.0

GetParam Param Getter

func (CainiaoIotTicketSpMailSignUploadAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*CainiaoIotTicketSpMailSignUploadAPIRequest) SetParam added in v1.2.0

SetParam is Param Setter 请求参数

type CainiaoIotTicketSpMailSignUploadAPIResponse

type CainiaoIotTicketSpMailSignUploadAPIResponse struct {
	model.CommonResponse
	CainiaoIotTicketSpMailSignUploadAPIResponseModel
}

CainiaoIotTicketSpMailSignUploadAPIResponse IoT售后服务商签收客户邮寄设备附件上传 API返回值 cainiao.iot.ticket.sp.mail.sign.upload

IoT售后服务商签收客户邮寄设备附件上传

type CainiaoIotTicketSpMailSignUploadAPIResponseModel added in v1.2.0

type CainiaoIotTicketSpMailSignUploadAPIResponseModel struct {
	XMLName xml.Name `xml:"cainiao_iot_ticket_sp_mail_sign_upload_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *CainiaoIotTicketSpMailSignUploadResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

CainiaoIotTicketSpMailSignUploadAPIResponseModel is IoT售后服务商签收客户邮寄设备附件上传 成功返回结果

type CainiaoIotTicketSpMailSignUploadResultDto

type CainiaoIotTicketSpMailSignUploadResultDto struct {
	// 异常描述
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// 异常编码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

CainiaoIotTicketSpMailSignUploadResultDto 结构体

type CainiaoIotTicketSpMailVoucherUploadAPIRequest added in v1.2.0

type CainiaoIotTicketSpMailVoucherUploadAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

CainiaoIotTicketSpMailVoucherUploadAPIRequest 服务商寄出维修件上传凭证信息 API请求 cainiao.iot.ticket.sp.mail.voucher.upload

IoT售后服务商寄出维修件上传凭证信息

func NewCainiaoIotTicketSpMailVoucherUploadRequest

func NewCainiaoIotTicketSpMailVoucherUploadRequest() *CainiaoIotTicketSpMailVoucherUploadAPIRequest

NewCainiaoIotTicketSpMailVoucherUploadRequest 初始化CainiaoIotTicketSpMailVoucherUploadAPIRequest对象

func (CainiaoIotTicketSpMailVoucherUploadAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoIotTicketSpMailVoucherUploadAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoIotTicketSpMailVoucherUploadAPIRequest) GetParam added in v1.2.0

GetParam Param Getter

func (CainiaoIotTicketSpMailVoucherUploadAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*CainiaoIotTicketSpMailVoucherUploadAPIRequest) SetParam added in v1.2.0

SetParam is Param Setter 请求参数

type CainiaoIotTicketSpMailVoucherUploadAPIResponse

type CainiaoIotTicketSpMailVoucherUploadAPIResponse struct {
	model.CommonResponse
	CainiaoIotTicketSpMailVoucherUploadAPIResponseModel
}

CainiaoIotTicketSpMailVoucherUploadAPIResponse 服务商寄出维修件上传凭证信息 API返回值 cainiao.iot.ticket.sp.mail.voucher.upload

IoT售后服务商寄出维修件上传凭证信息

type CainiaoIotTicketSpMailVoucherUploadAPIResponseModel added in v1.2.0

type CainiaoIotTicketSpMailVoucherUploadAPIResponseModel struct {
	XMLName xml.Name `xml:"cainiao_iot_ticket_sp_mail_voucher_upload_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *CainiaoIotTicketSpMailVoucherUploadResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

CainiaoIotTicketSpMailVoucherUploadAPIResponseModel is 服务商寄出维修件上传凭证信息 成功返回结果

type CainiaoIotTicketSpMailVoucherUploadResultDto

type CainiaoIotTicketSpMailVoucherUploadResultDto struct {
	// 异常描述
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// 异常编码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

CainiaoIotTicketSpMailVoucherUploadResultDto 结构体

type CainiaoIotTicketSpMaintainUpdateAPIRequest added in v1.2.0

type CainiaoIotTicketSpMaintainUpdateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

CainiaoIotTicketSpMaintainUpdateAPIRequest IoT售后服务商维修方案更新 API请求 cainiao.iot.ticket.sp.maintain.update

IoT售后服务商维修方案更新

func NewCainiaoIotTicketSpMaintainUpdateRequest

func NewCainiaoIotTicketSpMaintainUpdateRequest() *CainiaoIotTicketSpMaintainUpdateAPIRequest

NewCainiaoIotTicketSpMaintainUpdateRequest 初始化CainiaoIotTicketSpMaintainUpdateAPIRequest对象

func (CainiaoIotTicketSpMaintainUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoIotTicketSpMaintainUpdateAPIRequest) GetApiParams added in v1.2.0

func (r CainiaoIotTicketSpMaintainUpdateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoIotTicketSpMaintainUpdateAPIRequest) GetParam added in v1.2.0

GetParam Param Getter

func (CainiaoIotTicketSpMaintainUpdateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*CainiaoIotTicketSpMaintainUpdateAPIRequest) SetParam added in v1.2.0

SetParam is Param Setter 请求参数

type CainiaoIotTicketSpMaintainUpdateAPIResponse

type CainiaoIotTicketSpMaintainUpdateAPIResponse struct {
	model.CommonResponse
	CainiaoIotTicketSpMaintainUpdateAPIResponseModel
}

CainiaoIotTicketSpMaintainUpdateAPIResponse IoT售后服务商维修方案更新 API返回值 cainiao.iot.ticket.sp.maintain.update

IoT售后服务商维修方案更新

type CainiaoIotTicketSpMaintainUpdateAPIResponseModel added in v1.2.0

type CainiaoIotTicketSpMaintainUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"cainiao_iot_ticket_sp_maintain_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *CainiaoIotTicketSpMaintainUpdateResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

CainiaoIotTicketSpMaintainUpdateAPIResponseModel is IoT售后服务商维修方案更新 成功返回结果

type CainiaoIotTicketSpMaintainUpdateResultDto

type CainiaoIotTicketSpMaintainUpdateResultDto struct {
	// 异常描述
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// 异常编码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

CainiaoIotTicketSpMaintainUpdateResultDto 结构体

type CainiaoIotTicketSpMaintainVtwoCreateAPIRequest added in v1.2.0

type CainiaoIotTicketSpMaintainVtwoCreateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

CainiaoIotTicketSpMaintainVtwoCreateAPIRequest 服务商制定维修费方案 API请求 cainiao.iot.ticket.sp.maintain.vtwo.create

服务商制定维修费方案

func NewCainiaoIotTicketSpMaintainVtwoCreateRequest

func NewCainiaoIotTicketSpMaintainVtwoCreateRequest() *CainiaoIotTicketSpMaintainVtwoCreateAPIRequest

NewCainiaoIotTicketSpMaintainVtwoCreateRequest 初始化CainiaoIotTicketSpMaintainVtwoCreateAPIRequest对象

func (CainiaoIotTicketSpMaintainVtwoCreateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoIotTicketSpMaintainVtwoCreateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoIotTicketSpMaintainVtwoCreateAPIRequest) GetMakeMaintainPlanTopRequest added in v1.2.0

GetMakeMaintainPlanTopRequest MakeMaintainPlanTopRequest Getter

func (CainiaoIotTicketSpMaintainVtwoCreateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*CainiaoIotTicketSpMaintainVtwoCreateAPIRequest) SetMakeMaintainPlanTopRequest added in v1.2.0

func (r *CainiaoIotTicketSpMaintainVtwoCreateAPIRequest) SetMakeMaintainPlanTopRequest(_makeMaintainPlanTopRequest *MakeMaintainPlanV2topRequest) error

SetMakeMaintainPlanTopRequest is MakeMaintainPlanTopRequest Setter 维修方案

type CainiaoIotTicketSpMaintainVtwoCreateAPIResponse

type CainiaoIotTicketSpMaintainVtwoCreateAPIResponse struct {
	model.CommonResponse
	CainiaoIotTicketSpMaintainVtwoCreateAPIResponseModel
}

CainiaoIotTicketSpMaintainVtwoCreateAPIResponse 服务商制定维修费方案 API返回值 cainiao.iot.ticket.sp.maintain.vtwo.create

服务商制定维修费方案

type CainiaoIotTicketSpMaintainVtwoCreateAPIResponseModel added in v1.2.0

type CainiaoIotTicketSpMaintainVtwoCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"cainiao_iot_ticket_sp_maintain_vtwo_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *CainiaoIotTicketSpMaintainVtwoCreateResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

CainiaoIotTicketSpMaintainVtwoCreateAPIResponseModel is 服务商制定维修费方案 成功返回结果

type CainiaoIotTicketSpMaintainVtwoCreateResultDto

type CainiaoIotTicketSpMaintainVtwoCreateResultDto struct {
	// 异常描述
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

CainiaoIotTicketSpMaintainVtwoCreateResultDto 结构体

type CainiaoIotTicketSpVtwoAcceptAPIRequest added in v1.2.0

type CainiaoIotTicketSpVtwoAcceptAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

CainiaoIotTicketSpVtwoAcceptAPIRequest IoT售后服务商确认接单 API请求 cainiao.iot.ticket.sp.vtwo.accept

IoT售后服务商确认接单

func NewCainiaoIotTicketSpVtwoAcceptRequest

func NewCainiaoIotTicketSpVtwoAcceptRequest() *CainiaoIotTicketSpVtwoAcceptAPIRequest

NewCainiaoIotTicketSpVtwoAcceptRequest 初始化CainiaoIotTicketSpVtwoAcceptAPIRequest对象

func (CainiaoIotTicketSpVtwoAcceptAPIRequest) GetAcceptTicketTopRequest added in v1.2.0

GetAcceptTicketTopRequest AcceptTicketTopRequest Getter

func (CainiaoIotTicketSpVtwoAcceptAPIRequest) GetApiMethodName added in v1.2.0

func (r CainiaoIotTicketSpVtwoAcceptAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoIotTicketSpVtwoAcceptAPIRequest) GetApiParams added in v1.2.0

func (r CainiaoIotTicketSpVtwoAcceptAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoIotTicketSpVtwoAcceptAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*CainiaoIotTicketSpVtwoAcceptAPIRequest) SetAcceptTicketTopRequest added in v1.2.0

func (r *CainiaoIotTicketSpVtwoAcceptAPIRequest) SetAcceptTicketTopRequest(_acceptTicketTopRequest *AcceptTicketV2topRequest) error

SetAcceptTicketTopRequest is AcceptTicketTopRequest Setter 受理接口请求参数

type CainiaoIotTicketSpVtwoAcceptAPIResponse

type CainiaoIotTicketSpVtwoAcceptAPIResponse struct {
	model.CommonResponse
	CainiaoIotTicketSpVtwoAcceptAPIResponseModel
}

CainiaoIotTicketSpVtwoAcceptAPIResponse IoT售后服务商确认接单 API返回值 cainiao.iot.ticket.sp.vtwo.accept

IoT售后服务商确认接单

type CainiaoIotTicketSpVtwoAcceptAPIResponseModel added in v1.2.0

type CainiaoIotTicketSpVtwoAcceptAPIResponseModel struct {
	XMLName xml.Name `xml:"cainiao_iot_ticket_sp_vtwo_accept_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *CainiaoIotTicketSpVtwoAcceptResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

CainiaoIotTicketSpVtwoAcceptAPIResponseModel is IoT售后服务商确认接单 成功返回结果

type CainiaoIotTicketSpVtwoAcceptResultDto

type CainiaoIotTicketSpVtwoAcceptResultDto struct {
	// 异常描述
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

CainiaoIotTicketSpVtwoAcceptResultDto 结构体

type CommentTicketTopRequest

type CommentTicketTopRequest struct {
	// 快递凭证照片
	SendProof []string `json:"send_proof,omitempty" xml:"send_proof>string,omitempty"`
	// 扩展信息
	Feature string `json:"feature,omitempty" xml:"feature,omitempty"`
	// 操作人联系方式
	OperatorPhone string `json:"operator_phone,omitempty" xml:"operator_phone,omitempty"`
	// 操作人编码
	OperatorId string `json:"operator_id,omitempty" xml:"operator_id,omitempty"`
	// 操作人名称
	OperatorName string `json:"operator_name,omitempty" xml:"operator_name,omitempty"`
	// 服务商唯一编码
	SpCode string `json:"sp_code,omitempty" xml:"sp_code,omitempty"`
	// 工单备注
	Comment string `json:"comment,omitempty" xml:"comment,omitempty"`
	// 邮寄编码
	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`
	// 工单Id
	TicketId int64 `json:"ticket_id,omitempty" xml:"ticket_id,omitempty"`
}

CommentTicketTopRequest 结构体

type Images

type Images struct {
	// 图片类型:service-上门服务图片;cuSendProof-客户邮寄凭证;spSendProof-服务商邮寄凭证;abnormalImage-异常信息;purchaseVoucher-用户购买凭证
	Type string `json:"type,omitempty" xml:"type,omitempty"`
	// 图片url
	Url string `json:"url,omitempty" xml:"url,omitempty"`
}

Images 结构体

type IotMaintainPlanItemTopRequest

type IotMaintainPlanItemTopRequest struct {
	// 付款角色:merchant-商家记账;customer-客户支付
	PayRole string `json:"pay_role,omitempty" xml:"pay_role,omitempty"`
	// 设备编码(需要映射)
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
}

IotMaintainPlanItemTopRequest 结构体

type MaintenanceInfo

type MaintenanceInfo struct {
	// 维修配件信息
	PartItemList []PartItemList `json:"part_item_list,omitempty" xml:"part_item_list>part_item_list,omitempty"`
	// 事件类型列表
	EventTypeList []string `json:"event_type_list,omitempty" xml:"event_type_list>string,omitempty"`
	// 维修方式
	MaintainMethod string `json:"maintain_method,omitempty" xml:"maintain_method,omitempty"`
	// 修理方式
	MaintainAbilities string `json:"maintain_abilities,omitempty" xml:"maintain_abilities,omitempty"`
	// 支付方式:payBefore-维修前付费;payAfter-维修后付费;noNeedPay-无需付费
	PayMethod string `json:"pay_method,omitempty" xml:"pay_method,omitempty"`
	// 其它费用
	OtherFee string `json:"other_fee,omitempty" xml:"other_fee,omitempty"`
	// 费用描述
	FeeRemark string `json:"fee_remark,omitempty" xml:"fee_remark,omitempty"`
	// 承保类型
	WarrantyType string `json:"warranty_type,omitempty" xml:"warranty_type,omitempty"`
}

MaintenanceInfo 结构体

type MakeMaintainPlanV2topRequest added in v1.3.1

type MakeMaintainPlanV2topRequest struct {
	// 维修项
	IotMaintainPlanItemList []IotMaintainPlanItemTopRequest `json:"iot_maintain_plan_item_list,omitempty" xml:"iot_maintain_plan_item_list>iot_maintain_plan_item_top_request,omitempty"`
	// 问题列表(需要映射)
	ProblemTypeList []string `json:"problem_type_list,omitempty" xml:"problem_type_list>string,omitempty"`
	// 问题原因(需要映射)
	ProblemCauseList []string `json:"problem_cause_list,omitempty" xml:"problem_cause_list>string,omitempty"`
	// 事件类型(需要映射)
	EventTypeList []string `json:"event_type_list,omitempty" xml:"event_type_list>string,omitempty"`
	// 其它费用
	OtherFee string `json:"other_fee,omitempty" xml:"other_fee,omitempty"`
	// 操作人联系方式
	OperatorPhone string `json:"operator_phone,omitempty" xml:"operator_phone,omitempty"`
	// 操作人姓名
	OperatorName string `json:"operator_name,omitempty" xml:"operator_name,omitempty"`
	// 服务商编码
	SpCode string `json:"sp_code,omitempty" xml:"sp_code,omitempty"`
	// 扩展属性
	Feature string `json:"feature,omitempty" xml:"feature,omitempty"`
	// 费用描述
	FeeRemark string `json:"fee_remark,omitempty" xml:"fee_remark,omitempty"`
	// 保内保外(需要映射)
	WarrantyType string `json:"warranty_type,omitempty" xml:"warranty_type,omitempty"`
	// 支付图片二维码
	PayPictureUrl string `json:"pay_picture_url,omitempty" xml:"pay_picture_url,omitempty"`
	// 操作人Id
	OperatorId string `json:"operator_id,omitempty" xml:"operator_id,omitempty"`
	// 人工费用
	LaborExpense string `json:"labor_expense,omitempty" xml:"labor_expense,omitempty"`
	// 工单Id
	TicketId int64 `json:"ticket_id,omitempty" xml:"ticket_id,omitempty"`
}

MakeMaintainPlanV2topRequest 结构体

type OperateLogList

type OperateLogList struct {
	// 操作人联系方式
	OperatePhone string `json:"operate_phone,omitempty" xml:"operate_phone,omitempty"`
	// 操作时间
	OperateTime string `json:"operate_time,omitempty" xml:"operate_time,omitempty"`
	// 操作类型描述
	OperateType string `json:"operate_type,omitempty" xml:"operate_type,omitempty"`
	// 操作人
	OperateName string `json:"operate_name,omitempty" xml:"operate_name,omitempty"`
	// 备注信息
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
}

OperateLogList 结构体

type PartItemList

type PartItemList struct {
	// 配件编码
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 支付角色:merchant-商家记账;customer-客户付费
	PayRole string `json:"pay_role,omitempty" xml:"pay_role,omitempty"`
}

PartItemList 结构体

type RepairmanInfo

type RepairmanInfo struct {
	// 上门维修人员编号
	RepairmanId string `json:"repairman_id,omitempty" xml:"repairman_id,omitempty"`
	// 上门维修人员名称
	RepairmanName string `json:"repairman_name,omitempty" xml:"repairman_name,omitempty"`
	// 上门维修人员联系方式
	RepairmanPhone string `json:"repairman_phone,omitempty" xml:"repairman_phone,omitempty"`
	// 上门时间
	AppointDate string `json:"appoint_date,omitempty" xml:"appoint_date,omitempty"`
	// 上门维修地址
	VisitAddress string `json:"visit_address,omitempty" xml:"visit_address,omitempty"`
}

RepairmanInfo 结构体

type UpdateMaintainPlanTopRequest

type UpdateMaintainPlanTopRequest struct {
	// 维修项
	IotMaintainPlanItemList []IotMaintainPlanItemTopRequest `json:"iot_maintain_plan_item_list,omitempty" xml:"iot_maintain_plan_item_list>iot_maintain_plan_item_top_request,omitempty"`
	// 事件类型(需要映射)
	EventTypeList []string `json:"event_type_list,omitempty" xml:"event_type_list>string,omitempty"`
	// 操作人联系方式
	OperatorPhone string `json:"operator_phone,omitempty" xml:"operator_phone,omitempty"`
	// 操作人编码
	OperatorId string `json:"operator_id,omitempty" xml:"operator_id,omitempty"`
	// 操作人名称
	OperatorName string `json:"operator_name,omitempty" xml:"operator_name,omitempty"`
	// 服务商唯一编码
	SpCode string `json:"sp_code,omitempty" xml:"sp_code,omitempty"`
	// 运维方案:SEND_BACK_AND_SEND_OUT-客户寄回服务商寄出;SEND_OUT-服务商寄出;ONSITE-上门服务
	MaintainAbilities string `json:"maintain_abilities,omitempty" xml:"maintain_abilities,omitempty"`
	// 客户寄回设备 服务商收件人名称
	ReceiverName string `json:"receiver_name,omitempty" xml:"receiver_name,omitempty"`
	// 其它费用
	OtherFee string `json:"other_fee,omitempty" xml:"other_fee,omitempty"`
	// 客户寄回设备 服务商收货地址
	ReceiverAddress string `json:"receiver_address,omitempty" xml:"receiver_address,omitempty"`
	// 扩展字段
	Features string `json:"features,omitempty" xml:"features,omitempty"`
	// 维修方式(需要映射)
	MaintainMethod string `json:"maintain_method,omitempty" xml:"maintain_method,omitempty"`
	// 客户寄回设备 服务商联系方式
	ReceiverPhone string `json:"receiver_phone,omitempty" xml:"receiver_phone,omitempty"`
	// 支付方式:payBefore-维修前付费;payAfter-维修后付费;noNeedPay-无需付费
	PayMethod string `json:"pay_method,omitempty" xml:"pay_method,omitempty"`
	// 费用描述
	FeeRemark string `json:"fee_remark,omitempty" xml:"fee_remark,omitempty"`
	// 保内保外(需要映射)
	WarrantyType string `json:"warranty_type,omitempty" xml:"warranty_type,omitempty"`
	// 工单Id
	TicketId int64 `json:"ticket_id,omitempty" xml:"ticket_id,omitempty"`
}

UpdateMaintainPlanTopRequest 结构体

type UploadSignVoucherRequest

type UploadSignVoucherRequest struct {
	// 快递签收凭证
	SignProofs []string `json:"sign_proofs,omitempty" xml:"sign_proofs>string,omitempty"`
	// 邮件编码
	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`
	// 扩展信息
	Feature string `json:"feature,omitempty" xml:"feature,omitempty"`
	// 备注
	Comment string `json:"comment,omitempty" xml:"comment,omitempty"`
	// 操作人联系方式
	OperatorPhone string `json:"operator_phone,omitempty" xml:"operator_phone,omitempty"`
	// 操作人编码
	OperatorId string `json:"operator_id,omitempty" xml:"operator_id,omitempty"`
	// 操作人名称
	OperatorName string `json:"operator_name,omitempty" xml:"operator_name,omitempty"`
	// 服务商唯一编码
	SpCode string `json:"sp_code,omitempty" xml:"sp_code,omitempty"`
	// 工单Id
	TicketId int64 `json:"ticket_id,omitempty" xml:"ticket_id,omitempty"`
}

UploadSignVoucherRequest 结构体

Jump to

Keyboard shortcuts

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