eleenterpriseemployee

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

企业订餐员工API model

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaEleEnterpriseEmployeeBatchdeleteAPIResponse

type AlibabaEleEnterpriseEmployeeBatchdeleteAPIResponse struct {
	model.CommonResponse
	AlibabaEleEnterpriseEmployeeBatchdeleteResponse
}

批量删除员工 API返回值 alibaba.ele.enterprise.employee.batchdelete

批量删除员工

type AlibabaEleEnterpriseEmployeeBatchdeleteRequest

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

批量删除员工 API请求 alibaba.ele.enterprise.employee.batchdelete

批量删除员工

func NewAlibabaEleEnterpriseEmployeeBatchdeleteRequest

func NewAlibabaEleEnterpriseEmployeeBatchdeleteRequest() *AlibabaEleEnterpriseEmployeeBatchdeleteRequest

初始化AlibabaEleEnterpriseEmployeeBatchdeleteRequest对象

func (AlibabaEleEnterpriseEmployeeBatchdeleteRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaEleEnterpriseEmployeeBatchdeleteRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaEleEnterpriseEmployeeBatchdeleteRequest) GetEmployeeNos

EmployeeNos Getter

func (*AlibabaEleEnterpriseEmployeeBatchdeleteRequest) SetEmployeeNos

func (r *AlibabaEleEnterpriseEmployeeBatchdeleteRequest) SetEmployeeNos(employeeNos []string) error

EmployeeNos Setter 员工工号

type AlibabaEleEnterpriseEmployeeBatchdeleteResponse

type AlibabaEleEnterpriseEmployeeBatchdeleteResponse struct {
	XMLName xml.Name `xml:"alibaba_ele_enterprise_employee_batchdelete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值信息
	EnterpriseData *EnterpriseData `json:"enterprise_data,omitempty" xml:"enterprise_data,omitempty"`
	// 响应code
	EnterpriseCode string `json:"enterprise_code,omitempty" xml:"enterprise_code,omitempty"`
	// 响应信息
	EnterpriseMsg string `json:"enterprise_msg,omitempty" xml:"enterprise_msg,omitempty"`
	// 请求id
	EnterpriseRequestid string `json:"enterprise_requestid,omitempty" xml:"enterprise_requestid,omitempty"`
}

批量删除员工 成功返回结果

type AlibabaEleEnterpriseEmployeeBatchupdateAPIResponse

type AlibabaEleEnterpriseEmployeeBatchupdateAPIResponse struct {
	model.CommonResponse
	AlibabaEleEnterpriseEmployeeBatchupdateResponse
}

批量新增更新员工 API返回值 alibaba.ele.enterprise.employee.batchupdate

批量新增更新员工

type AlibabaEleEnterpriseEmployeeBatchupdateRequest

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

批量新增更新员工 API请求 alibaba.ele.enterprise.employee.batchupdate

批量新增更新员工

func NewAlibabaEleEnterpriseEmployeeBatchupdateRequest

func NewAlibabaEleEnterpriseEmployeeBatchupdateRequest() *AlibabaEleEnterpriseEmployeeBatchupdateRequest

初始化AlibabaEleEnterpriseEmployeeBatchupdateRequest对象

func (AlibabaEleEnterpriseEmployeeBatchupdateRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaEleEnterpriseEmployeeBatchupdateRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaEleEnterpriseEmployeeBatchupdateRequest) GetEnterpriseDatas

EnterpriseDatas Getter

func (*AlibabaEleEnterpriseEmployeeBatchupdateRequest) SetEnterpriseDatas

func (r *AlibabaEleEnterpriseEmployeeBatchupdateRequest) SetEnterpriseDatas(enterpriseDatas []EmployeeInfoDto) error

EnterpriseDatas Setter 批量员工信息

type AlibabaEleEnterpriseEmployeeBatchupdateResponse

type AlibabaEleEnterpriseEmployeeBatchupdateResponse struct {
	XMLName xml.Name `xml:"alibaba_ele_enterprise_employee_batchupdate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应code
	EnterpriseCode string `json:"enterprise_code,omitempty" xml:"enterprise_code,omitempty"`
	// 响应信息
	EnterpriseMsg string `json:"enterprise_msg,omitempty" xml:"enterprise_msg,omitempty"`
	// 请求id
	EnterpriseRequestid string `json:"enterprise_requestid,omitempty" xml:"enterprise_requestid,omitempty"`
	// 返回结果
	EnterpriseData *EnterpriseData `json:"enterprise_data,omitempty" xml:"enterprise_data,omitempty"`
}

批量新增更新员工 成功返回结果

type CostCenter

type CostCenter struct {
	// 删除成本中心列表
	DeleteItemIds []string `json:"delete_item_ids,omitempty" xml:"delete_item_ids>string,omitempty"`
	// 新增成本中心列表
	AddItemIds []string `json:"add_item_ids,omitempty" xml:"add_item_ids>string,omitempty"`
}

CostCenter

type EmployeeInfoDto

type EmployeeInfoDto struct {
	// 部门
	DeptName string `json:"dept_name,omitempty" xml:"dept_name,omitempty"`
	// 手机号
	PhoneNumber string `json:"phone_number,omitempty" xml:"phone_number,omitempty"`
	// 成本中心
	CostCenter *CostCenter `json:"cost_center,omitempty" xml:"cost_center,omitempty"`
	// 姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 工号
	EmployeeNo string `json:"employee_no,omitempty" xml:"employee_no,omitempty"`
}

EmployeeInfoDto

type EnterpriseData

type EnterpriseData struct {
	// 成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 错误信息
	ErrorMsgs []ErrorMsg `json:"error_msgs,omitempty" xml:"error_msgs>error_msg,omitempty"`
}

EnterpriseData

type ErrorMsg

type ErrorMsg struct {
	// 请求报文
	ReqBody string `json:"req_body,omitempty" xml:"req_body,omitempty"`
	// 失败原因
	Reason string `json:"reason,omitempty" xml:"reason,omitempty"`
}

ErrorMsg

Jump to

Keyboard shortcuts

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