wangwang

package
v0.0.0-...-f648943 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2014 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

提供了旺旺聊天记录,平均等待时间,客服评价统计,客服未回复人数和客服接待数等绩效考核功能 auto sdk from taobao ApiMetadata.xml version 20140725 auther: [email protected]

Index

Constants

View Source
const VersionNo = "20140725"

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountInfo

type AccountInfo struct {
	Account      string `json:"account"`
	AccountStats struct {
		AccountStat []*AccountStat `json:"account_stat"`
	} `json:"account_stats"`
	Count int `json:"count"`
}

E客服账号操作信息

type AccountStat

type AccountStat struct {
	LoginStatus     int    `json:"login_status"`
	OnserviceStatus int    `json:"onservice_status"`
	Time            string `json:"time"`
}

E客服账号操作记录

type Chatpeer

type Chatpeer struct {
	Date string `json:"date"`
	Uid  string `json:"uid"`
}

聊天对象ID列表

type EvalDetail

type EvalDetail struct {
	EvalCode   int    `json:"eval_code"`
	EvalRecer  string `json:"eval_recer"`
	EvalSender string `json:"eval_sender"`
	EvalTime   string `json:"eval_time"`
	SendTime   string `json:"send_time"`
}

评价详细

type Evaluation

type Evaluation struct {
	EvaluationName string `json:"evaluation_name"`
	EvaluationNum  string `json:"evaluation_num"`
}

客服评价

type GroupMember

type GroupMember struct {
	GroupId    int    `json:"group_id"`
	GroupName  string `json:"group_name"`
	MemberList string `json:"member_list"`
}

组及其成员列表

type LoginLog

type LoginLog struct {
	Time string `json:"time"`
	Type string `json:"type"`
}

登录日志

type MsgList

type MsgList struct {
	Content   string `json:"content"`
	Direction int    `json:"direction"`
	Length    int    `json:"length"`
	Time      string `json:"time"`
	Type      int    `json:"type"`
	UrlLists  struct {
		UrlList []*UrlList `json:"url_list"`
	} `json:"url_lists"`
	WordLists struct {
		WordCountList []*WordCountList `json:"word_count_list"`
	} `json:"word_lists"`
}

聊天记录列表

type NonReplyStatOnDay

type NonReplyStatOnDay struct {
	NonreplyDate      string `json:"nonreply_date"`
	NonreplyStatByIds struct {
		NonreplyStatById []*NonreplyStatById `json:"nonreply_stat_by_id"`
	} `json:"nonreply_stat_by_ids"`
}

未回复统计列表(按天)

type NonreplyStatById

type NonreplyStatById struct {
	NonReplyCustomId string `json:"non_reply_customId"`
	NonReplyNum      int    `json:"non_reply_num"`
	ServiceStaffId   string `json:"service_staff_id"`
}

客服未回复统计

type OnlineTimeById

type OnlineTimeById struct {
	OnlineTimes    int    `json:"online_times"`
	ServiceStaffId string `json:"service_staff_id"`
}

在线时长

type OnlineTimesOnDay

type OnlineTimesOnDay struct {
	OnlineDate      string `json:"online_date"`
	OnlineTimeByIds struct {
		OnlineTimeById []*OnlineTimeById `json:"online_time_by_id"`
	} `json:"online_time_by_ids"`
}

某天的客服在线时长列表

type ReplyStatById

type ReplyStatById struct {
	ReplyNum int    `json:"reply_num"`
	UserId   string `json:"user_id"`
}

客服回复统计

type ReplyStatOnDay

type ReplyStatOnDay struct {
	ReplyDate      string `json:"reply_date"`
	ReplyStatByIds struct {
		ReplyStatById []*ReplyStatById `json:"reply_stat_by_id"`
	} `json:"reply_stat_by_ids"`
}

(某天)回复统计列表

type StaffEvalStatById

type StaffEvalStatById struct {
	Evaluations struct {
		Evaluation []*Evaluation `json:"evaluation"`
	} `json:"evaluations"`
	ServiceStaffId string `json:"service_staff_id"`
}

客服评价统计

type StaffEvalStatOnDay

type StaffEvalStatOnDay struct {
	EvalDate           string `json:"eval_date"`
	StaffEvalStatByIds struct {
		StaffEvalStatById []*StaffEvalStatById `json:"staff_eval_stat_by_id"`
	} `json:"staff_eval_stat_by_ids"`
}

客服评价统计列表(按天)

type StreamWeight

type StreamWeight struct {
	User   string `json:"user"`
	Weight int    `json:"weight"`
}

