// Create a WebClient and set the basic authentication var client = new System.Net.WebClient(); client.Credentials = new System.Net.NetworkCredential("username", "password"); // Download the response data var url = "https://services-fgoplus.uneto-vni.nl/api/Boiler?productId=792DB55C-454A-4583-B745-D59D554EF01F" var json = client.DownloadString(url); // Map the response data to an object var data = Newtonsoft.Json.JsonConvert.DeserializeObject<Product>(json); // Use the data... if (data != null && data.Details != null) { Debug.Print(data.Details.ID.ToString()); }
Field | Type | Description |
---|---|---|
ID | string | Feature Identifier. 8 characters. Format: EF999999
Example value: EF000218 |
Type | string | Feature Type. Possible types: N: Numeric, A: Alphanumeric, R: Range, L: Logical.
Example value: L |