what is resourceType in custom resources api? | Community
Skip to main content
Level 2
May 16, 2023 3:21 PM UTC
Solved

what is resourceType in custom resources api?

I'm using this document for referring- Interacting with custom resources . This is the endpoint

 

GET /customResources/resourceType/<customResourceName>. I have created the custom resource and have a name for it and i'm trying to fetch it using this API but i'm not aware of the resourceType. Can somebody help me on this? 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SatheeskannaK
SatheeskannaKAccepted solution
Level 1
May 16, 2023 3:34 PM UTC

Hi @sushmita32,

 

GET /customResources/resourceType/<customResourceName> : Provides metadata for the resource. Take a look at the below example,

https://experienceleague.adobe.com/docs/campaign-standard/using/working-with-apis/global-concepts/metadata-mechanism.html?lang=en

 

If you're going to get/post/patch/delete some data to the custom resource you should be using,

Example:
GET https://mc.adobe.io/<org_name>/customResources/<customResourceName>

 

Thanks, Sathees

2 replies

SatheeskannaK
SatheeskannaKAccepted solution
Level 1
May 16, 2023 3:34 PM UTC

Hi @sushmita32,

 

GET /customResources/resourceType/<customResourceName> : Provides metadata for the resource. Take a look at the below example,

https://experienceleague.adobe.com/docs/campaign-standard/using/working-with-apis/global-concepts/metadata-mechanism.html?lang=en

 

If you're going to get/post/patch/delete some data to the custom resource you should be using,

Example:
GET https://mc.adobe.io/<org_name>/customResources/<customResourceName>

 

Translate
Thanks, Sathees
Level 2
May 24, 2023 7:46 AM UTC

Thanks @satheeskannak  for the answer

 

Translate