Campaign Adobe IO Rest API - Not able to set Organizational Unit & Geo Unit | Community
Skip to main content
Premkarthic-7WP
Level 4
August 29, 2017
Solved

Campaign Adobe IO Rest API - Not able to set Organizational Unit & Geo Unit

  • August 29, 2017
  • 15 replies
  • 12216 views

Hi,

We are using Adobe IO Rest API to create a profile and add the subscriptions to the profile.

We are always getting the error "orgUnit property is not valid for the 'profile' resource." when we trying to override the default value ("all") set by profileAndServicesExt/profile api. Same applicable for geoUnit.

Note: We are using custom profile that get extended from default one with

Any pointer to fix this will help us more.

-Prem

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

Hi Kornel,

I did verify from Engineering. They had released the feature to have Geo and Org units assigned based on the settings of security group used in Integration on Adobe.IO but the feature was removed as it lead to an issue which was too risky to fetch.

Now they are working on providing you with the ability to push geo and org unit on the API payload itself.

At the moment, you can have profiles created from API and then have a workflow running on the instance which updates profiles every 5 minutes with correct geo and org unit.

Regards,
Vipul

15 replies

Adobe Employee
July 26, 2019

Hi Steffen,

you can use  profileAndServicesExt/orgUnitBase/  which should work

steffenk8071817
July 29, 2019

Hi Ramon,

thank you for the fast reply. Unfortunately it doesn't work.

First thing to notice, whenever i GET a profile, there is no mapping to the orgUnit in the Response. However, the Profile DB is extended and via browser the organizational Unit can be maintained and is used by our double opt in process and profiles subscribing through that process gat flagged with the correct orgUnit. But it is only visible via WEB.

When i call GET ...profileAndServicesExt/orgUnitBase/..still the following error occurs:

RST-360011 An error has occurred - please contact your administrator.

Error rc=-2003

Any suggestions?

Thank you

steffen

Adobe Employee
August 5, 2019

Hi Steffen,

this was added with a recent release though would only be available upon republication of your custom data model.

Can you try doing a republication?

Normally "prepare publication" would then also show that orgUnitBase service will be added

Ravish_Patel
Level 2
August 5, 2019

Hello Ramon,

Are there any release notes around this feature introduction that we can send to client for reference? This has been a long standing pain point for one of our clients.

ThAnn you

Ravish Patel

Adobe Employee
August 5, 2019

Hi Ravish,

The release notes just have a short sentence pointing to updated API documentation.

That one describes the endpoints quite good:

Adobe Campaign Standard API