tuantran/candidate — pull request #1 by jamlong-abctech (2013-11-26 07:33:05+00:00)
Title: Bt 2253 crud fix

Fix CRUD operation followed by http://doc.api.no/rst/guidelines/rest_guidelines.html including
1. Fix Service Path to format http://[domain][port]/[context]/api/public/[version]/ e.g., http://localhost:10047/candidate/api/public/v1/load/json/{UUID}
2. Remove artificial file extensions (.json) from service path
3. Add partial responses to filter by using request fields e.g., http://localhost:10047/candidate/api/public/v1/query/json/{UUID}?fields=id,name
4. Add media type negotiation (now support JSON and XML) e.g., http://localhost:10047/candidate/api/public/v1/load/xml/{UUID} to all operations