{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/dca/collection/:collectionId/performance","auth":"required","method":"get","examples":{"codes":[{"language":"text","code":"curl\t\n'http://localhost:8082/api/nucleus-insights/v2/dca/class/73294a4d-8825-4106-8cc9-8c26f370d\n06c/collection/08d7462f-6fd3-4fce-b881-b9e63f194a5e/performance?date=2016-10-18'\t-H\t\n'Authorization:\tToken\t\nMjoxNTM2NzM5Mzk1Mjk2OmRmOTU2ZDVmLWI3YjItNDNhZS05OGExLWM5MGExMmVhY\n2FmOTo6YmE5NTZhOTctYWUxNS0xMWU1LWEzMDItZjhhOTYzMDY1OTc2'\t-H\t\n'Accept-Encoding:\tgzip,\tdeflate'\t-H\t'Accept-Language:\ten-US,en;q=0.9'\t-H\t'Connection:\t\nkeep-alive'\t--compressed \t"}]},"results":{"codes":[{"status":200,"language":"json","code":"{\t\n\t\t\t\t\"content\":\t[{\t\n\t\n\t\"usageData\":\t[{\t\n\t\n\t\"reaction\":\t0,\t\n\t\n\t\"questionType\":\t\"NA\",\t\n\t\n\t\"timeSpent\":\t230794,\t\n\t\n\t\"resourceType\":\t\"resource\",\t\n\t\n\t\"gooruOId\":\t\"f8fe1e49-72fb-41e0-acdc-23305f2f4f06\",\t\n\t\n\t\"views\":\t1,\t\n\t\n\t\"answerObject\":\t[],\t\n\t\n\t\"isGraded\":\t\"NA\",\t\n\t\n\t\"sessionId\":\t\"NA\"\t\n\t\n\t},\t{\t\n\t\n\t\"reaction\":\t0,\t\n\t\n\t\"questionType\":\t\"NA\",\t\n\t\n\t\"timeSpent\":\t35035,\t\n\t\n\t\"resourceType\":\t\"resource\",\t\n\t\n\t\"gooruOId\":\t\"c558cb6a-9757-461c-9b3d-25a49e0c5e6d\",\t\n\t\n\t\"views\":\t1,\t\n\t\n\t\"answerObject\":\t[],\t\n\t\n\t\"isGraded\":\t\"NA\",\t\n\t\n\t\"sessionId\":\t\"NA\"\t\n\t\n\t},\t{\t\n\t\n\t\"reaction\":\t0,\t\n\t\n\t\"questionType\":\t\"NA\",\t\n\t\n\t\"timeSpent\":\t47299,\t\n\t\n\t\"resourceType\":\t\"resource\",\t\n\t\n\t\"gooruOId\":\t\"54a67a11-b2b2-4e46-bcb6-74333c28414e\",\t\n\t\n\t\"views\":\t1,\t\n\t\n\t\"answerObject\":\t[],\t\n\t\n\t\"isGraded\":\t\"NA\",\t\n\t\n\t\"sessionId\":\t\"NA\"\t\n\t\n\t},\t{\t\n\t\n\t\"reaction\":\t0,\t\n\t\n\t\"questionType\":\t\"NA\",\t\n\t\n\t\"timeSpent\":\t94002,\t\n\t\n\t\"resourceType\":\t\"resource\",\t\n\t\n\t\"gooruOId\":\t\"339ad788-55b6-4c46-acd5-6025e971bbba\",\t\n\t\n\t\"views\":\t1,\t\n\t\n\t\"answerObject\":\t[],\t\n\t\n\t\"isGraded\":\t\"NA\",\t\n\t\n\t\"sessionId\":\t\"NA\"\t\n\t\n\t},\t{\t\n\t\n\t\"reaction\":\t0,\t\n\t\n\t\"questionType\":\t\"MC\",\t\n\t\n\t\"timeSpent\":\t82863,\t\n\t\n\t\"resourceType\":\t\"question\",\t\n    \n  \t\"gooruOId\":\t\"10ca0d81-60dd-47f2-ac5b-6259a54a59b0\",\t\n\t\"views\":\t1,\t\n\t\"answerObject\":\t[{\t\n\t\"text\":\t\"<p>No</p>\",\t\n\t\"status\":\t\"correct\",\t\n\t\"order\":\t1,\t\n\t\"answerId\":\t\"answer_2\",\t\n\t\"skip\":\tfalse\t\n\t}],\t\n\t\"answerStatus\":\t\"correct\",\t\n\t\"score\":\t1.0,\t\n\t\"maxScore\":\t0.0,\t\n\t\"isGraded\":\t\"NA\",\t\n\t\"sessionId\":\t\"NA\"\t\n\t},\t{\t\n\t\"reaction\":\t0,\t\n\t\"questionType\":\t\"NA\",\t\n\t\"timeSpent\":\t60598,\t\n\t\"resourceType\":\t\"resource\",\t\n\t\"gooruOId\":\t\"d11e2343-e583-46c1-a1f7-beaf0b0484c3\",\t\n\t\"views\":\t1,\t\n\t\"answerObject\":\t[],\t\n\t\"isGraded\":\t\"NA\",\t\n\t\"sessionId\":\t\"NA\"\t\n\t},\t{\t\n\t\"reaction\":\t0,\t\n\t\"questionType\":\t\"MC\",\t\n\t\"timeSpent\":\t86323,\t\n\t\"resourceType\":\t\"question\",\t\n\t\"gooruOId\":\t\"f7f92151-74a0-4d32-9861-fc280c198578\",\t\n\t\"views\":\t1,\t\n\t\"answerObject\":\t[{\t\n\t\"text\":\t\"<p>Keyboard</p>\",\t\n\t\"status\":\t\"correct\",\t\n\t\"order\":\t1,\t\n\t\"answerId\":\t\"answer_2\",\t\n\t\"skip\":\tfalse\t\n\t}],\t\n\t\"answerStatus\":\t\"correct\",\t\n\t\"score\":\t1.0,\t\n\t\"maxScore\":\t0.0,\t\n\t\"isGraded\":\t\"NA\",\t\n\t\"sessionId\":\t\"NA\"\t\n\t}],\t\n\t\"userUid\":\t\"409e31a6-a989-4aff-b6a5-7222542863a4\"\t\n          \n   },{\n  \t\"usageData\":\t[{\t\n\t\"reaction\":\t0,\t\n\t\"questionType\":\t\"NA\",\t\n\t\"timeSpent\":\t230794,\t\n\t\"resourceType\":\t\"resource\",\t\n\t\"gooruOId\":\t\"f8fe1e49-72fb-41e0-acdc-23305f2f4f06\",\t\n\t\"views\":\t1,\t\n\t\"answerObject\":\t[],\t\n\t\"isGraded\":\t\"NA\",\t\n\t\"sessionId\":\t\"NA\"\t\n\t},\t{\t\n\t\"reaction\":\t0,\t\n\t\"questionType\":\t\"NA\",\t\n\t\"timeSpent\":\t35035,\t\n\t\"resourceType\":\t\"resource\",\t\n\t\"gooruOId\":\t\"c558cb6a-9757-461c-9b3d-25a49e0c5e6d\",\t\n\t\"views\":\t1,\t\n  \"answerObject\":\t[],\t\n\t\"isGraded\":\t\"NA\",\t\n\t\"sessionId\":\t\"NA\"\t\n\t},\t{\t\n\t\"reaction\":\t0,\t\n\t\"questionType\":\t\"NA\",\t\n\t\"timeSpent\":\t47299,\t\n\t\"resourceType\":\t\"resource\",\t\n\t\"gooruOId\":\t\"54a67a11-b2b2-4e46-bcb6-74333c28414e\",\t\n\t\"views\":\t1,\t\n\t\"answerObject\":\t[],\t\n\t\"isGraded\":\t\"NA\",\t\n\t\"sessionId\":\t\"NA\"\t\n\t},\t{\t\n\t\"reaction\":\t0,\t\n\t\"questionType\":\t\"NA\",\t\n\t\"timeSpent\":\t94002,\t\n\t\"resourceType\":\t\"resource\",\t\n\t\"gooruOId\":\t\"339ad788-55b6-4c46-acd5-6025e971bbba\",\t\n\t\"views\":\t1,\t\n\t\"answerObject\":\t[],\t\n\t\"isGraded\":\t\"NA\",\t\n\t\"sessionId\":\t\"NA\"\t\n\t},\t{\t\n\t\"reaction\":\t0,\t\n\t\"questionType\":\t\"MC\",\t\n\t\"timeSpent\":\t82863,\t\n\t\"resourceType\":\t\"question\",\t\n\t\"gooruOId\":\t\"10ca0d81-60dd-47f2-ac5b-6259a54a59b0\",\t\n\t\"views\":\t1,\t\n\t\"answerObject\":\t[{\t\n\t\"text\":\t\"<p>No</p>\",\t\n\t\"status\":\t\"correct\",\t\n\t\"order\":\t1,\t\n\t\"answerId\":\t\"answer_2\",\t\n\t\"skip\":\tfalse\t\n\t}],\t\n\t\"answerStatus\":\t\"correct\",\t\n\t\"score\":\t1.0,\t\n\t\"maxScore\":\t1.0,\t\n\t\"isGraded\":\t\"NA\",\t\n\t\"sessionId\":\t\"NA\"\t\n\t},\t{\t\n\t\"reaction\":\t0,\t\n\t\"questionType\":\t\"NA\",\t\n\t\"timeSpent\":\t60598,\t\n\t\"resourceType\":\t\"resource\",\t\n\t\"gooruOId\":\t\"d11e2343-e583-46c1-a1f7-beaf0b0484c3\",\t\n\t\"views\":\t1,\t\n\t\"answerObject\":\t[],\t\n\t\"isGraded\":\t\"NA\",\t\n\t\"sessionId\":\t\"NA\"\t\n\t},\t{\t\n\t\"reaction\":\t0,\t\n\t\"questionType\":\t\"MC\",\t\n\t\"timeSpent\":\t86323,\t\n\t\"resourceType\":\t\"question\",\t\n\t\"gooruOId\":\t\"f7f92151-74a0-4d32-9861-fc280c198578\",\t\n\t\"views\":\t1,\t\n\t\"answerObject\":\t[{\t\n\t\"text\":\t\"<p>Keyboard</p>\",\t\n\t\"status\":\t\"correct\",\t\n\t\"order\":\t1,\n  \t\"answerId\":\t\"answer_2\",\t\n\t\"skip\":\tfalse\t\n\t}],\t\n\t\"answerStatus\":\t\"correct\",\t\n\t\"score\":\t1.0,\t\n\t\"maxScore\":\t1.0,\t\n\t\"isGraded\":\t\"NA\",\t\n\t\"sessionId\":\t\"NA\"\t\n\t}],\t\n\t\"userUid\":\t\"5o0e31a6-a989-4aff-b6a5-7222542863a5\"\t\n     \n   }]\n}\n          ","name":""}]},"settings":"","params":[{"name":"userId","type":"string","default":"","desc":"","required":true,"in":"path","ref":"","_id":"5d440c3b28dec70047f5839f"},{"name":"collectionType","type":"string","default":"","desc":"collection","required":false,"in":"path","ref":"","_id":"5d440c3b28dec70047f5839e"},{"name":"collectionId","type":"string","default":"","desc":"","required":true,"in":"path","ref":"","_id":"5d440c3b28dec70047f5839d"},{"name":"date","type":"string","default":"","desc":"“\t YYYY-MM-DD\t ”","required":true,"in":"body","ref":"","_id":"5d440c3b28dec70047f5839c"}]},"next":{"description":"","pages":[]},"title":"Daily Class Activity:\tGet Collection Performance Report (Teacher\tView)","type":"endpoint","slug":"get-collection-performance-report-teacherview","excerpt":"","body":"","updates":[],"order":24,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5d440c3b28dec70047f5839b","project":"56439dfe9eebf70d00490d54","version":{"version":"2","version_clean":"2.0.0","codename":"","is_stable":true,"is_beta":true,"is_hidden":false,"is_deprecated":false,"categories":["5864d2df79ce642d00f0fec8","5864d2df79ce642d00f0fec9","5864d2df79ce642d00f0feca","5864d2df79ce642d00f0fecb","5864d2df79ce642d00f0fecc","5864d2df79ce642d00f0fecd","5864d2df79ce642d00f0fece","5864d2df79ce642d00f0fecf","5864d2df79ce642d00f0fed0","5864d2df79ce642d00f0fed1","5864d2df79ce642d00f0fed2","5864d2df79ce642d00f0fed3","5864d2df79ce642d00f0fed4","5864d2df79ce642d00f0fed5","5864d2df79ce642d00f0fed6","5864d2df79ce642d00f0fed7","5864d2df79ce642d00f0fed8","5864d2df79ce642d00f0fed9","5864d2df79ce642d00f0feda","5864d2df79ce642d00f0fedb","5864d2df79ce642d00f0fedc","5864d2df79ce642d00f0fedd","5864d2df79ce642d00f0fede","598aa64f4b6e990019b7a2d2","599bc76bc03fa2000f83db2a","599bcc3c3c5bf7000f3434fc","5d427dc9fa56fa0011135058","5d429c616863d5003af785a7","5d429e0889418f00c5e95d3f","5d42b5f098b05e003acb08b4","5d43c16985775c00ebeede3b","5d43d15446d584003da91e6d","5d43d61a5bdac50011b6f234","5d43d7c2db365100640dbc58","5d43d954bffa8400ff7efa78","5d43e414cf4f03005944344c","5d43eb42db365100640dbe4a","5d43ee6c78121b0057bc1dbf","5d9a18b4afc33400126c4e6f","5dc4f96dbb5da3006c8f5660"],"_id":"5864d2df79ce642d00f0fec7","createdAt":"2016-12-29T09:09:51.074Z","project":"56439dfe9eebf70d00490d54","releaseDate":"2016-12-29T09:09:51.074Z","__v":18},"category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"New\tClass Performance APIs\tfor NILE","slug":"newclass-performance-apisfor-nile","order":35,"from_sync":false,"reference":false,"_id":"5d43e414cf4f03005944344c","project":"56439dfe9eebf70d00490d54","version":"5864d2df79ce642d00f0fec7","createdAt":"2019-08-02T07:19:48.122Z","__v":0},"user":"5d411a29005b9600113731fd","createdAt":"2019-08-02T10:11:07.275Z","__v":1,"parentDoc":null}

getDaily Class Activity: Get Collection Performance Report (Teacher View)


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

userId:
required
string
collectionType:
string
collection
collectionId:
required
string

Body Params

date:
required
string
“ YYYY-MM-DD ”

Examples


Result Format


User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}