Hi, I think my understanding of how this end point works is wrong
I am trying to get get a list of all deals, along with company name.
params = { "exportType": "VIEW", "exportName": "test", "format": "csv", "language": "EN", "objectType": "DEAL", "objectProperties": [ "dealname", "name" ], "associatedObjectType": "COMPANY"}
My understanding would be if I associated COMPANY with DEAL here, I would be able to grab ‘name’ in the objectProperties (to come from COMPANY), but I get an error saying to remove ‘name’. I have also tried interchanging ‘name’ with ‘company’ and ‘associatedCompanyId’ and a few other strings to get it.
It seems like only properties from DEAL are allowed, and the ones from COMPANY are not. Then what is the point of
associatedObjectType
in this case?
Thanks
error:
{
“status”: “error”,
“message”: “Please fix or remove these properties as they are not a part of the object: name”,
“correlationId”: “5e5c37fe-de91-4f76-bfd4-843f78e3b62d”,
“context”: {
“objectProperties”: [
“[dealname, name]”
]
},
“category”: “VALIDATION_ERROR”
}