Feb 12, 2020 3:32 PM
I am using https://developers.hubspot.com/docs-beta/crm/search to search Deal.
I can see deal is there but when using Api call to search that deal can't see that. Please find the details below -
Api: https://api.hubapi.com/crm/v3/objects/deals/search?hapikey=<Myhapikey>
Body:
{
"filterGroups": [
{
"filters": [
{
"propertyName": "dealname",
"operator": "EQ",
"value": "Deal123"
}
]
}
]
}
Solved! Go to Solution.
Feb 14, 2020 2:54 PM
Thank you, @tanmay.
When I make this request:
POST https://api.hubapi.com/crm/v3/objects/deals/search { "filterGroups":[ { "filters":[ { "propertyName":"dealname", "operator":"EQ", "value":"15Tips and SyringesTipsTips" } ] } ] }
I see this deal returned:
{ "total": 1, "results": [ { "id": "1558442662", "properties": { "amount": null, "closedate": null, "dealname": "15Tips and SyringesTipsTips", "dealstage": null, "pipeline": null }, "createdAt": "2020-02-12T21:26:05.086Z", "updatedAt": "2020-02-12T21:26:05.915Z", "archived": false } ] }
Are you formatting your query differently?
Isaac TakushiAssociate Certification Manager |
Feb 14, 2020 8:07 AM
Hi, @tanmay.
Apologies for the delayed response.
I'm happy to help, but I'll need to know which account you are working out of. Can you share a link to the deal you see inthe UI?
Isaac TakushiAssociate Certification Manager |
Feb 14, 2020 10:09 AM
Feb 14, 2020 2:54 PM
Thank you, @tanmay.
When I make this request:
POST https://api.hubapi.com/crm/v3/objects/deals/search { "filterGroups":[ { "filters":[ { "propertyName":"dealname", "operator":"EQ", "value":"15Tips and SyringesTipsTips" } ] } ] }
I see this deal returned:
{ "total": 1, "results": [ { "id": "1558442662", "properties": { "amount": null, "closedate": null, "dealname": "15Tips and SyringesTipsTips", "dealstage": null, "pipeline": null }, "createdAt": "2020-02-12T21:26:05.086Z", "updatedAt": "2020-02-12T21:26:05.915Z", "archived": false } ] }
Are you formatting your query differently?
Isaac TakushiAssociate Certification Manager |