Purchasing Variables from a Catalog
A Spatial Address has a Catalog of purchasable Variables.
Variables can be purchased by passing in a list of variable identifiers copied from the Catalog Bowser.
var catalogId = new ResourceCatalogId($"https://api.whenfresh.com/world/GB/uprns/{uprn}/catalog");
var variableIdentifiersToPurchase = new List<VariableId>
{
new VariableId("...first variable identifier..."),
new VariableId("...second variable identifier...")
};
var purchasedVariables = await client.PurchaseVariablesAsync(catalogId, variableIdentifiersToPurchase);