分流权重

type UrlList

type UrlList struct {
	Url string `json:"url"`
}

url列表

type UserLoginlog

type UserLoginlog struct {
	Count     int `json:"count"`
	Loginlogs struct {
		LoginLog []*LoginLog `json:"login_log"`
	} `json:"loginlogs"`
	Uid string `json:"uid"`
}

登陆日志

type WaitingTimeById

type WaitingTimeById struct {
	AvgWaitingTimes int    `json:"avg_waiting_times"`
	ServiceStaffId  string `json:"service_staff_id"`
}

平均等待时长

type WaitingTimesOnDay

type WaitingTimesOnDay struct {
	WaitingDate      string `json:"waiting_date"`
	WaitingTimeByIds struct {
		WaitingTimeById []*WaitingTimeById `json:"waiting_time_by_id"`
	} `json:"waiting_time_by_ids"`
}

客户等待(客服)平均时长列表

type WangwangAbstractAddwordRequest

type WangwangAbstractAddwordRequest struct {
	open_taobao.TaobaoMethodRequest
}

增加关键词,只支持json返回

func (*WangwangAbstractAddwordRequest) GetResponse

func (*WangwangAbstractAddwordRequest) SetCharset

func (r *WangwangAbstractAddwordRequest) SetCharset(value string)

传入参数的字符集

func (*WangwangAbstractAddwordRequest) SetWord

func (r *WangwangAbstractAddwordRequest) SetWord(value string)

关键词,长度大于0<br /> 支持最大长度为:12<br /> 支持的最大列表长度为:12

type WangwangAbstractAddwordResponse

type WangwangAbstractAddwordResponse struct {
	ErrorMsg string `json:"error_msg"`
	RetCode  int    `json:"ret_code"`
}

type WangwangAbstractAddwordResponseResult

type WangwangAbstractAddwordResponseResult struct {
	Response *WangwangAbstractAddwordResponse `json:"wangwang_abstract_addword_response"`
}

type WangwangAbstractDeletewordRequest

type WangwangAbstractDeletewordRequest struct {
	open_taobao.TaobaoMethodRequest
}

删除关键词,只支持json返回

func (*WangwangAbstractDeletewordRequest) GetResponse

func (*WangwangAbstractDeletewordRequest) SetCharset

func (r *WangwangAbstractDeletewordRequest) SetCharset(value string)

传入参数的字符集

func (*WangwangAbstractDeletewordRequest) SetWord

func (r *WangwangAbstractDeletewordRequest) SetWord(value string)

关键词,长度大于0<br /> 支持最大长度为:12<br /> 支持的最大列表长度为:12

type WangwangAbstractDeletewordResponse

type WangwangAbstractDeletewordResponse struct {
	ErrorMsg string `json:"error_msg"`
	RetCode  int    `json:"ret_code"`
}

type WangwangAbstractDeletewordResponseResult

type WangwangAbstractDeletewordResponseResult struct {
	Response *WangwangAbstractDeletewordResponse `json:"wangwang_abstract_deleteword_response"`
}

type WangwangAbstractGetwordlistRequest

type WangwangAbstractGetwordlistRequest struct {
	open_taobao.TaobaoMethodRequest
}

获取关键词列表,只支持json返回

func (*WangwangAbstractGetwordlistRequest) GetResponse

func (*WangwangAbstractGetwordlistRequest) SetCharset

func (r *WangwangAbstractGetwordlistRequest) SetCharset(value string)

传入参数的字符集

type WangwangAbstractGetwordlistResponse

type WangwangAbstractGetwordlistResponse struct {
	ErrorMsg  string `json:"error_msg"`
	RetCode   int    `json:"ret_code"`
	WordLists struct {
		WordList []*WordList `json:"word_list"`
	} `json:"word_lists"`
}

type WangwangAbstractGetwordlistResponseResult

type WangwangAbstractGetwordlistResponseResult struct {
	Response *WangwangAbstractGetwordlistResponse `json:"wangwang_abstract_getwordlist_response"`
}

type WangwangAbstractInitializeRequest

type WangwangAbstractInitializeRequest struct {
	open_taobao.TaobaoMethodRequest
}

模糊查询服务初始化,只支持json返回

func (*WangwangAbstractInitializeRequest) GetResponse

func (*WangwangAbstractInitializeRequest) SetCharset

func (r *WangwangAbstractInitializeRequest) SetCharset(value string)

传入参数的字符集

type WangwangAbstractInitializeResponse

