This service returns GL key master records for OnBase: GlkKey, GlkGr, GlkGrpPart03, GlkStat, GlkTitleDl. Supports server-side pagination via TakeRows and SkipRows query parameters (e.g. TakeRows=100&SkipRows=0).
using System.Net;
using Newtonsoft.Json.Linq;
public void MethodName(parms){
string uri = "https://fusion.superion.com/FusionOSServices/v0/ONESolution/OnBase/GLKKeyMaster";
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"];
}
}
}
{
"values": [
{
"glkKey": "1000000000",
"glkGr": "A",
"glkGrpPart03": "10",
"glkStat": "A",
"glkTitleDl": "Cash - General Fund"
}
],
"count": 1
}