Hi @huuhung ,
i attached a few files and images which may help. First, i created a template called levchr-dependenfetchservice with the content of fetchservicetemplate.txt. I set the contenttype to application/json which makes debugging for me easier 🙂
Then i created a pagetemplate for that webtemplate and from that pagetemplate a webpage. I can access that webpage now with a parameter called id. the call ist something like /dependenfetchservice/?id=936b419f-9f4b-e111-bb8d-00155d03a715 and the output is something like:

Then i created another template (which would take your function) which consumes that service.
The output of the service is mapped to an optionlist which is put in the targetselect. The code is also attached in fetchpagetemplate.txt .
The output after selecting an account was somthing like:

May be this example helps you to figure out how to select the project related stuff (which i of course do not have 🙂
Have fun,
Christian
PS !Important! untick the "use header and footer" box for the servicetemplate. If you forgetto do that, you get an html page instead of a json output...