This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System;
|
||||
|
||||
namespace AyaNova.KPI
|
||||
@@ -14,7 +15,7 @@ namespace AyaNova.KPI
|
||||
public string KPIName { get; set; }
|
||||
|
||||
[FromBody]
|
||||
public string Criteria { get; set; }
|
||||
public JObject Criteria { get; set; }
|
||||
|
||||
[FromBody]
|
||||
public DateTimeOffset ClientTimeStamp { get; set; }
|
||||
@@ -22,7 +23,7 @@ namespace AyaNova.KPI
|
||||
public KPIRequestOptions()
|
||||
{
|
||||
KPIName=string.Empty;
|
||||
Criteria=string.Empty;
|
||||
Criteria=null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user