Added Tour_config Id as a parameter in json request and fixed warnings