Can we export through REST API a child object without his parent to be exported too? — Cloud Customer Connect
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

Can we export through REST API a child object without his parent to be exported too?

in Sales 8 comments

Hi,

I've tried to export via REST API a child without his parent using this POST request:

URL: crmRestApi/resources/11.13.18.05/bulkExportActivities

Request Body:

{        "Name": "SalesTeamMemeber",      "ExportObject": "SalesTeamMember",       "ExportFilterCriteria": "LastUpdateDate > '2013-01-01T00:00:00.000+00:00'",    "ExportFileName":"Export_Person.zip",     "Activate": "YES",   "EscapeSpecialCharactersFlag": "true"}

This export is give an error says that: ExportFilterCriteria :JBO-29141: Unable to create criteria item from node: "LastUpdateDate". JBO-29142: Cannot create criteria item for an attribute with queriable property set to false. Attribute: LastUpdateDate.

Is it possible to set the attribute "LastUpdateDate" as queriable in the request body, or this is an property that I cannot modify? How can I export the child object without to be related to the his parent object, SalesTeamMember (child for the Account, in this case)?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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