You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

"Error": "Entity provided in request is not an enabled top-level entity"

in Sales 1 comment

Summary:

We want to create a template with a custom list in Redwood using the API information:

"…/crmRestApi/resources/latest/addressGeographies?fields=GeographyIdentifierId,GeographyValue,GeographyLevel2Value,GeographyType&q=CountryCode="DO"&onlyData=true&limit=500&offset=0"

But when using the standard Redwood search function with the API:

" …./crmRestApi/searchResources/11.13.18.05/custom-actions/queries"

, and posting the JSON:


{
"entity": "addressGeographies",
"limit": 100,
"fields": [
"GeographyValue",
"GeographyValue",
null
],
"keywords": "",
"q": {
"op": "$and",
"criteria": [

{
"op": "$eq",
"attribute": "CountryCode",
"value": "DO"
}
]

},
"language": "en",
"keywordsFields": [
"GeographyValue"
]
}

We get the following error:

{"Error": "Entity provided in request is not an enabled top-level entity"
}

How can we access addressGeographies using the custom-actions/queries function?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!