Hello all,
My company is currently on SugarCRM 13.3.0. I'm using the API v11_22 endpoints in Python with the standard request library.
Endpoints:
Trouble with "https://{site_url}/rest/v11_22/Documents/filter"
Example below to https://{site_url}/rest/v11_22/Opportunities/filter"
I'm looking into pulling all data from a subset of accounts with their datasets from all modules we use. The document module doesn't seem to have a connection to accounts so I can't use the account id to search and group the documents.
Here's an example filter that works:
payload = json.dumps({"max_num":500,
"filter":[{"account_id" : cid}],
"fields":"name,date_entered,date_closed",
"order_by":"date_entered:DESC", "favorites":False,"my_items": False})
The above filter works for Cases, RevenueLineItems, and Opportunities. I still have a couple more to go.When I pull a Document from the documents module, it doesn't have an account ID, only who made the document in Sugar as a "connection point," for lack of a better term. Is this a configuration error on our side?
Any direction would be greatly appreciated.