Loader Magnews Audience
This component is used for importing contacts to MagNews EDM tool.
Learn more: about magnews API documentation here.
Data In/ Data Out
Data In |
Loader requires File structure:
Example:
|
||||||||
Data Out |
N/A |
Parameters
Audience
database_id (required) |
ID of database where contacts are stored. |
audience_id (*) |
ID of audience where contacts from imports.csv file will be imported. |
audience_name (*) |
Name of newly created audience. |
Remember: At least one audience_id OR audience_name must be provided.
Example:
{
"parameters": {
"credentials": {
"username": "username",
"customer_id": "1234",
"#access_token": "###",
"wsdl": "https://foo.bar/wsapi?wsdl"
},
"audience": {
"database_id": "42",
"audience_id": "84",
"audience_name": "foo"
}
}
}
Methods
- When audience_id is provided in configuration. Component will check audience_id existence and import all given contacts there.
When audience_id is unknown audience_name must be provided in configuration. Component will create new audience with defined audience_name and import all given contacts to newly created audience.