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

what is resourceType in custom resources api?

  • May 16, 2023
  • 1 reply
  • 993 views

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.
Best answer by SatheeskannaK

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>

 

1 reply

SatheeskannaK
Community Advisor
SatheeskannaKCommunity AdvisorAccepted solution
Community Advisor
May 16, 2023

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
Level 2
May 24, 2023

Thanks @satheeskannak  for the answer