Expand my Community achievements bar.

SOLVED

How to access standard resource definitions via API in Adobe Campaign Standard (ACS)?

Avatar

Level 1

Hi community,
I’m working with Adobe Campaign Standard (ACS) and need to access, through the REST API, the full definition of standard resources (e.g., Profile, Subscription, Service), including data types, lengths, keys, and relationships.
Is there any endpoint or method to retrieve this information directly from the API?
It only works with the endpoint:
https://mc.adobe.io/developeando/campaign/profileAndServicesExt
For other resources, it returns 404 Not Found.
Thanks for any guidance or references!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @HectorAb

 

You might be getting a 404 because you're calling the wrong endpoint or resource name.

 

In Adobe Campaign Standard, you can retrieve the full definition of standard and custom resources through metadata endpoints. 

 

For standard resources:

GET https://mc.adobe.io/<tenant>/campaign/profileAndServices/resourceType/<resourceName>

 

For extended or custom resources:

GET https://mc.adobe.io/<tenant>/campaign/profileAndServices/resourceType/<resourceName>

 

These endpoints should return metadata such as field names, data types, and relationships, but not physical database details like column lengths or SQL keys. 

 

I share with you some useful documentation:

API - Metadata mechanism 

 

Hope it helps, don't hesitate to come back if any doubt. 

Best, 

Celia

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @HectorAb

 

You might be getting a 404 because you're calling the wrong endpoint or resource name.

 

In Adobe Campaign Standard, you can retrieve the full definition of standard and custom resources through metadata endpoints. 

 

For standard resources:

GET https://mc.adobe.io/<tenant>/campaign/profileAndServices/resourceType/<resourceName>

 

For extended or custom resources:

GET https://mc.adobe.io/<tenant>/campaign/profileAndServices/resourceType/<resourceName>

 

These endpoints should return metadata such as field names, data types, and relationships, but not physical database details like column lengths or SQL keys. 

 

I share with you some useful documentation:

API - Metadata mechanism 

 

Hope it helps, don't hesitate to come back if any doubt. 

Best, 

Celia