emarsys_multiupdate

package module
v0.0.0-...-91ffc0b Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: Unlicense Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type E_MU

type E_MU interface {
	ObtainList(searchValue string) ([]int, error)
	UpdateAllWithValue(dups_list []int, target_key string, target_value string) error
}

type EdeData

type EdeData struct {
	Emarsys_auth   SuiteAPI
	SearchField    string
	SkipWhereEmpty string
}

func (EdeData) ObtainList

func (EData EdeData) ObtainList(searchValue string) ([]int, error)

func (EdeData) UpdateAllWithValue

func (EData EdeData) UpdateAllWithValue(dups_list []int, target_key string, target_value string) error

type ReturnedDupsList

type ReturnedDupsList struct {
	ReplyCode int    `json:"replyCode"`
	ReplyText string `json:"replyText"`
	Data      struct {
		Errors []interface{} `json:"errors"`
		Result []struct {
			Optin string `json:"31"`
			ID    string `json:"id"`
		} `json:"result"`
	} `json:"data"`
}

type ReturnedDupsListWithLimit

type ReturnedDupsListWithLimit struct {
	ReplyCode int    `json:"replyCode"`
	ReplyText string `json:"replyText"`
	Data      struct {
		Errors []interface{} `json:"errors"`
		Result []interface{} `json:"result"`
	} `json:"data"`
}

type SuiteAPI

type SuiteAPI struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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