using ServiceStack;

namespace WebService.ServiceModel
{
    [Route("/query", "POST", Summary="Certain query for all types of request")]
    [Route("/query/{Profile}", "POST", Summary = "Certain query for all types of request with profile name")]
    public class QueryRequest : IReturn<string>
    {
        /*
         * Profile name, ex: duck-creek
         */
        public string Profile { get; set; }

        /*
         * File name for current profile, ex: Address.xml
         */
        public string FileName { get; set; }
    }

    public class QueryResponse
    {
        public string _response { get; set; }
    }

}