type WangwangAbstractInitializeResponse struct {
	ErrorMsg string `json:"error_msg"`
	RetCode  int    `json:"ret_code"`
}

type WangwangAbstractInitializeResponseResult

type WangwangAbstractInitializeResponseResult struct {
	Response *WangwangAbstractInitializeResponse `json:"wangwang_abstract_initialize_response"`
}

type WangwangAbstractLogqueryRequest

type WangwangAbstractLogqueryRequest struct {
	open_taobao.TaobaoMethodRequest
}

模糊聊天记录查询,仅支持json返回,仅提供近3个月内数据查询,开始和结束时间不能超过7天

func (*WangwangAbstractLogqueryRequest) GetResponse

func (*WangwangAbstractLogqueryRequest) SetCharset

func (r *WangwangAbstractLogqueryRequest) SetCharset(value string)

传入参数的字符集

func (*WangwangAbstractLogqueryRequest) SetCount

func (r *WangwangAbstractLogqueryRequest) SetCount(value string)

获取记录条数,默认值是1000<br /> 支持最小值为:1

func (*WangwangAbstractLogqueryRequest) SetEndDate

func (r *WangwangAbstractLogqueryRequest) SetEndDate(value string)

东八区时间

func (*WangwangAbstractLogqueryRequest) SetFromId

func (r *WangwangAbstractLogqueryRequest) SetFromId(value string)

卖家id,有cntaobao前缀

func (*WangwangAbstractLogqueryRequest) SetNextKey

func (r *WangwangAbstractLogqueryRequest) SetNextKey(value string)

设置了这个值,那么聊天记录就从这个点开始查询

func (*WangwangAbstractLogqueryRequest) SetStartDate

func (r *WangwangAbstractLogqueryRequest) SetStartDate(value string)

东八区时间

func (*WangwangAbstractLogqueryRequest) SetToId

func (r *WangwangAbstractLogqueryRequest) SetToId(value string)

买家id,有cntaobao前缀

type WangwangAbstractLogqueryResponse

type WangwangAbstractLogqueryResponse struct {
	ErrorMsg string `json:"error_msg"`
	FromId   string `json:"from_id"`
	IsSliced int    `json:"is_sliced"`
	MsgLists struct {
		MsgList []*MsgList `json:"msg_list"`
	} `json:"msg_lists"`
	NextKey string `json:"next_key"`
	RetCode int    `json:"ret_code"`
	ToId    string `json:"to_id"`
}

type WangwangAbstractLogqueryResponseResult

type WangwangAbstractLogqueryResponseResult struct {
	Response *WangwangAbstractLogqueryResponse `json:"wangwang_abstract_logquery_response"`
}

type WangwangEserviceAccountstatusGetRequest

type WangwangEserviceAccountstatusGetRequest struct {
	open_taobao.TaobaoMethodRequest
}

查询E客服账号的操作记录。如:登录,下线,挂起等。

func (*WangwangEserviceAccountstatusGetRequest) GetResponse

func (*WangwangEserviceAccountstatusGetRequest) SetBtime

的起始时间。</br>

格式为: YYYY-mm-dd_HH:MM:SS </br> 注:</br> 1. 查询时间必须在30天之内。 2. 起始时间和结束时间间隔不超过7天。<br /> 支持最大长度为:19<br /> 支持的最大列表长度为:19

func (*WangwangEserviceAccountstatusGetRequest) SetEtime

结束时间 。 </br>

格式为:YYYY-mm-dd_HH:MM:SS </br> 注:</br> 1. 查询时间必须在30天之内。 2. 起始时间和结束时间间隔不超过7天。<br /> 支持最大长度为:19<br /> 支持的最大列表长度为:19

func (*WangwangEserviceAccountstatusGetRequest) SetUid

查询账号(序列)。 需要带前缀(如cntaobao)。</br>

注: </br> 1. uid中所有账号必须为授权店铺的店铺内账号。</br> 2. 如果传入多个账号,账号与账号之间以","分割。最多30个账号。每个账号的最大长度是64。</br> 3. 由于后端依然是顺序请求,所以该接口的响应时长是会随uid的数量线性增长,即uid数量越多,调用时间越长。请合理使用<br /> 支持最大长度为:1920<br /> 支持的最大列表长度为:1920

type WangwangEserviceAccountstatusGetResponse

type WangwangEserviceAccountstatusGetResponse struct {
	AccountInfos struct {
		AccountInfo []*AccountInfo `json:"account_info"`
	} `json:"account_infos"`
	RetCode int `json:"ret_code"`
}

type WangwangEserviceAccountstatusGetResponseResult

