Api\ResearchDataController
api/researchdata/{id}/user/{user_id}/{item} GET List all user 'item' data within the consent=1 periods of a specific user within a Research. The 'item' field indicates the type of user data (apiaries/hives/devices/flashlogs/inspections/measurements/weather) to request within the research (which the user gave consent for to use). Example: inspectionsResponse: api/researchdata/1/user/1/inspections.
get/api/researchdata/{id}/user/{user_id}/{item}
Headers
Authorizationstring
Content-Typestring
Acceptstring
Accept-languagestring
Request body
Example request
{
"date_start": "2020-01-01 00:00:00",
"date_until": "2020-09-29 23:59:59",
"device_id": 1,
"precision": "rfc3339"
}Response
object[] required
Example response
[
{
"id": 35211,
"notes": "test",
"reminder": null,
"reminder_date": null,
"impression": 2,
"attention": 1,
"created_at": "2020-03-26 18:28:00",
"checklist_id": 798,
"image_id": null,
"owner": true,
"thumb_url": null,
"hive_id": 280,
"items": []
},
{
"id": 40162,
"notes": "Input Liebefeld",
"reminder": null,
"reminder_date": null,
"impression": null,
"attention": null,
"created_at": "2020-04-24 11:03:00",
"checklist_id": 3206,
"image_id": null,
"owner": true,
"thumb_url": null,
"hive_id": 280,
"items": [
{
"id": 326538,
"value": "0.6",
"inspection_id": 40162,
"category_id": 977,
"val": "0.6",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326539,
"value": "4",
"inspection_id": 40162,
"category_id": 978,
"val": "4",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326540,
"value": "2",
"inspection_id": 40162,
"category_id": 979,
"val": "2",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326541,
"value": "4",
"inspection_id": 40162,
"category_id": 980,
"val": "4",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326542,
"value": "3",
"inspection_id": 40162,
"category_id": 981,
"val": "3",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326543,
"value": "581",
"inspection_id": 40162,
"category_id": 982,
"val": "581",
"unit": "bzz",
"type": "number_positive"
},
{
"id": 326544,
"value": "5",
"inspection_id": 40162,
"category_id": 984,
"val": "5",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326545,
"value": "1",
"inspection_id": 40162,
"category_id": 985,
"val": "1",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326546,
"value": "4",
"inspection_id": 40162,
"category_id": 987,
"val": "4",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326547,
"value": "5",
"inspection_id": 40162,
"category_id": 988,
"val": "5",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326548,
"value": "4",
"inspection_id": 40162,
"category_id": 989,
"val": "4",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326549,
"value": "2",
"inspection_id": 40162,
"category_id": 990,
"val": "2",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326550,
"value": "2",
"inspection_id": 40162,
"category_id": 991,
"val": "2",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326551,
"value": "3",
"inspection_id": 40162,
"category_id": 992,
"val": "3",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326552,
"value": "3",
"inspection_id": 40162,
"category_id": 993,
"val": "3",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326553,
"value": "6",
"inspection_id": 40162,
"category_id": 995,
"val": "6",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326554,
"value": "2",
"inspection_id": 40162,
"category_id": 996,
"val": "2",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326555,
"value": "2",
"inspection_id": 40162,
"category_id": 997,
"val": "2",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326556,
"value": "2",
"inspection_id": 40162,
"category_id": 998,
"val": "2",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326557,
"value": "2",
"inspection_id": 40162,
"category_id": 999,
"val": "2",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326558,
"value": "2",
"inspection_id": 40162,
"category_id": 1000,
"val": "2",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326559,
"value": "2",
"inspection_id": 40162,
"category_id": 1001,
"val": "2",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326560,
"value": "8",
"inspection_id": 40162,
"category_id": 1163,
"val": "8",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326561,
"value": "4",
"inspection_id": 40162,
"category_id": 1164,
"val": "4",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326562,
"value": "2",
"inspection_id": 40162,
"category_id": 1165,
"val": "2",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326563,
"value": "6",
"inspection_id": 40162,
"category_id": 1166,
"val": "6",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326564,
"value": "2",
"inspection_id": 40162,
"category_id": 1167,
"val": "2",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326565,
"value": "2",
"inspection_id": 40162,
"category_id": 1168,
"val": "2",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326566,
"value": "3",
"inspection_id": 40162,
"category_id": 1169,
"val": "3",
"unit": "x 25cm2",
"type": "square_25cm2"
}
]
},
{
"id": 40163,
"notes": "Brood photograph",
"reminder": null,
"reminder_date": null,
"impression": null,
"attention": null,
"created_at": "2020-04-24 11:07:00",
"checklist_id": 3206,
"image_id": null,
"owner": true,
"thumb_url": null,
"hive_id": 280,
"items": [
{
"id": 326567,
"value": "1",
"inspection_id": 40163,
"category_id": 399,
"val": "Ja",
"unit": null,
"type": "boolean"
},
{
"id": 326568,
"value": "https://assets.beep.nl/users/1/thumbs/inspection/jIcycTYnO8zYq6SHCvAwPHb97BDLFkZaDmfZUop5.png",
"inspection_id": 40163,
"category_id": 973,
"val": "https://assets.beep.nl/users/1/thumbs/inspection/jIcycTYnO8zYq6SHCvAwPHb97BDLFkZaDmfZUop5.png",
"unit": null,
"type": "image"
}
]
},
{
"id": 68477,
"notes": null,
"reminder": null,
"reminder_date": null,
"impression": 3,
"attention": 1,
"created_at": "2020-10-23 12:43:00",
"checklist_id": 3206,
"image_id": null,
"owner": true,
"thumb_url": null,
"hive_id": 281,
"items": []
},
{
"id": 68478,
"notes": "Hive change",
"reminder": null,
"reminder_date": null,
"impression": null,
"attention": null,
"created_at": "2020-10-23 13:12:33",
"checklist_id": null,
"image_id": null,
"owner": true,
"thumb_url": null,
"hive_id": 281,
"items": [
{
"id": 522496,
"value": "2",
"inspection_id": 68478,
"category_id": 85,
"val": "2",
"unit": null,
"type": "number_positive"
},
{
"id": 522497,
"value": "2",
"inspection_id": 68478,
"category_id": 87,
"val": "2",
"unit": null,
"type": "number"
},
{
"id": 522498,
"value": "10",
"inspection_id": 68478,
"category_id": 89,
"val": "10",
"unit": null,
"type": "number_positive"
}
]
}
]