This commit is contained in:
2022-02-25 16:54:17 +00:00
parent 20c7f8437a
commit c7a14e2843
2 changed files with 23 additions and 2 deletions

View File

@@ -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;
}
}