Method GetJLKeyDesc

Type: FusionOSServices.Controllers.OnBaseController

Summary

This service returns JL key description records for OnBase: GlkKey, GlkTitleDl.

Example

GET https://fusion.superion.com/FusionOSServices/v0/ONESolution/OnBase/JLKeyDesc?primaryKeyword=SB001

Parameters

TypeDescription
System.String The JL key to retrieve the description for (e.g. SB001).

Sample Code

using System.Net;
using Newtonsoft.Json.Linq;

public void MethodName(parms){

    string primaryKeyword = "SB001"; // Replace with actual JL key
    string uri = "https://fusion.superion.com/FusionOSServices/v0/ONESolution/OnBase/JLKeyDesc?primaryKeyword=" + primaryKeyword;

    using (WebClient wc = new WebClient())
    {
        wc.Headers.Add("Content-Type", "application/json");
        // Replace "ID" with supplied AppID
        wc.Headers.Set("X-APPID", "ID");
        // Replace "KEY" with supplied AppKey
        wc.Headers.Set("X-APPKEY", "KEY");

        string result = wc.DownloadString(uri);
        var response = JObject.Parse(result);
        var records = (JContainer)response["values"];

        foreach (var record in records)
        {
            string glkKey = (string)record["glkKey"];
            string glkTitleDl = (string)record["glkTitleDl"];
        }
    }
}

Sample Responses


                        
            {
              "values": [
                {
                  "glkKey": "SB001",
                  "glkTitleDl": "Sandbox JL Key SB001"
                }
              ],
              "count": 1
            }