public TerminationInquiry GetTerminationInquiry(TerminationInquiryRequest request, TerminationInquiryRequestOptions options)
 {
     string response = "";
     Dictionary<string, string> responseMap = doRequest(GetURL(options), "POST", Serializer<TerminationInquiryRequest>.Serialize(request).InnerXml);
     responseMap.TryGetValue(MESSAGE, out response);
     return Serializer<TerminationInquiry>.Deserialize(response);
 }
        private string GetURL(TerminationInquiryRequestOptions options)
        {
            String url;
            if (this.environment == Environments.Environment.PRODUCTION)
            {
                url = PRODUCTION_URL;
            }
            else
            {
                url = SANDBOX_URL;
            }
            url = URLUtil.AddQueryParameter(url, "PageOffset", options.GetPageOffset().ToString(), false, "");
            url = URLUtil.AddQueryParameter(url, "PageLength", options.GetPageLength().ToString(), false, "");

            return url;
        }