Engage+ offers several different ways to bring data into the platform and load it into your marketing database. Data can be imported in a manual process through a file import (see Imports for more details), or by way of an FTP automated process (see FTP Import Templates). You can manually edit or enter records one at a time using the Record Lookup screen. Data can also be submitted to the platform through an API Post, or through Web Forms and Web Events. The best import method should be indicated by your business requirements and marketing strategy. If you have any questions about which import method best meets your needs, please speak with your Client Services Representative.
An API Post allows you to send data to Engage+ from your internal system or website via an API request message. Within the Engage+ platform, you must configure where you want the system to store the data in the API request.
The API Post screen is accessible by the following method:
From the Main menu, select Data > Execution > API Posts
The steps for creating a new API Post are described below
Create a New API Post To create a new API Post:
Note: You can never modify this source table after the API Post is created.
|
API Post: Data Options The Data Options section is used to define a Form that tells the system how to save the data into the database. It can be useful to create multiple Forms, even if those Forms are saving similar data. Different Forms can be used as triggers for different purposes, or as a method to logically separate data based on different data sources.
The "Simple" mapping option allows you to manually select one or more fields on the API Post source table.
The "Advanced" option lets you pick an existing Data Map to use when bringing data in through the Web Form. Data Maps provide more sophisticated import options.
If the API request message doesn't contain the Unique Identifier field for the destination Table, then you must use the Soft Match feature in order to successfully load the data. The Soft Match lets you match to the database using any fields with a Data Type of "Email," "Phone," "Twitter," or "Push Registration ID." For example, let's say the Unique Identifer on your "Recipient" table is "Member ID," but you don't have Member ID data available in your import file. You could instead select some other field, such as "Email Address," that contains unique data, and match on that instead. If the soft-matched value in the request message matches an existing value in the database, then the platform will make the update to that record in the database. If the soft-matched value does not already exist in the database, the platform creates a "temporary" record. This temporary record can later be merged with a full record that contains the Unique Identifier. If you're using the Soft Match feature, you still must add the Source Table's Unique Identifier field (or fields) to the API Post, even if you're not actually intending on providing the Unique ID fields on the inbound data. The Unique ID must be part of the API Post in order to save the API Post; you don't need to actually include this field (or fields) when you bring data into the system. Define a Soft MatchDefine a Soft Match
Note: If you run a Calculated Field as part of an API Post, the system derives and populates that field only for the record in the API request message. Conversely, if you set up a Calculated Field schedule, the system derives and populates the field for every record in the table (see Tables for more details).
Note: The Sanitize Data Fields option is enabled by default in all new API Posts created after release 21.10 (October 2021) of Engage+. All API Posts created prior to this release will have this feature disabled by default. You can optionally enable the feature in older API Posts, or you can choose to encode specific fields by attacking the suffix " safe" (with a space) to the field name. For example: "email safe." Marigold's best practice is to enable this feature, but please note that enabling the feature in older API Posts may cause changes to the format of field content, so be sure to test the API Post after enabling this feature.
|
API Post: Notifications Engage+ allows you to define email alerts if the contents of your form surpass certain thresholds for a selected import metric or exception. The Notifications section is displayed only if you placed a check mark in the "Import Exceptions" check box (note: this is an optional feature that must be enabled within your account in order to be available for selection).
Note: If you want to delete an existing Template, select it from the "Template" drop-down menu, then click delete.
Note: You must check at least one of the above check boxes.
|
API Post: Confirmation The Confirmation section contains a default response message that gets generated upon successful receipt and processing of your API request. This default response message contains a Status value of "SUCCESS." You can also define a confirmation page using the "cp" parameter. For example: <input type="hidden" name="cp" value="http://www.cheetahdigital.com" />
If your API Post is finished, the next step is to publish it. See "Publish an API Post" below for more details on this process. |
API Post: Schedule The API Post Schedule section provides several options for disabling, or expiring, this API Post, either based on the number of submissions received, or based on a schedule.
Note: Be careful when testing API Post submissions, as the test submissions count toward both of the above thresholds.
Note: If using the schedule feature, when you publish your API Post, it won't yet be available until the schedule's start date.
If your API Post is finished, the next step is to publish it. See "Publish an API Post" below for more details on this process. |
API Post: Expiration If you're using the API Post expiration schedule described above, the Expiration section lets you define the response message that gets submitted in the event that the API Post is accessed after its expired.
If your API Post is finished, the next step is to publish it. See "Publish an API Post" below for more details on this process. |
This section describes additional features related to managing your API Posts.
Copy an API Post To copy an existing item to use as the basis for a new item:
|
Publish an API Post After you've created the API Post to your satisfaction, you must publish it to make it accessible. To publish your API Post:
|
View or Edit an API Post To view or edit an existing API Post:
Note: If you're using the "Maximum submission" counters for this API Post, republishing the API Post will reset all counters back to "0." |
Delete an API Post To delete an item:
Foldered items are moved to the Recycle Bin. Non-foldered items are permanently deleted. |
View Sample Code Messaging will generate sample HTML, XML, and C# code based on the API Post parameters that you entered above. Note: this sample code is intended for reference purposes only. To view sample code for your API Post:
The following table lists the parameters that should be sent as part of the API request:
|