type WangwangEserviceAccountstatusGetResponseResult struct {
	Response *WangwangEserviceAccountstatusGetResponse `json:"wangwang_eservice_accountstatus_get_response"`
}

type WangwangEserviceAvgwaittimeGetRequest

type WangwangEserviceAvgwaittimeGetRequest struct {
	open_taobao.TaobaoMethodRequest
}
根据客服ID和日期,获取该客服"当日接待的所有客户的平均等待时长"。  <br/>

备注: <br/> 1、如果是操作者ID=被查者ID,返回被查者ID的"当日接待的所有客户的平均等待时长"。 <br/> 2、如果操作者是组管理员,他可以查询他的组中的所有子帐号的"当日接待的所有客户的平均等待时长"。service_staff_id为所有子帐号,用 "," 隔开 <br/> 3、如果操作者是主账户,他可以查询所有子帐号的"当日接待的所有客户的平均等待时长"。 service_staff_id为所有子帐号,用 "," 隔开<br/>

4、被查者ID可以是多个,用 "," 隔开,id数不能超过30。  <br/>
5、开始时间与结束时间之间的间隔不能超过7天  <br/>
6、不能查询90天以前的数据  <br/>
7、不能查询当天的记录

func (*WangwangEserviceAvgwaittimeGetRequest) GetResponse

func (*WangwangEserviceAvgwaittimeGetRequest) SetEndDate

func (r *WangwangEserviceAvgwaittimeGetRequest) SetEndDate(value string)

结束时间

func (*WangwangEserviceAvgwaittimeGetRequest) SetServiceStaffId

func (r *WangwangEserviceAvgwaittimeGetRequest) SetServiceStaffId(value string)

客服人员id:cntaobao+淘宝nick,例如cntaobaotest<br /> 支持最大长度为:1900<br /> 支持的最大列表长度为:1900

func (*WangwangEserviceAvgwaittimeGetRequest) SetStartDate

func (r *WangwangEserviceAvgwaittimeGetRequest) SetStartDate(value string)

开始时间

type WangwangEserviceAvgwaittimeGetResponse

type WangwangEserviceAvgwaittimeGetResponse struct {
	WaitingTimeListOnDays struct {
		WaitingTimesOnDay []*WaitingTimesOnDay `json:"waiting_times_on_day"`
	} `json:"waiting_time_list_on_days"`
}

type WangwangEserviceAvgwaittimeGetResponseResult

type WangwangEserviceAvgwaittimeGetResponseResult struct {
	Response *WangwangEserviceAvgwaittimeGetResponse `json:"wangwang_eservice_avgwaittime_get_response"`
}

type WangwangEserviceChatpeersGetRequest

type WangwangEserviceChatpeersGetRequest struct {
	open_taobao.TaobaoMethodRequest
}

获取聊天对象列表,只能获取最近1个月内的数据且查询时间段<=7天,只支持xml返回 。

func (*WangwangEserviceChatpeersGetRequest) GetResponse

func (*WangwangEserviceChatpeersGetRequest) SetCharset

func (r *WangwangEserviceChatpeersGetRequest) SetCharset(value string)

字符集

func (*WangwangEserviceChatpeersGetRequest) SetChatId

func (r *WangwangEserviceChatpeersGetRequest) SetChatId(value string)

聊天用户ID:cntaobao+淘宝nick,例如cntaobaotest

func (*WangwangEserviceChatpeersGetRequest) SetEndDate

func (r *WangwangEserviceChatpeersGetRequest) SetEndDate(value string)

查询结束日期。如2010-03-24,与起始日期跨度不能超过7天

func (*WangwangEserviceChatpeersGetRequest) SetStartDate

func (r *WangwangEserviceChatpeersGetRequest) SetStartDate(value string)

查询起始日期。如2010-02-01,与当前日期间隔小于1个月。

type WangwangEserviceChatpeersGetResponse

type WangwangEserviceChatpeersGetResponse struct {
	Chatpeers struct {
		Chatpeer []*Chatpeer `json:"chatpeer"`
	} `json:"chatpeers"`
	Count int `json:"count"`
	Ret   int `json:"ret"`
}

type WangwangEserviceChatpeersGetResponseResult

type WangwangEserviceChatpeersGetResponseResult struct {
	Response *WangwangEserviceChatpeersGetResponse `json:"wangwang_eservice_chatpeers_get_response"`
}

type WangwangEserviceEvalsGetRequest

type WangwangEserviceEvalsGetRequest struct {
	open_taobao.TaobaoMethodRequest
}
根据用户id查询用户对应的评价详细情况,

