API explorerChangelog
Overview

Sections

Theme switcher

Execute

The execute step is the last step in the import process. Once all the data is staged, run the execute request to write the data from the staging area to the MyPreferences database.

Only records that are reported back as "Validation Successful" during the staging process will be imported. Any records that failed validation or got returned as exceptions will be ignored. A summary of the import details is included in the response once the execution step is completed.

Processed, Exceptions, and NotHonored count will not be available instantly upon execution. Depending on the record count, poll the the "Retrieve Status" endpoint at regular intervals until the status is returned as “Complete”.

Header Parameters

Authorizationstring Required

Authorization token

Path Parameters

clientIdstring Required

This is your organization’s MyPreferences account Id. A 404 is returned if this value is invalid.

accessTokeninteger Required

Access token returned from InitiateBulkImport call. A 401 is returned if this value is invalid.

Response

200
Object
The request was successfully processed.

Response Attributes

TotalRecordsReceivedinteger

Total number of records that were staged. This number is the combined value of all of the records that were added during the staging phase of the import.

ValidationSuccessfulinteger

Total Number of records that were validated successfully during the staging phase and are ready for execution. This number is the combined value of all records submitted across various requests during the staging phase of the import.

ValidationFailedinteger

Number of records that failed validation during the staging process. Any records that fail validation will not be imported during the execution phase.

Processedinteger

Number of records that have been imported into MyPreferences. During the staging process, this value will always return 0.

Pendinginteger

Total amount of records that have been marked as pending to be processed during the staging phase. This number is the combined value of all of the requests that were received during the staging phase of the import.

Exceptionsinteger

Total number of records that encountered exceptions during the import execution. During the staging process, this value will always return 0.

NotHonoredinteger

Number of records that were not honored by the system during the import process. During the staging process, this value will always return 0.

AccessTokeninteger

Token created by the initiate method used to stage, execute, and retrieve import status and failed records.

Statusstring

Returns the current state of the import. 'Initiated', 'Staging', 'Queued', 'Processing', 'Completed', or 'Failed'.

Expiresstring

Date when the access token will expire. Default expiration time is 12 hours.

Namestring Required

Name associated with the bulk import operation.

DataStageDurationinteger

Determines the number of days for retaining staged data before it is permanently deleted. If not specified, it defaults to 3 days. The staging duration cannot exceed 10 days.

Maximum
10
ImportActionstring

Specifies whether to add or delete profiles. Supported values are "Add" and "Delete".

MatchCriteriastring

An optional parameter that can be used as a matching identifier in the absence of a Profile ID. Currently, AlternateIdType is the only supported match criteria.

MatchValuestring

TypeName associated with the match criteria. Specify the name of an AlternateIdType configured in your account since AlternateIdType is the only supported Match Criteria.

RefreshAlternateIdsboolean

If set to true, existing AlternateIds that are NOT included in the import will be deactivated. Default value is false.

RefreshContactsboolean

If set to true, existing profile contact elements that are NOT included in the import will be deactivated along with any preferences associated with them. Default value is false.

RefreshCustomFieldsboolean

If set to true, existing CustomFields that are NOT included in the import will be deleted. Default value is false.

RefreshGroupsboolean

If set to true, existing Groups that are NOT included in the import, will be deactivated. Default value is false.

RefreshTagsboolean

If set to true, existing Tags that are NOT included in the import, will be deleted. Default value is false.

AllowPriorConsentsboolean

A boolean flag, when set to true, permits adding an older version of a consent to the profile, provided that a more recent version of the consent is not already present.

400
Object
The request was invalid and cannot be processed. This may be a result of a malformed request. You must update the request before trying again.
401
Object
Authentication credentials are missing or incorrect. You must verify your ClientId, UserId, and Authorization Scheme before trying again.
403
Object
The authentication credentials were insufficient to grant access to the requested resource. In most cases, your user may not have the appropriate permissions to access the requested resource. Verify User Group permissions for your user before trying again.
404
Object
The requested resource cannot be found. Most errors in this category are returned when a resource specified on the URL path is not found. In certain instances, it is also returned when a parameter specified in the request body is also not found. See error description for more details.
503
Object
The server encountered an unexpected condition that prevented it from fulfilling the request. Notify PossibleNOW Support if it’s a continuous occurrence.
Was this section helpful?

What made this section unhelpful for you?

POST

/

Select
1

Response

Was this section helpful?

What made this section unhelpful for you?