Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 2.52 KB

RequestContactImport.md

File metadata and controls

19 lines (15 loc) · 2.52 KB

RequestContactImport

Properties

Name Type Description Notes
FileUrl string Mandatory if fileBody or jsonBody is not defined. URL of the file to be imported (no local file). Possible file formats: .txt, .csv, .json [optional] [default to null]
FileBody string Mandatory if fileUrl and jsonBody is not defined. CSV content to be imported. Use semicolon to separate multiple attributes. Maximum allowed file body size is 10MB . However we recommend a safe limit of around 8 MB to avoid the issues caused due to increase of file body size while parsing. Please use fileUrl instead to import bigger files. [optional] [default to null]
JsonBody []map[string]interface{} Mandatory if fileUrl and fileBody is not defined. JSON content to be imported. Maximum allowed json body size is 10MB . However we recommend a safe limit of around 8 MB to avoid the issues caused due to increase of json body size while parsing. Please use fileUrl instead to import bigger files. [optional] [default to null]
ListIds []int64 Mandatory if newList is not defined. Ids of the lists in which the contacts shall be imported. For example, [2, 4, 7]. [optional] [default to null]
NotifyUrl string URL that will be called once the import process is finished. For reference, https://help.sendinblue.com/hc/en-us/articles/360007666479 [optional] [default to null]
NewList *RequestContactImportNewList [optional] [default to null]
EmailBlacklist bool To blacklist all the contacts for email [optional] [default to null]
SmsBlacklist bool To blacklist all the contacts for sms [optional] [default to null]
UpdateExistingContacts bool To facilitate the choice to update the existing contacts [optional] [default to null]
EmptyContactsAttributes bool To facilitate the choice to erase any attribute of the existing contacts with empty value. emptyContactsAttributes = true means the empty fields in your import will erase any attribute that currently contain data in SendinBlue, & emptyContactsAttributes = false means the empty fields will not affect your existing data ( only available if `updateExistingContacts` set to true ) [optional] [default to null]

[Back to Model list] [Back to API list] [Back to README]