主账号id可以查询店铺内子账号的评价 组管理员可以查询组内账号的评价 非管理员的子账号可以查自己的评价

func (*WangwangEserviceEvalsGetRequest) GetResponse

func (*WangwangEserviceEvalsGetRequest) SetEndDate

func (r *WangwangEserviceEvalsGetRequest) SetEndDate(value string)

结束时间

func (*WangwangEserviceEvalsGetRequest) SetServiceStaffId

func (r *WangwangEserviceEvalsGetRequest) SetServiceStaffId(value string)

想要查询的账号列表

func (*WangwangEserviceEvalsGetRequest) SetStartDate

func (r *WangwangEserviceEvalsGetRequest) SetStartDate(value string)

开始时间

type WangwangEserviceEvalsGetResponse

type WangwangEserviceEvalsGetResponse struct {
	ResultCode       int `json:"result_code"`
	ResultCount      int `json:"result_count"`
	StaffEvalDetails struct {
		EvalDetail []*EvalDetail `json:"eval_detail"`
	} `json:"staff_eval_details"`
}

type WangwangEserviceEvalsGetResponseResult

type WangwangEserviceEvalsGetResponseResult struct {
	Response *WangwangEserviceEvalsGetResponse `json:"wangwang_eservice_evals_get_response"`
}

type WangwangEserviceEvaluationGetRequest

type WangwangEserviceEvaluationGetRequest struct {
	open_taobao.TaobaoMethodRequest
}
根据操作者ID,返回被查者ID指定日期内每个帐号每日的"客服评价统计"

备注:1、如果是操作者ID=被查者ID,返回被查者ID的"客服评价统计"。

2、如果操作者是组管理员,他可以查询他的组中的所有子帐号的"客服评价统计"。

3、如果操作者是主账户,他可以查询所有子帐号的"客服评价统计"。
4、被查者ID可以是多个,用 "," 隔开,id数不能超过30。
5、开始时间与结束时间之间的间隔不能超过7天
6、不能查询90天以前的数据
7、不能查询当天的记录

func (*WangwangEserviceEvaluationGetRequest) GetResponse

func (*WangwangEserviceEvaluationGetRequest) SetEndDate

func (r *WangwangEserviceEvaluationGetRequest) SetEndDate(value string)

查询结束日期

func (*WangwangEserviceEvaluationGetRequest) SetServiceStaffId

func (r *WangwangEserviceEvaluationGetRequest) SetServiceStaffId(value string)

客服人员id:cntaobao+淘宝nick,例如cntaobaotest<br /> 支持最大长度为:1900<br /> 支持的最大列表长度为:1900

func (*WangwangEserviceEvaluationGetRequest) SetStartDate

func (r *WangwangEserviceEvaluationGetRequest) SetStartDate(value string)

查询开始日期

type WangwangEserviceEvaluationGetResponse

type WangwangEserviceEvaluationGetResponse struct {
	StaffEvalStatOnDays struct {
		StaffEvalStatOnDay []*StaffEvalStatOnDay `json:"staff_eval_stat_on_day"`
	} `json:"staff_eval_stat_on_days"`
}

type WangwangEserviceEvaluationGetResponseResult

type WangwangEserviceEvaluationGetResponseResult struct {
	Response *WangwangEserviceEvaluationGetResponse `json:"wangwang_eservice_evaluation_get_response"`
}

type WangwangEserviceGroupmemberGetRequest

type WangwangEserviceGroupmemberGetRequest struct {
	open_taobao.TaobaoMethodRequest
}
用某个组管理员账号查询,返回该组组名、和该组所有组成员ID(E客服的分流设置)。

用旺旺主帐号查询,返回所有组的组名和该组所有组成员ID。

返回的组成员ID可以是多个,用 "," 隔开。

被查者ID只能传入一个。

组成员中排名最靠前的ID是组管理员ID

func (*WangwangEserviceGroupmemberGetRequest) GetResponse

func (*WangwangEserviceGroupmemberGetRequest) SetManagerId

func (r *WangwangEserviceGroupmemberGetRequest) SetManagerId(value string)

主帐号ID:cntaobao+淘宝nick,例如cntaobaotest<br /> 支持最大长度为:128<br /> 支持的最大列表长度为:128

type WangwangEserviceGroupmemberGetResponse

type WangwangEserviceGroupmemberGetResponse struct {
	GroupMemberList struct {
		GroupMember []*GroupMember `json:"group_member"`
	} `json:"group_member_list"`
}

type WangwangEserviceGroupmemberGetResponseResult

