Naviline REST service that returns information about Get What If Calculations
Type | Description |
---|---|
System.String | Frequency Type |
System.String | Mode |
System.String | Social Security Number |
GET http://localhost/FusionServices/v2/Naviline/EmployeeSelfService/WhatIfCalc/V1/Y/245781227
using System.Net;
public void MethodName(parms){
string uri = "http://localhost/FusionServices/v2/Naviline/EmployeeSelfService/WhatIfCalc/V1/Y/245781227";
WebClient wc = new WebClient();
Common.SetResponseType(wc, "json");
Common.SetLicenseKey(wc);
string stringResult = wc.DownloadString(new Uri(uri));
JObject response = JObject.Parse(stringResult);
string error = response["OutputParms"]["ErrorCode"].ToString();
if (error != "0000")
{
// TODO
}
}
$.get('http://localhost/FusionServices/v2/Naviline/EmployeeSelfService/WhatIfCalc/V1/Y/245781227', function(response) {
$('#resultDiv).html(response);
});