Hi there,
I am new to CatsOne and trying to make a phone integration.
When my phone rings, I want to search for the contact details via the API.
I have one candidate in the list:
{
"id": 9320017,
"first_name": "Jason",
"middle_name": "",
"last_name": "",
"title": null,
"emails": {
"secondary": null
},
"address": {
"street": "",
"city": "",
"state": "",
"postal_code": null
},
"country_code": null,
"social_media_urls": [],
"website": null,
"phones": {
"home": null,
"cell": "31612345678",
"work": null
},
"best_time_to_call": null,
"current_employer": null,
"date_available": null,
"current_pay": null,
"desired_pay": null,
"is_willing_to_relocate": null,
"key_skills": null,
"notes": null,
"is_hot": false,
"is_active": true,
"contact_id": null,
"owner_id": 25606,
"entered_by_id": 25606,
"source": null,
"is_registered": false,
"consent_status": null,
"date_created": "2022-02-11T08:56:50+00:00",
"date_modified": "2022-02-11T09:28:54+00:00",
"_links": {
"self": {
"href": "/candidates/9320017"
},
"custom_fields": {
"href": "/candidates/9320017/custom_fields"
},
"attachments": {
"href": "/candidates/9320017/attachments"
},
"activities": {
"href": "/candidates/9320017/activities"
},
"work_history": {
"href": "/candidates/9320017/work_history"
},
"pipelines": {
"href": "/candidates/9320017/pipelines"
},
"tags": {
"href": "/candidates/9320017/tags"
},
"thumbnail": {
"href": "/candidates/9320017/thumbnail"
},
"phones": {
"href": "/candidates/9320017/phones"
},
"emails": {
"href": "/candidates/9320017/emails"
},
"owner": {
"href": "/users/25606"
},
"entered_by": {
"href": "/users/25606"
}
}
When I do a POST request to
Body:
{
"or": [
{"field": "phones.cell", "filter": "contains", "value": "
+31 6 12345678"},
{"field": "phones.cell", "filter": "contains", "value": "31612345678"}
]
}
I expect the candidate in the result, but the result is always empty.
Is there anything wrong with my request?
Best Regards,
Jason