type WangwangEserviceGroupmemberGetResponseResult struct {
	Response *WangwangEserviceGroupmemberGetResponse `json:"wangwang_eservice_groupmember_get_response"`
}

type WangwangEserviceLoginlogsGetRequest

type WangwangEserviceLoginlogsGetRequest struct {
	open_taobao.TaobaoMethodRequest
}
通过用户id查询用户自己或者子账户的登录日志:

主账号可以查询自己和店铺子账户的登录日志(查询时需要输入子账号,多个用,隔开) 组管理员可以查询自己和组内子账号的登录日志(查询时需要输入子账号,多个用,隔开) 非组管理员的子账户只能查询自己的登录日志 注:目前sdk只能支持到body内容的返回,body内数据结构的解析需要开发者自己写代码

func (*WangwangEserviceLoginlogsGetRequest) GetResponse

func (*WangwangEserviceLoginlogsGetRequest) SetEndDate

func (r *WangwangEserviceLoginlogsGetRequest) SetEndDate(value string)

查询登录日志的结束时间,必须按示例的格式,否则会返回错误

func (*WangwangEserviceLoginlogsGetRequest) SetServiceStaffId

func (r *WangwangEserviceLoginlogsGetRequest) SetServiceStaffId(value string)

需要查询登录日志的账号列表

func (*WangwangEserviceLoginlogsGetRequest) SetStartDate

func (r *WangwangEserviceLoginlogsGetRequest) SetStartDate(value string)

查询登录日志的开始日期,必须按示例的格式,否则会返回错误

type WangwangEserviceLoginlogsGetResponse

type WangwangEserviceLoginlogsGetResponse struct {
	Count     int `json:"count"`
	Loginlogs struct {
		LoginLog []*LoginLog `json:"login_log"`
	} `json:"loginlogs"`
	UserId string `json:"user_id"`
}

type WangwangEserviceLoginlogsGetResponseResult

type WangwangEserviceLoginlogsGetResponseResult struct {
	Response *WangwangEserviceLoginlogsGetResponse `json:"wangwang_eservice_loginlogs_get_response"`
}

type WangwangEserviceNewevalsGetRequest

type WangwangEserviceNewevalsGetRequest struct {
	open_taobao.TaobaoMethodRequest
}

查询评价详细数据

func (*WangwangEserviceNewevalsGetRequest) GetResponse

func (*WangwangEserviceNewevalsGetRequest) SetBtime

func (r *WangwangEserviceNewevalsGetRequest) SetBtime(value string)
查询登录日志的开始日期,必须按示例的格式,否则会返回错误;

开始时间不能在当前时间30天前,开始时间和结束时间的间隔不能超过7天; 开始时间不能超过当前系统时间

func (*WangwangEserviceNewevalsGetRequest) SetEtime

func (r *WangwangEserviceNewevalsGetRequest) SetEtime(value string)
查询登录日志的结束时间,必须按示例的格式,否则会返回错误;

结束时间不能小于开始时间,结束时间和开始时间的间隔不能超过7天

func (*WangwangEserviceNewevalsGetRequest) SetQueryIds

func (r *WangwangEserviceNewevalsGetRequest) SetQueryIds(value string)

需要查询登录日志的账号列表,多个id之间用逗号隔开,每次查询的id数不能超过30个

type WangwangEserviceNewevalsGetResponse

type WangwangEserviceNewevalsGetResponse struct {
	ResultCode       int `json:"result_code"`
	ResultCount      int `json:"result_count"`
	StaffEvalDetails struct {
		EvalDetail []*EvalDetail `json:"eval_detail"`
	} `json:"staff_eval_details"`
}

type WangwangEserviceNewevalsGetResponseResult

type WangwangEserviceNewevalsGetResponseResult struct {
	Response *WangwangEserviceNewevalsGetResponse `json:"wangwang_eservice_newevals_get_response"`
}

type WangwangEserviceNewloginlogsGetRequest

type WangwangEserviceNewloginlogsGetRequest struct {
	open_taobao.TaobaoMethodRequest
}

查询登陆日志

func (*WangwangEserviceNewloginlogsGetRequest) GetResponse

func (*WangwangEserviceNewloginlogsGetRequest) SetBtime

查询登录日志的开始日期,必须按示例的格式,否则会返回错误;

开始时间不能在当前时间30天前,开始时间和结束时间的间隔不能超过7天; 开始时间不能超过当前系统时间

func (*WangwangEserviceNewloginlogsGetRequest) SetEtime

查询登录日志的结束时间,必须按示例的格式,否则会返回错误;

