API explorerChangelog
Overview

Sections

Theme switcher

Retrieve status

Use this method to retrieve the current status of an import. One of the following statuses will be returned.

  • Initiated - The import has been defined and is ready to accept profile records.
  • Staging - The data is being staged. More records may be added at this stage.
  • Queued - The import has been executed and records have been queued.
  • Processing - The records are being processed.
  • Completed - The records have been imported.
  • Failed - The import has failed to execute and none of the staged records were added into MyPreferences.

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
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.
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?

GET

/

Select
1

Response

Was this section helpful?

What made this section unhelpful for you?