/// <summary> /// Adds an external Url to a Dataset in the City Data Hub /// </summary> private static void AddExternalFileVersion() { Publisher publisher = GetPublisher(); // get the json to send in the request string json = System.IO.File.ReadAllText(ConfigurationManager.AppSettings["PathToJsonNewFileRequestBodyExternal"]); Guid id = publisher.AddExternalFileVersion(Guid.Parse(ConfigurationManager.AppSettings["FileId"]), json); Console.WriteLine("Request Identifier is " + id); }