Adobe Campaign Standard API - Adding or Updating Profiles | Community
Skip to main content
davidh2892249
Level 5
April 3, 2020
Question

Adobe Campaign Standard API - Adding or Updating Profiles

  • April 3, 2020
  • 1 reply
  • 3571 views

Hi there,

 

I'm a long time Campaign Classic user, but a little newer to Campaign standard.

 

I've been familiarising myself with the ACS API and have a question about handling Profile updates.

 

I've seen you can:
Insert a profile (POST)

Update a profile (by GET request and then using the Pkey in a PATCH request)

 

My question is.... is there a simple way to "insertOrUpdate" (whereby a record is updated if it already exists or is created new if it doesn't, based on a defined reconciliation key).

 

I think there would be many use cases where 3rd party systems don't know if the record exists or not, but want an end result of the record existing as a campaign profile (without creating duplicates).

 

I guess a combination of the 3 requests could be used as follows, but I wanted to know if there was a simpler way? I'm also keen to know if there remains an option to define a reconciliation key with these methods.

Potential approach?

* Perform GET request (based on one of the filtering methods available)

* if record exists, use PKEY of response to perform PATCH request to update

* else use POST request to insert as new profile

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

davidh2892249
Level 5
May 5, 2020

@jean-serge_biro
@jonathon_wodnicki 
@vraghav 

Hi Guys,
Would any of you be able to help with the above?

Thanks in advance as always.

 

David