Using the REST Interface I want to receive a parameter called 'id' in the body of a POST request, but 'id' has special handling to be embedded into the URL. So I thought, I could use @bodyParam, which does not work. Is this intended and is there a work around to the problem?

Thanks, Tobias

interface WorkQueueAPI
{
   void addJob(Job job);
	
   @bodyParam("id")
   void deleteJob(int id);

   @property Job[] jobs();
}