Interacting with custom resources interacting-with-custom-resources
The /customResources endpoint allows you to expose the Campaign custom resources in REST. Based on this API, an integration between custom entities and external endpoints is available.
The /customResources endpoint has exactly the same behavior as /profileAndServices endpoint.
The custom resources that are exposed within this API are:
- all the entities that are not exposed under /profileAndServicesExt
- all the entities that are not linked to profile and, for these entities, their children and grandchildren.
- by default, all entities that are not linked to anything, and their children and grandchildren.
NOTE
The custom resources that are available under /profileAndServicesExt are not exposed in the /customResources API.
Here is an example to retrieve the metadata from a custom resource:
GET /customResources/resourceType/<customResourceName>
To perform a creation, update or deletion, the GET, POST, PATCH, DELETE are used.
POST /customResources/<customResourceName>
recommendation-more-help
7167b251-0f24-48cd-a4e0-234fe2acbdea