结束时间不能小于开始时间,结束时间和开始时间的间隔不能超过7天

func (*WangwangEserviceNewloginlogsGetRequest) SetQueryIds

func (r *WangwangEserviceNewloginlogsGetRequest) SetQueryIds(value string)

需要查询登录日志的账号列表,多个id之间用逗号隔开,每次查询的id数不能超过30个

type WangwangEserviceNewloginlogsGetResponse

type WangwangEserviceNewloginlogsGetResponse struct {
	Userloginlogs struct {
		UserLoginlog []*UserLoginlog `json:"user_loginlog"`
	} `json:"userloginlogs"`
}

type WangwangEserviceNewloginlogsGetResponseResult

type WangwangEserviceNewloginlogsGetResponseResult struct {
	Response *WangwangEserviceNewloginlogsGetResponse `json:"wangwang_eservice_newloginlogs_get_response"`
}

type WangwangEserviceNoreplynumGetRequest

type WangwangEserviceNoreplynumGetRequest struct {
	open_taobao.TaobaoMethodRequest
}
根据操作者ID,返回被查者ID指定日期内每个帐号每日的"未回复情况"

备注:1、如果是操作者ID=被查者ID,返回被查者ID的"未回复情况"(未回复人数、未回复的ID)。

2、如果操作者是组管理员,他可以查询他的组中的所有子帐号的"未回复情况"。

3、如果操作者是主账户,他可以查询所有子帐号的"未回复情况"。
4、被查者ID可以是多个,用 "," 隔开,id数不能超过30。
5、开始时间与结束时间之间的间隔不能超过7天
6、不能查询90天以前的数据
7、不能查询当天的记录

func (*WangwangEserviceNoreplynumGetRequest) GetResponse

func (*WangwangEserviceNoreplynumGetRequest) SetEndDate

func (r *WangwangEserviceNoreplynumGetRequest) SetEndDate(value string)

结束日期

func (*WangwangEserviceNoreplynumGetRequest) SetServiceStaffId

func (r *WangwangEserviceNoreplynumGetRequest) SetServiceStaffId(value string)

客服人员id:cntaobao+淘宝nick,例如cntaobaotest<br /> 支持最大长度为:1900<br /> 支持的最大列表长度为:1900

func (*WangwangEserviceNoreplynumGetRequest) SetStartDate

func (r *WangwangEserviceNoreplynumGetRequest) SetStartDate(value string)

开始日期

type WangwangEserviceNoreplynumGetResponse

type WangwangEserviceNoreplynumGetResponse struct {
	NonReplyStatOnDays struct {
		NonReplyStatOnDay []*NonReplyStatOnDay `json:"non_reply_stat_on_day"`
	} `json:"non_reply_stat_on_days"`
}

type WangwangEserviceNoreplynumGetResponseResult

type WangwangEserviceNoreplynumGetResponseResult struct {
	Response *WangwangEserviceNoreplynumGetResponse `json:"wangwang_eservice_noreplynum_get_response"`
}

type WangwangEserviceOnlinetimeGetRequest

type WangwangEserviceOnlinetimeGetRequest struct {
	open_taobao.TaobaoMethodRequest
}
描述:根据客服ID和日期,获取该客服"当日在线时长"。

备注:1、如果是操作者ID=被查者ID,返回被查者ID的"当日在线时长"。

2、如果操作者是组管理员,他可以查询他的组中的所有子帐号的"当日在线时长"。

3、如果操作者是主账户,他可以查询所有子帐号的"当日在线时长"。
4、被查者ID可以是多个,用 "," 隔开,id数不能超过30。
5、日累计在线时长定义:当日该用户累计的旺旺在线时长

6、开始时间与结束时间之间的间隔不能超过7天
7、不能查询90天以前的数据
8、不能查询当天的记录

func (*WangwangEserviceOnlinetimeGetRequest) GetResponse

func (*WangwangEserviceOnlinetimeGetRequest) SetEndDate

func (r *WangwangEserviceOnlinetimeGetRequest) SetEndDate(value string)

结束日期

func (*WangwangEserviceOnlinetimeGetRequest) SetServiceStaffId

func (r *WangwangEserviceOnlinetimeGetRequest) SetServiceStaffId(value string)

客服人员id:cntaobao+淘宝nick,例如cntaobaotest

func (*WangwangEserviceOnlinetimeGetRequest) SetStartDate

func (r *WangwangEserviceOnlinetimeGetRequest) SetStartDate(value string)

开始日期

type WangwangEserviceOnlinetimeGetResponse

