Documentation ¶
Index ¶
- Constants
- type ActivityInfo
- type CheckStaffChUserRequest
- type CheckStaffChUserResponse
- type Client
- func (c *Client) CheckStaffChUser(request *CheckStaffChUserRequest) (response *CheckStaffChUserResponse, err error)
- func (c *Client) CopyActivityChannel(request *CopyActivityChannelRequest) (response *CopyActivityChannelResponse, err error)
- func (c *Client) CreateProject(request *CreateProjectRequest) (response *CreateProjectResponse, err error)
- func (c *Client) CreateSubProject(request *CreateSubProjectRequest) (response *CreateSubProjectResponse, err error)
- func (c *Client) DeleteProject(request *DeleteProjectRequest) (response *DeleteProjectResponse, err error)
- func (c *Client) DescribeCustomer(request *DescribeCustomerRequest) (response *DescribeCustomerResponse, err error)
- func (c *Client) DescribeCustomers(request *DescribeCustomersRequest) (response *DescribeCustomersResponse, err error)
- func (c *Client) DescribeProject(request *DescribeProjectRequest) (response *DescribeProjectResponse, err error)
- func (c *Client) DescribeProjectStock(request *DescribeProjectStockRequest) (response *DescribeProjectStockResponse, err error)
- func (c *Client) DescribeProjects(request *DescribeProjectsRequest) (response *DescribeProjectsResponse, err error)
- func (c *Client) DescribeResourceTemplateHeaders(request *DescribeResourceTemplateHeadersRequest) (response *DescribeResourceTemplateHeadersResponse, err error)
- func (c *Client) DescribeSubProject(request *DescribeSubProjectRequest) (response *DescribeSubProjectResponse, err error)
- func (c *Client) ExpireFlow(request *ExpireFlowRequest) (response *ExpireFlowResponse, err error)
- func (c *Client) ModifyProject(request *ModifyProjectRequest) (response *ModifyProjectResponse, err error)
- func (c *Client) OffLineProject(request *OffLineProjectRequest) (response *OffLineProjectResponse, err error)
- func (c *Client) ReplenishProjectStock(request *ReplenishProjectStockRequest) (response *ReplenishProjectStockResponse, err error)
- func (c *Client) SendWxTouchTask(request *SendWxTouchTaskRequest) (response *SendWxTouchTaskResponse, err error)
- type CopyActivityChannelRequest
- type CopyActivityChannelResponse
- type CreateProjectRequest
- type CreateProjectResponse
- type CreateSubProjectRequest
- type CreateSubProjectResponse
- type CustomerInfo
- type DeleteProjectRequest
- type DeleteProjectResponse
- type DescribeCustomerRequest
- type DescribeCustomerResponse
- type DescribeCustomersRequest
- type DescribeCustomersResponse
- type DescribeProjectRequest
- type DescribeProjectResponse
- type DescribeProjectStockRequest
- type DescribeProjectStockResponse
- type DescribeProjectsRequest
- type DescribeProjectsResponse
- type DescribeResourceTemplateHeadersRequest
- type DescribeResourceTemplateHeadersResponse
- type DescribeSubProjectRequest
- type DescribeSubProjectResponse
- type ExpireFlowRequest
- type ExpireFlowResponse
- type Filters
- type ModifyProjectRequest
- type ModifyProjectResponse
- type OffLineProjectRequest
- type OffLineProjectResponse
- type ProductInfo
- type ProjectInfo
- type ProjectStock
- type ReplenishProjectStockRequest
- type ReplenishProjectStockResponse
- type ResourceTemplateHeader
- type SendWxTouchTaskRequest
- type SendWxTouchTaskResponse
- type SubProjectInfo
Constants ¶
View Source
const APIVersion = "2018-10-11"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityInfo ¶
type ActivityInfo struct { // 活动使用模板id // 注意:此字段可能返回 null,表示取不到有效值。 TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"` // 活动标题 // 注意:此字段可能返回 null,表示取不到有效值。 ActivityTitle *string `json:"ActivityTitle,omitempty" name:"ActivityTitle"` // 活动描述 // 注意:此字段可能返回 null,表示取不到有效值。 ActivityDesc *string `json:"ActivityDesc,omitempty" name:"ActivityDesc"` // 活动封面地址 // 注意:此字段可能返回 null,表示取不到有效值。 ActivityCover *string `json:"ActivityCover,omitempty" name:"ActivityCover"` // 活动类型 // 注意:此字段可能返回 null,表示取不到有效值。 ActivityType *string `json:"ActivityType,omitempty" name:"ActivityType"` // 活动id // 注意:此字段可能返回 null,表示取不到有效值。 ActivityId *string `json:"ActivityId,omitempty" name:"ActivityId"` // 活动模板自定义配置 // 注意:此字段可能返回 null,表示取不到有效值。 PersonalConfig *string `json:"PersonalConfig,omitempty" name:"PersonalConfig"` }
type CheckStaffChUserRequest ¶
type CheckStaffChUserRequest struct { *tchttp.BaseRequest // 员工ID UserId []*string `json:"UserId,omitempty" name:"UserId" list` // 渠道状态:checkpass审核通过, checkreject审核拒绝, enableoperate启用, stopoperate停用 OperateType *string `json:"OperateType,omitempty" name:"OperateType"` }
func NewCheckStaffChUserRequest ¶
func NewCheckStaffChUserRequest() (request *CheckStaffChUserRequest)
func (*CheckStaffChUserRequest) FromJsonString ¶
func (r *CheckStaffChUserRequest) FromJsonString(s string) error
func (*CheckStaffChUserRequest) ToJsonString ¶
func (r *CheckStaffChUserRequest) ToJsonString() string
type CheckStaffChUserResponse ¶
type CheckStaffChUserResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCheckStaffChUserResponse ¶
func NewCheckStaffChUserResponse() (response *CheckStaffChUserResponse)
func (*CheckStaffChUserResponse) FromJsonString ¶
func (r *CheckStaffChUserResponse) FromJsonString(s string) error
func (*CheckStaffChUserResponse) ToJsonString ¶
func (r *CheckStaffChUserResponse) ToJsonString() string
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CheckStaffChUser ¶
func (c *Client) CheckStaffChUser(request *CheckStaffChUserRequest) (response *CheckStaffChUserResponse, err error)
员工渠道更改员工状态
func (*Client) CopyActivityChannel ¶
func (c *Client) CopyActivityChannel(request *CopyActivityChannelRequest) (response *CopyActivityChannelResponse, err error)
复制活动渠道的策略
func (*Client) CreateProject ¶
func (c *Client) CreateProject(request *CreateProjectRequest) (response *CreateProjectResponse, err error)
创建项目
func (*Client) CreateSubProject ¶
func (c *Client) CreateSubProject(request *CreateSubProjectRequest) (response *CreateSubProjectResponse, err error)
创建子项目
func (*Client) DeleteProject ¶
func (c *Client) DeleteProject(request *DeleteProjectRequest) (response *DeleteProjectResponse, err error)
删除项目
func (*Client) DescribeCustomer ¶
func (c *Client) DescribeCustomer(request *DescribeCustomerRequest) (response *DescribeCustomerResponse, err error)
客户档案查询客户详情
func (*Client) DescribeCustomers ¶
func (c *Client) DescribeCustomers(request *DescribeCustomersRequest) (response *DescribeCustomersResponse, err error)
查询客户档案列表
func (*Client) DescribeProject ¶
func (c *Client) DescribeProject(request *DescribeProjectRequest) (response *DescribeProjectResponse, err error)
项目详情展示
func (*Client) DescribeProjectStock ¶
func (c *Client) DescribeProjectStock(request *DescribeProjectStockRequest) (response *DescribeProjectStockResponse, err error)
项目库存详情
func (*Client) DescribeProjects ¶
func (c *Client) DescribeProjects(request *DescribeProjectsRequest) (response *DescribeProjectsResponse, err error)
项目列表展示
func (*Client) DescribeResourceTemplateHeaders ¶
func (c *Client) DescribeResourceTemplateHeaders(request *DescribeResourceTemplateHeadersRequest) (response *DescribeResourceTemplateHeadersResponse, err error)
素材查询服务号模板的列表(样例)
func (*Client) DescribeSubProject ¶
func (c *Client) DescribeSubProject(request *DescribeSubProjectRequest) (response *DescribeSubProjectResponse, err error)
子项目详情
func (*Client) ExpireFlow ¶
func (c *Client) ExpireFlow(request *ExpireFlowRequest) (response *ExpireFlowResponse, err error)
把审批中的工单置为已失效
func (*Client) ModifyProject ¶
func (c *Client) ModifyProject(request *ModifyProjectRequest) (response *ModifyProjectResponse, err error)
修改项目
func (*Client) OffLineProject ¶
func (c *Client) OffLineProject(request *OffLineProjectRequest) (response *OffLineProjectResponse, err error)
下线项目
func (*Client) ReplenishProjectStock ¶
func (c *Client) ReplenishProjectStock(request *ReplenishProjectStockRequest) (response *ReplenishProjectStockResponse, err error)
补充子项目库存
func (*Client) SendWxTouchTask ¶
func (c *Client) SendWxTouchTask(request *SendWxTouchTaskRequest) (response *SendWxTouchTaskResponse, err error)
发送企业微信触达任务
type CopyActivityChannelRequest ¶
type CopyActivityChannelRequest struct { *tchttp.BaseRequest // 活动ID ActivityId *string `json:"ActivityId,omitempty" name:"ActivityId"` // 来源渠道ID ChannelFrom *string `json:"ChannelFrom,omitempty" name:"ChannelFrom"` // 目的渠道id ChannelTo []*string `json:"ChannelTo,omitempty" name:"ChannelTo" list` }
func NewCopyActivityChannelRequest ¶
func NewCopyActivityChannelRequest() (request *CopyActivityChannelRequest)
func (*CopyActivityChannelRequest) FromJsonString ¶
func (r *CopyActivityChannelRequest) FromJsonString(s string) error
func (*CopyActivityChannelRequest) ToJsonString ¶
func (r *CopyActivityChannelRequest) ToJsonString() string
type CopyActivityChannelResponse ¶
type CopyActivityChannelResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCopyActivityChannelResponse ¶
func NewCopyActivityChannelResponse() (response *CopyActivityChannelResponse)
func (*CopyActivityChannelResponse) FromJsonString ¶
func (r *CopyActivityChannelResponse) FromJsonString(s string) error
func (*CopyActivityChannelResponse) ToJsonString ¶
func (r *CopyActivityChannelResponse) ToJsonString() string
type CreateProjectRequest ¶
type CreateProjectRequest struct { *tchttp.BaseRequest // 项目名称 ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"` // 项目机构 ProjectOrg *string `json:"ProjectOrg,omitempty" name:"ProjectOrg"` // 项目预算 ProjectBudget *string `json:"ProjectBudget,omitempty" name:"ProjectBudget"` // 项目简介 ProjectIntroduction *string `json:"ProjectIntroduction,omitempty" name:"ProjectIntroduction"` // 所属部门ID ProjectOrgId *string `json:"ProjectOrgId,omitempty" name:"ProjectOrgId"` }
func NewCreateProjectRequest ¶
func NewCreateProjectRequest() (request *CreateProjectRequest)
func (*CreateProjectRequest) FromJsonString ¶
func (r *CreateProjectRequest) FromJsonString(s string) error
func (*CreateProjectRequest) ToJsonString ¶
func (r *CreateProjectRequest) ToJsonString() string
type CreateProjectResponse ¶
type CreateProjectResponse struct { *tchttp.BaseResponse Response *struct { // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateProjectResponse ¶
func NewCreateProjectResponse() (response *CreateProjectResponse)
func (*CreateProjectResponse) FromJsonString ¶
func (r *CreateProjectResponse) FromJsonString(s string) error
func (*CreateProjectResponse) ToJsonString ¶
func (r *CreateProjectResponse) ToJsonString() string
type CreateSubProjectRequest ¶
type CreateSubProjectRequest struct { *tchttp.BaseRequest // 所属项目id ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 子项目名称 SubProjectName *string `json:"SubProjectName,omitempty" name:"SubProjectName"` }
func NewCreateSubProjectRequest ¶
func NewCreateSubProjectRequest() (request *CreateSubProjectRequest)
func (*CreateSubProjectRequest) FromJsonString ¶
func (r *CreateSubProjectRequest) FromJsonString(s string) error
func (*CreateSubProjectRequest) ToJsonString ¶
func (r *CreateSubProjectRequest) ToJsonString() string
type CreateSubProjectResponse ¶
type CreateSubProjectResponse struct { *tchttp.BaseResponse Response *struct { // 子项目id SubProjectId *string `json:"SubProjectId,omitempty" name:"SubProjectId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateSubProjectResponse ¶
func NewCreateSubProjectResponse() (response *CreateSubProjectResponse)
func (*CreateSubProjectResponse) FromJsonString ¶
func (r *CreateSubProjectResponse) FromJsonString(s string) error
func (*CreateSubProjectResponse) ToJsonString ¶
func (r *CreateSubProjectResponse) ToJsonString() string
type CustomerInfo ¶
type CustomerInfo struct { // 总活跃度 // 注意:此字段可能返回 null,表示取不到有效值。 Activity *int64 `json:"Activity,omitempty" name:"Activity"` // 客户ID AudienceUserId *string `json:"AudienceUserId,omitempty" name:"AudienceUserId"` // 头像 // 注意:此字段可能返回 null,表示取不到有效值。 Avatar *string `json:"Avatar,omitempty" name:"Avatar"` // 最近记录城市 // 注意:此字段可能返回 null,表示取不到有效值。 City *string `json:"City,omitempty" name:"City"` // 最活跃时间 // 注意:此字段可能返回 null,表示取不到有效值。 LastActiveTime *string `json:"LastActiveTime,omitempty" name:"LastActiveTime"` // 是否星标客户 // 注意:此字段可能返回 null,表示取不到有效值。 MarkFlag *string `json:"MarkFlag,omitempty" name:"MarkFlag"` // 30天活跃度 // 注意:此字段可能返回 null,表示取不到有效值。 MonthActive *int64 `json:"MonthActive,omitempty" name:"MonthActive"` // 30天推荐度 // 注意:此字段可能返回 null,表示取不到有效值。 MonthRecommend *int64 `json:"MonthRecommend,omitempty" name:"MonthRecommend"` // 手机号 // 注意:此字段可能返回 null,表示取不到有效值。 Phone *string `json:"Phone,omitempty" name:"Phone"` // 最近记录省份 // 注意:此字段可能返回 null,表示取不到有效值。 Province *string `json:"Province,omitempty" name:"Province"` // 姓名 // 注意:此字段可能返回 null,表示取不到有效值。 RealName *string `json:"RealName,omitempty" name:"RealName"` // 员工标识 0 未关联 1 已关联 // 注意:此字段可能返回 null,表示取不到有效值。 RelChannelFlag *int64 `json:"RelChannelFlag,omitempty" name:"RelChannelFlag"` // 性别 1男 2女 // 注意:此字段可能返回 null,表示取不到有效值。 Sex *int64 `json:"Sex,omitempty" name:"Sex"` // 传播力(好友数) // 注意:此字段可能返回 null,表示取不到有效值。 Spread *int64 `json:"Spread,omitempty" name:"Spread"` // 7天活跃度 // 注意:此字段可能返回 null,表示取不到有效值。 WeekActive *int64 `json:"WeekActive,omitempty" name:"WeekActive"` // 7天推荐度 // 注意:此字段可能返回 null,表示取不到有效值。 WeekRecommend *int64 `json:"WeekRecommend,omitempty" name:"WeekRecommend"` // 微信城市 // 注意:此字段可能返回 null,表示取不到有效值。 WxCity *string `json:"WxCity,omitempty" name:"WxCity"` // 微信国家或地区 // 注意:此字段可能返回 null,表示取不到有效值。 WxCountry *string `json:"WxCountry,omitempty" name:"WxCountry"` // 微信呢称 // 注意:此字段可能返回 null,表示取不到有效值。 WxNickname *string `json:"WxNickname,omitempty" name:"WxNickname"` // 微信省份 // 注意:此字段可能返回 null,表示取不到有效值。 WxProvince *string `json:"WxProvince,omitempty" name:"WxProvince"` }
type DeleteProjectRequest ¶
type DeleteProjectRequest struct { *tchttp.BaseRequest // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` }
func NewDeleteProjectRequest ¶
func NewDeleteProjectRequest() (request *DeleteProjectRequest)
func (*DeleteProjectRequest) FromJsonString ¶
func (r *DeleteProjectRequest) FromJsonString(s string) error
func (*DeleteProjectRequest) ToJsonString ¶
func (r *DeleteProjectRequest) ToJsonString() string
type DeleteProjectResponse ¶
type DeleteProjectResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteProjectResponse ¶
func NewDeleteProjectResponse() (response *DeleteProjectResponse)
func (*DeleteProjectResponse) FromJsonString ¶
func (r *DeleteProjectResponse) FromJsonString(s string) error
func (*DeleteProjectResponse) ToJsonString ¶
func (r *DeleteProjectResponse) ToJsonString() string
type DescribeCustomerRequest ¶
type DescribeCustomerRequest struct { *tchttp.BaseRequest // 用户ID UserId *string `json:"UserId,omitempty" name:"UserId"` }
func NewDescribeCustomerRequest ¶
func NewDescribeCustomerRequest() (request *DescribeCustomerRequest)
func (*DescribeCustomerRequest) FromJsonString ¶
func (r *DescribeCustomerRequest) FromJsonString(s string) error
func (*DescribeCustomerRequest) ToJsonString ¶
func (r *DescribeCustomerRequest) ToJsonString() string
type DescribeCustomerResponse ¶
type DescribeCustomerResponse struct { *tchttp.BaseResponse Response *struct { // 地址列表 // 注意:此字段可能返回 null,表示取不到有效值。 AddressList []*string `json:"AddressList,omitempty" name:"AddressList" list` // 用户id // 注意:此字段可能返回 null,表示取不到有效值。 UserId *string `json:"UserId,omitempty" name:"UserId"` // 头像 // 注意:此字段可能返回 null,表示取不到有效值。 Avatar *string `json:"Avatar,omitempty" name:"Avatar"` // 生日 // 注意:此字段可能返回 null,表示取不到有效值。 Birthday *string `json:"Birthday,omitempty" name:"Birthday"` // 城市 // 注意:此字段可能返回 null,表示取不到有效值。 City *string `json:"City,omitempty" name:"City"` // 创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 设备 // 注意:此字段可能返回 null,表示取不到有效值。 Device *string `json:"Device,omitempty" name:"Device"` // 行业 // 注意:此字段可能返回 null,表示取不到有效值。 Industrys []*string `json:"Industrys,omitempty" name:"Industrys" list` // 上次登录时间 // 注意:此字段可能返回 null,表示取不到有效值。 LastActiveTime *string `json:"LastActiveTime,omitempty" name:"LastActiveTime"` // 是否星标 1是 0否 // 注意:此字段可能返回 null,表示取不到有效值。 MarkFlag *string `json:"MarkFlag,omitempty" name:"MarkFlag"` // 手机型号 // 注意:此字段可能返回 null,表示取不到有效值。 Model *string `json:"Model,omitempty" name:"Model"` // 微信openid // 注意:此字段可能返回 null,表示取不到有效值。 OpenId *string `json:"OpenId,omitempty" name:"OpenId"` // 消费特点 // 注意:此字段可能返回 null,表示取不到有效值。 PayFeature *string `json:"PayFeature,omitempty" name:"PayFeature"` // 手机号 // 注意:此字段可能返回 null,表示取不到有效值。 Phone *string `json:"Phone,omitempty" name:"Phone"` // 手机号码列表 // 注意:此字段可能返回 null,表示取不到有效值。 PhoneList *string `json:"PhoneList,omitempty" name:"PhoneList"` // 最近记录省份 // 注意:此字段可能返回 null,表示取不到有效值。 Province *string `json:"Province,omitempty" name:"Province"` // 姓名 // 注意:此字段可能返回 null,表示取不到有效值。 RealName *string `json:"RealName,omitempty" name:"RealName"` // 员工标识 0:非员工 1:员工 // 注意:此字段可能返回 null,表示取不到有效值。 RelChannelFlag *string `json:"RelChannelFlag,omitempty" name:"RelChannelFlag"` // 备注 // 注意:此字段可能返回 null,表示取不到有效值。 Remark *string `json:"Remark,omitempty" name:"Remark"` // 性别 1男 2女 // 注意:此字段可能返回 null,表示取不到有效值。 Sex *string `json:"Sex,omitempty" name:"Sex"` // 最初来源 // 注意:此字段可能返回 null,表示取不到有效值。 SourceAudienceVo *string `json:"SourceAudienceVo,omitempty" name:"SourceAudienceVo"` // 关注公众号列表 // 注意:此字段可能返回 null,表示取不到有效值。 SubWechats []*string `json:"SubWechats,omitempty" name:"SubWechats" list` // 微信unionid // 注意:此字段可能返回 null,表示取不到有效值。 UnionId *string `json:"UnionId,omitempty" name:"UnionId"` // 更新时间 // 注意:此字段可能返回 null,表示取不到有效值。 UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // 用户类型 // 注意:此字段可能返回 null,表示取不到有效值。 UserTypes []*string `json:"UserTypes,omitempty" name:"UserTypes" list` // 城市 // 注意:此字段可能返回 null,表示取不到有效值。 WxCity *string `json:"WxCity,omitempty" name:"WxCity"` // 国家 // 注意:此字段可能返回 null,表示取不到有效值。 WxCountry *string `json:"WxCountry,omitempty" name:"WxCountry"` // 昵称 // 注意:此字段可能返回 null,表示取不到有效值。 WxNickname *string `json:"WxNickname,omitempty" name:"WxNickname"` // 省份 // 注意:此字段可能返回 null,表示取不到有效值。 WxProvince *string `json:"WxProvince,omitempty" name:"WxProvince"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCustomerResponse ¶
func NewDescribeCustomerResponse() (response *DescribeCustomerResponse)
func (*DescribeCustomerResponse) FromJsonString ¶
func (r *DescribeCustomerResponse) FromJsonString(s string) error
func (*DescribeCustomerResponse) ToJsonString ¶
func (r *DescribeCustomerResponse) ToJsonString() string
type DescribeCustomersRequest ¶
type DescribeCustomersRequest struct { *tchttp.BaseRequest // 查询类型,0.个人,1负责部门,2.指定部门 QueryType *string `json:"QueryType,omitempty" name:"QueryType"` // 分组ID GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // 是否星级标记 1是 0否 MarkFlag *int64 `json:"MarkFlag,omitempty" name:"MarkFlag"` // 客户标签,多个标签用逗号隔开 TagIds *string `json:"TagIds,omitempty" name:"TagIds"` // 员工标识筛选,0:非员工,1:员工 RelChannelFlag *string `json:"RelChannelFlag,omitempty" name:"RelChannelFlag"` // 必须存在手机 1是 0否 NeedPhoneFlag *int64 `json:"NeedPhoneFlag,omitempty" name:"NeedPhoneFlag"` // 省份 Province *string `json:"Province,omitempty" name:"Province"` // 城市 City *string `json:"City,omitempty" name:"City"` // 性别 1男 2女 Sex *string `json:"Sex,omitempty" name:"Sex"` // 城市 KeyWord *string `json:"KeyWord,omitempty" name:"KeyWord"` // 查询开始位置 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 每页记录条数 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 子项目ID SubProjectId *string `json:"SubProjectId,omitempty" name:"SubProjectId"` }
func NewDescribeCustomersRequest ¶
func NewDescribeCustomersRequest() (request *DescribeCustomersRequest)
func (*DescribeCustomersRequest) FromJsonString ¶
func (r *DescribeCustomersRequest) FromJsonString(s string) error
func (*DescribeCustomersRequest) ToJsonString ¶
func (r *DescribeCustomersRequest) ToJsonString() string
type DescribeCustomersResponse ¶
type DescribeCustomersResponse struct { *tchttp.BaseResponse Response *struct { // 总记录条数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 数据列表 // 注意:此字段可能返回 null,表示取不到有效值。 UserList []*CustomerInfo `json:"UserList,omitempty" name:"UserList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCustomersResponse ¶
func NewDescribeCustomersResponse() (response *DescribeCustomersResponse)
func (*DescribeCustomersResponse) FromJsonString ¶
func (r *DescribeCustomersResponse) FromJsonString(s string) error
func (*DescribeCustomersResponse) ToJsonString ¶
func (r *DescribeCustomersResponse) ToJsonString() string
type DescribeProjectRequest ¶
type DescribeProjectRequest struct { *tchttp.BaseRequest // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` }
func NewDescribeProjectRequest ¶
func NewDescribeProjectRequest() (request *DescribeProjectRequest)
func (*DescribeProjectRequest) FromJsonString ¶
func (r *DescribeProjectRequest) FromJsonString(s string) error
func (*DescribeProjectRequest) ToJsonString ¶
func (r *DescribeProjectRequest) ToJsonString() string
type DescribeProjectResponse ¶
type DescribeProjectResponse struct { *tchttp.BaseResponse Response *struct { // 项目id ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 项目名称 ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"` // 项目预算 ProjectBudget *float64 `json:"ProjectBudget,omitempty" name:"ProjectBudget"` // 项目机构 ProjectOrg *string `json:"ProjectOrg,omitempty" name:"ProjectOrg"` // 项目简介 ProjectIntroduction *string `json:"ProjectIntroduction,omitempty" name:"ProjectIntroduction"` // 子项目列表 SubProjectList []*SubProjectInfo `json:"SubProjectList,omitempty" name:"SubProjectList" list` // 项目状态 ProjectStatus *string `json:"ProjectStatus,omitempty" name:"ProjectStatus"` // 项目机构Id // 注意:此字段可能返回 null,表示取不到有效值。 ProjectOrgId *string `json:"ProjectOrgId,omitempty" name:"ProjectOrgId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeProjectResponse ¶
func NewDescribeProjectResponse() (response *DescribeProjectResponse)
func (*DescribeProjectResponse) FromJsonString ¶
func (r *DescribeProjectResponse) FromJsonString(s string) error
func (*DescribeProjectResponse) ToJsonString ¶
func (r *DescribeProjectResponse) ToJsonString() string
type DescribeProjectStockRequest ¶
type DescribeProjectStockRequest struct { *tchttp.BaseRequest // 子项目id SubProjectId *string `json:"SubProjectId,omitempty" name:"SubProjectId"` }
func NewDescribeProjectStockRequest ¶
func NewDescribeProjectStockRequest() (request *DescribeProjectStockRequest)
func (*DescribeProjectStockRequest) FromJsonString ¶
func (r *DescribeProjectStockRequest) FromJsonString(s string) error
func (*DescribeProjectStockRequest) ToJsonString ¶
func (r *DescribeProjectStockRequest) ToJsonString() string
type DescribeProjectStockResponse ¶
type DescribeProjectStockResponse struct { *tchttp.BaseResponse Response *struct { // 项目库存列表 ProjectStocks []*ProjectStock `json:"ProjectStocks,omitempty" name:"ProjectStocks" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeProjectStockResponse ¶
func NewDescribeProjectStockResponse() (response *DescribeProjectStockResponse)
func (*DescribeProjectStockResponse) FromJsonString ¶
func (r *DescribeProjectStockResponse) FromJsonString(s string) error
func (*DescribeProjectStockResponse) ToJsonString ¶
func (r *DescribeProjectStockResponse) ToJsonString() string
type DescribeProjectsRequest ¶
type DescribeProjectsRequest struct { *tchttp.BaseRequest // 页码 PageNo *uint64 `json:"PageNo,omitempty" name:"PageNo"` // 页面大小 PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // 过滤规则 SearchWord *string `json:"SearchWord,omitempty" name:"SearchWord"` // 部门范围过滤 Filters *Filters `json:"Filters,omitempty" name:"Filters"` // 项目状态, 0:编辑中 1:运营中 2:已下线 3:已删除 4:审批中 ProjectStatus *int64 `json:"ProjectStatus,omitempty" name:"ProjectStatus"` }
func NewDescribeProjectsRequest ¶
func NewDescribeProjectsRequest() (request *DescribeProjectsRequest)
func (*DescribeProjectsRequest) FromJsonString ¶
func (r *DescribeProjectsRequest) FromJsonString(s string) error
func (*DescribeProjectsRequest) ToJsonString ¶
func (r *DescribeProjectsRequest) ToJsonString() string
type DescribeProjectsResponse ¶
type DescribeProjectsResponse struct { *tchttp.BaseResponse Response *struct { // 项目列表 ProjectList []*ProjectInfo `json:"ProjectList,omitempty" name:"ProjectList" list` // 项目数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeProjectsResponse ¶
func NewDescribeProjectsResponse() (response *DescribeProjectsResponse)
func (*DescribeProjectsResponse) FromJsonString ¶
func (r *DescribeProjectsResponse) FromJsonString(s string) error
func (*DescribeProjectsResponse) ToJsonString ¶
func (r *DescribeProjectsResponse) ToJsonString() string
type DescribeResourceTemplateHeadersRequest ¶
type DescribeResourceTemplateHeadersRequest struct { *tchttp.BaseRequest // 微信公众号appId WxAppId *string `json:"WxAppId,omitempty" name:"WxAppId"` }
func NewDescribeResourceTemplateHeadersRequest ¶
func NewDescribeResourceTemplateHeadersRequest() (request *DescribeResourceTemplateHeadersRequest)
func (*DescribeResourceTemplateHeadersRequest) FromJsonString ¶
func (r *DescribeResourceTemplateHeadersRequest) FromJsonString(s string) error
func (*DescribeResourceTemplateHeadersRequest) ToJsonString ¶
func (r *DescribeResourceTemplateHeadersRequest) ToJsonString() string
type DescribeResourceTemplateHeadersResponse ¶
type DescribeResourceTemplateHeadersResponse struct { *tchttp.BaseResponse Response *struct { // 记录条数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 模板列表 // 注意:此字段可能返回 null,表示取不到有效值。 TmplList []*ResourceTemplateHeader `json:"TmplList,omitempty" name:"TmplList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeResourceTemplateHeadersResponse ¶
func NewDescribeResourceTemplateHeadersResponse() (response *DescribeResourceTemplateHeadersResponse)
func (*DescribeResourceTemplateHeadersResponse) FromJsonString ¶
func (r *DescribeResourceTemplateHeadersResponse) FromJsonString(s string) error
func (*DescribeResourceTemplateHeadersResponse) ToJsonString ¶
func (r *DescribeResourceTemplateHeadersResponse) ToJsonString() string
type DescribeSubProjectRequest ¶
type DescribeSubProjectRequest struct { *tchttp.BaseRequest // 子项目id SubProjectId *string `json:"SubProjectId,omitempty" name:"SubProjectId"` }
func NewDescribeSubProjectRequest ¶
func NewDescribeSubProjectRequest() (request *DescribeSubProjectRequest)
func (*DescribeSubProjectRequest) FromJsonString ¶
func (r *DescribeSubProjectRequest) FromJsonString(s string) error
func (*DescribeSubProjectRequest) ToJsonString ¶
func (r *DescribeSubProjectRequest) ToJsonString() string
type DescribeSubProjectResponse ¶
type DescribeSubProjectResponse struct { *tchttp.BaseResponse Response *struct { // 作品信息 // 注意:此字段可能返回 null,表示取不到有效值。 ProductInfo *ProductInfo `json:"ProductInfo,omitempty" name:"ProductInfo"` // 活动信息 // 注意:此字段可能返回 null,表示取不到有效值。 ActivityInfo *ActivityInfo `json:"ActivityInfo,omitempty" name:"ActivityInfo"` // 分享标题 // 注意:此字段可能返回 null,表示取不到有效值。 ShareTitle *string `json:"ShareTitle,omitempty" name:"ShareTitle"` // 分享描述 // 注意:此字段可能返回 null,表示取不到有效值。 ShareDesc *string `json:"ShareDesc,omitempty" name:"ShareDesc"` // 分享图标 // 注意:此字段可能返回 null,表示取不到有效值。 ShareImg *string `json:"ShareImg,omitempty" name:"ShareImg"` // 是否已创建策略 // 注意:此字段可能返回 null,表示取不到有效值。 HasStrategy *uint64 `json:"HasStrategy,omitempty" name:"HasStrategy"` // 子项目状态 // 注意:此字段可能返回 null,表示取不到有效值。 SubProjectStatus *string `json:"SubProjectStatus,omitempty" name:"SubProjectStatus"` // 分享公众号的appId // 注意:此字段可能返回 null,表示取不到有效值。 ShareAppId *string `json:"ShareAppId,omitempty" name:"ShareAppId"` // 分享公众号的wsId // 注意:此字段可能返回 null,表示取不到有效值。 ShareWsId *string `json:"ShareWsId,omitempty" name:"ShareWsId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeSubProjectResponse ¶
func NewDescribeSubProjectResponse() (response *DescribeSubProjectResponse)
func (*DescribeSubProjectResponse) FromJsonString ¶
func (r *DescribeSubProjectResponse) FromJsonString(s string) error
func (*DescribeSubProjectResponse) ToJsonString ¶
func (r *DescribeSubProjectResponse) ToJsonString() string
type ExpireFlowRequest ¶
type ExpireFlowRequest struct { *tchttp.BaseRequest // 工单ID FlowId *string `json:"FlowId,omitempty" name:"FlowId"` }
func NewExpireFlowRequest ¶
func NewExpireFlowRequest() (request *ExpireFlowRequest)
func (*ExpireFlowRequest) FromJsonString ¶
func (r *ExpireFlowRequest) FromJsonString(s string) error
func (*ExpireFlowRequest) ToJsonString ¶
func (r *ExpireFlowRequest) ToJsonString() string
type ExpireFlowResponse ¶
type ExpireFlowResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewExpireFlowResponse ¶
func NewExpireFlowResponse() (response *ExpireFlowResponse)
func (*ExpireFlowResponse) FromJsonString ¶
func (r *ExpireFlowResponse) FromJsonString(s string) error
func (*ExpireFlowResponse) ToJsonString ¶
func (r *ExpireFlowResponse) ToJsonString() string
type ModifyProjectRequest ¶
type ModifyProjectRequest struct { *tchttp.BaseRequest // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 项目名称 ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"` // 项目预算 ProjectBudget *string `json:"ProjectBudget,omitempty" name:"ProjectBudget"` // 项目机构 ProjectOrg *string `json:"ProjectOrg,omitempty" name:"ProjectOrg"` // 项目简介 ProjectIntroduction *string `json:"ProjectIntroduction,omitempty" name:"ProjectIntroduction"` // 项目机构Id ProjectOrgId *string `json:"ProjectOrgId,omitempty" name:"ProjectOrgId"` }
func NewModifyProjectRequest ¶
func NewModifyProjectRequest() (request *ModifyProjectRequest)
func (*ModifyProjectRequest) FromJsonString ¶
func (r *ModifyProjectRequest) FromJsonString(s string) error
func (*ModifyProjectRequest) ToJsonString ¶
func (r *ModifyProjectRequest) ToJsonString() string
type ModifyProjectResponse ¶
type ModifyProjectResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyProjectResponse ¶
func NewModifyProjectResponse() (response *ModifyProjectResponse)
func (*ModifyProjectResponse) FromJsonString ¶
func (r *ModifyProjectResponse) FromJsonString(s string) error
func (*ModifyProjectResponse) ToJsonString ¶
func (r *ModifyProjectResponse) ToJsonString() string
type OffLineProjectRequest ¶
type OffLineProjectRequest struct { *tchttp.BaseRequest // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` }
func NewOffLineProjectRequest ¶
func NewOffLineProjectRequest() (request *OffLineProjectRequest)
func (*OffLineProjectRequest) FromJsonString ¶
func (r *OffLineProjectRequest) FromJsonString(s string) error
func (*OffLineProjectRequest) ToJsonString ¶
func (r *OffLineProjectRequest) ToJsonString() string
type OffLineProjectResponse ¶
type OffLineProjectResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewOffLineProjectResponse ¶
func NewOffLineProjectResponse() (response *OffLineProjectResponse)
func (*OffLineProjectResponse) FromJsonString ¶
func (r *OffLineProjectResponse) FromJsonString(s string) error
func (*OffLineProjectResponse) ToJsonString ¶
func (r *OffLineProjectResponse) ToJsonString() string
type ProductInfo ¶
type ProductInfo struct { // 模板id // 注意:此字段可能返回 null,表示取不到有效值。 TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"` // 模板主题 // 注意:此字段可能返回 null,表示取不到有效值。 ProductTitle *string `json:"ProductTitle,omitempty" name:"ProductTitle"` // 模板描述 // 注意:此字段可能返回 null,表示取不到有效值。 ProductDesc *string `json:"ProductDesc,omitempty" name:"ProductDesc"` // 模板封面地址 // 注意:此字段可能返回 null,表示取不到有效值。 ProductCover *string `json:"ProductCover,omitempty" name:"ProductCover"` // 内容作品id // 注意:此字段可能返回 null,表示取不到有效值。 ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 作品预览链接 // 注意:此字段可能返回 null,表示取不到有效值。 ProductUrl *string `json:"ProductUrl,omitempty" name:"ProductUrl"` // 作品名称 // 注意:此字段可能返回 null,表示取不到有效值。 ProductName *string `json:"ProductName,omitempty" name:"ProductName"` }
type ProjectInfo ¶
type ProjectInfo struct { // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 项目名称 ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"` // 项目所属机构 ProjectOrg *string `json:"ProjectOrg,omitempty" name:"ProjectOrg"` // 项目预算 ProjectBudget *float64 `json:"ProjectBudget,omitempty" name:"ProjectBudget"` // 项目状态 ProjectStatus *string `json:"ProjectStatus,omitempty" name:"ProjectStatus"` // 项目创建时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 项目简介 ProjectIntroduction *string `json:"ProjectIntroduction,omitempty" name:"ProjectIntroduction"` // 项目所属机构Id // 注意:此字段可能返回 null,表示取不到有效值。 ProjectOrgId *string `json:"ProjectOrgId,omitempty" name:"ProjectOrgId"` }
type ProjectStock ¶
type ProjectStock struct { // 奖品id PrizeId *string `json:"PrizeId,omitempty" name:"PrizeId"` // 奖品批次 PrizeBat *uint64 `json:"PrizeBat,omitempty" name:"PrizeBat"` // 奖品名称 PrizeName *string `json:"PrizeName,omitempty" name:"PrizeName"` // 已分配奖品数量 UsedStock *uint64 `json:"UsedStock,omitempty" name:"UsedStock"` // 该奖品剩余库存数量 RemainStock *uint64 `json:"RemainStock,omitempty" name:"RemainStock"` // 奖品所在奖池index PoolIdx *uint64 `json:"PoolIdx,omitempty" name:"PoolIdx"` // 奖品所在奖池名称 PoolName *string `json:"PoolName,omitempty" name:"PoolName"` }
type ReplenishProjectStockRequest ¶
type ReplenishProjectStockRequest struct { *tchttp.BaseRequest // 项目id SubProjectId *string `json:"SubProjectId,omitempty" name:"SubProjectId"` // 奖品id PrizeId *string `json:"PrizeId,omitempty" name:"PrizeId"` // 奖品数量 PrizeNum *uint64 `json:"PrizeNum,omitempty" name:"PrizeNum"` // 奖池索引 PoolIndex *uint64 `json:"PoolIndex,omitempty" name:"PoolIndex"` // 奖池名称 PoolName *string `json:"PoolName,omitempty" name:"PoolName"` }
func NewReplenishProjectStockRequest ¶
func NewReplenishProjectStockRequest() (request *ReplenishProjectStockRequest)
func (*ReplenishProjectStockRequest) FromJsonString ¶
func (r *ReplenishProjectStockRequest) FromJsonString(s string) error
func (*ReplenishProjectStockRequest) ToJsonString ¶
func (r *ReplenishProjectStockRequest) ToJsonString() string
type ReplenishProjectStockResponse ¶
type ReplenishProjectStockResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewReplenishProjectStockResponse ¶
func NewReplenishProjectStockResponse() (response *ReplenishProjectStockResponse)
func (*ReplenishProjectStockResponse) FromJsonString ¶
func (r *ReplenishProjectStockResponse) FromJsonString(s string) error
func (*ReplenishProjectStockResponse) ToJsonString ¶
func (r *ReplenishProjectStockResponse) ToJsonString() string
type ResourceTemplateHeader ¶
type ResourceTemplateHeader struct { // 模板预览区内容 // 注意:此字段可能返回 null,表示取不到有效值。 Content *string `json:"Content,omitempty" name:"Content"` // 模板预览示例 // 注意:此字段可能返回 null,表示取不到有效值。 Example *string `json:"Example,omitempty" name:"Example"` // 模板预览区域键数组 // 注意:此字段可能返回 null,表示取不到有效值。 KeyArray *string `json:"KeyArray,omitempty" name:"KeyArray"` // 模板id TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"` // 模板标题 // 注意:此字段可能返回 null,表示取不到有效值。 Title *string `json:"Title,omitempty" name:"Title"` }
type SendWxTouchTaskRequest ¶
type SendWxTouchTaskRequest struct { *tchttp.BaseRequest // 客户分组ID GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // 去除今日已发送的客户 DistinctFlag *bool `json:"DistinctFlag,omitempty" name:"DistinctFlag"` // 是否立马发送 IsSendNow *bool `json:"IsSendNow,omitempty" name:"IsSendNow"` // 发送时间,一般为0 SendDate *int64 `json:"SendDate,omitempty" name:"SendDate"` // 任务名称 TaskName *string `json:"TaskName,omitempty" name:"TaskName"` // 微信触达类型,text, news, smallapp, tmplmsg WxTouchType *string `json:"WxTouchType,omitempty" name:"WxTouchType"` // 标题 Title *string `json:"Title,omitempty" name:"Title"` // 文本内容 Content *string `json:"Content,omitempty" name:"Content"` // 图文素材ID NewsId *string `json:"NewsId,omitempty" name:"NewsId"` // 小程序卡片ID SmallProgramId *string `json:"SmallProgramId,omitempty" name:"SmallProgramId"` // 模板消息ID TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"` // 微信公众号appId WxAppId *string `json:"WxAppId,omitempty" name:"WxAppId"` }
func NewSendWxTouchTaskRequest ¶
func NewSendWxTouchTaskRequest() (request *SendWxTouchTaskRequest)
func (*SendWxTouchTaskRequest) FromJsonString ¶
func (r *SendWxTouchTaskRequest) FromJsonString(s string) error
func (*SendWxTouchTaskRequest) ToJsonString ¶
func (r *SendWxTouchTaskRequest) ToJsonString() string
type SendWxTouchTaskResponse ¶
type SendWxTouchTaskResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewSendWxTouchTaskResponse ¶
func NewSendWxTouchTaskResponse() (response *SendWxTouchTaskResponse)
func (*SendWxTouchTaskResponse) FromJsonString ¶
func (r *SendWxTouchTaskResponse) FromJsonString(s string) error
func (*SendWxTouchTaskResponse) ToJsonString ¶
func (r *SendWxTouchTaskResponse) ToJsonString() string
type SubProjectInfo ¶
Click to show internal directories.
Click to hide internal directories.