response

package
v3.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExternalTagIDToOpenOpenExternalTagIDResult

type ExternalTagIDToOpenOpenExternalTagIDResult struct {
	// ExternalTagID 企业主体下的客户标签ID
	ExternalTagID string `json:"external_tagid,omitempty"`
	// OpenExternalTagID 服务商主体下的客户标签ID,如果传入的external_tagid已经是服务商主体下的ID,则open_external_tagid与external_tagid相同。
	OpenExternalTagID string `json:"open_external_tagid,omitempty"`
}

ExternalTagIDToOpenExternalTagIDResult 客户标签转换结果

type ExternalUserIDToPendingIDResult

type ExternalUserIDToPendingIDResult struct {
	// ExternalUserID 该授权企业的外部联系人ID
	ExternalUserID string `json:"external_userid,omitempty"`
	// PendingID 该微信账号还未成为企业客户时,unionid_to_external_userid接口返回的临时外部联系人ID
	PendingID string `json:"pending_id,omitempty"`
}

ExternalUserIDToPendingIDResult 转换结果

type OpenUserIDToUserIDResult

type OpenUserIDToUserIDResult struct {
	// UserID 转换成功的userid
	UserID string `json:"userid,omitempty"`
	// OpenUserID 转换成功的userid对应的服务商主体下的密文userid
	OpenUserID string `json:"open_userid,omitempty"`
}

type ResponseExternalTagIDToOpenExternalTagID

type ResponseExternalTagIDToOpenExternalTagID struct {
	response.ResponseWork
	// Items 客户标签转换结果
	Items []ExternalTagIDToOpenOpenExternalTagIDResult `json:"items,omitempty"`
	// InvalidExternalTagIDList 无法转换的客户标签ID列表
	InvalidExternalTagIDList []string `json:"invalid_tagid_list,omitempty"`
}

type ResponseExternalUserIDToPendingID

type ResponseExternalUserIDToPendingID struct {
	response.ResponseWork
	// Result 转换结果
	Result []ExternalUserIDToPendingIDResult `json:"result,omitempty"`
}

type ResponseOpenUserIDToUserID

type ResponseOpenUserIDToUserID struct {
	response.ResponseWork
	UserIDList []OpenUserIDToUserIDResult `json:"userid_list,omitempty"`
	// InvalidUserIDList 不合法的open_userid列表
	InvalidUserIDList []string `json:"invalid_userid_list,omitempty"`
}

type ResponseUnionIDToExternalUserID

type ResponseUnionIDToExternalUserID struct {
	response.ResponseWork
	// ExternalUserID 该授权企业的外部联系人ID
	ExternalUserID string `json:"external_userid,omitempty"`
	// PendingID 该微信账号尚未成为企业客户时,返回的临时外部联系人ID,该ID有效期为90天,当该用户在90天内成为企业客户时,可以通过external_userid查询pending_id关联
	PendingID string `json:"pending_id,omitempty"`
}

type ResponseUserIDToOpenUserID

type ResponseUserIDToOpenUserID struct {
	response.ResponseWork
	// OpenUserIDList 该服务商主体下的密文userid
	OpenUserIDList []UserIDToOpenUserIDResult `json:"open_userid_list,omitempty"`
}

type UserIDToOpenUserIDResult

type UserIDToOpenUserIDResult struct {
	// UserID 转换成功的userid
	UserID string `json:"userid,omitempty"`
	// OpenUserID 转换成功的userid对应的服务商主体下的密文userid
	OpenUserID string `json:"open_userid,omitempty"`
}

UserIDToOpenUserIDResult 该服务商主体下的密文userid

Jump to

Keyboard shortcuts

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