How to search (web API) for a Calls record by phone number?
Using v8 /Calls/search web api I'm unable to to complete a search request no matter how I use the api:
When I try using "criteria=" I get:
- response: <Response [400]>
- response_json: {
- "code": "INVALID_QUERY",
- "details": {
- "reason": "the field is not available for search",
- "api_name": "To_Number__s"
- },
- "message": "Invalid query formed",
- "status": "error"
- }
When I try using "phone=" I get:
- response: {
- "code": "FIELD_TYPE_UNAVAILABLE",
- "details": {},
- "message": "this data type is not found in this module",
- "status": "error"
- }
So, given a phone number, what web api will let me find Calls records related to that phone number? (I don't have any associated Contact. I have just the phone number)
Thanks
Clark