Documentation ¶
Overview ¶
菜鸟控制塔API model
Index ¶
- type CainiaoEccExceptionsDelayCountAPIRequest
- type CainiaoEccExceptionsDelayCountAPIResponse
- type CainiaoEccExceptionsDelayCountAPIResponseModel
- type CainiaoEccExceptionsDelayGetAPIRequest
- type CainiaoEccExceptionsDelayGetAPIResponse
- type CainiaoEccExceptionsDelayGetAPIResponseModel
- type DelayExceptionCountDto
- type DelayExceptionDetailDto
- type SingleResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CainiaoEccExceptionsDelayCountAPIRequest ¶ added in v1.2.0
菜鸟控制塔包裹滞留异常统计信息获取 API请求 cainiao.ecc.exceptions.delay.count
菜鸟控制塔包裹滞留异常统计信息获取
func NewCainiaoEccExceptionsDelayCountRequest ¶
func NewCainiaoEccExceptionsDelayCountRequest() *CainiaoEccExceptionsDelayCountAPIRequest
初始化CainiaoEccExceptionsDelayCountAPIRequest对象
func (CainiaoEccExceptionsDelayCountAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoEccExceptionsDelayCountAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (CainiaoEccExceptionsDelayCountAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoEccExceptionsDelayCountAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
type CainiaoEccExceptionsDelayCountAPIResponse ¶
type CainiaoEccExceptionsDelayCountAPIResponse struct { model.CommonResponse CainiaoEccExceptionsDelayCountAPIResponseModel }
菜鸟控制塔包裹滞留异常统计信息获取 API返回值 cainiao.ecc.exceptions.delay.count
菜鸟控制塔包裹滞留异常统计信息获取
type CainiaoEccExceptionsDelayCountAPIResponseModel ¶ added in v1.2.0
type CainiaoEccExceptionsDelayCountAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_ecc_exceptions_delay_count_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *SingleResult `json:"result,omitempty" xml:"result,omitempty"` }
菜鸟控制塔包裹滞留异常统计信息获取 成功返回结果
type CainiaoEccExceptionsDelayGetAPIRequest ¶ added in v1.2.0
type CainiaoEccExceptionsDelayGetAPIRequest struct { model.Params // contains filtered or unexported fields }
菜鸟控制塔包裹滞留异常信息获取 API请求 cainiao.ecc.exceptions.delay.get
菜鸟控制塔包裹滞留异常信息获取
func NewCainiaoEccExceptionsDelayGetRequest ¶
func NewCainiaoEccExceptionsDelayGetRequest() *CainiaoEccExceptionsDelayGetAPIRequest
初始化CainiaoEccExceptionsDelayGetAPIRequest对象
func (CainiaoEccExceptionsDelayGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoEccExceptionsDelayGetAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (CainiaoEccExceptionsDelayGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoEccExceptionsDelayGetAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (CainiaoEccExceptionsDelayGetAPIRequest) GetMailNo ¶ added in v1.2.0
func (r CainiaoEccExceptionsDelayGetAPIRequest) GetMailNo() string
MailNo Getter
func (*CainiaoEccExceptionsDelayGetAPIRequest) SetMailNo ¶ added in v1.2.0
func (r *CainiaoEccExceptionsDelayGetAPIRequest) SetMailNo(_mailNo string) error
MailNo Setter 运单号
type CainiaoEccExceptionsDelayGetAPIResponse ¶
type CainiaoEccExceptionsDelayGetAPIResponse struct { model.CommonResponse CainiaoEccExceptionsDelayGetAPIResponseModel }
菜鸟控制塔包裹滞留异常信息获取 API返回值 cainiao.ecc.exceptions.delay.get
菜鸟控制塔包裹滞留异常信息获取
type CainiaoEccExceptionsDelayGetAPIResponseModel ¶ added in v1.2.0
type CainiaoEccExceptionsDelayGetAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_ecc_exceptions_delay_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *SingleResult `json:"result,omitempty" xml:"result,omitempty"` }
菜鸟控制塔包裹滞留异常信息获取 成功返回结果
type DelayExceptionCountDto ¶
type DelayExceptionCountDto struct { // 异常总数 ExceptionNum int64 `json:"exception_num,omitempty" xml:"exception_num,omitempty"` // 商家Id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // CP异常回复总数 CpReplyExceptionNum int64 `json:"cp_reply_exception_num,omitempty" xml:"cp_reply_exception_num,omitempty"` // 扩展字段 ExtendFields string `json:"extend_fields,omitempty" xml:"extend_fields,omitempty"` }
DelayExceptionCountDto
type DelayExceptionDetailDto ¶
type DelayExceptionDetailDto struct { // 商家Id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 运单号 MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"` // 异常类型code ExceptionCode string `json:"exception_code,omitempty" xml:"exception_code,omitempty"` // 异常类型名称 ExceptionName string `json:"exception_name,omitempty" xml:"exception_name,omitempty"` // CP回复列表 CpReplyList []string `json:"cp_reply_list,omitempty" xml:"cp_reply_list>string,omitempty"` }
DelayExceptionDetailDto
type SingleResult ¶
type SingleResult struct { // 数据对象 Result *DelayExceptionCountDto `json:"result,omitempty" xml:"result,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 是否重试 IsRetry bool `json:"is_retry,omitempty" xml:"is_retry,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` // 错误描述 ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"` }
SingleResult