public static IRestResponse addClient()
        {
            api request = new api("<INSERT_API_KEY>", "<INSERT_API_SECRET>");

            var parameters = new api.Parameters();

            parameters.Add("name", "Le Bernardin");
            parameters.Add("company-url", "http://www.example.com");
            parameters.Add("business-category-id", "791");
            var success = request.Post("v1/clients-and-locations/clients/", parameters);

            return(success);
        }
        public static IRestResponse addLocation()
        {
            api request = new api("<INSERT_API_KEY>", "<INSERT_API_SECRET>");

            var parameters = new api.Parameters();

            parameters.Add("name", "Le Bernardin");
            parameters.Add("url", "http://le-bernardin.com");
            parameters.Add("business-category-id", "605");
            parameters.Add("country", "USA"); // 3 Letter iso code
            parameters.Add("address1", "155 Weest 51st Street");
            parameters.Add("address2", "");
            parameters.Add("region", "NY"); // State or Region
            parameters.Add("city", "New York");
            parameters.Add("postcode", "10019");
            parameters.Add("telephone", "+1 212-554-1515");

            var success = request.Post("v1/clients-and-locations/locations/", parameters);

            return(success);
        }