[server][RestResourceAction] Extract common code for RestAction PUT/POST

related to #873 
You can get the "query" from the "job".
So the 3rd argument isn't needed.

job->m_query