I'm attempting to search for leads and filter them by responsible user, but my attempts appear to be fruitless.
I'm using Flask to create my local endpoints. Here's my code:
@app.route('/api/v1.0/lead') def get_leads(): leads = i.read('leads', top=10, filters={"RESPONSIBLE_USER_ID": 1412483}) return jsonify({'lead': leads})
When I run curl -i http://localhost:5000/api/v1.0/lead
I'm returned with a list of leads that do not match the ID provided in the i.read() function.
Am I missing something here? Is this filter not supported?
Thanks!
I'm attempting to search for leads and filter them by responsible user, but my attempts appear to be fruitless.
I'm using Flask to create my local endpoints. Here's my code:
@app.route('/api/v1.0/lead') def get_leads(): leads = i.read('leads', top=10, filters={"RESPONSIBLE_USER_ID": 1412483}) return jsonify({'lead': leads})When I run
curl -i http://localhost:5000/api/v1.0/leadI'm returned with a list of leads that do not match the ID provided in the
i.read()function.Am I missing something here? Is this filter not supported?
Thanks!