getRelatedRecords to get accounts related to Custom Module entry

getRelatedRecords to get accounts related to Custom Module entry

Hi all,

I am trying to get related accounts of a custom module (business partners) entry.

Here is the query:
https://crm.zoho.com/crm/private/json/Accounts/getRelatedRecords?authtoken={auth}&scope=crmapi&id={id}&parentModule=CustomModule2

But I am getting:

{
  "response": {
    "uri": "/crm/private/json/Accounts/getRelatedRecords",
    "error": {
      "code": 4401,
      "message": "Unable to populate data, please check if mandatory value is entered correctly."
    }
  }
}


However I can get Tasks and Notes with the same query, I can not retrieve Accounts or Leads, any ideas ?


Many thanks