Server rest apis for job query