added all the POST rest calls for funcEntity