Documentation ¶
Overview ¶
提供了旺旺聊天记录,平均等待时间,客服评价统计,客服未回复人数和客服接待数等绩效考核功能 auto sdk from taobao ApiMetadata.xml version 20130808 auther: dz7changkong@qq.com
Index ¶
- Constants
- type Chatpeer
- type EvalDetail
- type Evaluation
- type GroupMember
- type LoginLog
- type MsgList
- type NonReplyStatOnDay
- type NonreplyStatById
- type OnlineTimeById
- type OnlineTimesOnDay
- type ReplyStatById
- type ReplyStatOnDay
- type StaffEvalStatById
- type StaffEvalStatOnDay
- type StreamWeight
- type UrlList
- type WaitingTimeById
- type WaitingTimesOnDay
- type WangwangAbstractAddwordRequest
- type WangwangAbstractAddwordResponse
- type WangwangAbstractAddwordResponseResult
- type WangwangAbstractDeletewordRequest
- type WangwangAbstractDeletewordResponse
- type WangwangAbstractDeletewordResponseResult
- type WangwangAbstractGetwordlistRequest
- type WangwangAbstractGetwordlistResponse
- type WangwangAbstractGetwordlistResponseResult
- type WangwangAbstractInitializeRequest
- type WangwangAbstractInitializeResponse
- type WangwangAbstractInitializeResponseResult
- type WangwangAbstractLogqueryRequest
- func (r *WangwangAbstractLogqueryRequest) GetResponse(accessToken string) (*WangwangAbstractLogqueryResponse, []byte, error)
- func (r *WangwangAbstractLogqueryRequest) SetCharset(value string)
- func (r *WangwangAbstractLogqueryRequest) SetCount(value string)
- func (r *WangwangAbstractLogqueryRequest) SetEndDate(value string)
- func (r *WangwangAbstractLogqueryRequest) SetFromId(value string)
- func (r *WangwangAbstractLogqueryRequest) SetNextKey(value string)
- func (r *WangwangAbstractLogqueryRequest) SetStartDate(value string)
- func (r *WangwangAbstractLogqueryRequest) SetToId(value string)
- type WangwangAbstractLogqueryResponse
- type WangwangAbstractLogqueryResponseResult
- type WangwangEserviceAvgwaittimeGetRequest
- func (r *WangwangEserviceAvgwaittimeGetRequest) GetResponse(accessToken string) (*WangwangEserviceAvgwaittimeGetResponse, []byte, error)
- func (r *WangwangEserviceAvgwaittimeGetRequest) SetEndDate(value string)
- func (r *WangwangEserviceAvgwaittimeGetRequest) SetServiceStaffId(value string)
- func (r *WangwangEserviceAvgwaittimeGetRequest) SetStartDate(value string)
- type WangwangEserviceAvgwaittimeGetResponse
- type WangwangEserviceAvgwaittimeGetResponseResult
- type WangwangEserviceChatpeersGetRequest
- func (r *WangwangEserviceChatpeersGetRequest) GetResponse(accessToken string) (*WangwangEserviceChatpeersGetResponse, []byte, error)
- func (r *WangwangEserviceChatpeersGetRequest) SetCharset(value string)
- func (r *WangwangEserviceChatpeersGetRequest) SetChatId(value string)
- func (r *WangwangEserviceChatpeersGetRequest) SetEndDate(value string)
- func (r *WangwangEserviceChatpeersGetRequest) SetStartDate(value string)
- type WangwangEserviceChatpeersGetResponse
- type WangwangEserviceChatpeersGetResponseResult
- type WangwangEserviceEvalsGetRequest
- func (r *WangwangEserviceEvalsGetRequest) GetResponse(accessToken string) (*WangwangEserviceEvalsGetResponse, []byte, error)
- func (r *WangwangEserviceEvalsGetRequest) SetEndDate(value string)
- func (r *WangwangEserviceEvalsGetRequest) SetServiceStaffId(value string)
- func (r *WangwangEserviceEvalsGetRequest) SetStartDate(value string)
- type WangwangEserviceEvalsGetResponse
- type WangwangEserviceEvalsGetResponseResult
- type WangwangEserviceEvaluationGetRequest
- func (r *WangwangEserviceEvaluationGetRequest) GetResponse(accessToken string) (*WangwangEserviceEvaluationGetResponse, []byte, error)
- func (r *WangwangEserviceEvaluationGetRequest) SetEndDate(value string)
- func (r *WangwangEserviceEvaluationGetRequest) SetServiceStaffId(value string)
- func (r *WangwangEserviceEvaluationGetRequest) SetStartDate(value string)
- type WangwangEserviceEvaluationGetResponse
- type WangwangEserviceEvaluationGetResponseResult
- type WangwangEserviceGroupmemberGetRequest
- type WangwangEserviceGroupmemberGetResponse
- type WangwangEserviceGroupmemberGetResponseResult
- type WangwangEserviceLoginlogsGetRequest
- func (r *WangwangEserviceLoginlogsGetRequest) GetResponse(accessToken string) (*WangwangEserviceLoginlogsGetResponse, []byte, error)
- func (r *WangwangEserviceLoginlogsGetRequest) SetEndDate(value string)
- func (r *WangwangEserviceLoginlogsGetRequest) SetServiceStaffId(value string)
- func (r *WangwangEserviceLoginlogsGetRequest) SetStartDate(value string)
- type WangwangEserviceLoginlogsGetResponse
- type WangwangEserviceLoginlogsGetResponseResult
- type WangwangEserviceNoreplynumGetRequest
- func (r *WangwangEserviceNoreplynumGetRequest) GetResponse(accessToken string) (*WangwangEserviceNoreplynumGetResponse, []byte, error)
- func (r *WangwangEserviceNoreplynumGetRequest) SetEndDate(value string)
- func (r *WangwangEserviceNoreplynumGetRequest) SetServiceStaffId(value string)
- func (r *WangwangEserviceNoreplynumGetRequest) SetStartDate(value string)
- type WangwangEserviceNoreplynumGetResponse
- type WangwangEserviceNoreplynumGetResponseResult
- type WangwangEserviceOnlinetimeGetRequest
- func (r *WangwangEserviceOnlinetimeGetRequest) GetResponse(accessToken string) (*WangwangEserviceOnlinetimeGetResponse, []byte, error)
- func (r *WangwangEserviceOnlinetimeGetRequest) SetEndDate(value string)
- func (r *WangwangEserviceOnlinetimeGetRequest) SetServiceStaffId(value string)
- func (r *WangwangEserviceOnlinetimeGetRequest) SetStartDate(value string)
- type WangwangEserviceOnlinetimeGetResponse
- type WangwangEserviceOnlinetimeGetResponseResult
- type WangwangEserviceReceivenumGetRequest
- func (r *WangwangEserviceReceivenumGetRequest) GetResponse(accessToken string) (*WangwangEserviceReceivenumGetResponse, []byte, error)
- func (r *WangwangEserviceReceivenumGetRequest) SetEndDate(value string)
- func (r *WangwangEserviceReceivenumGetRequest) SetServiceStaffId(value string)
- func (r *WangwangEserviceReceivenumGetRequest) SetStartDate(value string)
- type WangwangEserviceReceivenumGetResponse
- type WangwangEserviceReceivenumGetResponseResult
- type WangwangEserviceStreamweigthsGetRequest
- type WangwangEserviceStreamweigthsGetResponse
- type WangwangEserviceStreamweigthsGetResponseResult
- type WordCountList
- type WordList
Constants ¶
const VersionNo = "20130808"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 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 []*UrlList `json:"url_lists"` WordLists []*WordCountList `json:"word_lists"` }
聊天记录列表
type NonReplyStatOnDay ¶
type NonReplyStatOnDay struct { NonreplyDate string `json:"nonreply_date"` NonreplyStatByIds []*NonreplyStatById `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 []*OnlineTimeById `json:"online_time_by_ids"` }
某天的客服在线时长列表
type ReplyStatById ¶
客服回复统计
type ReplyStatOnDay ¶
type ReplyStatOnDay struct { ReplyDate string `json:"reply_date"` ReplyStatByIds []*ReplyStatById `json:"reply_stat_by_ids"` }
(某天)回复统计列表
type StaffEvalStatById ¶
type StaffEvalStatById struct { Evaluations []*Evaluation `json:"evaluations"` ServiceStaffId string `json:"service_staff_id"` }
客服评价统计
type StaffEvalStatOnDay ¶
type StaffEvalStatOnDay struct { EvalDate string `json:"eval_date"` StaffEvalStatByIds []*StaffEvalStatById `json:"staff_eval_stat_by_ids"` }
客服评价统计列表(按天)
type StreamWeight ¶
分流权重
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 []*WaitingTimeById `json:"waiting_time_by_ids"` }
客户等待(客服)平均时长列表
type WangwangAbstractAddwordRequest ¶
type WangwangAbstractAddwordRequest struct {
open_taobao.TaobaoMethodRequest
}
增加关键词,只支持json返回
func (*WangwangAbstractAddwordRequest) GetResponse ¶
func (r *WangwangAbstractAddwordRequest) GetResponse(accessToken string) (*WangwangAbstractAddwordResponse, []byte, error)
func (*WangwangAbstractAddwordRequest) SetCharset ¶
func (r *WangwangAbstractAddwordRequest) SetCharset(value string)
传入参数的字符集
func (*WangwangAbstractAddwordRequest) SetWord ¶
func (r *WangwangAbstractAddwordRequest) SetWord(value string)
关键词,长度大于0
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 (r *WangwangAbstractDeletewordRequest) GetResponse(accessToken string) (*WangwangAbstractDeletewordResponse, []byte, error)
func (*WangwangAbstractDeletewordRequest) SetCharset ¶
func (r *WangwangAbstractDeletewordRequest) SetCharset(value string)
传入参数的字符集
func (*WangwangAbstractDeletewordRequest) SetWord ¶
func (r *WangwangAbstractDeletewordRequest) SetWord(value string)
关键词,长度大于0
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 (r *WangwangAbstractGetwordlistRequest) GetResponse(accessToken string) (*WangwangAbstractGetwordlistResponse, []byte, error)
func (*WangwangAbstractGetwordlistRequest) SetCharset ¶
func (r *WangwangAbstractGetwordlistRequest) SetCharset(value string)
传入参数的字符集
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 (r *WangwangAbstractInitializeRequest) GetResponse(accessToken string) (*WangwangAbstractInitializeResponse, []byte, error)
func (*WangwangAbstractInitializeRequest) SetCharset ¶
func (r *WangwangAbstractInitializeRequest) SetCharset(value string)
传入参数的字符集
type WangwangAbstractInitializeResponseResult ¶
type WangwangAbstractInitializeResponseResult struct {
Response *WangwangAbstractInitializeResponse `json:"wangwang_abstract_initialize_response"`
}
type WangwangAbstractLogqueryRequest ¶
type WangwangAbstractLogqueryRequest struct {
open_taobao.TaobaoMethodRequest
}
模糊聊天记录查询,仅支持json返回
func (*WangwangAbstractLogqueryRequest) GetResponse ¶
func (r *WangwangAbstractLogqueryRequest) GetResponse(accessToken string) (*WangwangAbstractLogqueryResponse, []byte, error)
func (*WangwangAbstractLogqueryRequest) SetCharset ¶
func (r *WangwangAbstractLogqueryRequest) SetCharset(value string)
传入参数的字符集
func (*WangwangAbstractLogqueryRequest) SetCount ¶
func (r *WangwangAbstractLogqueryRequest) SetCount(value string)
获取记录条数,默认值是1000
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 WangwangAbstractLogqueryResponseResult ¶
type WangwangAbstractLogqueryResponseResult struct {
Response *WangwangAbstractLogqueryResponse `json:"wangwang_abstract_logquery_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 (r *WangwangEserviceAvgwaittimeGetRequest) GetResponse(accessToken string) (*WangwangEserviceAvgwaittimeGetResponse, []byte, error)
func (*WangwangEserviceAvgwaittimeGetRequest) SetEndDate ¶
func (r *WangwangEserviceAvgwaittimeGetRequest) SetEndDate(value string)
结束时间
func (*WangwangEserviceAvgwaittimeGetRequest) SetServiceStaffId ¶
func (r *WangwangEserviceAvgwaittimeGetRequest) SetServiceStaffId(value string)
客服人员id:cntaobao+淘宝nick,例如cntaobaotest
func (*WangwangEserviceAvgwaittimeGetRequest) SetStartDate ¶
func (r *WangwangEserviceAvgwaittimeGetRequest) SetStartDate(value string)
开始时间
type WangwangEserviceAvgwaittimeGetResponse ¶
type WangwangEserviceAvgwaittimeGetResponse struct {
WaitingTimeListOnDays []*WaitingTimesOnDay `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 (r *WangwangEserviceChatpeersGetRequest) GetResponse(accessToken string) (*WangwangEserviceChatpeersGetResponse, []byte, error)
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 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 (r *WangwangEserviceEvalsGetRequest) GetResponse(accessToken string) (*WangwangEserviceEvalsGetResponse, []byte, error)
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 []*EvalDetail `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 (r *WangwangEserviceEvaluationGetRequest) GetResponse(accessToken string) (*WangwangEserviceEvaluationGetResponse, []byte, error)
func (*WangwangEserviceEvaluationGetRequest) SetEndDate ¶
func (r *WangwangEserviceEvaluationGetRequest) SetEndDate(value string)
查询结束日期
func (*WangwangEserviceEvaluationGetRequest) SetServiceStaffId ¶
func (r *WangwangEserviceEvaluationGetRequest) SetServiceStaffId(value string)
客服人员id:cntaobao+淘宝nick,例如cntaobaotest
func (*WangwangEserviceEvaluationGetRequest) SetStartDate ¶
func (r *WangwangEserviceEvaluationGetRequest) SetStartDate(value string)
查询开始日期
type WangwangEserviceEvaluationGetResponse ¶
type WangwangEserviceEvaluationGetResponse struct {
StaffEvalStatOnDays []*StaffEvalStatOnDay `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 (r *WangwangEserviceGroupmemberGetRequest) GetResponse(accessToken string) (*WangwangEserviceGroupmemberGetResponse, []byte, error)
func (*WangwangEserviceGroupmemberGetRequest) SetManagerId ¶
func (r *WangwangEserviceGroupmemberGetRequest) SetManagerId(value string)
被查询用户组管理员ID:cntaobao+淘宝nick,例如cntaobaotest
type WangwangEserviceGroupmemberGetResponse ¶
type WangwangEserviceGroupmemberGetResponse struct {
GroupMemberList []*GroupMember `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 (r *WangwangEserviceLoginlogsGetRequest) GetResponse(accessToken string) (*WangwangEserviceLoginlogsGetResponse, []byte, error)
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 WangwangEserviceLoginlogsGetResponseResult ¶
type WangwangEserviceLoginlogsGetResponseResult struct {
Response *WangwangEserviceLoginlogsGetResponse `json:"wangwang_eservice_loginlogs_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 (r *WangwangEserviceNoreplynumGetRequest) GetResponse(accessToken string) (*WangwangEserviceNoreplynumGetResponse, []byte, error)
func (*WangwangEserviceNoreplynumGetRequest) SetEndDate ¶
func (r *WangwangEserviceNoreplynumGetRequest) SetEndDate(value string)
结束日期
func (*WangwangEserviceNoreplynumGetRequest) SetServiceStaffId ¶
func (r *WangwangEserviceNoreplynumGetRequest) SetServiceStaffId(value string)
客服人员id:cntaobao+淘宝nick,例如cntaobaotest
func (*WangwangEserviceNoreplynumGetRequest) SetStartDate ¶
func (r *WangwangEserviceNoreplynumGetRequest) SetStartDate(value string)
开始日期
type WangwangEserviceNoreplynumGetResponse ¶
type WangwangEserviceNoreplynumGetResponse struct {
NonReplyStatOnDays []*NonReplyStatOnDay `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 (r *WangwangEserviceOnlinetimeGetRequest) GetResponse(accessToken string) (*WangwangEserviceOnlinetimeGetResponse, []byte, error)
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 []*OnlineTimesOnDay `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 (r *WangwangEserviceReceivenumGetRequest) GetResponse(accessToken string) (*WangwangEserviceReceivenumGetResponse, []byte, error)
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
func (*WangwangEserviceReceivenumGetRequest) SetStartDate ¶
func (r *WangwangEserviceReceivenumGetRequest) SetStartDate(value string)
查询接待人数的开始日期 时间精确到日 时分秒可直接传 00:00:00
type WangwangEserviceReceivenumGetResponse ¶
type WangwangEserviceReceivenumGetResponse struct {
ReplyStatListOnDays []*ReplyStatOnDay `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 ¶
func (r *WangwangEserviceStreamweigthsGetRequest) GetResponse(accessToken string) (*WangwangEserviceStreamweigthsGetResponse, []byte, error)
type WangwangEserviceStreamweigthsGetResponse ¶
type WangwangEserviceStreamweigthsGetResponse struct { ResultCode int `json:"result_code"` ResultCount int `json:"result_count"` StaffStreamWeights []*StreamWeight `json:"staff_stream_weights"` TotalWeight int `json:"total_weight"` }
type WangwangEserviceStreamweigthsGetResponseResult ¶
type WangwangEserviceStreamweigthsGetResponseResult struct {
Response *WangwangEserviceStreamweigthsGetResponse `json:"wangwang_eservice_streamweigths_get_response"`
}
type WordCountList ¶
关键词统计