public static NCDCResponse <NCDCDataType> GetDataTypeInformationForLocation(string datasetName, string locationId, string dataTypeId, string token = null, NCDCOptions options = null) { token = token ?? NCDCUtilities.GetUnlockedToken(); var command = new ShowDataTypesCommand(token, options); command.BuildDatasetsLocationsUri(datasetName, locationId, dataTypeId); return(NCDCCommand <NCDCDataType> .PerformAction(command)); }
public static NCDCResponse<NCDCDataType> GetDataTypeInformationForLocationType(string datasetName, string locationTypeName, string dataTypeId, string token = null, NCDCOptions options = null) { token = token ?? NCDCUtilities.GetUnlockedToken(); var command = new ShowDataTypesCommand(token, options); command.BuildDatasetsLocationTypesUri(datasetName, locationTypeName, dataTypeId); return NCDCCommand<NCDCDataType>.PerformAction(command); }