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

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

  • August 29, 2017
  • 15 replies
  • 12215 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

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

Ravish_Patel
New Participant
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

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

steffenk8071817
New Participant
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

Employee
July 26, 2019

Hi Steffen,

you can use  profileAndServicesExt/orgUnitBase/  which should work

steffenk8071817
New Participant
July 26, 2019

Hi,

same applies here. We want to make more use of the API and want to create a profile associated with a orgUnit.

However, the API-Doc (Adobe Campaign Standard API ) states to use the resource /orgUnitBase to retrieve all OrgUnits, but this fails with

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

Error rc=-2003

Surely we don't want to run a workflow every x minutes, since we need to trigger a double-op-in mail after profile creation as well.

Could you please help?

Thanks in advance

Steffen

New Participant
June 28, 2018

Hi

any update on this feature?

Is still not possible to update geo and org unit via API?

Any news on this?

Fabio

vraghav
Employee
May 4, 2018

Hi Ravish.

Geo Unit and Org Units are separate schemas and hence if you wish to update them by workflow, you need to first use Reconciliation activity after your Data Loading one, to link the incoming population with two schemas.

Please check the definition of both the schemas to understand what values they hold and you will have to work accoordingly.

Regards,
Vipul

Ravish_Patel
New Participant
May 4, 2018

Hi Vipul,

We have tried to run the workflow but it doesn't allow to update the Geo Unit for us. What exactly do we set in the attribute of geoUnit? For instance, if we have to set 'all' do we specify 'all' as the value or do we look for the id of the geoUnit and update the id in the profile?

Thank you

Ravish Patel

vraghav
vraghavAccepted solution
Employee
October 11, 2017

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