Page 1 of 1

Search a candidate by username

Posted: Sat Aug 08, 2015 11:42 am
by FeintEars
Hi everyone!

What could be the reason why I can't search a candidate by username or password?
What I'm doing: http://www.taxscout.com/jobs/candidate.php

First I'm trying to create a candidate and receive it by id. This requests work fine:

Code: Select all

PUT entity/Candidate OK
GET entity/Candidate/{id}?fields=id,username,firstName,lastName OK
GET search/Candidate?query=id:{id}&fields=id,username,firstName,lastName&count=1&start=0 OK
Then I'm trying to find a candidate by username and this request doesn't work somehow:

Code: Select all

GET search/Candidate?query=username:{username}&fields=id,username,firstName,lastName&count=1&start=0 FAILED
What have I missed?
Thanks