Customer Self-Service Portal

JSONPath Evaluation: Can't get REST monitor to report as up

Hi,

 

Following JSON:

{
"value": [
{
"weekStartDate": "2018-11-05T00:00:00+01:00",
"numberOfTrainingEvents": 1,
"weekNumber": 45,
"yearWeekFormat": "2018-45"
},
{
"weekStartDate": "2018-11-12T00:00:00+01:00",
"numberOfTrainingEvents": 0,
"weekNumber": 46,
"yearWeekFormat": "2018-46"
}
],
"Count": 2
}

 

With following JSONPath Expression

$.value[?(@.weekNumber)]

 

Gives no errors in your suggested validators/ converters, but the Site24x7 monitor I'm trying to create using this JSONPath Expression fails to evaluate every time.

  • jsonpath.herokuapp.com/
  • www.site24x7.com/tools/json-path-evaluator.html

 

Why?