type WangwangEserviceOnlinetimeGetResponse struct {
	OnlineTimesListOnDays struct {
		OnlineTimesOnDay []*OnlineTimesOnDay `json:"online_times_on_day"`
	} `json:"online_times_list_on_days"`
}

type WangwangEserviceOnlinetimeGetResponseResult

type WangwangEserviceOnlinetimeGetResponseResult struct {
	Response *WangwangEserviceOnlinetimeGetResponse `json:"wangwang_eservice_onlinetime_get_response"`
}

type WangwangEserviceReceivenumGetRequest

type WangwangEserviceReceivenumGetRequest struct {
	open_taobao.TaobaoMethodRequest
}
根据操作者ID,返回被查者ID指定时间段内每个帐号的"已接待人数"<br/>

备注:<br/> 1、如果是操作者ID=被查者ID,返回被查者ID的"已接待人数"。<br/> 2、如果操作者是组管理员,他可以查询他的组中的所有子帐号的"已接待人数"。<br/> 3、如果操作者是主账户,他可以查询所有子帐号的"已接待人数"。<br/> (注意:这里说的是授权是主帐号,可以查询所有子帐号的数据,具体要查询哪些子账号的数据,需要在service_staff_id具体指定,而不是service_staff_id直接输入主帐号)<br/>

4、被查者ID可以是多个,用 "," 隔开,id数不能超过30。<br/>
5、规则:某客服在1天内和同一个客户交流了多次,已回复人数算1。<br/>

6、"已接待人数"定义:买家、卖家彼此发过至少1条消息 ,不论谁先发都可以。<br/>

7、被查者ID可以是多个,用 "," 隔开,id数不能超过30。<br/>
8、开始时间与结束时间之间的间隔不能超过7天<br/>
9、不能查询90天以前的数据<br/>
10、不能查询当天的记录<br/>
 11、查询日期精确到日<br/>

func (*WangwangEserviceReceivenumGetRequest) GetResponse

func (*WangwangEserviceReceivenumGetRequest) SetEndDate

func (r *WangwangEserviceReceivenumGetRequest) SetEndDate(value string)

查询接待人数的结束日期 时间精确到日 时分秒可以直接传00:00:00

func (*WangwangEserviceReceivenumGetRequest) SetServiceStaffId

func (r *WangwangEserviceReceivenumGetRequest) SetServiceStaffId(value string)

客服人员id:cntaobao+淘宝nick,例如cntaobaotest<br /> 支持最大长度为:1900<br /> 支持的最大列表长度为:1900

func (*WangwangEserviceReceivenumGetRequest) SetStartDate

func (r *WangwangEserviceReceivenumGetRequest) SetStartDate(value string)

查询接待人数的开始日期 时间精确到日 时分秒可直接传 00:00:00

type WangwangEserviceReceivenumGetResponse

type WangwangEserviceReceivenumGetResponse struct {
	ReplyStatListOnDays struct {
		ReplyStatOnDay []*ReplyStatOnDay `json:"reply_stat_on_day"`
	} `json:"reply_stat_list_on_days"`
}

type WangwangEserviceReceivenumGetResponseResult

type WangwangEserviceReceivenumGetResponseResult struct {
	Response *WangwangEserviceReceivenumGetResponse `json:"wangwang_eservice_receivenum_get_response"`
}

type WangwangEserviceStreamweigthsGetRequest

type WangwangEserviceStreamweigthsGetRequest struct {
	open_taobao.TaobaoMethodRequest
}

获取当前登录用户自己的店铺内的分流权重设置,只支持xml 返回。

func (*WangwangEserviceStreamweigthsGetRequest) GetResponse

type WangwangEserviceStreamweigthsGetResponse

type WangwangEserviceStreamweigthsGetResponse struct {
	ResultCode         int `json:"result_code"`
	ResultCount        int `json:"result_count"`
	StaffStreamWeights struct {
		StreamWeight []*StreamWeight `json:"stream_weight"`
	} `json:"staff_stream_weights"`
	TotalWeight int `json:"total_weight"`
}

type WangwangEserviceStreamweigthsGetResponseResult

type WangwangEserviceStreamweigthsGetResponseResult struct {
	Response *WangwangEserviceStreamweigthsGetResponse `json:"wangwang_eservice_streamweigths_get_response"`
}

type WordCountList

type WordCountList struct {
	Count int    `json:"count"`
	Word  string `json:"word"`
}

关键词统计

type WordList

type WordList struct {
	Word string `json:"word"`
}

关键词列表

Jump to

Keyboard shortcuts

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