How Can We Help?
< All Topics
Print

Very simple example: let’s extract the next closing opportunities

print(json.dumps(sf_api_call('/services/data/v59.0/query/', {
    'q': 'SELECT Account.Name, Name, CloseDate from Opportunity where IsClosed = False order by CloseDate ASC LIMIT 10'
}), indent=2))

The result is a JSON easy to exploit.

Please suggest edits or add your comments.

Your email address will not be published. Required fields are marked *

Scroll to Top