iotticket

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

IoT售后解决方案API model

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptTicketTopRequest

type AcceptTicketTopRequest struct {
	// 扩展信息
	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"`
	// 工单Id
	TicketId int64 `json:"ticket_id,omitempty" xml:"ticket_id,omitempty"`
	// 取消工单备注
	Comment string `json:"comment,omitempty" xml:"comment,omitempty"`
	// 取消原因(需要映射)
	CancelReason string `json:"cancel_reason,omitempty" xml:"cancel_reason,omitempty"`
}

AcceptTicketTopRequest

type AcceptTicketV2TopRequest

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 AssignMaintenancePersonnelTopRequest

type AssignMaintenancePersonnelTopRequest struct {
	// 操作人联系方式
	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"`
	// 维修项
	IotMaintainPlanItemList []IotMaintainPlanItemTopRequest `json:"iot_maintain_plan_item_list,omitempty" xml:"iot_maintain_plan_item_list>iot_maintain_plan_item_top_request,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"`
	// 事件类型(需要映射)
	EventTypeList []string `json:"event_type_list,omitempty" xml:"event_type_list>string,omitempty"`
}

AssignMaintenancePersonnelTopRequest

type CainiaoIotTicketDetailQueryAPIResponse

type CainiaoIotTicketDetailQueryAPIResponse struct {
	model.CommonResponse
	CainiaoIotTicketDetailQueryResponse
}

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

Iot售后工单详情信息查询

type CainiaoIotTicketDetailQueryData

type CainiaoIotTicketDetailQueryData struct {
	// 客户地址
	CustomerAddress string `json:"customer_address,omitempty" xml:"customer_address,omitempty"`
	// 图片列表
	Images []Images `json:"images,omitempty" xml:"images>images,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"`
	// 维修方案信息
	MaintenanceInfo *MaintenanceInfo `json:"maintenance_info,omitempty" xml:"maintenance_info,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"`
	// 操作记录
	OperateLogList []OperateLogList `json:"operate_log_list,omitempty" xml:"operate_log_list>operate_log_list,omitempty"`
	// 工单详情描述
	TicketDescription string `json:"ticket_description,omitempty" xml:"ticket_description,omitempty"`
	// 服务商设备寄回邮寄编号
	SpMailNo string `json:"sp_mail_no,omitempty" xml:"sp_mail_no,omitempty"`
	// 上门人员信息
	RepairmanInfo *RepairmanInfo `json:"repairman_info,omitempty" xml:"repairman_info,omitempty"`
	// 工单Id
	TicketId int64 `json:"ticket_id,omitempty" xml:"ticket_id,omitempty"`
	// 服务状态描述:待受理;待发起维修方案;待确认维修方案;维修服务中;待确认完成;待评价;已完结;已撤销
	StatusDesc string `json:"status_desc,omitempty" xml:"status_desc,omitempty"`
}

CainiaoIotTicketDetailQueryData

type CainiaoIotTicketDetailQueryRequest

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

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

Iot售后工单详情信息查询

func NewCainiaoIotTicketDetailQueryRequest

func NewCainiaoIotTicketDetailQueryRequest() *CainiaoIotTicketDetailQueryRequest

初始化CainiaoIotTicketDetailQueryRequest对象

func (CainiaoIotTicketDetailQueryRequest) GetApiMethodName

func (r CainiaoIotTicketDetailQueryRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (CainiaoIotTicketDetailQueryRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (CainiaoIotTicketDetailQueryRequest) GetSpCode

SpCode Getter

func (CainiaoIotTicketDetailQueryRequest) GetTicketId

func (r CainiaoIotTicketDetailQueryRequest) GetTicketId() int64

TicketId Getter

func (*CainiaoIotTicketDetailQueryRequest) SetSpCode

func (r *CainiaoIotTicketDetailQueryRequest) SetSpCode(spCode string) error

SpCode Setter 服务商唯一编码

func (*CainiaoIotTicketDetailQueryRequest) SetTicketId

func (r *CainiaoIotTicketDetailQueryRequest) SetTicketId(ticketId int64) error

TicketId Setter 工单Id

type CainiaoIotTicketDetailQueryResponse

type CainiaoIotTicketDetailQueryResponse 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"`
}

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

type CainiaoIotTicketDetailQueryResult

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

CainiaoIotTicketDetailQueryResult

type CainiaoIotTicketSpAcceptAPIResponse

type CainiaoIotTicketSpAcceptAPIResponse struct {
	model.CommonResponse
	CainiaoIotTicketSpAcceptResponse
}

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

IoT售后服务商确认接单

type CainiaoIotTicketSpAcceptRequest

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

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

IoT售后服务商确认接单

func NewCainiaoIotTicketSpAcceptRequest

func NewCainiaoIotTicketSpAcceptRequest() *CainiaoIotTicketSpAcceptRequest

初始化CainiaoIotTicketSpAcceptRequest对象

func (CainiaoIotTicketSpAcceptRequest) GetApiMethodName

func (r CainiaoIotTicketSpAcceptRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (CainiaoIotTicketSpAcceptRequest) GetApiParams

func (r CainiaoIotTicketSpAcceptRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (CainiaoIotTicketSpAcceptRequest) GetParam

Param Getter

func (*CainiaoIotTicketSpAcceptRequest) SetParam

Param Setter 请求参数

type CainiaoIotTicketSpAcceptResponse

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

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

type CainiaoIotTicketSpAcceptResultDto

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

CainiaoIotTicketSpAcceptResultDto

type CainiaoIotTicketSpCancleAPIResponse

type CainiaoIotTicketSpCancleAPIResponse struct {
	model.CommonResponse
	CainiaoIotTicketSpCancleResponse
}

Iot售后服务商取消工单 API返回值 cainiao.iot.ticket.sp.cancle

IoT售后服务商取消接单

type CainiaoIotTicketSpCancleRequest

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

Iot售后服务商取消工单 API请求 cainiao.iot.ticket.sp.cancle

IoT售后服务商取消接单

func NewCainiaoIotTicketSpCancleRequest

func NewCainiaoIotTicketSpCancleRequest() *CainiaoIotTicketSpCancleRequest

初始化CainiaoIotTicketSpCancleRequest对象

func (CainiaoIotTicketSpCancleRequest) GetApiMethodName

func (r CainiaoIotTicketSpCancleRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (CainiaoIotTicketSpCancleRequest) GetApiParams

func (r CainiaoIotTicketSpCancleRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (CainiaoIotTicketSpCancleRequest) GetParam

Param Getter

func (*CainiaoIotTicketSpCancleRequest) SetParam

Param Setter 请求参数

type CainiaoIotTicketSpCancleResponse

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

Iot售后服务商取消工单 成功返回结果

type CainiaoIotTicketSpCancleResultDto

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

CainiaoIotTicketSpCancleResultDto

type CainiaoIotTicketSpCommentAPIResponse

type CainiaoIotTicketSpCommentAPIResponse struct {
	model.CommonResponse
	CainiaoIotTicketSpCommentResponse
}

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

IoT售后服务商工单备注

type CainiaoIotTicketSpCommentRequest

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

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

IoT售后服务商工单备注

func NewCainiaoIotTicketSpCommentRequest

func NewCainiaoIotTicketSpCommentRequest() *CainiaoIotTicketSpCommentRequest

初始化CainiaoIotTicketSpCommentRequest对象

func (CainiaoIotTicketSpCommentRequest) GetApiMethodName

func (r CainiaoIotTicketSpCommentRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (CainiaoIotTicketSpCommentRequest) GetApiParams

func (r CainiaoIotTicketSpCommentRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (CainiaoIotTicketSpCommentRequest) GetParam

Param Getter

func (*CainiaoIotTicketSpCommentRequest) SetParam

Param Setter 请求参数

type CainiaoIotTicketSpCommentResponse

type CainiaoIotTicketSpCommentResponse 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"`
}

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

type CainiaoIotTicketSpCommentResultDto

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

CainiaoIotTicketSpCommentResultDto

type CainiaoIotTicketSpMailSignUploadAPIResponse

type CainiaoIotTicketSpMailSignUploadAPIResponse struct {
	model.CommonResponse
	CainiaoIotTicketSpMailSignUploadResponse
}

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

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

type CainiaoIotTicketSpMailSignUploadRequest

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

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

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

func NewCainiaoIotTicketSpMailSignUploadRequest

func NewCainiaoIotTicketSpMailSignUploadRequest() *CainiaoIotTicketSpMailSignUploadRequest

初始化CainiaoIotTicketSpMailSignUploadRequest对象

func (CainiaoIotTicketSpMailSignUploadRequest) GetApiMethodName

func (r CainiaoIotTicketSpMailSignUploadRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (CainiaoIotTicketSpMailSignUploadRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (CainiaoIotTicketSpMailSignUploadRequest) GetParam

Param Getter

func (*CainiaoIotTicketSpMailSignUploadRequest) SetParam

Param Setter 请求参数

type CainiaoIotTicketSpMailSignUploadResponse

type CainiaoIotTicketSpMailSignUploadResponse 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"`
}

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

type CainiaoIotTicketSpMailSignUploadResultDto

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

CainiaoIotTicketSpMailSignUploadResultDto

type CainiaoIotTicketSpMailVoucherUploadAPIResponse

type CainiaoIotTicketSpMailVoucherUploadAPIResponse struct {
	model.CommonResponse
	CainiaoIotTicketSpMailVoucherUploadResponse
}

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

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

type CainiaoIotTicketSpMailVoucherUploadRequest

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

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

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

func NewCainiaoIotTicketSpMailVoucherUploadRequest

func NewCainiaoIotTicketSpMailVoucherUploadRequest() *CainiaoIotTicketSpMailVoucherUploadRequest

初始化CainiaoIotTicketSpMailVoucherUploadRequest对象

func (CainiaoIotTicketSpMailVoucherUploadRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (CainiaoIotTicketSpMailVoucherUploadRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (CainiaoIotTicketSpMailVoucherUploadRequest) GetParam

Param Getter

func (*CainiaoIotTicketSpMailVoucherUploadRequest) SetParam

Param Setter 请求参数

type CainiaoIotTicketSpMailVoucherUploadResponse

type CainiaoIotTicketSpMailVoucherUploadResponse 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"`
}

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

type CainiaoIotTicketSpMailVoucherUploadResultDto

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

CainiaoIotTicketSpMailVoucherUploadResultDto

type CainiaoIotTicketSpMaintainCreateAPIResponse

type CainiaoIotTicketSpMaintainCreateAPIResponse struct {
	model.CommonResponse
	CainiaoIotTicketSpMaintainCreateResponse
}

IoT售后服务商制定维修方案 API返回值 cainiao.iot.ticket.sp.maintain.create

IoT售后服务商制定维修方案

type CainiaoIotTicketSpMaintainCreateRequest

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

IoT售后服务商制定维修方案 API请求 cainiao.iot.ticket.sp.maintain.create

IoT售后服务商制定维修方案

func NewCainiaoIotTicketSpMaintainCreateRequest

func NewCainiaoIotTicketSpMaintainCreateRequest() *CainiaoIotTicketSpMaintainCreateRequest

初始化CainiaoIotTicketSpMaintainCreateRequest对象

func (CainiaoIotTicketSpMaintainCreateRequest) GetApiMethodName

func (r CainiaoIotTicketSpMaintainCreateRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (CainiaoIotTicketSpMaintainCreateRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (CainiaoIotTicketSpMaintainCreateRequest) GetParam

Param Getter

func (*CainiaoIotTicketSpMaintainCreateRequest) SetParam

Param Setter 请求参数

type CainiaoIotTicketSpMaintainCreateResponse

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

IoT售后服务商制定维修方案 成功返回结果

type CainiaoIotTicketSpMaintainCreateResultDto

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

CainiaoIotTicketSpMaintainCreateResultDto

type CainiaoIotTicketSpMaintainUpdateAPIResponse

type CainiaoIotTicketSpMaintainUpdateAPIResponse struct {
	model.CommonResponse
	CainiaoIotTicketSpMaintainUpdateResponse
}

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

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

type CainiaoIotTicketSpMaintainUpdateRequest

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

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

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

func NewCainiaoIotTicketSpMaintainUpdateRequest

func NewCainiaoIotTicketSpMaintainUpdateRequest() *CainiaoIotTicketSpMaintainUpdateRequest

初始化CainiaoIotTicketSpMaintainUpdateRequest对象

func (CainiaoIotTicketSpMaintainUpdateRequest) GetApiMethodName

func (r CainiaoIotTicketSpMaintainUpdateRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (CainiaoIotTicketSpMaintainUpdateRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (CainiaoIotTicketSpMaintainUpdateRequest) GetParam

Param Getter

func (*CainiaoIotTicketSpMaintainUpdateRequest) SetParam

Param Setter 请求参数

type CainiaoIotTicketSpMaintainUpdateResponse

type CainiaoIotTicketSpMaintainUpdateResponse 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"`
}

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

type CainiaoIotTicketSpMaintainUpdateResultDto

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

CainiaoIotTicketSpMaintainUpdateResultDto

type CainiaoIotTicketSpMaintainVtwoCreateAPIResponse

type CainiaoIotTicketSpMaintainVtwoCreateAPIResponse struct {
	model.CommonResponse
	CainiaoIotTicketSpMaintainVtwoCreateResponse
}

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

服务商制定维修费方案

type CainiaoIotTicketSpMaintainVtwoCreateRequest

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

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

服务商制定维修费方案

func NewCainiaoIotTicketSpMaintainVtwoCreateRequest

func NewCainiaoIotTicketSpMaintainVtwoCreateRequest() *CainiaoIotTicketSpMaintainVtwoCreateRequest

初始化CainiaoIotTicketSpMaintainVtwoCreateRequest对象

func (CainiaoIotTicketSpMaintainVtwoCreateRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (CainiaoIotTicketSpMaintainVtwoCreateRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (CainiaoIotTicketSpMaintainVtwoCreateRequest) GetMakeMaintainPlanTopRequest

MakeMaintainPlanTopRequest Getter

func (*CainiaoIotTicketSpMaintainVtwoCreateRequest) SetMakeMaintainPlanTopRequest

func (r *CainiaoIotTicketSpMaintainVtwoCreateRequest) SetMakeMaintainPlanTopRequest(makeMaintainPlanTopRequest *MakeMaintainPlanV2TopRequest) error

MakeMaintainPlanTopRequest Setter 维修方案

type CainiaoIotTicketSpMaintainVtwoCreateResponse

type CainiaoIotTicketSpMaintainVtwoCreateResponse 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"`
}

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

type CainiaoIotTicketSpMaintainVtwoCreateResultDto

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

CainiaoIotTicketSpMaintainVtwoCreateResultDto

type CainiaoIotTicketSpVtwoAcceptAPIResponse

type CainiaoIotTicketSpVtwoAcceptAPIResponse struct {
	model.CommonResponse
	CainiaoIotTicketSpVtwoAcceptResponse
}

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

IoT售后服务商确认接单

type CainiaoIotTicketSpVtwoAcceptRequest

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

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

IoT售后服务商确认接单

func NewCainiaoIotTicketSpVtwoAcceptRequest

func NewCainiaoIotTicketSpVtwoAcceptRequest() *CainiaoIotTicketSpVtwoAcceptRequest

初始化CainiaoIotTicketSpVtwoAcceptRequest对象

func (CainiaoIotTicketSpVtwoAcceptRequest) GetAcceptTicketTopRequest

func (r CainiaoIotTicketSpVtwoAcceptRequest) GetAcceptTicketTopRequest() *AcceptTicketV2TopRequest

AcceptTicketTopRequest Getter

func (CainiaoIotTicketSpVtwoAcceptRequest) GetApiMethodName

func (r CainiaoIotTicketSpVtwoAcceptRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (CainiaoIotTicketSpVtwoAcceptRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (*CainiaoIotTicketSpVtwoAcceptRequest) SetAcceptTicketTopRequest

func (r *CainiaoIotTicketSpVtwoAcceptRequest) SetAcceptTicketTopRequest(acceptTicketTopRequest *AcceptTicketV2TopRequest) error

AcceptTicketTopRequest Setter 受理接口请求参数

type CainiaoIotTicketSpVtwoAcceptResponse

type CainiaoIotTicketSpVtwoAcceptResponse 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"`
}

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

type CainiaoIotTicketSpVtwoAcceptResultDto

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

CainiaoIotTicketSpVtwoAcceptResultDto

type CommentTicketTopRequest

type CommentTicketTopRequest struct {
	// 扩展信息
	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"`
	// 工单Id
	TicketId int64 `json:"ticket_id,omitempty" xml:"ticket_id,omitempty"`
	// 工单备注
	Comment string `json:"comment,omitempty" xml:"comment,omitempty"`
	// 邮寄编码
	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`
	// 快递凭证照片
	SendProof []string `json:"send_proof,omitempty" xml:"send_proof>string,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 {
	// 维修方式
	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"`
	// 维修配件信息
	PartItemList []PartItemList `json:"part_item_list,omitempty" xml:"part_item_list>part_item_list,omitempty"`
	// 承保类型
	WarrantyType string `json:"warranty_type,omitempty" xml:"warranty_type,omitempty"`
	// 事件类型列表
	EventTypeList []string `json:"event_type_list,omitempty" xml:"event_type_list>string,omitempty"`
}

MaintenanceInfo

type MakeMaintainPlanV2TopRequest

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"`
	// 其它费用
	OtherFee string `json:"other_fee,omitempty" xml:"other_fee,omitempty"`
	// 问题原因(需要映射)
	ProblemCauseList []string `json:"problem_cause_list,omitempty" xml:"problem_cause_list>string,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"`
	// 事件类型(需要映射)
	EventTypeList []string `json:"event_type_list,omitempty" xml:"event_type_list>string,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 {
	// 操作人联系方式
	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"`
	// 维修项
	IotMaintainPlanItemList []IotMaintainPlanItemTopRequest `json:"iot_maintain_plan_item_list,omitempty" xml:"iot_maintain_plan_item_list>iot_maintain_plan_item_top_request,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"`
	// 事件类型(需要映射)
	EventTypeList []string `json:"event_type_list,omitempty" xml:"event_type_list>string,omitempty"`
}

UpdateMaintainPlanTopRequest

type UploadSignVoucherRequest

type UploadSignVoucherRequest struct {
	// 扩展信息
	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"`
	// 工单Id
	TicketId int64 `json:"ticket_id,omitempty" xml:"ticket_id,omitempty"`
	// 备注
	Comment string `json:"comment,omitempty" xml:"comment,omitempty"`
	// 邮件编码
	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`
	// 快递签收凭证
	SignProofs []string `json:"sign_proofs,omitempty" xml:"sign_proofs>string,omitempty"`
}

UploadSignVoucherRequest

Source Files

Jump to

Keyboard shortcuts

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