API search by phonenumnber

General discussion

I want to be able to search our candidates by their phone number, but so far I wasn't successful.
I tried both person.collectionfieldphonenumbertext & person.customfieldphonenumber.text, also without "field" string in them, but I always get "errorMessage": "The following filter is either not valid or hidden: person.customphones.text"

Is there a way to do search API on candidates by their phone number?

Search API - people - person.folder - An unknown error occurred

General discussion

When i try to use the search API to search for people and filter on person.folder i always receive the error "an known error occurred". several other filters using the same search API to find people work just fine.

is there an issue with filtering on person.folder or do i need to adjust my filters somehow so it does not produce the error?

i am using curl to run the command and my filter looks like this:

{"filters": [{"name": "person.folder", "value": ["Cand:Unreviewed"], "operator": "=" }]}

How to get jobs by jobid field instead of id

General discussion

When I query job details from the endpoint:
https://api.icims.com/customers/{customerId}/jobs/{jobId}

I can include the "jobid" field, which contains a value such as "2016-1409". Is there any way to obtain job details (or search jobs) by using the jobid instead of just the id? I tried using the search endpoint specifying job.jobid as a filter, but that just gives me an error:

"The following filter is either not valid or hidden: job.jobid"

Thanks!