-
danmee10Asked on July 20, 2018 at 4:05 PM
I'm having trouble getting the filter option in the GET request to the /user/forms endpoint. See my results below (I can no longer add a screen shot, and it doesn't look like there's an easy way to format the JSON, so apologies for that...):
{
"responseCode": 200,
"resultSet": {
"offset": 0,
"limit": 20,
"orderby": "id",
"filter": {
"status": "ENABLED"
},
"count": 7
},
"message": "success",
"content": [
{
"id": "81921969084165",
"username": "aniraghavan",
"title": "CHF (3) Wed",
"height": "0",
"status": "ENABLED",
"created_at": "2018-07-12 03:35:52",
"updated_at": "2018-07-12 04:05:21",
"last_submission": null,
"new": "0",
"count": "0",
"url": "https://form.jotform.com/81921969084165"
},
{
"id": "81921331184149",
"username": "aniraghavan",
"title": "CHF (2) Tue",
"height": "0",
"status": "ENABLED",
"created_at": "2018-07-12 02:56:54",
"updated_at": "2018-07-12 04:03:13",
"last_submission": null,
"new": "0",
"count": "0",
"url": "https://form.jotform.com/81921331184149"
},
{
"id": "81916698884176",
"username": "aniraghavan",
"title": "CHF (1) Mon",
"height": "0",
"status": "ENABLED",
"created_at": "2018-07-11 16:53:00",
"updated_at": "2018-07-12 04:04:39",
"last_submission": "2018-07-12 19:06:04",
"new": "1",
"count": "1",
"url": "https://form.jotform.com/81916698884176"
},
{
"id": "81864880984172",
"username": "aniraghavan",
"title": "Daily Checkin - Card",
"height": "0",
"status": "ENABLED",
"created_at": "2018-07-06 12:28:31",
"updated_at": "2018-07-12 02:47:31",
"last_submission": "2018-07-12 18:18:03",
"new": "9",
"count": "9",
"url": "https://form.jotform.com/81864880984172"
},
{
"id": "81867600584161",
"username": "aniraghavan",
"title": "How to Cope with Chronic Pain & Fatigue Questionnaire",
"height": "0",
"status": "DELETED",
"created_at": "2018-07-06 18:22:17",
"updated_at": "2018-07-11 12:40:10",
"last_submission": null,
"new": "0",
"count": "0",
"url": "https://form.jotform.com/81867600584161"
},
{
"id": "81864880984172",
"username": "aniraghavan",
"title": "Daily Checkin - Card",
"height": "0",
"status": "ENABLED",
"created_at": "2018-07-06 12:28:31",
"updated_at": "2018-07-12 02:47:31",
"last_submission": "2018-07-12 18:18:03",
"new": "9",
"count": "9",
"url": "https://form.jotform.com/81864880984172"
},
{
"id": "81837669984177",
"username": "aniraghavan",
"title": "Daily Checkin",
"height": "0",
"status": "DISABLED",
"created_at": "2018-07-03 20:22:58",
"updated_at": "2018-07-05 20:14:55",
"last_submission": "2018-07-05 20:03:27",
"new": "3",
"count": "5",
"url": "https://form.jotform.com/81837669984177"
}
],
"duration": "19ms"
}
When I try to filter with the {"new":"1"} example you have in the docs, it works fine. What am I missing?
-
aubreybourkeReplied on July 20, 2018 at 4:37 PM
Please forward your API related questions to: api@jotform.com
The API team will be better able to assist you.