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
Username (required) |
The username used for MagNews platform. |
Customer_id (required) |
The user’s ID in Magnews platform. This can be found in the user’s profile under Account Information.
|
Access_token (required) |
The secret key provided by MagNews for registered application. This can be found in Management > System > Digital Certificates. |
WSDL (required) |
WSDL document with all MagNews SOAP API endpoints. Can be found in MagNews API documentation.
|
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. The component will checkaudience_id
existence and import all given contacts there. - When
audience_id
is unknownaudience_name
must be provided in configuration. The component will create new audience with definedaudience_name
and import all given contacts to newly created audience.