diff --git a/api-tests/Collections/Sunbird CoKreat API(s).postman_collection.json b/api-tests/Collections/Sunbird CoKreat API(s).postman_collection.json new file mode 100644 index 00000000..171a3859 --- /dev/null +++ b/api-tests/Collections/Sunbird CoKreat API(s).postman_collection.json @@ -0,0 +1,13748 @@ +{ + "info": { + "_postman_id": "5cf5b9a9-b65e-497a-bb31-be33c10ce8d6", + "name": "Sunbird CoKreat API(s)", + "description": "These contains all the apis which are used to complete the various workflows related to sourcing and contribution on the coKreate application.\n\n[Sunbird CoKreat microsite](https://cokreat.sunbird.org/learn/readme)\n\nSunbird CoKreat API doc(old)\n\n[http://docs.sunbird.org/latest/apis/programsapi/index.html](http://docs.sunbird.org/latest/apis/programsapi/index.html)", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "1348857", + "_collection_link": "https://www.postman.com/sunbird-building-blocks/workspace/sunbird-cokreat/collection/25186239-5cf5b9a9-b65e-497a-bb31-be33c10ce8d6?action=share&source=collection_link&creator=1348857" + }, + "item": [ + { + "name": "Configuration_Api", + "item": [ + { + "name": "Configuration Search", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var responseJson = pm.response.json();", + "", + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "", + "pm.test(\"response should be okay to process\", function () {", + " pm.response.to.not.be.error;", + " pm.response.to.not.have.jsonBody(\"error\");", + "});", + "", + "pm.test(\"response must be valid and have a body\", function () {", + " pm.response.to.be.ok;", + " pm.response.to.be.withBody;", + " pm.response.to.be.json;", + "});", + "", + "pm.test(\"Successful POST request\", () => {", + " pm.expect(pm.response.code).to.be.oneOf([200,201,202]);", + " pm.expect(responseJson.result).not.to.be.empty;", + "});", + "", + "pm.test(\"Reading Response Code & Status\", () => {", + " pm.expect(responseJson.responseCode).to.eql(\"OK\");", + " pm.expect(responseJson.params.status).to.eql(\"successful\");", + "});", + "", + "pm.test(\"Checking for Errors\",() => {", + " pm.expect(responseJson.params.err).to.eql(null);", + " pm.expect(responseJson.params.errmsg).to.eql(null);", + " pm.expect(responseJson.result.configuration).not.to.be.empty;", + " pm.expect(responseJson.result.configuration.key).not.to.be.empty;", + " pm.expect(responseJson.result.configuration.value).not.to.be.empty;", + "});" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true + } + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"key\": \"overrideMetaData\",\n \"status\": \"active\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/configuration/search", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "configuration", + "search" + ] + }, + "description": "Configuration/search" + }, + "response": [ + { + "name": "200 Success", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"key\": \"overrideMetaData\",\n \"status\": \"active\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/configuration/search", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "configuration", + "search" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 09:35:20 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "927" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29999" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"39f-PFix0LejwgqEMeKBfRD0wZVdrk4\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "280" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.configuration.search\",\n \"ver\": \"1.0\",\n \"ts\": \"2023-01-30T09:35:20.138Z\",\n \"params\": {\n \"resmsgid\": \"699b8aa0-a081-11ed-a249-d1c2d4936c48\",\n \"msgid\": \"697230b0-a081-11ed-a249-d1c2d4936c48\",\n \"status\": \"successful\",\n \"err\": null,\n \"errmsg\": null\n },\n \"responseCode\": \"OK\",\n \"result\": {\n \"configuration\": {\n \"id\": 9,\n \"key\": \"overrideMetaData\",\n \"value\": \"[{\\\"code\\\":\\\"name\\\",\\\"dataType\\\":\\\"text\\\",\\\"editable\\\":true},{\\\"code\\\":\\\"learningOutcome\\\",\\\"dataType\\\":\\\"list\\\",\\\"editable\\\":true},{\\\"code\\\":\\\"attributions\\\",\\\"dataType\\\":\\\"list\\\",\\\"editable\\\":false},{\\\"code\\\":\\\"copyright\\\",\\\"dataType\\\":\\\"text\\\",\\\"editable\\\":false},{\\\"code\\\":\\\"creator\\\",\\\"dataType\\\":\\\"text\\\",\\\"editable\\\":false},{\\\"code\\\":\\\"license\\\",\\\"dataType\\\":\\\"list\\\",\\\"editable\\\":false},{\\\"code\\\":\\\"contentPolicyCheck\\\",\\\"dataType\\\":\\\"boolean\\\",\\\"editable\\\":false}]\",\n \"status\": \"active\",\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2020-09-03T11:24:42.130Z\",\n \"updatedon\": \"2020-09-03T11:24:42.130Z\"\n }\n }\n}" + }, + { + "name": "400 without request params", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Pragma", + "value": "no-cache" + }, + { + "key": "Cache-Control", + "value": "no-cache" + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal" + }, + { + "key": "ts", + "value": "2020-12-02T16:32:31+05:30" + }, + { + "key": "X-msgid", + "value": "f80986af-e190-f6a4-04c4-c1b984e056e4" + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web" + }, + { + "key": "X-Device-ID", + "value": "6a6ec694e694548fef971f85910385bd" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin" + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors" + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty" + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/contribute" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3ABJW2W7KN-MXRuOv1L6_tU6UDkPC-hfuF.8XWBywws%2Bj8qGuqBweKrNTv7ag6kvF46Xlz1MrQRxZ0" + } + ], + "body": { + "mode": "raw", + "raw": "{\"request\":{}}" + }, + "url": { + "raw": "https://dock.sunbirded.org/content/program/v1/configuration/search", + "protocol": "https", + "host": [ + "dock", + "sunbirded", + "org" + ], + "path": [ + "content", + "program", + "v1", + "configuration", + "search" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Wed, 02 Dec 2020 11:03:07 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "927" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-DNS-Prefetch-Control", + "value": "off" + }, + { + "key": "X-Frame-Options", + "value": "SAMEORIGIN" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15552000; includeSubDomains" + }, + { + "key": "X-Download-Options", + "value": "noopen" + }, + { + "key": "X-Content-Type-Options", + "value": "nosniff" + }, + { + "key": "X-XSS-Protection", + "value": "1; mode=block" + }, + { + "key": "x-ratelimit-limit-hour", + "value": "30000" + }, + { + "key": "x-ratelimit-remaining-hour", + "value": "29997" + }, + { + "key": "x-powered-by", + "value": "Express" + }, + { + "key": "access-control-allow-origin", + "value": "*" + }, + { + "key": "access-control-allow-methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "access-control-allow-headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "etag", + "value": "W/\"39f-/OXYNw5sfRTg1KixRs/EZa69YRQ\"" + }, + { + "key": "x-kong-upstream-latency", + "value": "692" + }, + { + "key": "x-kong-proxy-latency", + "value": "0" + }, + { + "key": "via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.configuration.search\",\n \"ver\": \"1.0\",\n \"ts\": \"2020-12-02T11:03:07.275Z\",\n \"params\": {\n \"resmsgid\": \"f5241db0-348d-11eb-9c32-15914148e3ce\",\n \"msgid\": \"f80986af-e190-f6a4-04c4-c1b984e056e4\",\n \"status\": \"successful\",\n \"err\": null,\n \"errmsg\": null\n },\n \"responseCode\": \"OK\",\n \"result\": {\n \"configuration\": {\n \"id\": 9,\n \"key\": \"overrideMetaData\",\n \"value\": \"[{\\\"code\\\":\\\"name\\\",\\\"dataType\\\":\\\"text\\\",\\\"editable\\\":true},{\\\"code\\\":\\\"learningOutcome\\\",\\\"dataType\\\":\\\"list\\\",\\\"editable\\\":true},{\\\"code\\\":\\\"attributions\\\",\\\"dataType\\\":\\\"list\\\",\\\"editable\\\":false},{\\\"code\\\":\\\"copyright\\\",\\\"dataType\\\":\\\"text\\\",\\\"editable\\\":false},{\\\"code\\\":\\\"creator\\\",\\\"dataType\\\":\\\"text\\\",\\\"editable\\\":false},{\\\"code\\\":\\\"license\\\",\\\"dataType\\\":\\\"list\\\",\\\"editable\\\":false},{\\\"code\\\":\\\"contentPolicyCheck\\\",\\\"dataType\\\":\\\"boolean\\\",\\\"editable\\\":false}]\",\n \"status\": \"active\",\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2020-09-03T11:24:42.130Z\",\n \"updatedon\": \"2020-09-03T11:24:42.130Z\"\n }\n }\n}" + }, + { + "name": "400 without status", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Pragma", + "value": "no-cache" + }, + { + "key": "Cache-Control", + "value": "no-cache" + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal" + }, + { + "key": "ts", + "value": "2020-12-02T16:32:31+05:30" + }, + { + "key": "X-msgid", + "value": "f80986af-e190-f6a4-04c4-c1b984e056e4" + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36" + }, + { + "key": "Content-Type", + "name": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web" + }, + { + "key": "X-Device-ID", + "value": "6a6ec694e694548fef971f85910385bd" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin" + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors" + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty" + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/contribute" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3ABJW2W7KN-MXRuOv1L6_tU6UDkPC-hfuF.8XWBywws%2Bj8qGuqBweKrNTv7ag6kvF46Xlz1MrQRxZ0" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \"key\": \"overrideMetaData\",\r\n \"status\": \"\"\r\n }\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://dock.sunbirded.org/content/program/v1/configuration/search", + "protocol": "https", + "host": [ + "dock", + "sunbirded", + "org" + ], + "path": [ + "content", + "program", + "v1", + "configuration", + "search" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Wed, 02 Dec 2020 11:03:07 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "927" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-DNS-Prefetch-Control", + "value": "off" + }, + { + "key": "X-Frame-Options", + "value": "SAMEORIGIN" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15552000; includeSubDomains" + }, + { + "key": "X-Download-Options", + "value": "noopen" + }, + { + "key": "X-Content-Type-Options", + "value": "nosniff" + }, + { + "key": "X-XSS-Protection", + "value": "1; mode=block" + }, + { + "key": "x-ratelimit-limit-hour", + "value": "30000" + }, + { + "key": "x-ratelimit-remaining-hour", + "value": "29997" + }, + { + "key": "x-powered-by", + "value": "Express" + }, + { + "key": "access-control-allow-origin", + "value": "*" + }, + { + "key": "access-control-allow-methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "access-control-allow-headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "etag", + "value": "W/\"39f-/OXYNw5sfRTg1KixRs/EZa69YRQ\"" + }, + { + "key": "x-kong-upstream-latency", + "value": "692" + }, + { + "key": "x-kong-proxy-latency", + "value": "0" + }, + { + "key": "via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.configuration.search\",\n \"ver\": \"1.0\",\n \"ts\": \"2020-12-02T11:03:07.275Z\",\n \"params\": {\n \"resmsgid\": \"f5241db0-348d-11eb-9c32-15914148e3ce\",\n \"msgid\": \"f80986af-e190-f6a4-04c4-c1b984e056e4\",\n \"status\": \"successful\",\n \"err\": null,\n \"errmsg\": null\n },\n \"responseCode\": \"OK\",\n \"result\": {\n \"configuration\": {\n \"id\": 9,\n \"key\": \"overrideMetaData\",\n \"value\": \"[{\\\"code\\\":\\\"name\\\",\\\"dataType\\\":\\\"text\\\",\\\"editable\\\":true},{\\\"code\\\":\\\"learningOutcome\\\",\\\"dataType\\\":\\\"list\\\",\\\"editable\\\":true},{\\\"code\\\":\\\"attributions\\\",\\\"dataType\\\":\\\"list\\\",\\\"editable\\\":false},{\\\"code\\\":\\\"copyright\\\",\\\"dataType\\\":\\\"text\\\",\\\"editable\\\":false},{\\\"code\\\":\\\"creator\\\",\\\"dataType\\\":\\\"text\\\",\\\"editable\\\":false},{\\\"code\\\":\\\"license\\\",\\\"dataType\\\":\\\"list\\\",\\\"editable\\\":false},{\\\"code\\\":\\\"contentPolicyCheck\\\",\\\"dataType\\\":\\\"boolean\\\",\\\"editable\\\":false}]\",\n \"status\": \"active\",\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2020-09-03T11:24:42.130Z\",\n \"updatedon\": \"2020-09-03T11:24:42.130Z\"\n }\n }\n}" + }, + { + "name": "401 Unauthorized", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Pragma", + "value": "no-cache" + }, + { + "key": "Cache-Control", + "value": "no-cache" + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal" + }, + { + "key": "ts", + "value": "2020-12-02T16:32:31+05:30" + }, + { + "key": "X-msgid", + "value": "f80986af-e190-f6a4-04c4-c1b984e056e4" + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web" + }, + { + "key": "X-Device-ID", + "value": "6a6ec694e694548fef971f85910385bd" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin" + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors" + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty" + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/contribute/" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3ABJW2W7KN-MXRuOv1L6_tU6UDkPC-hfuF.8XWBywws%2Bj8qGuqBweKrNTv7ag6kvF46Xlz1MrQRxZ0" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"key\": \"overrideMetaData\",\n \"status\": \"active\"\n }\n}" + }, + "url": { + "raw": "https://dock.sunbirded.org/content/v1/configuration/search/", + "protocol": "https", + "host": [ + "dock", + "sunbirded", + "org" + ], + "path": [ + "content", + "v1", + "configuration", + "search", + "" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Thu, 03 Dec 2020 07:50:55 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "254" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-DNS-Prefetch-Control", + "value": "off" + }, + { + "key": "X-Frame-Options", + "value": "SAMEORIGIN" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15552000; includeSubDomains" + }, + { + "key": "X-Download-Options", + "value": "noopen" + }, + { + "key": "X-Content-Type-Options", + "value": "nosniff" + }, + { + "key": "X-XSS-Protection", + "value": "1; mode=block" + }, + { + "key": "ETag", + "value": "W/\"fe-syVCzbjSYKtXLrUiE68XK0mfjZQ\"" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.error\",\n \"ver\": \"1.0\",\n \"ts\": \"2020-12-03 07:50:55:637+0000\",\n \"params\": {\n \"resmsgid\": \"46298c50-353c-11eb-ada5-dde7a2458a3f\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"INVALID_TOKEN\",\n \"errmsg\": \"INVALID_TOKEN\"\n },\n \"responseCode\": \"UNAUTHORIZED_ACCESS\",\n \"result\": {}\n}" + }, + { + "name": "404 Not Found", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Pragma", + "value": "no-cache" + }, + { + "key": "Cache-Control", + "value": "no-cache" + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal" + }, + { + "key": "ts", + "value": "2020-12-02T16:32:31+05:30" + }, + { + "key": "X-msgid", + "value": "f80986af-e190-f6a4-04c4-c1b984e056e4" + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web" + }, + { + "key": "X-Device-ID", + "value": "6a6ec694e694548fef971f85910385bd" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin" + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors" + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty" + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/contribute/" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3ABJW2W7KN-MXRuOv1L6_tU6UDkPC-hfuF.8XWBywws%2Bj8qGuqBweKrNTv7ag6kvF46Xlz1MrQRxZ0" + } + ], + "url": { + "raw": "https://dock.sunbirded.org/content/program/v1/configuration/search", + "protocol": "https", + "host": [ + "dock", + "sunbirded", + "org" + ], + "path": [ + "content", + "program", + "v1", + "configuration", + "search" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "html", + "header": [ + { + "key": "Date", + "value": "Thu, 03 Dec 2020 07:41:50 GMT" + }, + { + "key": "Content-Type", + "value": "text/html; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "170" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-DNS-Prefetch-Control", + "value": "off" + }, + { + "key": "X-Frame-Options", + "value": "SAMEORIGIN" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15552000; includeSubDomains" + }, + { + "key": "X-Download-Options", + "value": "noopen" + }, + { + "key": "x-content-type-options", + "value": "nosniff" + }, + { + "key": "X-XSS-Protection", + "value": "1; mode=block" + }, + { + "key": "x-ratelimit-limit-hour", + "value": "30000" + }, + { + "key": "x-ratelimit-remaining-hour", + "value": "29980" + }, + { + "key": "x-powered-by", + "value": "Express" + }, + { + "key": "access-control-allow-origin", + "value": "*" + }, + { + "key": "access-control-allow-methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "access-control-allow-headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "content-security-policy", + "value": "default-src 'self'" + }, + { + "key": "x-kong-upstream-latency", + "value": "5" + }, + { + "key": "x-kong-proxy-latency", + "value": "0" + }, + { + "key": "via", + "value": "kong/0.9.9" + }, + { + "key": "ETag", + "value": "W/\"aa-F4QmgzQOmGxF4MP+RWHeVO5/ztI\"" + } + ], + "cookie": [], + "body": "\n\n \n \n Error\n \n \n
Cannot GET /program/v1/configuration/search
\n \n" + } + ] + } + ], + "description": "StartFragment\n\nThis API searches the Program Configuration Based on Key provided to it. - The _**configuration/search**_ endpoint fetch the program configuration for the key provided.\n\n\\- Required fields cannot be null or empty\n\n\\- Backend Route: [http://program-service:6000/program/v1/configuration/search](http://program-service:6000/program/v1/configuration/search)\n\nEndFragment", + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ] + }, + { + "name": "Program_CRUD_API's_New", + "item": [ + { + "name": "Update", + "item": [ + { + "name": "Program Update", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var responseJson = pm.response.json();", + "", + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "", + "pm.test(\"response should be okay to process\", function () {", + " pm.response.to.not.be.error;", + " pm.response.to.not.have.jsonBody(\"error\");", + "});", + "", + "pm.test(\"response must be valid and have a body\", function () {", + " pm.response.to.be.ok;", + " pm.response.to.be.withBody;", + " pm.response.to.be.json;", + "});", + "", + "pm.test(\"Successful POST request\", () => {", + " pm.expect(pm.response.code).to.be.oneOf([200,201,202]);", + "});", + "", + "pm.test(\"Reading Response Code & Status\", () => {", + " pm.expect(responseJson.responseCode).to.eql(\"OK\");", + " pm.expect(responseJson.params.status).to.eql(\"successful\");", + " pm.expect(responseJson.result.program_id).not.to.empty;", + "});", + "", + "pm.test(\"Checking for Errors\",() => {", + " pm.expect(responseJson.params.err).to.eql(null);", + " pm.expect(responseJson.params.errmsg).to.eql(null);", + " pm.expect(responseJson.result).to.be.an('object');", + " pm.expect(responseJson.result).not.to.empty;", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"name\": \"Check Nomination\",\n \"description\": \"Nomination for add and remove\",\n \"nomination_enddate\": \"2020-12-01T18:30:00.000Z\",\n \"shortlisting_enddate\": \"2021-01-08T18:30:00.000Z\",\n \"content_submission_enddate\": \"2021-02-06T18:30:00.000Z\",\n \"rewards\": \"Nomination check for add and remove\",\n \"content_types\": [\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Teacher Resource\"\n ],\n \"target_collection_category\": [\n \"Digital Textbook\"\n ],\n \"sourcing_org_name\": \"Vidya2\",\n \"rootorg_id\": \"012983850117177344161\",\n \"createdby\": \"48dc0e70-2775-474b-9b78-def27d047836\",\n \"createdon\": \"2020-12-02T12:13:07.573Z\",\n \"startdate\": \"2020-12-02T12:13:07.573Z\",\n \"slug\": \"sunbird\",\n \"type\": \"public\",\n \"default_roles\": [\n \"CONTRIBUTOR\"\n ],\n \"enddate\": \"2021-03-06T18:30:00.000Z\",\n \"status\": \"Draft\",\n \"program_id\": \"a043dc40-3497-11eb-9c32-15914148e3ce\",\n \"collection_ids\": [\n null,\n null,\n null\n ],\n \"config\": {\n \"defaultContributeOrgReview\": true,\n \"_comments\": \"\",\n \"loginReqired\": true,\n \"framework\": [\n \"ekstep_ncert_k-12\"\n ],\n \"board\": [],\n \"gradeLevel\": [],\n \"medium\": [\n null\n ],\n \"subject\": [\n null\n ],\n \"roles\": [\n {\n \"id\": 1,\n \"name\": \"CONTRIBUTOR\",\n \"default\": true,\n \"defaultTab\": 1,\n \"tabs\": [\n 1\n ]\n },\n {\n \"id\": 2,\n \"name\": \"REVIEWER\",\n \"defaultTab\": 2,\n \"tabs\": [\n 2\n ]\n }\n ],\n \"header\": {\n \"id\": \"ng.sunbird.header\",\n \"ver\": \"1.0\",\n \"compId\": \"headerComp\",\n \"author\": \"Venkat\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {\n \"tabs\": [\n {\n \"index\": 1,\n \"label\": \"Contribute\",\n \"onClick\": \"collectionComponent\"\n },\n {\n \"index\": 2,\n \"label\": \"Review\",\n \"onClick\": \"collectionComponent\"\n },\n {\n \"index\": 3,\n \"label\": \"Dashboard\",\n \"onClick\": \"dashboardComponent\"\n }\n ]\n }\n },\n \"components\": [\n {\n \"id\": \"ng.sunbird.collection\",\n \"ver\": \"1.0\",\n \"compId\": \"collectionComponent\",\n \"author\": \"Venkat\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {\n \"filters\": {\n \"implicit\": [\n {\n \"code\": \"framework\",\n \"defaultValue\": \"ekstep_ncert_k-12\",\n \"label\": \"Framework\"\n },\n {\n \"code\": \"board\",\n \"defaultValue\": \"CBSE\",\n \"label\": \"Board\"\n },\n {\n \"code\": \"medium\",\n \"defaultValue\": [\n \"English\"\n ],\n \"label\": \"Medium\"\n }\n ],\n \"explicit\": [\n {\n \"code\": \"gradeLevel\",\n \"range\": [\n \"Kindergarten\",\n \"Grade 1\",\n \"Grade 2\",\n \"Grade 3\"\n ],\n \"label\": \"Class\",\n \"multiselect\": false,\n \"defaultValue\": [\n \"Kindergarten\",\n \"Grade 1\"\n ],\n \"visibility\": true\n },\n {\n \"code\": \"subject\",\n \"range\": [\n \"English\",\n \"Mathematics\",\n \"Hindi\"\n ],\n \"label\": \"Subject\",\n \"multiselect\": false,\n \"defaultValue\": [\n \"English\"\n ],\n \"visibility\": true\n }\n ]\n },\n \"groupBy\": {\n \"value\": \"subject\",\n \"defaultValue\": \"subject\"\n },\n \"collectionType\": \"Textbook\",\n \"collectionList\": [],\n \"status\": [\n \"Draft\",\n \"Live\"\n ]\n }\n },\n {\n \"id\": \"ng.sunbird.chapterList\",\n \"ver\": \"1.0\",\n \"compId\": \"chapterListComponent\",\n \"author\": \"Kartheek\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {\n \"contentTypes\": {\n \"value\": [\n {\n \"id\": \"explanationContent\",\n \"label\": \"Explanation\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"video/mp4\",\n \"video/webm\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Explanation Resource\",\n \"description\": \"ExplanationResource\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ExplanationResource\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553051403878414/artifact/explanation.thumb_1576602846206.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, mp4, webm, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"learningActivity\",\n \"label\": \"Activity for Learning\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"video/mp4\",\n \"video/webm\",\n \"application/epub\",\n \"application/vnd.ekstep.h5p-archive\"\n ],\n \"metadata\": {\n \"name\": \"Activity for Learning\",\n \"description\": \"LearningActivity\",\n \"resourceType\": \"Read\",\n \"contentType\": \"LearningActivity\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, mp4, webm, epub, h5p\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"experientialContent\",\n \"label\": \"Experiential\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"video/mp4\",\n \"video/webm\"\n ],\n \"metadata\": {\n \"name\": \"Experiential Resource\",\n \"description\": \"ExperientialResource\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ExperientialResource\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553051403878414/artifact/explanation.thumb_1576602846206.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"mp4, webm\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"classroomTeachingVideo\",\n \"label\": \"Classroom Teaching Video\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"video/mp4\",\n \"video/webm\"\n ],\n \"metadata\": {\n \"name\": \"Classroom Teaching Video\",\n \"description\": \"ClassroomTeachingVideo\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ClassroomTeachingVideo\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"mp4, webm\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"explanationVideo\",\n \"label\": \"Explanation Video\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"video/mp4\",\n \"video/webm\"\n ],\n \"metadata\": {\n \"name\": \"Explanation Video\",\n \"description\": \"ExplanationVideo\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ExplanationVideo\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"mp4, webm\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"explanationReadingMaterial\",\n \"label\": \"Explanation Reading Material\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Explanation Reading Material\",\n \"description\": \"ExplanationReadingMaterial\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ExplanationReadingMaterial\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"previousBoardExamPapers\",\n \"label\": \"Previous Board Exam Papers\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Previous Board Exam Papers\",\n \"description\": \"PreviousBoardExamPapers\",\n \"resourceType\": \"Read\",\n \"contentType\": \"PreviousBoardExamPapers\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"lessonPlanResource\",\n \"label\": \"Lesson Plan\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Lesson Plan\",\n \"description\": \"LessonPlanResource\",\n \"resourceType\": \"Read\",\n \"contentType\": \"LessonPlanResource\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"focusSpotContent\",\n \"label\": \"FocusSpot\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"FocusSpot Resource\",\n \"description\": \"FocusSpot\",\n \"resourceType\": \"Read\",\n \"contentType\": \"FocusSpot\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"TeachingMethod\",\n \"label\": \"Teaching Method\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Teaching Method\",\n \"description\": \"TeachingMethod\",\n \"resourceType\": \"Read\",\n \"contentType\": \"TeachingMethod\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"PedagogyFlow\",\n \"label\": \"Pedagogy Flow\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Pedagogy Flow\",\n \"description\": \"PedagogyFlow\",\n \"resourceType\": \"Read\",\n \"contentType\": \"PedagogyFlow\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"LearningOutcomeDefinition\",\n \"label\": \"Learning Outcome Definition\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Learning Outcome Definition\",\n \"description\": \"LearningOutcomeDefinition\",\n \"resourceType\": \"Read\",\n \"contentType\": \"LearningOutcomeDefinition\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"MarkingSchemeRubric\",\n \"label\": \"Marking Scheme Rubric\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Marking Scheme Rubric\",\n \"description\": \"MarkingSchemeRubric\",\n \"resourceType\": \"Read\",\n \"contentType\": \"MarkingSchemeRubric\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"ConceptMap\",\n \"label\": \"Concept Map\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Concept Map\",\n \"description\": \"ConceptMap\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ConceptMap\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"SelfAssess\",\n \"label\": \"Self Assess\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Self Assess\",\n \"description\": \"SelfAssess\",\n \"resourceType\": \"Read\",\n \"contentType\": \"SelfAssess\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"vsaPracticeQuestionContent\",\n \"label\": \"VSA - Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"PracticeQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"vsa\"\n ]\n },\n {\n \"id\": \"saPracticeQuestionContent\",\n \"label\": \"SA - Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"PracticeQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"sa\"\n ]\n },\n {\n \"id\": \"laPracticeQuestionContent\",\n \"label\": \"LA - Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"PracticeQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"la\"\n ]\n },\n {\n \"id\": \"mcqPracticeQuestionContent\",\n \"label\": \"MCQ - Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"PracticeQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"mcq\"\n ]\n },\n {\n \"id\": \"curiositySetContent\",\n \"label\": \"Curiosity Sets\",\n \"onClick\": \"curiositySetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Curiosity QuestionSet\",\n \"description\": \"Curiosity QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"CuriosityQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"curiosity\"\n ]\n }\n ],\n \"defaultValue\": [\n {\n \"id\": \"vsaPracticeQuestionContent\",\n \"label\": \"Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"PracticeQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"vsa\"\n ]\n }\n ]\n }\n }\n },\n {\n \"id\": \"ng.sunbird.uploadComponent\",\n \"ver\": \"1.0\",\n \"compId\": \"uploadContentComponent\",\n \"author\": \"Kartheek\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {\n \"filesConfig\": {\n \"accepted\": \"pdf, mp4, webm, h5p, epub\",\n \"size\": \"50\"\n },\n \"formConfiguration\": [\n {\n \"code\": \"learningOutcome\",\n \"dataType\": \"list\",\n \"description\": \"Learning Outcomes For The Content\",\n \"editable\": true,\n \"inputType\": \"multiselect\",\n \"label\": \"Learning Outcome\",\n \"name\": \"LearningOutcome\",\n \"placeholder\": \"Select Learning Outcomes\",\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"list\",\n \"description\": \"Enter Attributions\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"name\": \"Attributions\",\n \"placeholder\": \"Enter Attributions\",\n \"required\": false,\n \"visible\": true,\n \"helpText\": \"If you have relied on another work to create this Content, provide the name of that creator and the source of that work.\"\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Enter Copyright and Year\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright and Year\",\n \"name\": \"Copyright\",\n \"placeholder\": \"Enter Copyright and Year\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"If you are an individual, creating original Content, you are the copyright holder. If you are creating Content on behalf of an organisation, the organisation may be the copyright holder. Please fill as , \"\n },\n {\n \"code\": \"creator\",\n \"dataType\": \"text\",\n \"description\": \"Enter The Author Name\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Author\",\n \"name\": \"Author\",\n \"placeholder\": \"Enter Author Name\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"Provide name of creator of this Content.\"\n },\n {\n \"code\": \"license\",\n \"dataType\": \"list\",\n \"description\": \"License For The Content\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"label\": \"License\",\n \"name\": \"License\",\n \"placeholder\": \"Select License\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"Choose the most appropriate Creative Commons License for this Content\"\n },\n {\n \"code\": \"contentPolicyCheck\",\n \"dataType\": \"boolean\",\n \"editable\": false,\n \"inputType\": \"checkbox\",\n \"name\": \"Content Policy Check\",\n \"required\": true,\n \"visible\": true\n }\n ],\n \"resourceTitleLength\": \"200\",\n \"tenantName\": \"SunbirdEd\"\n }\n },\n {\n \"id\": \"ng.sunbird.practiceSetComponent\",\n \"ver\": \"1.0\",\n \"compId\": \"practiceSetComponent\",\n \"author\": \"Kartheek\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {\n \"No of options\": 4,\n \"solutionType\": [\n \"Video\",\n \"Text & image\"\n ],\n \"questionCategory\": [\n \"vsa\",\n \"sa\",\n \"ls\",\n \"mcq\",\n \"curiosity\"\n ],\n \"formConfiguration\": [\n {\n \"code\": \"learningOutcome\",\n \"dataType\": \"list\",\n \"description\": \"Learning Outcomes For The Content\",\n \"editable\": true,\n \"inputType\": \"multiselect\",\n \"label\": \"Learning Outcome\",\n \"name\": \"LearningOutcome\",\n \"placeholder\": \"Select Learning Outcomes\",\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"list\",\n \"description\": \"Enter Attributions\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"name\": \"Attributions\",\n \"placeholder\": \"Enter Attributions\",\n \"required\": false,\n \"visible\": true,\n \"helpText\": \"If you have relied on another work to create this Content, provide the name of that creator and the source of that work.\"\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Enter Copyright and Year\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright and Year\",\n \"name\": \"Copyright\",\n \"placeholder\": \"Enter Copyright and Year\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"If you are an individual, creating original Content, you are the copyright holder. If you are creating Content on behalf of an organisation, the organisation may be the copyright holder. Please fill as , \"\n },\n {\n \"code\": \"creator\",\n \"dataType\": \"text\",\n \"description\": \"Enter The Author Name\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Author\",\n \"name\": \"Author\",\n \"placeholder\": \"Enter Author Name\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"Provide name of creator of this Content.\"\n },\n {\n \"code\": \"license\",\n \"dataType\": \"list\",\n \"description\": \"License For The Content\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"label\": \"License\",\n \"name\": \"License\",\n \"placeholder\": \"Select License\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"Choose the most appropriate Creative Commons License for this Content\"\n },\n {\n \"code\": \"contentPolicyCheck\",\n \"dataType\": \"boolean\",\n \"editable\": false,\n \"inputType\": \"checkbox\",\n \"name\": \"Content Policy Check\",\n \"required\": true,\n \"visible\": true\n }\n ],\n \"resourceTitleLength\": \"200\",\n \"tenantName\": \"\",\n \"assetConfig\": {\n \"image\": {\n \"size\": \"50\",\n \"accepted\": \"jpeg, png, jpg\"\n },\n \"video\": {\n \"size\": \"50\",\n \"accepted\": \"pdf, mp4, webm, youtube\"\n }\n }\n }\n },\n {\n \"id\": \"ng.sunbird.dashboard\",\n \"ver\": \"1.0\",\n \"compId\": \"dashboardComp\",\n \"author\": \"Venkanna Gouda\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {}\n }\n ],\n \"sharedContext\": [\n \"channel\",\n \"framework\",\n \"board\",\n \"medium\",\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"collections\": [\n {\n \"id\": \"do_113133960314445824150\",\n \"allowed_content_types\": [],\n \"children\": []\n },\n {\n \"id\": \"do_113133934143201280130\",\n \"allowed_content_types\": [],\n \"children\": []\n },\n {\n \"id\": \"do_113133920029196288117\",\n \"allowed_content_types\": [],\n \"children\": []\n }\n ]\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/update", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "update" + ] + }, + "description": "program/update" + }, + "response": [ + { + "name": "200 Success", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"name\": \"Check Nomination\",\n \"description\": \"Nomination for add and remove\",\n \"nomination_enddate\": \"2020-12-01T18:30:00.000Z\",\n \"shortlisting_enddate\": \"2021-01-08T18:30:00.000Z\",\n \"content_submission_enddate\": \"2021-02-06T18:30:00.000Z\",\n \"rewards\": \"Nomination check for add and remove\",\n \"content_types\": [\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Teacher Resource\"\n ],\n \"target_collection_category\": [\n \"Digital Textbook\"\n ],\n \"sourcing_org_name\": \"Vidya2\",\n \"rootorg_id\": \"012983850117177344161\",\n \"createdby\": \"48dc0e70-2775-474b-9b78-def27d047836\",\n \"createdon\": \"2020-12-02T12:13:07.573Z\",\n \"startdate\": \"2020-12-02T12:13:07.573Z\",\n \"slug\": \"sunbird\",\n \"type\": \"public\",\n \"default_roles\": [\n \"CONTRIBUTOR\"\n ],\n \"enddate\": \"2021-03-06T18:30:00.000Z\",\n \"status\": \"Draft\",\n \"program_id\": \"a043dc40-3497-11eb-9c32-15914148e3ce\",\n \"collection_ids\": [\n null,\n null,\n null\n ],\n \"config\": {\n \"defaultContributeOrgReview\": true,\n \"_comments\": \"\",\n \"loginReqired\": true,\n \"framework\": [\n \"ekstep_ncert_k-12\"\n ],\n \"board\": [],\n \"gradeLevel\": [],\n \"medium\": [\n null\n ],\n \"subject\": [\n null\n ],\n \"roles\": [\n {\n \"id\": 1,\n \"name\": \"CONTRIBUTOR\",\n \"default\": true,\n \"defaultTab\": 1,\n \"tabs\": [\n 1\n ]\n },\n {\n \"id\": 2,\n \"name\": \"REVIEWER\",\n \"defaultTab\": 2,\n \"tabs\": [\n 2\n ]\n }\n ],\n \"header\": {\n \"id\": \"ng.sunbird.header\",\n \"ver\": \"1.0\",\n \"compId\": \"headerComp\",\n \"author\": \"Venkat\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {\n \"tabs\": [\n {\n \"index\": 1,\n \"label\": \"Contribute\",\n \"onClick\": \"collectionComponent\"\n },\n {\n \"index\": 2,\n \"label\": \"Review\",\n \"onClick\": \"collectionComponent\"\n },\n {\n \"index\": 3,\n \"label\": \"Dashboard\",\n \"onClick\": \"dashboardComponent\"\n }\n ]\n }\n },\n \"components\": [\n {\n \"id\": \"ng.sunbird.collection\",\n \"ver\": \"1.0\",\n \"compId\": \"collectionComponent\",\n \"author\": \"Venkat\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {\n \"filters\": {\n \"implicit\": [\n {\n \"code\": \"framework\",\n \"defaultValue\": \"ekstep_ncert_k-12\",\n \"label\": \"Framework\"\n },\n {\n \"code\": \"board\",\n \"defaultValue\": \"CBSE\",\n \"label\": \"Board\"\n },\n {\n \"code\": \"medium\",\n \"defaultValue\": [\n \"English\"\n ],\n \"label\": \"Medium\"\n }\n ],\n \"explicit\": [\n {\n \"code\": \"gradeLevel\",\n \"range\": [\n \"Kindergarten\",\n \"Grade 1\",\n \"Grade 2\",\n \"Grade 3\"\n ],\n \"label\": \"Class\",\n \"multiselect\": false,\n \"defaultValue\": [\n \"Kindergarten\",\n \"Grade 1\"\n ],\n \"visibility\": true\n },\n {\n \"code\": \"subject\",\n \"range\": [\n \"English\",\n \"Mathematics\",\n \"Hindi\"\n ],\n \"label\": \"Subject\",\n \"multiselect\": false,\n \"defaultValue\": [\n \"English\"\n ],\n \"visibility\": true\n }\n ]\n },\n \"groupBy\": {\n \"value\": \"subject\",\n \"defaultValue\": \"subject\"\n },\n \"collectionType\": \"Textbook\",\n \"collectionList\": [],\n \"status\": [\n \"Draft\",\n \"Live\"\n ]\n }\n },\n {\n \"id\": \"ng.sunbird.chapterList\",\n \"ver\": \"1.0\",\n \"compId\": \"chapterListComponent\",\n \"author\": \"Kartheek\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {\n \"contentTypes\": {\n \"value\": [\n {\n \"id\": \"explanationContent\",\n \"label\": \"Explanation\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"video/mp4\",\n \"video/webm\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Explanation Resource\",\n \"description\": \"ExplanationResource\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ExplanationResource\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553051403878414/artifact/explanation.thumb_1576602846206.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, mp4, webm, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"learningActivity\",\n \"label\": \"Activity for Learning\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"video/mp4\",\n \"video/webm\",\n \"application/epub\",\n \"application/vnd.ekstep.h5p-archive\"\n ],\n \"metadata\": {\n \"name\": \"Activity for Learning\",\n \"description\": \"LearningActivity\",\n \"resourceType\": \"Read\",\n \"contentType\": \"LearningActivity\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, mp4, webm, epub, h5p\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"experientialContent\",\n \"label\": \"Experiential\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"video/mp4\",\n \"video/webm\"\n ],\n \"metadata\": {\n \"name\": \"Experiential Resource\",\n \"description\": \"ExperientialResource\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ExperientialResource\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553051403878414/artifact/explanation.thumb_1576602846206.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"mp4, webm\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"classroomTeachingVideo\",\n \"label\": \"Classroom Teaching Video\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"video/mp4\",\n \"video/webm\"\n ],\n \"metadata\": {\n \"name\": \"Classroom Teaching Video\",\n \"description\": \"ClassroomTeachingVideo\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ClassroomTeachingVideo\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"mp4, webm\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"explanationVideo\",\n \"label\": \"Explanation Video\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"video/mp4\",\n \"video/webm\"\n ],\n \"metadata\": {\n \"name\": \"Explanation Video\",\n \"description\": \"ExplanationVideo\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ExplanationVideo\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"mp4, webm\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"explanationReadingMaterial\",\n \"label\": \"Explanation Reading Material\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Explanation Reading Material\",\n \"description\": \"ExplanationReadingMaterial\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ExplanationReadingMaterial\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"previousBoardExamPapers\",\n \"label\": \"Previous Board Exam Papers\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Previous Board Exam Papers\",\n \"description\": \"PreviousBoardExamPapers\",\n \"resourceType\": \"Read\",\n \"contentType\": \"PreviousBoardExamPapers\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"lessonPlanResource\",\n \"label\": \"Lesson Plan\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Lesson Plan\",\n \"description\": \"LessonPlanResource\",\n \"resourceType\": \"Read\",\n \"contentType\": \"LessonPlanResource\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"focusSpotContent\",\n \"label\": \"FocusSpot\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"FocusSpot Resource\",\n \"description\": \"FocusSpot\",\n \"resourceType\": \"Read\",\n \"contentType\": \"FocusSpot\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"TeachingMethod\",\n \"label\": \"Teaching Method\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Teaching Method\",\n \"description\": \"TeachingMethod\",\n \"resourceType\": \"Read\",\n \"contentType\": \"TeachingMethod\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"PedagogyFlow\",\n \"label\": \"Pedagogy Flow\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Pedagogy Flow\",\n \"description\": \"PedagogyFlow\",\n \"resourceType\": \"Read\",\n \"contentType\": \"PedagogyFlow\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"LearningOutcomeDefinition\",\n \"label\": \"Learning Outcome Definition\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Learning Outcome Definition\",\n \"description\": \"LearningOutcomeDefinition\",\n \"resourceType\": \"Read\",\n \"contentType\": \"LearningOutcomeDefinition\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"MarkingSchemeRubric\",\n \"label\": \"Marking Scheme Rubric\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Marking Scheme Rubric\",\n \"description\": \"MarkingSchemeRubric\",\n \"resourceType\": \"Read\",\n \"contentType\": \"MarkingSchemeRubric\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"ConceptMap\",\n \"label\": \"Concept Map\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Concept Map\",\n \"description\": \"ConceptMap\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ConceptMap\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"SelfAssess\",\n \"label\": \"Self Assess\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Self Assess\",\n \"description\": \"SelfAssess\",\n \"resourceType\": \"Read\",\n \"contentType\": \"SelfAssess\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"vsaPracticeQuestionContent\",\n \"label\": \"VSA - Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"PracticeQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"vsa\"\n ]\n },\n {\n \"id\": \"saPracticeQuestionContent\",\n \"label\": \"SA - Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"PracticeQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"sa\"\n ]\n },\n {\n \"id\": \"laPracticeQuestionContent\",\n \"label\": \"LA - Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"PracticeQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"la\"\n ]\n },\n {\n \"id\": \"mcqPracticeQuestionContent\",\n \"label\": \"MCQ - Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"PracticeQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"mcq\"\n ]\n },\n {\n \"id\": \"curiositySetContent\",\n \"label\": \"Curiosity Sets\",\n \"onClick\": \"curiositySetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Curiosity QuestionSet\",\n \"description\": \"Curiosity QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"CuriosityQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"curiosity\"\n ]\n }\n ],\n \"defaultValue\": [\n {\n \"id\": \"vsaPracticeQuestionContent\",\n \"label\": \"Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"PracticeQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"vsa\"\n ]\n }\n ]\n }\n }\n },\n {\n \"id\": \"ng.sunbird.uploadComponent\",\n \"ver\": \"1.0\",\n \"compId\": \"uploadContentComponent\",\n \"author\": \"Kartheek\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {\n \"filesConfig\": {\n \"accepted\": \"pdf, mp4, webm, h5p, epub\",\n \"size\": \"50\"\n },\n \"formConfiguration\": [\n {\n \"code\": \"learningOutcome\",\n \"dataType\": \"list\",\n \"description\": \"Learning Outcomes For The Content\",\n \"editable\": true,\n \"inputType\": \"multiselect\",\n \"label\": \"Learning Outcome\",\n \"name\": \"LearningOutcome\",\n \"placeholder\": \"Select Learning Outcomes\",\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"list\",\n \"description\": \"Enter Attributions\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"name\": \"Attributions\",\n \"placeholder\": \"Enter Attributions\",\n \"required\": false,\n \"visible\": true,\n \"helpText\": \"If you have relied on another work to create this Content, provide the name of that creator and the source of that work.\"\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Enter Copyright and Year\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright and Year\",\n \"name\": \"Copyright\",\n \"placeholder\": \"Enter Copyright and Year\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"If you are an individual, creating original Content, you are the copyright holder. If you are creating Content on behalf of an organisation, the organisation may be the copyright holder. Please fill as , \"\n },\n {\n \"code\": \"creator\",\n \"dataType\": \"text\",\n \"description\": \"Enter The Author Name\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Author\",\n \"name\": \"Author\",\n \"placeholder\": \"Enter Author Name\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"Provide name of creator of this Content.\"\n },\n {\n \"code\": \"license\",\n \"dataType\": \"list\",\n \"description\": \"License For The Content\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"label\": \"License\",\n \"name\": \"License\",\n \"placeholder\": \"Select License\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"Choose the most appropriate Creative Commons License for this Content\"\n },\n {\n \"code\": \"contentPolicyCheck\",\n \"dataType\": \"boolean\",\n \"editable\": false,\n \"inputType\": \"checkbox\",\n \"name\": \"Content Policy Check\",\n \"required\": true,\n \"visible\": true\n }\n ],\n \"resourceTitleLength\": \"200\",\n \"tenantName\": \"SunbirdEd\"\n }\n },\n {\n \"id\": \"ng.sunbird.practiceSetComponent\",\n \"ver\": \"1.0\",\n \"compId\": \"practiceSetComponent\",\n \"author\": \"Kartheek\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {\n \"No of options\": 4,\n \"solutionType\": [\n \"Video\",\n \"Text & image\"\n ],\n \"questionCategory\": [\n \"vsa\",\n \"sa\",\n \"ls\",\n \"mcq\",\n \"curiosity\"\n ],\n \"formConfiguration\": [\n {\n \"code\": \"learningOutcome\",\n \"dataType\": \"list\",\n \"description\": \"Learning Outcomes For The Content\",\n \"editable\": true,\n \"inputType\": \"multiselect\",\n \"label\": \"Learning Outcome\",\n \"name\": \"LearningOutcome\",\n \"placeholder\": \"Select Learning Outcomes\",\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"list\",\n \"description\": \"Enter Attributions\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"name\": \"Attributions\",\n \"placeholder\": \"Enter Attributions\",\n \"required\": false,\n \"visible\": true,\n \"helpText\": \"If you have relied on another work to create this Content, provide the name of that creator and the source of that work.\"\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Enter Copyright and Year\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright and Year\",\n \"name\": \"Copyright\",\n \"placeholder\": \"Enter Copyright and Year\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"If you are an individual, creating original Content, you are the copyright holder. If you are creating Content on behalf of an organisation, the organisation may be the copyright holder. Please fill as , \"\n },\n {\n \"code\": \"creator\",\n \"dataType\": \"text\",\n \"description\": \"Enter The Author Name\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Author\",\n \"name\": \"Author\",\n \"placeholder\": \"Enter Author Name\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"Provide name of creator of this Content.\"\n },\n {\n \"code\": \"license\",\n \"dataType\": \"list\",\n \"description\": \"License For The Content\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"label\": \"License\",\n \"name\": \"License\",\n \"placeholder\": \"Select License\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"Choose the most appropriate Creative Commons License for this Content\"\n },\n {\n \"code\": \"contentPolicyCheck\",\n \"dataType\": \"boolean\",\n \"editable\": false,\n \"inputType\": \"checkbox\",\n \"name\": \"Content Policy Check\",\n \"required\": true,\n \"visible\": true\n }\n ],\n \"resourceTitleLength\": \"200\",\n \"tenantName\": \"\",\n \"assetConfig\": {\n \"image\": {\n \"size\": \"50\",\n \"accepted\": \"jpeg, png, jpg\"\n },\n \"video\": {\n \"size\": \"50\",\n \"accepted\": \"pdf, mp4, webm, youtube\"\n }\n }\n }\n },\n {\n \"id\": \"ng.sunbird.dashboard\",\n \"ver\": \"1.0\",\n \"compId\": \"dashboardComp\",\n \"author\": \"Venkanna Gouda\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {}\n }\n ],\n \"sharedContext\": [\n \"channel\",\n \"framework\",\n \"board\",\n \"medium\",\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"collections\": [\n {\n \"id\": \"do_113133960314445824150\",\n \"allowed_content_types\": [],\n \"children\": []\n },\n {\n \"id\": \"do_113133934143201280130\",\n \"allowed_content_types\": [],\n \"children\": []\n },\n {\n \"id\": \"do_113133920029196288117\",\n \"allowed_content_types\": [],\n \"children\": []\n }\n ]\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/update", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "update" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Tue, 20 Dec 2022 09:58:55 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "297" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29996" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"129-BWphE5N/6RlkYL7x9ru2DU5yhY0\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "303" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.program.update\",\n \"ts\": \"2022-12-20T09:58:55.641Z\",\n \"params\": {\n \"resmsgid\": \"ea606891-804c-11ed-be8b-9962d8844469\",\n \"msgid\": \"ea606890-804c-11ed-be8b-9962d8844469\",\n \"status\": \"successful\",\n \"err\": null,\n \"errmsg\": null\n },\n \"responseCode\": \"OK\",\n \"result\": {\n \"program_id\": \"a043dc40-3497-11eb-9c32-15914148e3ce\"\n }\n}" + }, + { + "name": "400 without Program Id", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal" + }, + { + "key": "ts", + "value": "2020-12-02T17:43:07+05:30" + }, + { + "key": "X-msgid", + "value": "e3fdfffd-e12e-7272-8c12-989eec3e3b3a" + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web" + }, + { + "key": "X-Device-ID", + "value": "6a6ec694e694548fef971f85910385bd" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin" + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors" + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty" + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/sourcing/create-program" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3AcaEnehC6-uy_KeUIERCclp4psONUAj6U.FQ6wkXD5Pz6jWMRTOE3CGS%2FRszGF8PEmszrnx3AcpNM" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"name\": \"Check Nomination\",\n \"description\": \"Nomination for add and remove\",\n \"nomination_enddate\": \"2020-12-01T18:30:00.000Z\",\n \"shortlisting_enddate\": \"2021-01-08T18:30:00.000Z\",\n \"content_submission_enddate\": \"2021-02-06T18:30:00.000Z\",\n \"rewards\": \"Nomination check for add and remove\",\n \"content_types\": [\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Teacher Resource\"\n ],\n \"target_collection_category\": [\n \"Digital Textbook\"\n ],\n \"sourcing_org_name\": \"Vidya2\",\n \"rootorg_id\": \"012983850117177344161\",\n \"createdby\": \"48dc0e70-2775-474b-9b78-def27d047836\",\n \"createdon\": \"2020-12-02T12:13:07.573Z\",\n \"startdate\": \"2020-12-02T12:13:07.573Z\",\n \"slug\": \"sunbird\",\n \"type\": \"public\",\n \"default_roles\": [\n \"CONTRIBUTOR\"\n ],\n \"enddate\": \"2021-03-06T18:30:00.000Z\",\n \"status\": \"Draft\",\n \"program_id\": \"\",\n \"collection_ids\": [\n null,\n null,\n null\n ],\n \"config\": {\n \"defaultContributeOrgReview\": true,\n \"_comments\": \"\",\n \"loginReqired\": true,\n \"framework\": [\n \"ekstep_ncert_k-12\"\n ],\n \"board\": [],\n \"gradeLevel\": [],\n \"medium\": [\n null\n ],\n \"subject\": [\n null\n ],\n \"roles\": [\n {\n \"id\": 1,\n \"name\": \"CONTRIBUTOR\",\n \"default\": true,\n \"defaultTab\": 1,\n \"tabs\": [\n 1\n ]\n },\n {\n \"id\": 2,\n \"name\": \"REVIEWER\",\n \"defaultTab\": 2,\n \"tabs\": [\n 2\n ]\n }\n ],\n \"header\": {\n \"id\": \"ng.sunbird.header\",\n \"ver\": \"1.0\",\n \"compId\": \"headerComp\",\n \"author\": \"Venkat\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {\n \"tabs\": [\n {\n \"index\": 1,\n \"label\": \"Contribute\",\n \"onClick\": \"collectionComponent\"\n },\n {\n \"index\": 2,\n \"label\": \"Review\",\n \"onClick\": \"collectionComponent\"\n },\n {\n \"index\": 3,\n \"label\": \"Dashboard\",\n \"onClick\": \"dashboardComponent\"\n }\n ]\n }\n },\n \"components\": [\n {\n \"id\": \"ng.sunbird.collection\",\n \"ver\": \"1.0\",\n \"compId\": \"collectionComponent\",\n \"author\": \"Venkat\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {\n \"filters\": {\n \"implicit\": [\n {\n \"code\": \"framework\",\n \"defaultValue\": \"ekstep_ncert_k-12\",\n \"label\": \"Framework\"\n },\n {\n \"code\": \"board\",\n \"defaultValue\": \"CBSE\",\n \"label\": \"Board\"\n },\n {\n \"code\": \"medium\",\n \"defaultValue\": [\n \"English\"\n ],\n \"label\": \"Medium\"\n }\n ],\n \"explicit\": [\n {\n \"code\": \"gradeLevel\",\n \"range\": [\n \"Kindergarten\",\n \"Grade 1\",\n \"Grade 2\",\n \"Grade 3\"\n ],\n \"label\": \"Class\",\n \"multiselect\": false,\n \"defaultValue\": [\n \"Kindergarten\",\n \"Grade 1\"\n ],\n \"visibility\": true\n },\n {\n \"code\": \"subject\",\n \"range\": [\n \"English\",\n \"Mathematics\",\n \"Hindi\"\n ],\n \"label\": \"Subject\",\n \"multiselect\": false,\n \"defaultValue\": [\n \"English\"\n ],\n \"visibility\": true\n }\n ]\n },\n \"groupBy\": {\n \"value\": \"subject\",\n \"defaultValue\": \"subject\"\n },\n \"collectionType\": \"Textbook\",\n \"collectionList\": [],\n \"status\": [\n \"Draft\",\n \"Live\"\n ]\n }\n },\n {\n \"id\": \"ng.sunbird.chapterList\",\n \"ver\": \"1.0\",\n \"compId\": \"chapterListComponent\",\n \"author\": \"Kartheek\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {\n \"contentTypes\": {\n \"value\": [\n {\n \"id\": \"explanationContent\",\n \"label\": \"Explanation\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"video/mp4\",\n \"video/webm\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Explanation Resource\",\n \"description\": \"ExplanationResource\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ExplanationResource\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553051403878414/artifact/explanation.thumb_1576602846206.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, mp4, webm, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"learningActivity\",\n \"label\": \"Activity for Learning\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"video/mp4\",\n \"video/webm\",\n \"application/epub\",\n \"application/vnd.ekstep.h5p-archive\"\n ],\n \"metadata\": {\n \"name\": \"Activity for Learning\",\n \"description\": \"LearningActivity\",\n \"resourceType\": \"Read\",\n \"contentType\": \"LearningActivity\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, mp4, webm, epub, h5p\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"experientialContent\",\n \"label\": \"Experiential\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"video/mp4\",\n \"video/webm\"\n ],\n \"metadata\": {\n \"name\": \"Experiential Resource\",\n \"description\": \"ExperientialResource\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ExperientialResource\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553051403878414/artifact/explanation.thumb_1576602846206.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"mp4, webm\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"classroomTeachingVideo\",\n \"label\": \"Classroom Teaching Video\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"video/mp4\",\n \"video/webm\"\n ],\n \"metadata\": {\n \"name\": \"Classroom Teaching Video\",\n \"description\": \"ClassroomTeachingVideo\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ClassroomTeachingVideo\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"mp4, webm\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"explanationVideo\",\n \"label\": \"Explanation Video\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"video/mp4\",\n \"video/webm\"\n ],\n \"metadata\": {\n \"name\": \"Explanation Video\",\n \"description\": \"ExplanationVideo\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ExplanationVideo\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"mp4, webm\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"explanationReadingMaterial\",\n \"label\": \"Explanation Reading Material\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Explanation Reading Material\",\n \"description\": \"ExplanationReadingMaterial\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ExplanationReadingMaterial\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"previousBoardExamPapers\",\n \"label\": \"Previous Board Exam Papers\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Previous Board Exam Papers\",\n \"description\": \"PreviousBoardExamPapers\",\n \"resourceType\": \"Read\",\n \"contentType\": \"PreviousBoardExamPapers\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"lessonPlanResource\",\n \"label\": \"Lesson Plan\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Lesson Plan\",\n \"description\": \"LessonPlanResource\",\n \"resourceType\": \"Read\",\n \"contentType\": \"LessonPlanResource\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"focusSpotContent\",\n \"label\": \"FocusSpot\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"FocusSpot Resource\",\n \"description\": \"FocusSpot\",\n \"resourceType\": \"Read\",\n \"contentType\": \"FocusSpot\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"TeachingMethod\",\n \"label\": \"Teaching Method\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Teaching Method\",\n \"description\": \"TeachingMethod\",\n \"resourceType\": \"Read\",\n \"contentType\": \"TeachingMethod\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"PedagogyFlow\",\n \"label\": \"Pedagogy Flow\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Pedagogy Flow\",\n \"description\": \"PedagogyFlow\",\n \"resourceType\": \"Read\",\n \"contentType\": \"PedagogyFlow\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"LearningOutcomeDefinition\",\n \"label\": \"Learning Outcome Definition\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Learning Outcome Definition\",\n \"description\": \"LearningOutcomeDefinition\",\n \"resourceType\": \"Read\",\n \"contentType\": \"LearningOutcomeDefinition\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"MarkingSchemeRubric\",\n \"label\": \"Marking Scheme Rubric\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Marking Scheme Rubric\",\n \"description\": \"MarkingSchemeRubric\",\n \"resourceType\": \"Read\",\n \"contentType\": \"MarkingSchemeRubric\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"ConceptMap\",\n \"label\": \"Concept Map\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Concept Map\",\n \"description\": \"ConceptMap\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ConceptMap\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"SelfAssess\",\n \"label\": \"Self Assess\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Self Assess\",\n \"description\": \"SelfAssess\",\n \"resourceType\": \"Read\",\n \"contentType\": \"SelfAssess\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"vsaPracticeQuestionContent\",\n \"label\": \"VSA - Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"PracticeQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"vsa\"\n ]\n },\n {\n \"id\": \"saPracticeQuestionContent\",\n \"label\": \"SA - Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"PracticeQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"sa\"\n ]\n },\n {\n \"id\": \"laPracticeQuestionContent\",\n \"label\": \"LA - Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"PracticeQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"la\"\n ]\n },\n {\n \"id\": \"mcqPracticeQuestionContent\",\n \"label\": \"MCQ - Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"PracticeQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"mcq\"\n ]\n },\n {\n \"id\": \"curiositySetContent\",\n \"label\": \"Curiosity Sets\",\n \"onClick\": \"curiositySetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Curiosity QuestionSet\",\n \"description\": \"Curiosity QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"CuriosityQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"curiosity\"\n ]\n }\n ],\n \"defaultValue\": [\n {\n \"id\": \"vsaPracticeQuestionContent\",\n \"label\": \"Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"PracticeQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"vsa\"\n ]\n }\n ]\n }\n }\n },\n {\n \"id\": \"ng.sunbird.uploadComponent\",\n \"ver\": \"1.0\",\n \"compId\": \"uploadContentComponent\",\n \"author\": \"Kartheek\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {\n \"filesConfig\": {\n \"accepted\": \"pdf, mp4, webm, h5p, epub\",\n \"size\": \"50\"\n },\n \"formConfiguration\": [\n {\n \"code\": \"learningOutcome\",\n \"dataType\": \"list\",\n \"description\": \"Learning Outcomes For The Content\",\n \"editable\": true,\n \"inputType\": \"multiselect\",\n \"label\": \"Learning Outcome\",\n \"name\": \"LearningOutcome\",\n \"placeholder\": \"Select Learning Outcomes\",\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"list\",\n \"description\": \"Enter Attributions\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"name\": \"Attributions\",\n \"placeholder\": \"Enter Attributions\",\n \"required\": false,\n \"visible\": true,\n \"helpText\": \"If you have relied on another work to create this Content, provide the name of that creator and the source of that work.\"\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Enter Copyright and Year\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright and Year\",\n \"name\": \"Copyright\",\n \"placeholder\": \"Enter Copyright and Year\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"If you are an individual, creating original Content, you are the copyright holder. If you are creating Content on behalf of an organisation, the organisation may be the copyright holder. Please fill as , \"\n },\n {\n \"code\": \"creator\",\n \"dataType\": \"text\",\n \"description\": \"Enter The Author Name\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Author\",\n \"name\": \"Author\",\n \"placeholder\": \"Enter Author Name\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"Provide name of creator of this Content.\"\n },\n {\n \"code\": \"license\",\n \"dataType\": \"list\",\n \"description\": \"License For The Content\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"label\": \"License\",\n \"name\": \"License\",\n \"placeholder\": \"Select License\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"Choose the most appropriate Creative Commons License for this Content\"\n },\n {\n \"code\": \"contentPolicyCheck\",\n \"dataType\": \"boolean\",\n \"editable\": false,\n \"inputType\": \"checkbox\",\n \"name\": \"Content Policy Check\",\n \"required\": true,\n \"visible\": true\n }\n ],\n \"resourceTitleLength\": \"200\",\n \"tenantName\": \"SunbirdEd\"\n }\n },\n {\n \"id\": \"ng.sunbird.practiceSetComponent\",\n \"ver\": \"1.0\",\n \"compId\": \"practiceSetComponent\",\n \"author\": \"Kartheek\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {\n \"No of options\": 4,\n \"solutionType\": [\n \"Video\",\n \"Text & image\"\n ],\n \"questionCategory\": [\n \"vsa\",\n \"sa\",\n \"ls\",\n \"mcq\",\n \"curiosity\"\n ],\n \"formConfiguration\": [\n {\n \"code\": \"learningOutcome\",\n \"dataType\": \"list\",\n \"description\": \"Learning Outcomes For The Content\",\n \"editable\": true,\n \"inputType\": \"multiselect\",\n \"label\": \"Learning Outcome\",\n \"name\": \"LearningOutcome\",\n \"placeholder\": \"Select Learning Outcomes\",\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"list\",\n \"description\": \"Enter Attributions\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"name\": \"Attributions\",\n \"placeholder\": \"Enter Attributions\",\n \"required\": false,\n \"visible\": true,\n \"helpText\": \"If you have relied on another work to create this Content, provide the name of that creator and the source of that work.\"\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Enter Copyright and Year\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright and Year\",\n \"name\": \"Copyright\",\n \"placeholder\": \"Enter Copyright and Year\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"If you are an individual, creating original Content, you are the copyright holder. If you are creating Content on behalf of an organisation, the organisation may be the copyright holder. Please fill as , \"\n },\n {\n \"code\": \"creator\",\n \"dataType\": \"text\",\n \"description\": \"Enter The Author Name\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Author\",\n \"name\": \"Author\",\n \"placeholder\": \"Enter Author Name\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"Provide name of creator of this Content.\"\n },\n {\n \"code\": \"license\",\n \"dataType\": \"list\",\n \"description\": \"License For The Content\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"label\": \"License\",\n \"name\": \"License\",\n \"placeholder\": \"Select License\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"Choose the most appropriate Creative Commons License for this Content\"\n },\n {\n \"code\": \"contentPolicyCheck\",\n \"dataType\": \"boolean\",\n \"editable\": false,\n \"inputType\": \"checkbox\",\n \"name\": \"Content Policy Check\",\n \"required\": true,\n \"visible\": true\n }\n ],\n \"resourceTitleLength\": \"200\",\n \"tenantName\": \"\",\n \"assetConfig\": {\n \"image\": {\n \"size\": \"50\",\n \"accepted\": \"jpeg, png, jpg\"\n },\n \"video\": {\n \"size\": \"50\",\n \"accepted\": \"pdf, mp4, webm, youtube\"\n }\n }\n }\n },\n {\n \"id\": \"ng.sunbird.dashboard\",\n \"ver\": \"1.0\",\n \"compId\": \"dashboardComp\",\n \"author\": \"Venkanna Gouda\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {}\n }\n ],\n \"sharedContext\": [\n \"channel\",\n \"framework\",\n \"board\",\n \"medium\",\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"collections\": [\n {\n \"id\": \"do_113133960314445824150\",\n \"allowed_content_types\": [],\n \"children\": []\n },\n {\n \"id\": \"do_113133934143201280130\",\n \"allowed_content_types\": [],\n \"children\": []\n },\n {\n \"id\": \"do_113133920029196288117\",\n \"allowed_content_types\": [],\n \"children\": []\n }\n ]\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/update", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "update" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Thu, 03 Dec 2020 08:53:26 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "299" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-DNS-Prefetch-Control", + "value": "off" + }, + { + "key": "X-Frame-Options", + "value": "SAMEORIGIN" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15552000; includeSubDomains" + }, + { + "key": "X-Download-Options", + "value": "noopen" + }, + { + "key": "X-Content-Type-Options", + "value": "nosniff" + }, + { + "key": "X-XSS-Protection", + "value": "1; mode=block" + }, + { + "key": "x-ratelimit-limit-hour", + "value": "30000" + }, + { + "key": "x-ratelimit-remaining-hour", + "value": "29977" + }, + { + "key": "x-powered-by", + "value": "Express" + }, + { + "key": "access-control-allow-origin", + "value": "*" + }, + { + "key": "access-control-allow-methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "access-control-allow-headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "etag", + "value": "W/\"12b-WcbPdKyIf6GxMvhGEoN9ZhfWHBQ\"" + }, + { + "key": "x-kong-upstream-latency", + "value": "7" + }, + { + "key": "x-kong-proxy-latency", + "value": "0" + }, + { + "key": "via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.v1.update\",\n \"ver\": \"1.0\",\n \"ts\": \"2020-12-03T08:53:26.127Z\",\n \"params\": {\n \"resmsgid\": \"01a0e7f0-3545-11eb-84ed-692ec8c8dbe9\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_UPDATE_PROGRAM_DATA\",\n \"errmsg\": \"Required fields while updating program data are missing\"\n },\n \"responseCode\": \"CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "400 Bad Request", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal" + }, + { + "key": "ts", + "value": "2020-12-02T17:43:07+05:30" + }, + { + "key": "X-msgid", + "value": "e3fdfffd-e12e-7272-8c12-989eec3e3b3a" + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web" + }, + { + "key": "X-Device-ID", + "value": "6a6ec694e694548fef971f85910385bd" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin" + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors" + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty" + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/sourcing/create-program" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3AcaEnehC6-uy_KeUIERCclp4psONUAj6U.FQ6wkXD5Pz6jWMRTOE3CGS%2FRszGF8PEmszrnx3AcpNM" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {}\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/update", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "update" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Thu, 03 Dec 2020 08:41:16 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "299" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-DNS-Prefetch-Control", + "value": "off" + }, + { + "key": "X-Frame-Options", + "value": "SAMEORIGIN" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15552000; includeSubDomains" + }, + { + "key": "X-Download-Options", + "value": "noopen" + }, + { + "key": "X-Content-Type-Options", + "value": "nosniff" + }, + { + "key": "X-XSS-Protection", + "value": "1; mode=block" + }, + { + "key": "x-ratelimit-limit-hour", + "value": "30000" + }, + { + "key": "x-ratelimit-remaining-hour", + "value": "29982" + }, + { + "key": "x-powered-by", + "value": "Express" + }, + { + "key": "access-control-allow-origin", + "value": "*" + }, + { + "key": "access-control-allow-methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "access-control-allow-headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "etag", + "value": "W/\"12b-SPDyBSCOpQQicSYefH5Q+WUhgGM\"" + }, + { + "key": "x-kong-upstream-latency", + "value": "6" + }, + { + "key": "x-kong-proxy-latency", + "value": "0" + }, + { + "key": "via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.v1.update\",\n \"ver\": \"1.0\",\n \"ts\": \"2020-12-03T08:41:16.057Z\",\n \"params\": {\n \"resmsgid\": \"4e791090-3543-11eb-84ed-692ec8c8dbe9\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_UPDATE_PROGRAM_DATA\",\n \"errmsg\": \"Required fields while updating program data are missing\"\n },\n \"responseCode\": \"CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "401 Unauthorized", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"name\": \"Check Nomination\",\n \"description\": \"Nomination for add and remove\",\n \"nomination_enddate\": \"2020-12-01T18:30:00.000Z\",\n \"shortlisting_enddate\": \"2021-01-08T18:30:00.000Z\",\n \"content_submission_enddate\": \"2021-02-06T18:30:00.000Z\",\n \"rewards\": \"Nomination check for add and remove\",\n \"content_types\": [\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Teacher Resource\"\n ],\n \"target_collection_category\": [\n \"Digital Textbook\"\n ],\n \"sourcing_org_name\": \"Vidya2\",\n \"rootorg_id\": \"012983850117177344161\",\n \"createdby\": \"48dc0e70-2775-474b-9b78-def27d047836\",\n \"createdon\": \"2020-12-02T12:13:07.573Z\",\n \"startdate\": \"2020-12-02T12:13:07.573Z\",\n \"slug\": \"sunbird\",\n \"type\": \"public\",\n \"default_roles\": [\n \"CONTRIBUTOR\"\n ],\n \"enddate\": \"2021-03-06T18:30:00.000Z\",\n \"status\": \"Draft\",\n \"program_id\": \"a043dc40-3497-11eb-9c32-15914148e3ce\",\n \"collection_ids\": [\n null,\n null,\n null\n ],\n \"config\": {\n \"defaultContributeOrgReview\": true,\n \"_comments\": \"\",\n \"loginReqired\": true,\n \"framework\": [\n \"ekstep_ncert_k-12\"\n ],\n \"board\": [],\n \"gradeLevel\": [],\n \"medium\": [\n null\n ],\n \"subject\": [\n null\n ],\n \"roles\": [\n {\n \"id\": 1,\n \"name\": \"CONTRIBUTOR\",\n \"default\": true,\n \"defaultTab\": 1,\n \"tabs\": [\n 1\n ]\n },\n {\n \"id\": 2,\n \"name\": \"REVIEWER\",\n \"defaultTab\": 2,\n \"tabs\": [\n 2\n ]\n }\n ],\n \"header\": {\n \"id\": \"ng.sunbird.header\",\n \"ver\": \"1.0\",\n \"compId\": \"headerComp\",\n \"author\": \"Venkat\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {\n \"tabs\": [\n {\n \"index\": 1,\n \"label\": \"Contribute\",\n \"onClick\": \"collectionComponent\"\n },\n {\n \"index\": 2,\n \"label\": \"Review\",\n \"onClick\": \"collectionComponent\"\n },\n {\n \"index\": 3,\n \"label\": \"Dashboard\",\n \"onClick\": \"dashboardComponent\"\n }\n ]\n }\n },\n \"components\": [\n {\n \"id\": \"ng.sunbird.collection\",\n \"ver\": \"1.0\",\n \"compId\": \"collectionComponent\",\n \"author\": \"Venkat\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {\n \"filters\": {\n \"implicit\": [\n {\n \"code\": \"framework\",\n \"defaultValue\": \"ekstep_ncert_k-12\",\n \"label\": \"Framework\"\n },\n {\n \"code\": \"board\",\n \"defaultValue\": \"CBSE\",\n \"label\": \"Board\"\n },\n {\n \"code\": \"medium\",\n \"defaultValue\": [\n \"English\"\n ],\n \"label\": \"Medium\"\n }\n ],\n \"explicit\": [\n {\n \"code\": \"gradeLevel\",\n \"range\": [\n \"Kindergarten\",\n \"Grade 1\",\n \"Grade 2\",\n \"Grade 3\"\n ],\n \"label\": \"Class\",\n \"multiselect\": false,\n \"defaultValue\": [\n \"Kindergarten\",\n \"Grade 1\"\n ],\n \"visibility\": true\n },\n {\n \"code\": \"subject\",\n \"range\": [\n \"English\",\n \"Mathematics\",\n \"Hindi\"\n ],\n \"label\": \"Subject\",\n \"multiselect\": false,\n \"defaultValue\": [\n \"English\"\n ],\n \"visibility\": true\n }\n ]\n },\n \"groupBy\": {\n \"value\": \"subject\",\n \"defaultValue\": \"subject\"\n },\n \"collectionType\": \"Textbook\",\n \"collectionList\": [],\n \"status\": [\n \"Draft\",\n \"Live\"\n ]\n }\n },\n {\n \"id\": \"ng.sunbird.chapterList\",\n \"ver\": \"1.0\",\n \"compId\": \"chapterListComponent\",\n \"author\": \"Kartheek\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {\n \"contentTypes\": {\n \"value\": [\n {\n \"id\": \"explanationContent\",\n \"label\": \"Explanation\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"video/mp4\",\n \"video/webm\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Explanation Resource\",\n \"description\": \"ExplanationResource\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ExplanationResource\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553051403878414/artifact/explanation.thumb_1576602846206.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, mp4, webm, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"learningActivity\",\n \"label\": \"Activity for Learning\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"video/mp4\",\n \"video/webm\",\n \"application/epub\",\n \"application/vnd.ekstep.h5p-archive\"\n ],\n \"metadata\": {\n \"name\": \"Activity for Learning\",\n \"description\": \"LearningActivity\",\n \"resourceType\": \"Read\",\n \"contentType\": \"LearningActivity\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, mp4, webm, epub, h5p\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"experientialContent\",\n \"label\": \"Experiential\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"video/mp4\",\n \"video/webm\"\n ],\n \"metadata\": {\n \"name\": \"Experiential Resource\",\n \"description\": \"ExperientialResource\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ExperientialResource\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553051403878414/artifact/explanation.thumb_1576602846206.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"mp4, webm\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"classroomTeachingVideo\",\n \"label\": \"Classroom Teaching Video\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"video/mp4\",\n \"video/webm\"\n ],\n \"metadata\": {\n \"name\": \"Classroom Teaching Video\",\n \"description\": \"ClassroomTeachingVideo\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ClassroomTeachingVideo\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"mp4, webm\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"explanationVideo\",\n \"label\": \"Explanation Video\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"video/mp4\",\n \"video/webm\"\n ],\n \"metadata\": {\n \"name\": \"Explanation Video\",\n \"description\": \"ExplanationVideo\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ExplanationVideo\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"mp4, webm\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"explanationReadingMaterial\",\n \"label\": \"Explanation Reading Material\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Explanation Reading Material\",\n \"description\": \"ExplanationReadingMaterial\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ExplanationReadingMaterial\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"previousBoardExamPapers\",\n \"label\": \"Previous Board Exam Papers\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Previous Board Exam Papers\",\n \"description\": \"PreviousBoardExamPapers\",\n \"resourceType\": \"Read\",\n \"contentType\": \"PreviousBoardExamPapers\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"lessonPlanResource\",\n \"label\": \"Lesson Plan\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Lesson Plan\",\n \"description\": \"LessonPlanResource\",\n \"resourceType\": \"Read\",\n \"contentType\": \"LessonPlanResource\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"focusSpotContent\",\n \"label\": \"FocusSpot\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"FocusSpot Resource\",\n \"description\": \"FocusSpot\",\n \"resourceType\": \"Read\",\n \"contentType\": \"FocusSpot\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"TeachingMethod\",\n \"label\": \"Teaching Method\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Teaching Method\",\n \"description\": \"TeachingMethod\",\n \"resourceType\": \"Read\",\n \"contentType\": \"TeachingMethod\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"PedagogyFlow\",\n \"label\": \"Pedagogy Flow\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Pedagogy Flow\",\n \"description\": \"PedagogyFlow\",\n \"resourceType\": \"Read\",\n \"contentType\": \"PedagogyFlow\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"LearningOutcomeDefinition\",\n \"label\": \"Learning Outcome Definition\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Learning Outcome Definition\",\n \"description\": \"LearningOutcomeDefinition\",\n \"resourceType\": \"Read\",\n \"contentType\": \"LearningOutcomeDefinition\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"MarkingSchemeRubric\",\n \"label\": \"Marking Scheme Rubric\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Marking Scheme Rubric\",\n \"description\": \"MarkingSchemeRubric\",\n \"resourceType\": \"Read\",\n \"contentType\": \"MarkingSchemeRubric\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"ConceptMap\",\n \"label\": \"Concept Map\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Concept Map\",\n \"description\": \"ConceptMap\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ConceptMap\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"SelfAssess\",\n \"label\": \"Self Assess\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Self Assess\",\n \"description\": \"SelfAssess\",\n \"resourceType\": \"Read\",\n \"contentType\": \"SelfAssess\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"vsaPracticeQuestionContent\",\n \"label\": \"VSA - Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"PracticeQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"vsa\"\n ]\n },\n {\n \"id\": \"saPracticeQuestionContent\",\n \"label\": \"SA - Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"PracticeQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"sa\"\n ]\n },\n {\n \"id\": \"laPracticeQuestionContent\",\n \"label\": \"LA - Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"PracticeQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"la\"\n ]\n },\n {\n \"id\": \"mcqPracticeQuestionContent\",\n \"label\": \"MCQ - Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"PracticeQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"mcq\"\n ]\n },\n {\n \"id\": \"curiositySetContent\",\n \"label\": \"Curiosity Sets\",\n \"onClick\": \"curiositySetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Curiosity QuestionSet\",\n \"description\": \"Curiosity QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"CuriosityQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"curiosity\"\n ]\n }\n ],\n \"defaultValue\": [\n {\n \"id\": \"vsaPracticeQuestionContent\",\n \"label\": \"Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"PracticeQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"vsa\"\n ]\n }\n ]\n }\n }\n },\n {\n \"id\": \"ng.sunbird.uploadComponent\",\n \"ver\": \"1.0\",\n \"compId\": \"uploadContentComponent\",\n \"author\": \"Kartheek\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {\n \"filesConfig\": {\n \"accepted\": \"pdf, mp4, webm, h5p, epub\",\n \"size\": \"50\"\n },\n \"formConfiguration\": [\n {\n \"code\": \"learningOutcome\",\n \"dataType\": \"list\",\n \"description\": \"Learning Outcomes For The Content\",\n \"editable\": true,\n \"inputType\": \"multiselect\",\n \"label\": \"Learning Outcome\",\n \"name\": \"LearningOutcome\",\n \"placeholder\": \"Select Learning Outcomes\",\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"list\",\n \"description\": \"Enter Attributions\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"name\": \"Attributions\",\n \"placeholder\": \"Enter Attributions\",\n \"required\": false,\n \"visible\": true,\n \"helpText\": \"If you have relied on another work to create this Content, provide the name of that creator and the source of that work.\"\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Enter Copyright and Year\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright and Year\",\n \"name\": \"Copyright\",\n \"placeholder\": \"Enter Copyright and Year\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"If you are an individual, creating original Content, you are the copyright holder. If you are creating Content on behalf of an organisation, the organisation may be the copyright holder. Please fill as , \"\n },\n {\n \"code\": \"creator\",\n \"dataType\": \"text\",\n \"description\": \"Enter The Author Name\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Author\",\n \"name\": \"Author\",\n \"placeholder\": \"Enter Author Name\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"Provide name of creator of this Content.\"\n },\n {\n \"code\": \"license\",\n \"dataType\": \"list\",\n \"description\": \"License For The Content\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"label\": \"License\",\n \"name\": \"License\",\n \"placeholder\": \"Select License\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"Choose the most appropriate Creative Commons License for this Content\"\n },\n {\n \"code\": \"contentPolicyCheck\",\n \"dataType\": \"boolean\",\n \"editable\": false,\n \"inputType\": \"checkbox\",\n \"name\": \"Content Policy Check\",\n \"required\": true,\n \"visible\": true\n }\n ],\n \"resourceTitleLength\": \"200\",\n \"tenantName\": \"SunbirdEd\"\n }\n },\n {\n \"id\": \"ng.sunbird.practiceSetComponent\",\n \"ver\": \"1.0\",\n \"compId\": \"practiceSetComponent\",\n \"author\": \"Kartheek\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {\n \"No of options\": 4,\n \"solutionType\": [\n \"Video\",\n \"Text & image\"\n ],\n \"questionCategory\": [\n \"vsa\",\n \"sa\",\n \"ls\",\n \"mcq\",\n \"curiosity\"\n ],\n \"formConfiguration\": [\n {\n \"code\": \"learningOutcome\",\n \"dataType\": \"list\",\n \"description\": \"Learning Outcomes For The Content\",\n \"editable\": true,\n \"inputType\": \"multiselect\",\n \"label\": \"Learning Outcome\",\n \"name\": \"LearningOutcome\",\n \"placeholder\": \"Select Learning Outcomes\",\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"list\",\n \"description\": \"Enter Attributions\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"name\": \"Attributions\",\n \"placeholder\": \"Enter Attributions\",\n \"required\": false,\n \"visible\": true,\n \"helpText\": \"If you have relied on another work to create this Content, provide the name of that creator and the source of that work.\"\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Enter Copyright and Year\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright and Year\",\n \"name\": \"Copyright\",\n \"placeholder\": \"Enter Copyright and Year\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"If you are an individual, creating original Content, you are the copyright holder. If you are creating Content on behalf of an organisation, the organisation may be the copyright holder. Please fill as , \"\n },\n {\n \"code\": \"creator\",\n \"dataType\": \"text\",\n \"description\": \"Enter The Author Name\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Author\",\n \"name\": \"Author\",\n \"placeholder\": \"Enter Author Name\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"Provide name of creator of this Content.\"\n },\n {\n \"code\": \"license\",\n \"dataType\": \"list\",\n \"description\": \"License For The Content\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"label\": \"License\",\n \"name\": \"License\",\n \"placeholder\": \"Select License\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"Choose the most appropriate Creative Commons License for this Content\"\n },\n {\n \"code\": \"contentPolicyCheck\",\n \"dataType\": \"boolean\",\n \"editable\": false,\n \"inputType\": \"checkbox\",\n \"name\": \"Content Policy Check\",\n \"required\": true,\n \"visible\": true\n }\n ],\n \"resourceTitleLength\": \"200\",\n \"tenantName\": \"\",\n \"assetConfig\": {\n \"image\": {\n \"size\": \"50\",\n \"accepted\": \"jpeg, png, jpg\"\n },\n \"video\": {\n \"size\": \"50\",\n \"accepted\": \"pdf, mp4, webm, youtube\"\n }\n }\n }\n },\n {\n \"id\": \"ng.sunbird.dashboard\",\n \"ver\": \"1.0\",\n \"compId\": \"dashboardComp\",\n \"author\": \"Venkanna Gouda\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {}\n }\n ],\n \"sharedContext\": [\n \"channel\",\n \"framework\",\n \"board\",\n \"medium\",\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"collections\": [\n {\n \"id\": \"do_113133960314445824150\",\n \"allowed_content_types\": [],\n \"children\": []\n },\n {\n \"id\": \"do_113133934143201280130\",\n \"allowed_content_types\": [],\n \"children\": []\n },\n {\n \"id\": \"do_113133920029196288117\",\n \"allowed_content_types\": [],\n \"children\": []\n }\n ]\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/update", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "update" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Fri, 23 Dec 2022 12:33:39 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + } + ], + "cookie": [], + "body": "{\n \"message\": \"Unauthorized\"\n}" + }, + { + "name": "404 Not Found", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal" + }, + { + "key": "ts", + "value": "2020-12-02T17:43:07+05:30" + }, + { + "key": "X-msgid", + "value": "e3fdfffd-e12e-7272-8c12-989eec3e3b3a" + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web" + }, + { + "key": "X-Device-ID", + "value": "6a6ec694e694548fef971f85910385bd" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin" + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors" + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty" + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/sourcing/create-program" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3AcaEnehC6-uy_KeUIERCclp4psONUAj6U.FQ6wkXD5Pz6jWMRTOE3CGS%2FRszGF8PEmszrnx3AcpNM" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"name\": \"Check Nomination\",\n \"description\": \"Nomination for add and remove\",\n \"nomination_enddate\": \"2020-12-01T18:30:00.000Z\",\n \"shortlisting_enddate\": \"2021-01-08T18:30:00.000Z\",\n \"content_submission_enddate\": \"2021-02-06T18:30:00.000Z\",\n \"rewards\": \"Nomination check for add and remove\",\n \"content_types\": [\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Teacher Resource\"\n ],\n \"target_collection_category\": [\n \"Digital Textbook\"\n ],\n \"sourcing_org_name\": \"Vidya2\",\n \"rootorg_id\": \"012983850117177344161\",\n \"createdby\": \"48dc0e70-2775-474b-9b78-def27d047836\",\n \"createdon\": \"2020-12-02T12:13:07.573Z\",\n \"startdate\": \"2020-12-02T12:13:07.573Z\",\n \"slug\": \"sunbird\",\n \"type\": \"public\",\n \"default_roles\": [\n \"CONTRIBUTOR\"\n ],\n \"enddate\": \"2021-03-06T18:30:00.000Z\",\n \"status\": \"Draft\",\n \"program_id\": \"a043dc40-3497-11eb-9c32-15914148e3ce\",\n \"collection_ids\": [\n null,\n null,\n null\n ],\n \"config\": {\n \"defaultContributeOrgReview\": true,\n \"_comments\": \"\",\n \"loginReqired\": true,\n \"framework\": [\n \"ekstep_ncert_k-12\"\n ],\n \"board\": [],\n \"gradeLevel\": [],\n \"medium\": [\n null\n ],\n \"subject\": [\n null\n ],\n \"roles\": [\n {\n \"id\": 1,\n \"name\": \"CONTRIBUTOR\",\n \"default\": true,\n \"defaultTab\": 1,\n \"tabs\": [\n 1\n ]\n },\n {\n \"id\": 2,\n \"name\": \"REVIEWER\",\n \"defaultTab\": 2,\n \"tabs\": [\n 2\n ]\n }\n ],\n \"header\": {\n \"id\": \"ng.sunbird.header\",\n \"ver\": \"1.0\",\n \"compId\": \"headerComp\",\n \"author\": \"Venkat\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {\n \"tabs\": [\n {\n \"index\": 1,\n \"label\": \"Contribute\",\n \"onClick\": \"collectionComponent\"\n },\n {\n \"index\": 2,\n \"label\": \"Review\",\n \"onClick\": \"collectionComponent\"\n },\n {\n \"index\": 3,\n \"label\": \"Dashboard\",\n \"onClick\": \"dashboardComponent\"\n }\n ]\n }\n },\n \"components\": [\n {\n \"id\": \"ng.sunbird.collection\",\n \"ver\": \"1.0\",\n \"compId\": \"collectionComponent\",\n \"author\": \"Venkat\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {\n \"filters\": {\n \"implicit\": [\n {\n \"code\": \"framework\",\n \"defaultValue\": \"ekstep_ncert_k-12\",\n \"label\": \"Framework\"\n },\n {\n \"code\": \"board\",\n \"defaultValue\": \"CBSE\",\n \"label\": \"Board\"\n },\n {\n \"code\": \"medium\",\n \"defaultValue\": [\n \"English\"\n ],\n \"label\": \"Medium\"\n }\n ],\n \"explicit\": [\n {\n \"code\": \"gradeLevel\",\n \"range\": [\n \"Kindergarten\",\n \"Grade 1\",\n \"Grade 2\",\n \"Grade 3\"\n ],\n \"label\": \"Class\",\n \"multiselect\": false,\n \"defaultValue\": [\n \"Kindergarten\",\n \"Grade 1\"\n ],\n \"visibility\": true\n },\n {\n \"code\": \"subject\",\n \"range\": [\n \"English\",\n \"Mathematics\",\n \"Hindi\"\n ],\n \"label\": \"Subject\",\n \"multiselect\": false,\n \"defaultValue\": [\n \"English\"\n ],\n \"visibility\": true\n }\n ]\n },\n \"groupBy\": {\n \"value\": \"subject\",\n \"defaultValue\": \"subject\"\n },\n \"collectionType\": \"Textbook\",\n \"collectionList\": [],\n \"status\": [\n \"Draft\",\n \"Live\"\n ]\n }\n },\n {\n \"id\": \"ng.sunbird.chapterList\",\n \"ver\": \"1.0\",\n \"compId\": \"chapterListComponent\",\n \"author\": \"Kartheek\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {\n \"contentTypes\": {\n \"value\": [\n {\n \"id\": \"explanationContent\",\n \"label\": \"Explanation\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"video/mp4\",\n \"video/webm\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Explanation Resource\",\n \"description\": \"ExplanationResource\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ExplanationResource\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553051403878414/artifact/explanation.thumb_1576602846206.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, mp4, webm, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"learningActivity\",\n \"label\": \"Activity for Learning\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"video/mp4\",\n \"video/webm\",\n \"application/epub\",\n \"application/vnd.ekstep.h5p-archive\"\n ],\n \"metadata\": {\n \"name\": \"Activity for Learning\",\n \"description\": \"LearningActivity\",\n \"resourceType\": \"Read\",\n \"contentType\": \"LearningActivity\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, mp4, webm, epub, h5p\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"experientialContent\",\n \"label\": \"Experiential\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"video/mp4\",\n \"video/webm\"\n ],\n \"metadata\": {\n \"name\": \"Experiential Resource\",\n \"description\": \"ExperientialResource\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ExperientialResource\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553051403878414/artifact/explanation.thumb_1576602846206.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"mp4, webm\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"classroomTeachingVideo\",\n \"label\": \"Classroom Teaching Video\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"video/mp4\",\n \"video/webm\"\n ],\n \"metadata\": {\n \"name\": \"Classroom Teaching Video\",\n \"description\": \"ClassroomTeachingVideo\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ClassroomTeachingVideo\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"mp4, webm\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"explanationVideo\",\n \"label\": \"Explanation Video\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"video/mp4\",\n \"video/webm\"\n ],\n \"metadata\": {\n \"name\": \"Explanation Video\",\n \"description\": \"ExplanationVideo\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ExplanationVideo\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"mp4, webm\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"explanationReadingMaterial\",\n \"label\": \"Explanation Reading Material\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Explanation Reading Material\",\n \"description\": \"ExplanationReadingMaterial\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ExplanationReadingMaterial\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"previousBoardExamPapers\",\n \"label\": \"Previous Board Exam Papers\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Previous Board Exam Papers\",\n \"description\": \"PreviousBoardExamPapers\",\n \"resourceType\": \"Read\",\n \"contentType\": \"PreviousBoardExamPapers\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"lessonPlanResource\",\n \"label\": \"Lesson Plan\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Lesson Plan\",\n \"description\": \"LessonPlanResource\",\n \"resourceType\": \"Read\",\n \"contentType\": \"LessonPlanResource\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"focusSpotContent\",\n \"label\": \"FocusSpot\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"FocusSpot Resource\",\n \"description\": \"FocusSpot\",\n \"resourceType\": \"Read\",\n \"contentType\": \"FocusSpot\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"TeachingMethod\",\n \"label\": \"Teaching Method\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Teaching Method\",\n \"description\": \"TeachingMethod\",\n \"resourceType\": \"Read\",\n \"contentType\": \"TeachingMethod\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"PedagogyFlow\",\n \"label\": \"Pedagogy Flow\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Pedagogy Flow\",\n \"description\": \"PedagogyFlow\",\n \"resourceType\": \"Read\",\n \"contentType\": \"PedagogyFlow\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"LearningOutcomeDefinition\",\n \"label\": \"Learning Outcome Definition\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Learning Outcome Definition\",\n \"description\": \"LearningOutcomeDefinition\",\n \"resourceType\": \"Read\",\n \"contentType\": \"LearningOutcomeDefinition\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"MarkingSchemeRubric\",\n \"label\": \"Marking Scheme Rubric\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Marking Scheme Rubric\",\n \"description\": \"MarkingSchemeRubric\",\n \"resourceType\": \"Read\",\n \"contentType\": \"MarkingSchemeRubric\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"ConceptMap\",\n \"label\": \"Concept Map\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Concept Map\",\n \"description\": \"ConceptMap\",\n \"resourceType\": \"Read\",\n \"contentType\": \"ConceptMap\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"SelfAssess\",\n \"label\": \"Self Assess\",\n \"onClick\": \"uploadComponent\",\n \"mimeType\": [\n \"application/pdf\",\n \"application/epub\"\n ],\n \"metadata\": {\n \"name\": \"Self Assess\",\n \"description\": \"SelfAssess\",\n \"resourceType\": \"Read\",\n \"contentType\": \"SelfAssess\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\n \"marks\": 5\n },\n \"filesConfig\": {\n \"accepted\": \"pdf, epub\",\n \"size\": \"50\"\n }\n },\n {\n \"id\": \"vsaPracticeQuestionContent\",\n \"label\": \"VSA - Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"PracticeQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"vsa\"\n ]\n },\n {\n \"id\": \"saPracticeQuestionContent\",\n \"label\": \"SA - Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"PracticeQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"sa\"\n ]\n },\n {\n \"id\": \"laPracticeQuestionContent\",\n \"label\": \"LA - Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"PracticeQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"la\"\n ]\n },\n {\n \"id\": \"mcqPracticeQuestionContent\",\n \"label\": \"MCQ - Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"PracticeQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"mcq\"\n ]\n },\n {\n \"id\": \"curiositySetContent\",\n \"label\": \"Curiosity Sets\",\n \"onClick\": \"curiositySetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Curiosity QuestionSet\",\n \"description\": \"Curiosity QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"CuriosityQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"curiosity\"\n ]\n }\n ],\n \"defaultValue\": [\n {\n \"id\": \"vsaPracticeQuestionContent\",\n \"label\": \"Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\",\n \"contentType\": \"PracticeQuestionSet\",\n \"audience\": [\n \"Learner\"\n ],\n \"appIcon\": \"\",\n \"marks\": 5\n },\n \"questionCategories\": [\n \"vsa\"\n ]\n }\n ]\n }\n }\n },\n {\n \"id\": \"ng.sunbird.uploadComponent\",\n \"ver\": \"1.0\",\n \"compId\": \"uploadContentComponent\",\n \"author\": \"Kartheek\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {\n \"filesConfig\": {\n \"accepted\": \"pdf, mp4, webm, h5p, epub\",\n \"size\": \"50\"\n },\n \"formConfiguration\": [\n {\n \"code\": \"learningOutcome\",\n \"dataType\": \"list\",\n \"description\": \"Learning Outcomes For The Content\",\n \"editable\": true,\n \"inputType\": \"multiselect\",\n \"label\": \"Learning Outcome\",\n \"name\": \"LearningOutcome\",\n \"placeholder\": \"Select Learning Outcomes\",\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"list\",\n \"description\": \"Enter Attributions\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"name\": \"Attributions\",\n \"placeholder\": \"Enter Attributions\",\n \"required\": false,\n \"visible\": true,\n \"helpText\": \"If you have relied on another work to create this Content, provide the name of that creator and the source of that work.\"\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Enter Copyright and Year\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright and Year\",\n \"name\": \"Copyright\",\n \"placeholder\": \"Enter Copyright and Year\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"If you are an individual, creating original Content, you are the copyright holder. If you are creating Content on behalf of an organisation, the organisation may be the copyright holder. Please fill as , \"\n },\n {\n \"code\": \"creator\",\n \"dataType\": \"text\",\n \"description\": \"Enter The Author Name\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Author\",\n \"name\": \"Author\",\n \"placeholder\": \"Enter Author Name\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"Provide name of creator of this Content.\"\n },\n {\n \"code\": \"license\",\n \"dataType\": \"list\",\n \"description\": \"License For The Content\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"label\": \"License\",\n \"name\": \"License\",\n \"placeholder\": \"Select License\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"Choose the most appropriate Creative Commons License for this Content\"\n },\n {\n \"code\": \"contentPolicyCheck\",\n \"dataType\": \"boolean\",\n \"editable\": false,\n \"inputType\": \"checkbox\",\n \"name\": \"Content Policy Check\",\n \"required\": true,\n \"visible\": true\n }\n ],\n \"resourceTitleLength\": \"200\",\n \"tenantName\": \"SunbirdEd\"\n }\n },\n {\n \"id\": \"ng.sunbird.practiceSetComponent\",\n \"ver\": \"1.0\",\n \"compId\": \"practiceSetComponent\",\n \"author\": \"Kartheek\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {\n \"No of options\": 4,\n \"solutionType\": [\n \"Video\",\n \"Text & image\"\n ],\n \"questionCategory\": [\n \"vsa\",\n \"sa\",\n \"ls\",\n \"mcq\",\n \"curiosity\"\n ],\n \"formConfiguration\": [\n {\n \"code\": \"learningOutcome\",\n \"dataType\": \"list\",\n \"description\": \"Learning Outcomes For The Content\",\n \"editable\": true,\n \"inputType\": \"multiselect\",\n \"label\": \"Learning Outcome\",\n \"name\": \"LearningOutcome\",\n \"placeholder\": \"Select Learning Outcomes\",\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"list\",\n \"description\": \"Enter Attributions\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"name\": \"Attributions\",\n \"placeholder\": \"Enter Attributions\",\n \"required\": false,\n \"visible\": true,\n \"helpText\": \"If you have relied on another work to create this Content, provide the name of that creator and the source of that work.\"\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Enter Copyright and Year\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright and Year\",\n \"name\": \"Copyright\",\n \"placeholder\": \"Enter Copyright and Year\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"If you are an individual, creating original Content, you are the copyright holder. If you are creating Content on behalf of an organisation, the organisation may be the copyright holder. Please fill as , \"\n },\n {\n \"code\": \"creator\",\n \"dataType\": \"text\",\n \"description\": \"Enter The Author Name\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Author\",\n \"name\": \"Author\",\n \"placeholder\": \"Enter Author Name\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"Provide name of creator of this Content.\"\n },\n {\n \"code\": \"license\",\n \"dataType\": \"list\",\n \"description\": \"License For The Content\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"label\": \"License\",\n \"name\": \"License\",\n \"placeholder\": \"Select License\",\n \"required\": true,\n \"visible\": true,\n \"helpText\": \"Choose the most appropriate Creative Commons License for this Content\"\n },\n {\n \"code\": \"contentPolicyCheck\",\n \"dataType\": \"boolean\",\n \"editable\": false,\n \"inputType\": \"checkbox\",\n \"name\": \"Content Policy Check\",\n \"required\": true,\n \"visible\": true\n }\n ],\n \"resourceTitleLength\": \"200\",\n \"tenantName\": \"\",\n \"assetConfig\": {\n \"image\": {\n \"size\": \"50\",\n \"accepted\": \"jpeg, png, jpg\"\n },\n \"video\": {\n \"size\": \"50\",\n \"accepted\": \"pdf, mp4, webm, youtube\"\n }\n }\n }\n },\n {\n \"id\": \"ng.sunbird.dashboard\",\n \"ver\": \"1.0\",\n \"compId\": \"dashboardComp\",\n \"author\": \"Venkanna Gouda\",\n \"description\": \"\",\n \"publishedDate\": \"\",\n \"data\": {},\n \"config\": {}\n }\n ],\n \"sharedContext\": [\n \"channel\",\n \"framework\",\n \"board\",\n \"medium\",\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"collections\": [\n {\n \"id\": \"do_113133960314445824150\",\n \"allowed_content_types\": [],\n \"children\": []\n },\n {\n \"id\": \"do_113133934143201280130\",\n \"allowed_content_types\": [],\n \"children\": []\n },\n {\n \"id\": \"do_113133920029196288117\",\n \"allowed_content_types\": [],\n \"children\": []\n }\n ]\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/update", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "update" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "html", + "header": [ + { + "key": "Date", + "value": "Thu, 03 Dec 2020 08:49:56 GMT" + }, + { + "key": "Content-Type", + "value": "text/html; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "156" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-DNS-Prefetch-Control", + "value": "off" + }, + { + "key": "X-Frame-Options", + "value": "SAMEORIGIN" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15552000; includeSubDomains" + }, + { + "key": "X-Download-Options", + "value": "noopen" + }, + { + "key": "x-content-type-options", + "value": "nosniff" + }, + { + "key": "X-XSS-Protection", + "value": "1; mode=block" + }, + { + "key": "x-ratelimit-limit-hour", + "value": "30000" + }, + { + "key": "x-ratelimit-remaining-hour", + "value": "29979" + }, + { + "key": "x-powered-by", + "value": "Express" + }, + { + "key": "access-control-allow-origin", + "value": "*" + }, + { + "key": "access-control-allow-methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "access-control-allow-headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "content-security-policy", + "value": "default-src 'self'" + }, + { + "key": "x-kong-upstream-latency", + "value": "7" + }, + { + "key": "x-kong-proxy-latency", + "value": "0" + }, + { + "key": "via", + "value": "kong/0.9.9" + }, + { + "key": "ETag", + "value": "W/\"9c-d46fLnEl43p3lyAkQPHC7Q8BuhI\"" + } + ], + "cookie": [], + "body": "\n\n \n \n Error\n \n \n
Cannot PUT /program/v1/update
\n \n" + } + ] + } + ], + "description": "StartFragment\n\nThis API updates the Program Data based on Program Id. - The _**v1/update**_ endpoint successfully Updates the Program Data for a particular Program Id.\n\n\\- Required fields cannot be null or empty\n\n\\- Backend Route: [http://program-service:6000/program/v1/update](http://program-service:6000/program/v1/update)\n\nEndFragment" + }, + { + "name": "Create", + "item": [ + { + "name": "Create Program", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var responseJson = pm.response.json();", + "", + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "", + "pm.test(\"response should be okay to process\", function () {", + " pm.response.to.not.be.error;", + " pm.response.to.not.have.jsonBody(\"error\");", + "});", + "", + "pm.test(\"response must be valid and have a body\", function () {", + " pm.response.to.be.ok;", + " pm.response.to.be.withBody;", + " pm.response.to.be.json;", + "});", + "", + "pm.test(\"Successful POST request\", () => {", + " pm.expect(pm.response.code).to.be.oneOf([200,201,202]);", + "});", + "", + "pm.test(\"Reading Response Code & Status\", () => {", + " pm.expect(responseJson.responseCode).to.eql(\"OK\");", + " pm.expect(responseJson.params.status).to.eql(\"successful\");", + " pm.expect(responseJson.result.program_id).not.to.empty;", + "});", + "", + "pm.test(\"Checking for Errors\",() => {", + " pm.expect(responseJson.params.err).to.eql(null);", + " pm.expect(responseJson.params.errmsg).to.eql(null);", + " pm.expect(responseJson.result).to.be.an('object');", + " pm.expect(responseJson.result).not.to.empty;", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\"request\":{\"name\":\"Check Nomination\",\"description\":\"Nomination for add and remove\",\"nomination_enddate\":\"2020-12-01T18:30:00.000Z\",\"shortlisting_enddate\":\"2021-01-08T18:30:00.000Z\",\"content_submission_enddate\":\"2021-02-06T18:30:00.000Z\",\"rewards\":\"Nomination check for add and remove\",\"content_types\":[],\"target_collection_category\":[null],\"sourcing_org_name\":\"Vidya2\",\"rootorg_id\":\"012983850117177344161\",\"createdby\":\"48dc0e70-2775-474b-9b78-def27d047836\",\"createdon\":\"2020-12-02T12:12:19.748Z\",\"startdate\":\"2020-12-02T12:12:19.748Z\",\"slug\":\"sunbird\",\"type\":\"public\",\"default_roles\":[\"CONTRIBUTOR\"],\"enddate\":\"2021-03-06T18:30:00.000Z\",\"status\":\"Draft\",\"program_id\":\"\",\"config\":{\"defaultContributeOrgReview\":true,\"_comments\":\"\",\"loginReqired\":true,\"framework\":\"ekstep_ncert_k-12\",\"board\":[],\"gradeLevel\":[],\"medium\":[],\"subject\":[],\"roles\":[{\"id\":1,\"name\":\"CONTRIBUTOR\",\"default\":true,\"defaultTab\":1,\"tabs\":[1]},{\"id\":2,\"name\":\"REVIEWER\",\"defaultTab\":2,\"tabs\":[2]}],\"header\":{\"id\":\"ng.sunbird.header\",\"ver\":\"1.0\",\"compId\":\"headerComp\",\"author\":\"Venkat\",\"description\":\"\",\"publishedDate\":\"\",\"data\":{},\"config\":{\"tabs\":[{\"index\":1,\"label\":\"Contribute\",\"onClick\":\"collectionComponent\"},{\"index\":2,\"label\":\"Review\",\"onClick\":\"collectionComponent\"},{\"index\":3,\"label\":\"Dashboard\",\"onClick\":\"dashboardComponent\"}]}},\"components\":[{\"id\":\"ng.sunbird.collection\",\"ver\":\"1.0\",\"compId\":\"collectionComponent\",\"author\":\"Venkat\",\"description\":\"\",\"publishedDate\":\"\",\"data\":{},\"config\":{\"filters\":{\"implicit\":[{\"code\":\"framework\",\"defaultValue\":\"ekstep_ncert_k-12\",\"label\":\"Framework\"},{\"code\":\"board\",\"defaultValue\":\"CBSE\",\"label\":\"Board\"},{\"code\":\"medium\",\"defaultValue\":[\"English\"],\"label\":\"Medium\"}],\"explicit\":[{\"code\":\"gradeLevel\",\"range\":[\"Kindergarten\",\"Grade 1\",\"Grade 2\",\"Grade 3\"],\"label\":\"Class\",\"multiselect\":false,\"defaultValue\":[\"Kindergarten\",\"Grade 1\"],\"visibility\":true},{\"code\":\"subject\",\"range\":[\"English\",\"Mathematics\",\"Hindi\"],\"label\":\"Subject\",\"multiselect\":false,\"defaultValue\":[\"English\"],\"visibility\":true}]},\"groupBy\":{\"value\":\"subject\",\"defaultValue\":\"subject\"},\"collectionType\":\"Textbook\",\"collectionList\":[],\"status\":[\"Draft\",\"Live\"]}},{\"id\":\"ng.sunbird.chapterList\",\"ver\":\"1.0\",\"compId\":\"chapterListComponent\",\"author\":\"Kartheek\",\"description\":\"\",\"publishedDate\":\"\",\"data\":{},\"config\":{\"contentTypes\":{\"value\":[{\"id\":\"explanationContent\",\"label\":\"Explanation\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"video/mp4\",\"video/webm\",\"application/epub\"],\"metadata\":{\"name\":\"Explanation Resource\",\"description\":\"ExplanationResource\",\"resourceType\":\"Read\",\"contentType\":\"ExplanationResource\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553051403878414/artifact/explanation.thumb_1576602846206.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, mp4, webm, epub\",\"size\":\"50\"}},{\"id\":\"learningActivity\",\"label\":\"Activity for Learning\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"video/mp4\",\"video/webm\",\"application/epub\",\"application/vnd.ekstep.h5p-archive\"],\"metadata\":{\"name\":\"Activity for Learning\",\"description\":\"LearningActivity\",\"resourceType\":\"Read\",\"contentType\":\"LearningActivity\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, mp4, webm, epub, h5p\",\"size\":\"50\"}},{\"id\":\"experientialContent\",\"label\":\"Experiential\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"video/mp4\",\"video/webm\"],\"metadata\":{\"name\":\"Experiential Resource\",\"description\":\"ExperientialResource\",\"resourceType\":\"Read\",\"contentType\":\"ExperientialResource\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553051403878414/artifact/explanation.thumb_1576602846206.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"mp4, webm\",\"size\":\"50\"}},{\"id\":\"classroomTeachingVideo\",\"label\":\"Classroom Teaching Video\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"video/mp4\",\"video/webm\"],\"metadata\":{\"name\":\"Classroom Teaching Video\",\"description\":\"ClassroomTeachingVideo\",\"resourceType\":\"Read\",\"contentType\":\"ClassroomTeachingVideo\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"filesConfig\":{\"accepted\":\"mp4, webm\",\"size\":\"50\"}},{\"id\":\"explanationVideo\",\"label\":\"Explanation Video\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"video/mp4\",\"video/webm\"],\"metadata\":{\"name\":\"Explanation Video\",\"description\":\"ExplanationVideo\",\"resourceType\":\"Read\",\"contentType\":\"ExplanationVideo\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"filesConfig\":{\"accepted\":\"mp4, webm\",\"size\":\"50\"}},{\"id\":\"explanationReadingMaterial\",\"label\":\"Explanation Reading Material\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Explanation Reading Material\",\"description\":\"ExplanationReadingMaterial\",\"resourceType\":\"Read\",\"contentType\":\"ExplanationReadingMaterial\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"previousBoardExamPapers\",\"label\":\"Previous Board Exam Papers\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Previous Board Exam Papers\",\"description\":\"PreviousBoardExamPapers\",\"resourceType\":\"Read\",\"contentType\":\"PreviousBoardExamPapers\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"lessonPlanResource\",\"label\":\"Lesson Plan\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Lesson Plan\",\"description\":\"LessonPlanResource\",\"resourceType\":\"Read\",\"contentType\":\"LessonPlanResource\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"focusSpotContent\",\"label\":\"FocusSpot\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"FocusSpot Resource\",\"description\":\"FocusSpot\",\"resourceType\":\"Read\",\"contentType\":\"FocusSpot\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"TeachingMethod\",\"label\":\"Teaching Method\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Teaching Method\",\"description\":\"TeachingMethod\",\"resourceType\":\"Read\",\"contentType\":\"TeachingMethod\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"PedagogyFlow\",\"label\":\"Pedagogy Flow\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Pedagogy Flow\",\"description\":\"PedagogyFlow\",\"resourceType\":\"Read\",\"contentType\":\"PedagogyFlow\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"LearningOutcomeDefinition\",\"label\":\"Learning Outcome Definition\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Learning Outcome Definition\",\"description\":\"LearningOutcomeDefinition\",\"resourceType\":\"Read\",\"contentType\":\"LearningOutcomeDefinition\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"MarkingSchemeRubric\",\"label\":\"Marking Scheme Rubric\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Marking Scheme Rubric\",\"description\":\"MarkingSchemeRubric\",\"resourceType\":\"Read\",\"contentType\":\"MarkingSchemeRubric\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"ConceptMap\",\"label\":\"Concept Map\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Concept Map\",\"description\":\"ConceptMap\",\"resourceType\":\"Read\",\"contentType\":\"ConceptMap\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"SelfAssess\",\"label\":\"Self Assess\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Self Assess\",\"description\":\"SelfAssess\",\"resourceType\":\"Read\",\"contentType\":\"SelfAssess\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"vsaPracticeQuestionContent\",\"label\":\"VSA - Practice Sets\",\"onClick\":\"questionSetComponent\",\"mimeType\":[\"application/vnd.ekstep.ecml-archive\"],\"metadata\":{\"name\":\"Practice QuestionSet\",\"description\":\"Practice QuestionSet\",\"resourceType\":\"Learn\",\"contentType\":\"PracticeQuestionSet\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"questionCategories\":[\"vsa\"]},{\"id\":\"saPracticeQuestionContent\",\"label\":\"SA - Practice Sets\",\"onClick\":\"questionSetComponent\",\"mimeType\":[\"application/vnd.ekstep.ecml-archive\"],\"metadata\":{\"name\":\"Practice QuestionSet\",\"description\":\"Practice QuestionSet\",\"resourceType\":\"Learn\",\"contentType\":\"PracticeQuestionSet\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"questionCategories\":[\"sa\"]},{\"id\":\"laPracticeQuestionContent\",\"label\":\"LA - Practice Sets\",\"onClick\":\"questionSetComponent\",\"mimeType\":[\"application/vnd.ekstep.ecml-archive\"],\"metadata\":{\"name\":\"Practice QuestionSet\",\"description\":\"Practice QuestionSet\",\"resourceType\":\"Learn\",\"contentType\":\"PracticeQuestionSet\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"questionCategories\":[\"la\"]},{\"id\":\"mcqPracticeQuestionContent\",\"label\":\"MCQ - Practice Sets\",\"onClick\":\"questionSetComponent\",\"mimeType\":[\"application/vnd.ekstep.ecml-archive\"],\"metadata\":{\"name\":\"Practice QuestionSet\",\"description\":\"Practice QuestionSet\",\"resourceType\":\"Learn\",\"contentType\":\"PracticeQuestionSet\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"questionCategories\":[\"mcq\"]},{\"id\":\"curiositySetContent\",\"label\":\"Curiosity Sets\",\"onClick\":\"curiositySetComponent\",\"mimeType\":[\"application/vnd.ekstep.ecml-archive\"],\"metadata\":{\"name\":\"Curiosity QuestionSet\",\"description\":\"Curiosity QuestionSet\",\"resourceType\":\"Learn\",\"contentType\":\"CuriosityQuestionSet\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"questionCategories\":[\"curiosity\"]}],\"defaultValue\":[{\"id\":\"vsaPracticeQuestionContent\",\"label\":\"Practice Sets\",\"onClick\":\"questionSetComponent\",\"mimeType\":[\"application/vnd.ekstep.ecml-archive\"],\"metadata\":{\"name\":\"Practice QuestionSet\",\"description\":\"Practice QuestionSet\",\"resourceType\":\"Learn\",\"contentType\":\"PracticeQuestionSet\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"questionCategories\":[\"vsa\"]}]}}},{\"id\":\"ng.sunbird.uploadComponent\",\"ver\":\"1.0\",\"compId\":\"uploadContentComponent\",\"author\":\"Kartheek\",\"description\":\"\",\"publishedDate\":\"\",\"data\":{},\"config\":{\"filesConfig\":{\"accepted\":\"pdf, mp4, webm, h5p, epub\",\"size\":\"50\"},\"formConfiguration\":[{\"code\":\"learningOutcome\",\"dataType\":\"list\",\"description\":\"Learning Outcomes For The Content\",\"editable\":true,\"inputType\":\"multiselect\",\"label\":\"Learning Outcome\",\"name\":\"LearningOutcome\",\"placeholder\":\"Select Learning Outcomes\",\"required\":false,\"visible\":true},{\"code\":\"attributions\",\"dataType\":\"list\",\"description\":\"Enter Attributions\",\"editable\":true,\"inputType\":\"text\",\"label\":\"Attributions\",\"name\":\"Attributions\",\"placeholder\":\"Enter Attributions\",\"required\":false,\"visible\":true,\"helpText\":\"If you have relied on another work to create this Content, provide the name of that creator and the source of that work.\"},{\"code\":\"copyright\",\"dataType\":\"text\",\"description\":\"Enter Copyright and Year\",\"editable\":true,\"inputType\":\"text\",\"label\":\"Copyright and Year\",\"name\":\"Copyright\",\"placeholder\":\"Enter Copyright and Year\",\"required\":true,\"visible\":true,\"helpText\":\"If you are an individual, creating original Content, you are the copyright holder. If you are creating Content on behalf of an organisation, the organisation may be the copyright holder. Please fill as , \"},{\"code\":\"creator\",\"dataType\":\"text\",\"description\":\"Enter The Author Name\",\"editable\":true,\"inputType\":\"text\",\"label\":\"Author\",\"name\":\"Author\",\"placeholder\":\"Enter Author Name\",\"required\":true,\"visible\":true,\"helpText\":\"Provide name of creator of this Content.\"},{\"code\":\"license\",\"dataType\":\"list\",\"description\":\"License For The Content\",\"editable\":true,\"inputType\":\"select\",\"label\":\"License\",\"name\":\"License\",\"placeholder\":\"Select License\",\"required\":true,\"visible\":true,\"helpText\":\"Choose the most appropriate Creative Commons License for this Content\"},{\"code\":\"contentPolicyCheck\",\"dataType\":\"boolean\",\"editable\":false,\"inputType\":\"checkbox\",\"name\":\"Content Policy Check\",\"required\":true,\"visible\":true}],\"resourceTitleLength\":\"200\",\"tenantName\":\"SunbirdEd\"}},{\"id\":\"ng.sunbird.practiceSetComponent\",\"ver\":\"1.0\",\"compId\":\"practiceSetComponent\",\"author\":\"Kartheek\",\"description\":\"\",\"publishedDate\":\"\",\"data\":{},\"config\":{\"No of options\":4,\"solutionType\":[\"Video\",\"Text & image\"],\"questionCategory\":[\"vsa\",\"sa\",\"ls\",\"mcq\",\"curiosity\"],\"formConfiguration\":[{\"code\":\"learningOutcome\",\"dataType\":\"list\",\"description\":\"Learning Outcomes For The Content\",\"editable\":true,\"inputType\":\"multiselect\",\"label\":\"Learning Outcome\",\"name\":\"LearningOutcome\",\"placeholder\":\"Select Learning Outcomes\",\"required\":false,\"visible\":true},{\"code\":\"attributions\",\"dataType\":\"list\",\"description\":\"Enter Attributions\",\"editable\":true,\"inputType\":\"text\",\"label\":\"Attributions\",\"name\":\"Attributions\",\"placeholder\":\"Enter Attributions\",\"required\":false,\"visible\":true,\"helpText\":\"If you have relied on another work to create this Content, provide the name of that creator and the source of that work.\"},{\"code\":\"copyright\",\"dataType\":\"text\",\"description\":\"Enter Copyright and Year\",\"editable\":true,\"inputType\":\"text\",\"label\":\"Copyright and Year\",\"name\":\"Copyright\",\"placeholder\":\"Enter Copyright and Year\",\"required\":true,\"visible\":true,\"helpText\":\"If you are an individual, creating original Content, you are the copyright holder. If you are creating Content on behalf of an organisation, the organisation may be the copyright holder. Please fill as , \"},{\"code\":\"creator\",\"dataType\":\"text\",\"description\":\"Enter The Author Name\",\"editable\":true,\"inputType\":\"text\",\"label\":\"Author\",\"name\":\"Author\",\"placeholder\":\"Enter Author Name\",\"required\":true,\"visible\":true,\"helpText\":\"Provide name of creator of this Content.\"},{\"code\":\"license\",\"dataType\":\"list\",\"description\":\"License For The Content\",\"editable\":true,\"inputType\":\"select\",\"label\":\"License\",\"name\":\"License\",\"placeholder\":\"Select License\",\"required\":true,\"visible\":true,\"helpText\":\"Choose the most appropriate Creative Commons License for this Content\"},{\"code\":\"contentPolicyCheck\",\"dataType\":\"boolean\",\"editable\":false,\"inputType\":\"checkbox\",\"name\":\"Content Policy Check\",\"required\":true,\"visible\":true}],\"resourceTitleLength\":\"200\",\"tenantName\":\"\",\"assetConfig\":{\"image\":{\"size\":\"50\",\"accepted\":\"jpeg, png, jpg\"},\"video\":{\"size\":\"50\",\"accepted\":\"pdf, mp4, webm, youtube\"}}}},{\"id\":\"ng.sunbird.dashboard\",\"ver\":\"1.0\",\"compId\":\"dashboardComp\",\"author\":\"Venkanna Gouda\",\"description\":\"\",\"publishedDate\":\"\",\"data\":{},\"config\":{}}],\"sharedContext\":[\"channel\",\"framework\",\"board\",\"medium\",\"gradeLevel\",\"subject\",\"topic\"]}}}" + }, + "url": { + "raw": "{{host}}/api/program/v1/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "create" + ] + }, + "description": "program/create" + }, + "response": [ + { + "name": "200 Success", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "name": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\"request\":{\"name\":\"Check Nomination\",\"description\":\"Nomination for add and remove\",\"nomination_enddate\":\"2020-12-01T18:30:00.000Z\",\"shortlisting_enddate\":\"2021-01-08T18:30:00.000Z\",\"content_submission_enddate\":\"2021-02-06T18:30:00.000Z\",\"rewards\":\"Nomination check for add and remove\",\"content_types\":[],\"target_collection_category\":[null],\"sourcing_org_name\":\"Vidya2\",\"rootorg_id\":\"012983850117177344161\",\"createdby\":\"48dc0e70-2775-474b-9b78-def27d047836\",\"createdon\":\"2020-12-02T12:12:19.748Z\",\"startdate\":\"2020-12-02T12:12:19.748Z\",\"slug\":\"sunbird\",\"type\":\"public\",\"default_roles\":[\"CONTRIBUTOR\"],\"enddate\":\"2021-03-06T18:30:00.000Z\",\"status\":\"Draft\",\"program_id\":\"\",\"config\":{\"defaultContributeOrgReview\":true,\"_comments\":\"\",\"loginReqired\":true,\"framework\":\"ekstep_ncert_k-12\",\"board\":[],\"gradeLevel\":[],\"medium\":[],\"subject\":[],\"roles\":[{\"id\":1,\"name\":\"CONTRIBUTOR\",\"default\":true,\"defaultTab\":1,\"tabs\":[1]},{\"id\":2,\"name\":\"REVIEWER\",\"defaultTab\":2,\"tabs\":[2]}],\"header\":{\"id\":\"ng.sunbird.header\",\"ver\":\"1.0\",\"compId\":\"headerComp\",\"author\":\"Venkat\",\"description\":\"\",\"publishedDate\":\"\",\"data\":{},\"config\":{\"tabs\":[{\"index\":1,\"label\":\"Contribute\",\"onClick\":\"collectionComponent\"},{\"index\":2,\"label\":\"Review\",\"onClick\":\"collectionComponent\"},{\"index\":3,\"label\":\"Dashboard\",\"onClick\":\"dashboardComponent\"}]}},\"components\":[{\"id\":\"ng.sunbird.collection\",\"ver\":\"1.0\",\"compId\":\"collectionComponent\",\"author\":\"Venkat\",\"description\":\"\",\"publishedDate\":\"\",\"data\":{},\"config\":{\"filters\":{\"implicit\":[{\"code\":\"framework\",\"defaultValue\":\"ekstep_ncert_k-12\",\"label\":\"Framework\"},{\"code\":\"board\",\"defaultValue\":\"CBSE\",\"label\":\"Board\"},{\"code\":\"medium\",\"defaultValue\":[\"English\"],\"label\":\"Medium\"}],\"explicit\":[{\"code\":\"gradeLevel\",\"range\":[\"Kindergarten\",\"Grade 1\",\"Grade 2\",\"Grade 3\"],\"label\":\"Class\",\"multiselect\":false,\"defaultValue\":[\"Kindergarten\",\"Grade 1\"],\"visibility\":true},{\"code\":\"subject\",\"range\":[\"English\",\"Mathematics\",\"Hindi\"],\"label\":\"Subject\",\"multiselect\":false,\"defaultValue\":[\"English\"],\"visibility\":true}]},\"groupBy\":{\"value\":\"subject\",\"defaultValue\":\"subject\"},\"collectionType\":\"Textbook\",\"collectionList\":[],\"status\":[\"Draft\",\"Live\"]}},{\"id\":\"ng.sunbird.chapterList\",\"ver\":\"1.0\",\"compId\":\"chapterListComponent\",\"author\":\"Kartheek\",\"description\":\"\",\"publishedDate\":\"\",\"data\":{},\"config\":{\"contentTypes\":{\"value\":[{\"id\":\"explanationContent\",\"label\":\"Explanation\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"video/mp4\",\"video/webm\",\"application/epub\"],\"metadata\":{\"name\":\"Explanation Resource\",\"description\":\"ExplanationResource\",\"resourceType\":\"Read\",\"contentType\":\"ExplanationResource\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553051403878414/artifact/explanation.thumb_1576602846206.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, mp4, webm, epub\",\"size\":\"50\"}},{\"id\":\"learningActivity\",\"label\":\"Activity for Learning\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"video/mp4\",\"video/webm\",\"application/epub\",\"application/vnd.ekstep.h5p-archive\"],\"metadata\":{\"name\":\"Activity for Learning\",\"description\":\"LearningActivity\",\"resourceType\":\"Read\",\"contentType\":\"LearningActivity\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, mp4, webm, epub, h5p\",\"size\":\"50\"}},{\"id\":\"experientialContent\",\"label\":\"Experiential\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"video/mp4\",\"video/webm\"],\"metadata\":{\"name\":\"Experiential Resource\",\"description\":\"ExperientialResource\",\"resourceType\":\"Read\",\"contentType\":\"ExperientialResource\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553051403878414/artifact/explanation.thumb_1576602846206.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"mp4, webm\",\"size\":\"50\"}},{\"id\":\"classroomTeachingVideo\",\"label\":\"Classroom Teaching Video\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"video/mp4\",\"video/webm\"],\"metadata\":{\"name\":\"Classroom Teaching Video\",\"description\":\"ClassroomTeachingVideo\",\"resourceType\":\"Read\",\"contentType\":\"ClassroomTeachingVideo\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"filesConfig\":{\"accepted\":\"mp4, webm\",\"size\":\"50\"}},{\"id\":\"explanationVideo\",\"label\":\"Explanation Video\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"video/mp4\",\"video/webm\"],\"metadata\":{\"name\":\"Explanation Video\",\"description\":\"ExplanationVideo\",\"resourceType\":\"Read\",\"contentType\":\"ExplanationVideo\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"filesConfig\":{\"accepted\":\"mp4, webm\",\"size\":\"50\"}},{\"id\":\"explanationReadingMaterial\",\"label\":\"Explanation Reading Material\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Explanation Reading Material\",\"description\":\"ExplanationReadingMaterial\",\"resourceType\":\"Read\",\"contentType\":\"ExplanationReadingMaterial\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"previousBoardExamPapers\",\"label\":\"Previous Board Exam Papers\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Previous Board Exam Papers\",\"description\":\"PreviousBoardExamPapers\",\"resourceType\":\"Read\",\"contentType\":\"PreviousBoardExamPapers\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"lessonPlanResource\",\"label\":\"Lesson Plan\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Lesson Plan\",\"description\":\"LessonPlanResource\",\"resourceType\":\"Read\",\"contentType\":\"LessonPlanResource\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"focusSpotContent\",\"label\":\"FocusSpot\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"FocusSpot Resource\",\"description\":\"FocusSpot\",\"resourceType\":\"Read\",\"contentType\":\"FocusSpot\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"TeachingMethod\",\"label\":\"Teaching Method\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Teaching Method\",\"description\":\"TeachingMethod\",\"resourceType\":\"Read\",\"contentType\":\"TeachingMethod\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"PedagogyFlow\",\"label\":\"Pedagogy Flow\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Pedagogy Flow\",\"description\":\"PedagogyFlow\",\"resourceType\":\"Read\",\"contentType\":\"PedagogyFlow\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"LearningOutcomeDefinition\",\"label\":\"Learning Outcome Definition\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Learning Outcome Definition\",\"description\":\"LearningOutcomeDefinition\",\"resourceType\":\"Read\",\"contentType\":\"LearningOutcomeDefinition\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"MarkingSchemeRubric\",\"label\":\"Marking Scheme Rubric\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Marking Scheme Rubric\",\"description\":\"MarkingSchemeRubric\",\"resourceType\":\"Read\",\"contentType\":\"MarkingSchemeRubric\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"ConceptMap\",\"label\":\"Concept Map\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Concept Map\",\"description\":\"ConceptMap\",\"resourceType\":\"Read\",\"contentType\":\"ConceptMap\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"SelfAssess\",\"label\":\"Self Assess\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Self Assess\",\"description\":\"SelfAssess\",\"resourceType\":\"Read\",\"contentType\":\"SelfAssess\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"vsaPracticeQuestionContent\",\"label\":\"VSA - Practice Sets\",\"onClick\":\"questionSetComponent\",\"mimeType\":[\"application/vnd.ekstep.ecml-archive\"],\"metadata\":{\"name\":\"Practice QuestionSet\",\"description\":\"Practice QuestionSet\",\"resourceType\":\"Learn\",\"contentType\":\"PracticeQuestionSet\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"questionCategories\":[\"vsa\"]},{\"id\":\"saPracticeQuestionContent\",\"label\":\"SA - Practice Sets\",\"onClick\":\"questionSetComponent\",\"mimeType\":[\"application/vnd.ekstep.ecml-archive\"],\"metadata\":{\"name\":\"Practice QuestionSet\",\"description\":\"Practice QuestionSet\",\"resourceType\":\"Learn\",\"contentType\":\"PracticeQuestionSet\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"questionCategories\":[\"sa\"]},{\"id\":\"laPracticeQuestionContent\",\"label\":\"LA - Practice Sets\",\"onClick\":\"questionSetComponent\",\"mimeType\":[\"application/vnd.ekstep.ecml-archive\"],\"metadata\":{\"name\":\"Practice QuestionSet\",\"description\":\"Practice QuestionSet\",\"resourceType\":\"Learn\",\"contentType\":\"PracticeQuestionSet\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"questionCategories\":[\"la\"]},{\"id\":\"mcqPracticeQuestionContent\",\"label\":\"MCQ - Practice Sets\",\"onClick\":\"questionSetComponent\",\"mimeType\":[\"application/vnd.ekstep.ecml-archive\"],\"metadata\":{\"name\":\"Practice QuestionSet\",\"description\":\"Practice QuestionSet\",\"resourceType\":\"Learn\",\"contentType\":\"PracticeQuestionSet\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"questionCategories\":[\"mcq\"]},{\"id\":\"curiositySetContent\",\"label\":\"Curiosity Sets\",\"onClick\":\"curiositySetComponent\",\"mimeType\":[\"application/vnd.ekstep.ecml-archive\"],\"metadata\":{\"name\":\"Curiosity QuestionSet\",\"description\":\"Curiosity QuestionSet\",\"resourceType\":\"Learn\",\"contentType\":\"CuriosityQuestionSet\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"questionCategories\":[\"curiosity\"]}],\"defaultValue\":[{\"id\":\"vsaPracticeQuestionContent\",\"label\":\"Practice Sets\",\"onClick\":\"questionSetComponent\",\"mimeType\":[\"application/vnd.ekstep.ecml-archive\"],\"metadata\":{\"name\":\"Practice QuestionSet\",\"description\":\"Practice QuestionSet\",\"resourceType\":\"Learn\",\"contentType\":\"PracticeQuestionSet\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"questionCategories\":[\"vsa\"]}]}}},{\"id\":\"ng.sunbird.uploadComponent\",\"ver\":\"1.0\",\"compId\":\"uploadContentComponent\",\"author\":\"Kartheek\",\"description\":\"\",\"publishedDate\":\"\",\"data\":{},\"config\":{\"filesConfig\":{\"accepted\":\"pdf, mp4, webm, h5p, epub\",\"size\":\"50\"},\"formConfiguration\":[{\"code\":\"learningOutcome\",\"dataType\":\"list\",\"description\":\"Learning Outcomes For The Content\",\"editable\":true,\"inputType\":\"multiselect\",\"label\":\"Learning Outcome\",\"name\":\"LearningOutcome\",\"placeholder\":\"Select Learning Outcomes\",\"required\":false,\"visible\":true},{\"code\":\"attributions\",\"dataType\":\"list\",\"description\":\"Enter Attributions\",\"editable\":true,\"inputType\":\"text\",\"label\":\"Attributions\",\"name\":\"Attributions\",\"placeholder\":\"Enter Attributions\",\"required\":false,\"visible\":true,\"helpText\":\"If you have relied on another work to create this Content, provide the name of that creator and the source of that work.\"},{\"code\":\"copyright\",\"dataType\":\"text\",\"description\":\"Enter Copyright and Year\",\"editable\":true,\"inputType\":\"text\",\"label\":\"Copyright and Year\",\"name\":\"Copyright\",\"placeholder\":\"Enter Copyright and Year\",\"required\":true,\"visible\":true,\"helpText\":\"If you are an individual, creating original Content, you are the copyright holder. If you are creating Content on behalf of an organisation, the organisation may be the copyright holder. Please fill as , \"},{\"code\":\"creator\",\"dataType\":\"text\",\"description\":\"Enter The Author Name\",\"editable\":true,\"inputType\":\"text\",\"label\":\"Author\",\"name\":\"Author\",\"placeholder\":\"Enter Author Name\",\"required\":true,\"visible\":true,\"helpText\":\"Provide name of creator of this Content.\"},{\"code\":\"license\",\"dataType\":\"list\",\"description\":\"License For The Content\",\"editable\":true,\"inputType\":\"select\",\"label\":\"License\",\"name\":\"License\",\"placeholder\":\"Select License\",\"required\":true,\"visible\":true,\"helpText\":\"Choose the most appropriate Creative Commons License for this Content\"},{\"code\":\"contentPolicyCheck\",\"dataType\":\"boolean\",\"editable\":false,\"inputType\":\"checkbox\",\"name\":\"Content Policy Check\",\"required\":true,\"visible\":true}],\"resourceTitleLength\":\"200\",\"tenantName\":\"SunbirdEd\"}},{\"id\":\"ng.sunbird.practiceSetComponent\",\"ver\":\"1.0\",\"compId\":\"practiceSetComponent\",\"author\":\"Kartheek\",\"description\":\"\",\"publishedDate\":\"\",\"data\":{},\"config\":{\"No of options\":4,\"solutionType\":[\"Video\",\"Text & image\"],\"questionCategory\":[\"vsa\",\"sa\",\"ls\",\"mcq\",\"curiosity\"],\"formConfiguration\":[{\"code\":\"learningOutcome\",\"dataType\":\"list\",\"description\":\"Learning Outcomes For The Content\",\"editable\":true,\"inputType\":\"multiselect\",\"label\":\"Learning Outcome\",\"name\":\"LearningOutcome\",\"placeholder\":\"Select Learning Outcomes\",\"required\":false,\"visible\":true},{\"code\":\"attributions\",\"dataType\":\"list\",\"description\":\"Enter Attributions\",\"editable\":true,\"inputType\":\"text\",\"label\":\"Attributions\",\"name\":\"Attributions\",\"placeholder\":\"Enter Attributions\",\"required\":false,\"visible\":true,\"helpText\":\"If you have relied on another work to create this Content, provide the name of that creator and the source of that work.\"},{\"code\":\"copyright\",\"dataType\":\"text\",\"description\":\"Enter Copyright and Year\",\"editable\":true,\"inputType\":\"text\",\"label\":\"Copyright and Year\",\"name\":\"Copyright\",\"placeholder\":\"Enter Copyright and Year\",\"required\":true,\"visible\":true,\"helpText\":\"If you are an individual, creating original Content, you are the copyright holder. If you are creating Content on behalf of an organisation, the organisation may be the copyright holder. Please fill as , \"},{\"code\":\"creator\",\"dataType\":\"text\",\"description\":\"Enter The Author Name\",\"editable\":true,\"inputType\":\"text\",\"label\":\"Author\",\"name\":\"Author\",\"placeholder\":\"Enter Author Name\",\"required\":true,\"visible\":true,\"helpText\":\"Provide name of creator of this Content.\"},{\"code\":\"license\",\"dataType\":\"list\",\"description\":\"License For The Content\",\"editable\":true,\"inputType\":\"select\",\"label\":\"License\",\"name\":\"License\",\"placeholder\":\"Select License\",\"required\":true,\"visible\":true,\"helpText\":\"Choose the most appropriate Creative Commons License for this Content\"},{\"code\":\"contentPolicyCheck\",\"dataType\":\"boolean\",\"editable\":false,\"inputType\":\"checkbox\",\"name\":\"Content Policy Check\",\"required\":true,\"visible\":true}],\"resourceTitleLength\":\"200\",\"tenantName\":\"\",\"assetConfig\":{\"image\":{\"size\":\"50\",\"accepted\":\"jpeg, png, jpg\"},\"video\":{\"size\":\"50\",\"accepted\":\"pdf, mp4, webm, youtube\"}}}},{\"id\":\"ng.sunbird.dashboard\",\"ver\":\"1.0\",\"compId\":\"dashboardComp\",\"author\":\"Venkanna Gouda\",\"description\":\"\",\"publishedDate\":\"\",\"data\":{},\"config\":{}}],\"sharedContext\":[\"channel\",\"framework\",\"board\",\"medium\",\"gradeLevel\",\"subject\",\"topic\"]}}}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/program/v1/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "create" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Tue, 20 Dec 2022 09:24:07 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "297" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29996" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"129-Y57UZjPHtfi4yzekYvkZXwio5gw\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "270" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.program.create\",\n \"ts\": \"2022-12-20T09:24:07.416Z\",\n \"params\": {\n \"resmsgid\": \"0db28f81-8048-11ed-be8b-9962d8844469\",\n \"msgid\": \"0db28f80-8048-11ed-be8b-9962d8844469\",\n \"status\": \"successful\",\n \"err\": null,\n \"errmsg\": null\n },\n \"responseCode\": \"OK\",\n \"result\": {\n \"program_id\": \"0d8abc30-8048-11ed-be8b-9962d8844469\"\n }\n}" + }, + { + "name": "400 Bad Request without body params", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{}" + }, + "url": { + "raw": "{{host}}/api/program/v1/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "create" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Fri, 23 Dec 2022 12:28:42 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "309" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29998" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"135-Rta/huebX9q4vCO0GziT+qpBKmo\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "6" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.v1.create\",\n \"ver\": \"1.0\",\n \"ts\": \"2022-12-23T12:28:42.970Z\",\n \"params\": {\n \"resmsgid\": \"567b3ba0-82bd-11ed-be8b-9962d8844469\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_CREATE_PROGRAM_DATA\",\n \"errmsg\": \"Required fields for creating program data are missing\"\n },\n \"responseCode\": \"PRG_PRCRT01_CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "401 Unauthorized", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\"request\":{\"name\":\"Check Nomination\",\"description\":\"Nomination for add and remove\",\"nomination_enddate\":\"2020-12-01T18:30:00.000Z\",\"shortlisting_enddate\":\"2021-01-08T18:30:00.000Z\",\"content_submission_enddate\":\"2021-02-06T18:30:00.000Z\",\"rewards\":\"Nomination check for add and remove\",\"content_types\":[],\"target_collection_category\":[null],\"sourcing_org_name\":\"Vidya2\",\"rootorg_id\":\"012983850117177344161\",\"createdby\":\"48dc0e70-2775-474b-9b78-def27d047836\",\"createdon\":\"2020-12-02T12:12:19.748Z\",\"startdate\":\"2020-12-02T12:12:19.748Z\",\"slug\":\"sunbird\",\"type\":\"public\",\"default_roles\":[\"CONTRIBUTOR\"],\"enddate\":\"2021-03-06T18:30:00.000Z\",\"status\":\"Draft\",\"program_id\":\"\",\"config\":{\"defaultContributeOrgReview\":true,\"_comments\":\"\",\"loginReqired\":true,\"framework\":\"ekstep_ncert_k-12\",\"board\":[],\"gradeLevel\":[],\"medium\":[],\"subject\":[],\"roles\":[{\"id\":1,\"name\":\"CONTRIBUTOR\",\"default\":true,\"defaultTab\":1,\"tabs\":[1]},{\"id\":2,\"name\":\"REVIEWER\",\"defaultTab\":2,\"tabs\":[2]}],\"header\":{\"id\":\"ng.sunbird.header\",\"ver\":\"1.0\",\"compId\":\"headerComp\",\"author\":\"Venkat\",\"description\":\"\",\"publishedDate\":\"\",\"data\":{},\"config\":{\"tabs\":[{\"index\":1,\"label\":\"Contribute\",\"onClick\":\"collectionComponent\"},{\"index\":2,\"label\":\"Review\",\"onClick\":\"collectionComponent\"},{\"index\":3,\"label\":\"Dashboard\",\"onClick\":\"dashboardComponent\"}]}},\"components\":[{\"id\":\"ng.sunbird.collection\",\"ver\":\"1.0\",\"compId\":\"collectionComponent\",\"author\":\"Venkat\",\"description\":\"\",\"publishedDate\":\"\",\"data\":{},\"config\":{\"filters\":{\"implicit\":[{\"code\":\"framework\",\"defaultValue\":\"ekstep_ncert_k-12\",\"label\":\"Framework\"},{\"code\":\"board\",\"defaultValue\":\"CBSE\",\"label\":\"Board\"},{\"code\":\"medium\",\"defaultValue\":[\"English\"],\"label\":\"Medium\"}],\"explicit\":[{\"code\":\"gradeLevel\",\"range\":[\"Kindergarten\",\"Grade 1\",\"Grade 2\",\"Grade 3\"],\"label\":\"Class\",\"multiselect\":false,\"defaultValue\":[\"Kindergarten\",\"Grade 1\"],\"visibility\":true},{\"code\":\"subject\",\"range\":[\"English\",\"Mathematics\",\"Hindi\"],\"label\":\"Subject\",\"multiselect\":false,\"defaultValue\":[\"English\"],\"visibility\":true}]},\"groupBy\":{\"value\":\"subject\",\"defaultValue\":\"subject\"},\"collectionType\":\"Textbook\",\"collectionList\":[],\"status\":[\"Draft\",\"Live\"]}},{\"id\":\"ng.sunbird.chapterList\",\"ver\":\"1.0\",\"compId\":\"chapterListComponent\",\"author\":\"Kartheek\",\"description\":\"\",\"publishedDate\":\"\",\"data\":{},\"config\":{\"contentTypes\":{\"value\":[{\"id\":\"explanationContent\",\"label\":\"Explanation\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"video/mp4\",\"video/webm\",\"application/epub\"],\"metadata\":{\"name\":\"Explanation Resource\",\"description\":\"ExplanationResource\",\"resourceType\":\"Read\",\"contentType\":\"ExplanationResource\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553051403878414/artifact/explanation.thumb_1576602846206.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, mp4, webm, epub\",\"size\":\"50\"}},{\"id\":\"learningActivity\",\"label\":\"Activity for Learning\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"video/mp4\",\"video/webm\",\"application/epub\",\"application/vnd.ekstep.h5p-archive\"],\"metadata\":{\"name\":\"Activity for Learning\",\"description\":\"LearningActivity\",\"resourceType\":\"Read\",\"contentType\":\"LearningActivity\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, mp4, webm, epub, h5p\",\"size\":\"50\"}},{\"id\":\"experientialContent\",\"label\":\"Experiential\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"video/mp4\",\"video/webm\"],\"metadata\":{\"name\":\"Experiential Resource\",\"description\":\"ExperientialResource\",\"resourceType\":\"Read\",\"contentType\":\"ExperientialResource\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553051403878414/artifact/explanation.thumb_1576602846206.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"mp4, webm\",\"size\":\"50\"}},{\"id\":\"classroomTeachingVideo\",\"label\":\"Classroom Teaching Video\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"video/mp4\",\"video/webm\"],\"metadata\":{\"name\":\"Classroom Teaching Video\",\"description\":\"ClassroomTeachingVideo\",\"resourceType\":\"Read\",\"contentType\":\"ClassroomTeachingVideo\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"filesConfig\":{\"accepted\":\"mp4, webm\",\"size\":\"50\"}},{\"id\":\"explanationVideo\",\"label\":\"Explanation Video\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"video/mp4\",\"video/webm\"],\"metadata\":{\"name\":\"Explanation Video\",\"description\":\"ExplanationVideo\",\"resourceType\":\"Read\",\"contentType\":\"ExplanationVideo\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"filesConfig\":{\"accepted\":\"mp4, webm\",\"size\":\"50\"}},{\"id\":\"explanationReadingMaterial\",\"label\":\"Explanation Reading Material\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Explanation Reading Material\",\"description\":\"ExplanationReadingMaterial\",\"resourceType\":\"Read\",\"contentType\":\"ExplanationReadingMaterial\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"previousBoardExamPapers\",\"label\":\"Previous Board Exam Papers\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Previous Board Exam Papers\",\"description\":\"PreviousBoardExamPapers\",\"resourceType\":\"Read\",\"contentType\":\"PreviousBoardExamPapers\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"lessonPlanResource\",\"label\":\"Lesson Plan\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Lesson Plan\",\"description\":\"LessonPlanResource\",\"resourceType\":\"Read\",\"contentType\":\"LessonPlanResource\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"focusSpotContent\",\"label\":\"FocusSpot\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"FocusSpot Resource\",\"description\":\"FocusSpot\",\"resourceType\":\"Read\",\"contentType\":\"FocusSpot\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"TeachingMethod\",\"label\":\"Teaching Method\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Teaching Method\",\"description\":\"TeachingMethod\",\"resourceType\":\"Read\",\"contentType\":\"TeachingMethod\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"PedagogyFlow\",\"label\":\"Pedagogy Flow\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Pedagogy Flow\",\"description\":\"PedagogyFlow\",\"resourceType\":\"Read\",\"contentType\":\"PedagogyFlow\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"LearningOutcomeDefinition\",\"label\":\"Learning Outcome Definition\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Learning Outcome Definition\",\"description\":\"LearningOutcomeDefinition\",\"resourceType\":\"Read\",\"contentType\":\"LearningOutcomeDefinition\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"MarkingSchemeRubric\",\"label\":\"Marking Scheme Rubric\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Marking Scheme Rubric\",\"description\":\"MarkingSchemeRubric\",\"resourceType\":\"Read\",\"contentType\":\"MarkingSchemeRubric\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"ConceptMap\",\"label\":\"Concept Map\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Concept Map\",\"description\":\"ConceptMap\",\"resourceType\":\"Read\",\"contentType\":\"ConceptMap\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"SelfAssess\",\"label\":\"Self Assess\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Self Assess\",\"description\":\"SelfAssess\",\"resourceType\":\"Read\",\"contentType\":\"SelfAssess\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"vsaPracticeQuestionContent\",\"label\":\"VSA - Practice Sets\",\"onClick\":\"questionSetComponent\",\"mimeType\":[\"application/vnd.ekstep.ecml-archive\"],\"metadata\":{\"name\":\"Practice QuestionSet\",\"description\":\"Practice QuestionSet\",\"resourceType\":\"Learn\",\"contentType\":\"PracticeQuestionSet\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"questionCategories\":[\"vsa\"]},{\"id\":\"saPracticeQuestionContent\",\"label\":\"SA - Practice Sets\",\"onClick\":\"questionSetComponent\",\"mimeType\":[\"application/vnd.ekstep.ecml-archive\"],\"metadata\":{\"name\":\"Practice QuestionSet\",\"description\":\"Practice QuestionSet\",\"resourceType\":\"Learn\",\"contentType\":\"PracticeQuestionSet\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"questionCategories\":[\"sa\"]},{\"id\":\"laPracticeQuestionContent\",\"label\":\"LA - Practice Sets\",\"onClick\":\"questionSetComponent\",\"mimeType\":[\"application/vnd.ekstep.ecml-archive\"],\"metadata\":{\"name\":\"Practice QuestionSet\",\"description\":\"Practice QuestionSet\",\"resourceType\":\"Learn\",\"contentType\":\"PracticeQuestionSet\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"questionCategories\":[\"la\"]},{\"id\":\"mcqPracticeQuestionContent\",\"label\":\"MCQ - Practice Sets\",\"onClick\":\"questionSetComponent\",\"mimeType\":[\"application/vnd.ekstep.ecml-archive\"],\"metadata\":{\"name\":\"Practice QuestionSet\",\"description\":\"Practice QuestionSet\",\"resourceType\":\"Learn\",\"contentType\":\"PracticeQuestionSet\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"questionCategories\":[\"mcq\"]},{\"id\":\"curiositySetContent\",\"label\":\"Curiosity Sets\",\"onClick\":\"curiositySetComponent\",\"mimeType\":[\"application/vnd.ekstep.ecml-archive\"],\"metadata\":{\"name\":\"Curiosity QuestionSet\",\"description\":\"Curiosity QuestionSet\",\"resourceType\":\"Learn\",\"contentType\":\"CuriosityQuestionSet\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"questionCategories\":[\"curiosity\"]}],\"defaultValue\":[{\"id\":\"vsaPracticeQuestionContent\",\"label\":\"Practice Sets\",\"onClick\":\"questionSetComponent\",\"mimeType\":[\"application/vnd.ekstep.ecml-archive\"],\"metadata\":{\"name\":\"Practice QuestionSet\",\"description\":\"Practice QuestionSet\",\"resourceType\":\"Learn\",\"contentType\":\"PracticeQuestionSet\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"questionCategories\":[\"vsa\"]}]}}},{\"id\":\"ng.sunbird.uploadComponent\",\"ver\":\"1.0\",\"compId\":\"uploadContentComponent\",\"author\":\"Kartheek\",\"description\":\"\",\"publishedDate\":\"\",\"data\":{},\"config\":{\"filesConfig\":{\"accepted\":\"pdf, mp4, webm, h5p, epub\",\"size\":\"50\"},\"formConfiguration\":[{\"code\":\"learningOutcome\",\"dataType\":\"list\",\"description\":\"Learning Outcomes For The Content\",\"editable\":true,\"inputType\":\"multiselect\",\"label\":\"Learning Outcome\",\"name\":\"LearningOutcome\",\"placeholder\":\"Select Learning Outcomes\",\"required\":false,\"visible\":true},{\"code\":\"attributions\",\"dataType\":\"list\",\"description\":\"Enter Attributions\",\"editable\":true,\"inputType\":\"text\",\"label\":\"Attributions\",\"name\":\"Attributions\",\"placeholder\":\"Enter Attributions\",\"required\":false,\"visible\":true,\"helpText\":\"If you have relied on another work to create this Content, provide the name of that creator and the source of that work.\"},{\"code\":\"copyright\",\"dataType\":\"text\",\"description\":\"Enter Copyright and Year\",\"editable\":true,\"inputType\":\"text\",\"label\":\"Copyright and Year\",\"name\":\"Copyright\",\"placeholder\":\"Enter Copyright and Year\",\"required\":true,\"visible\":true,\"helpText\":\"If you are an individual, creating original Content, you are the copyright holder. If you are creating Content on behalf of an organisation, the organisation may be the copyright holder. Please fill as , \"},{\"code\":\"creator\",\"dataType\":\"text\",\"description\":\"Enter The Author Name\",\"editable\":true,\"inputType\":\"text\",\"label\":\"Author\",\"name\":\"Author\",\"placeholder\":\"Enter Author Name\",\"required\":true,\"visible\":true,\"helpText\":\"Provide name of creator of this Content.\"},{\"code\":\"license\",\"dataType\":\"list\",\"description\":\"License For The Content\",\"editable\":true,\"inputType\":\"select\",\"label\":\"License\",\"name\":\"License\",\"placeholder\":\"Select License\",\"required\":true,\"visible\":true,\"helpText\":\"Choose the most appropriate Creative Commons License for this Content\"},{\"code\":\"contentPolicyCheck\",\"dataType\":\"boolean\",\"editable\":false,\"inputType\":\"checkbox\",\"name\":\"Content Policy Check\",\"required\":true,\"visible\":true}],\"resourceTitleLength\":\"200\",\"tenantName\":\"SunbirdEd\"}},{\"id\":\"ng.sunbird.practiceSetComponent\",\"ver\":\"1.0\",\"compId\":\"practiceSetComponent\",\"author\":\"Kartheek\",\"description\":\"\",\"publishedDate\":\"\",\"data\":{},\"config\":{\"No of options\":4,\"solutionType\":[\"Video\",\"Text & image\"],\"questionCategory\":[\"vsa\",\"sa\",\"ls\",\"mcq\",\"curiosity\"],\"formConfiguration\":[{\"code\":\"learningOutcome\",\"dataType\":\"list\",\"description\":\"Learning Outcomes For The Content\",\"editable\":true,\"inputType\":\"multiselect\",\"label\":\"Learning Outcome\",\"name\":\"LearningOutcome\",\"placeholder\":\"Select Learning Outcomes\",\"required\":false,\"visible\":true},{\"code\":\"attributions\",\"dataType\":\"list\",\"description\":\"Enter Attributions\",\"editable\":true,\"inputType\":\"text\",\"label\":\"Attributions\",\"name\":\"Attributions\",\"placeholder\":\"Enter Attributions\",\"required\":false,\"visible\":true,\"helpText\":\"If you have relied on another work to create this Content, provide the name of that creator and the source of that work.\"},{\"code\":\"copyright\",\"dataType\":\"text\",\"description\":\"Enter Copyright and Year\",\"editable\":true,\"inputType\":\"text\",\"label\":\"Copyright and Year\",\"name\":\"Copyright\",\"placeholder\":\"Enter Copyright and Year\",\"required\":true,\"visible\":true,\"helpText\":\"If you are an individual, creating original Content, you are the copyright holder. If you are creating Content on behalf of an organisation, the organisation may be the copyright holder. Please fill as , \"},{\"code\":\"creator\",\"dataType\":\"text\",\"description\":\"Enter The Author Name\",\"editable\":true,\"inputType\":\"text\",\"label\":\"Author\",\"name\":\"Author\",\"placeholder\":\"Enter Author Name\",\"required\":true,\"visible\":true,\"helpText\":\"Provide name of creator of this Content.\"},{\"code\":\"license\",\"dataType\":\"list\",\"description\":\"License For The Content\",\"editable\":true,\"inputType\":\"select\",\"label\":\"License\",\"name\":\"License\",\"placeholder\":\"Select License\",\"required\":true,\"visible\":true,\"helpText\":\"Choose the most appropriate Creative Commons License for this Content\"},{\"code\":\"contentPolicyCheck\",\"dataType\":\"boolean\",\"editable\":false,\"inputType\":\"checkbox\",\"name\":\"Content Policy Check\",\"required\":true,\"visible\":true}],\"resourceTitleLength\":\"200\",\"tenantName\":\"\",\"assetConfig\":{\"image\":{\"size\":\"50\",\"accepted\":\"jpeg, png, jpg\"},\"video\":{\"size\":\"50\",\"accepted\":\"pdf, mp4, webm, youtube\"}}}},{\"id\":\"ng.sunbird.dashboard\",\"ver\":\"1.0\",\"compId\":\"dashboardComp\",\"author\":\"Venkanna Gouda\",\"description\":\"\",\"publishedDate\":\"\",\"data\":{},\"config\":{}}],\"sharedContext\":[\"channel\",\"framework\",\"board\",\"medium\",\"gradeLevel\",\"subject\",\"topic\"]}}}" + }, + "url": { + "raw": "{{host}}/api/program/v1/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "create" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Fri, 23 Dec 2022 12:35:19 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + } + ], + "cookie": [], + "body": "{\n \"message\": \"Unauthorized\"\n}" + }, + { + "name": "404 Not Found", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\"request\":{\"name\":\"Check Nomination\",\"description\":\"Nomination for add and remove\",\"nomination_enddate\":\"2020-12-01T18:30:00.000Z\",\"shortlisting_enddate\":\"2021-01-08T18:30:00.000Z\",\"content_submission_enddate\":\"2021-02-06T18:30:00.000Z\",\"rewards\":\"Nomination check for add and remove\",\"content_types\":[],\"target_collection_category\":[null],\"sourcing_org_name\":\"Vidya2\",\"rootorg_id\":\"012983850117177344161\",\"createdby\":\"48dc0e70-2775-474b-9b78-def27d047836\",\"createdon\":\"2020-12-02T12:12:19.748Z\",\"startdate\":\"2020-12-02T12:12:19.748Z\",\"slug\":\"sunbird\",\"type\":\"public\",\"default_roles\":[\"CONTRIBUTOR\"],\"enddate\":\"2021-03-06T18:30:00.000Z\",\"status\":\"Draft\",\"program_id\":\"\",\"config\":{\"defaultContributeOrgReview\":true,\"_comments\":\"\",\"loginReqired\":true,\"framework\":\"ekstep_ncert_k-12\",\"board\":[],\"gradeLevel\":[],\"medium\":[],\"subject\":[],\"roles\":[{\"id\":1,\"name\":\"CONTRIBUTOR\",\"default\":true,\"defaultTab\":1,\"tabs\":[1]},{\"id\":2,\"name\":\"REVIEWER\",\"defaultTab\":2,\"tabs\":[2]}],\"header\":{\"id\":\"ng.sunbird.header\",\"ver\":\"1.0\",\"compId\":\"headerComp\",\"author\":\"Venkat\",\"description\":\"\",\"publishedDate\":\"\",\"data\":{},\"config\":{\"tabs\":[{\"index\":1,\"label\":\"Contribute\",\"onClick\":\"collectionComponent\"},{\"index\":2,\"label\":\"Review\",\"onClick\":\"collectionComponent\"},{\"index\":3,\"label\":\"Dashboard\",\"onClick\":\"dashboardComponent\"}]}},\"components\":[{\"id\":\"ng.sunbird.collection\",\"ver\":\"1.0\",\"compId\":\"collectionComponent\",\"author\":\"Venkat\",\"description\":\"\",\"publishedDate\":\"\",\"data\":{},\"config\":{\"filters\":{\"implicit\":[{\"code\":\"framework\",\"defaultValue\":\"ekstep_ncert_k-12\",\"label\":\"Framework\"},{\"code\":\"board\",\"defaultValue\":\"CBSE\",\"label\":\"Board\"},{\"code\":\"medium\",\"defaultValue\":[\"English\"],\"label\":\"Medium\"}],\"explicit\":[{\"code\":\"gradeLevel\",\"range\":[\"Kindergarten\",\"Grade 1\",\"Grade 2\",\"Grade 3\"],\"label\":\"Class\",\"multiselect\":false,\"defaultValue\":[\"Kindergarten\",\"Grade 1\"],\"visibility\":true},{\"code\":\"subject\",\"range\":[\"English\",\"Mathematics\",\"Hindi\"],\"label\":\"Subject\",\"multiselect\":false,\"defaultValue\":[\"English\"],\"visibility\":true}]},\"groupBy\":{\"value\":\"subject\",\"defaultValue\":\"subject\"},\"collectionType\":\"Textbook\",\"collectionList\":[],\"status\":[\"Draft\",\"Live\"]}},{\"id\":\"ng.sunbird.chapterList\",\"ver\":\"1.0\",\"compId\":\"chapterListComponent\",\"author\":\"Kartheek\",\"description\":\"\",\"publishedDate\":\"\",\"data\":{},\"config\":{\"contentTypes\":{\"value\":[{\"id\":\"explanationContent\",\"label\":\"Explanation\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"video/mp4\",\"video/webm\",\"application/epub\"],\"metadata\":{\"name\":\"Explanation Resource\",\"description\":\"ExplanationResource\",\"resourceType\":\"Read\",\"contentType\":\"ExplanationResource\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553051403878414/artifact/explanation.thumb_1576602846206.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, mp4, webm, epub\",\"size\":\"50\"}},{\"id\":\"learningActivity\",\"label\":\"Activity for Learning\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"video/mp4\",\"video/webm\",\"application/epub\",\"application/vnd.ekstep.h5p-archive\"],\"metadata\":{\"name\":\"Activity for Learning\",\"description\":\"LearningActivity\",\"resourceType\":\"Read\",\"contentType\":\"LearningActivity\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, mp4, webm, epub, h5p\",\"size\":\"50\"}},{\"id\":\"experientialContent\",\"label\":\"Experiential\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"video/mp4\",\"video/webm\"],\"metadata\":{\"name\":\"Experiential Resource\",\"description\":\"ExperientialResource\",\"resourceType\":\"Read\",\"contentType\":\"ExperientialResource\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553051403878414/artifact/explanation.thumb_1576602846206.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"mp4, webm\",\"size\":\"50\"}},{\"id\":\"classroomTeachingVideo\",\"label\":\"Classroom Teaching Video\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"video/mp4\",\"video/webm\"],\"metadata\":{\"name\":\"Classroom Teaching Video\",\"description\":\"ClassroomTeachingVideo\",\"resourceType\":\"Read\",\"contentType\":\"ClassroomTeachingVideo\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"filesConfig\":{\"accepted\":\"mp4, webm\",\"size\":\"50\"}},{\"id\":\"explanationVideo\",\"label\":\"Explanation Video\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"video/mp4\",\"video/webm\"],\"metadata\":{\"name\":\"Explanation Video\",\"description\":\"ExplanationVideo\",\"resourceType\":\"Read\",\"contentType\":\"ExplanationVideo\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"filesConfig\":{\"accepted\":\"mp4, webm\",\"size\":\"50\"}},{\"id\":\"explanationReadingMaterial\",\"label\":\"Explanation Reading Material\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Explanation Reading Material\",\"description\":\"ExplanationReadingMaterial\",\"resourceType\":\"Read\",\"contentType\":\"ExplanationReadingMaterial\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"previousBoardExamPapers\",\"label\":\"Previous Board Exam Papers\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Previous Board Exam Papers\",\"description\":\"PreviousBoardExamPapers\",\"resourceType\":\"Read\",\"contentType\":\"PreviousBoardExamPapers\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"lessonPlanResource\",\"label\":\"Lesson Plan\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Lesson Plan\",\"description\":\"LessonPlanResource\",\"resourceType\":\"Read\",\"contentType\":\"LessonPlanResource\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"focusSpotContent\",\"label\":\"FocusSpot\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"FocusSpot Resource\",\"description\":\"FocusSpot\",\"resourceType\":\"Read\",\"contentType\":\"FocusSpot\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"TeachingMethod\",\"label\":\"Teaching Method\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Teaching Method\",\"description\":\"TeachingMethod\",\"resourceType\":\"Read\",\"contentType\":\"TeachingMethod\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"PedagogyFlow\",\"label\":\"Pedagogy Flow\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Pedagogy Flow\",\"description\":\"PedagogyFlow\",\"resourceType\":\"Read\",\"contentType\":\"PedagogyFlow\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"LearningOutcomeDefinition\",\"label\":\"Learning Outcome Definition\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Learning Outcome Definition\",\"description\":\"LearningOutcomeDefinition\",\"resourceType\":\"Read\",\"contentType\":\"LearningOutcomeDefinition\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"MarkingSchemeRubric\",\"label\":\"Marking Scheme Rubric\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Marking Scheme Rubric\",\"description\":\"MarkingSchemeRubric\",\"resourceType\":\"Read\",\"contentType\":\"MarkingSchemeRubric\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"ConceptMap\",\"label\":\"Concept Map\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Concept Map\",\"description\":\"ConceptMap\",\"resourceType\":\"Read\",\"contentType\":\"ConceptMap\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"SelfAssess\",\"label\":\"Self Assess\",\"onClick\":\"uploadComponent\",\"mimeType\":[\"application/pdf\",\"application/epub\"],\"metadata\":{\"name\":\"Self Assess\",\"description\":\"SelfAssess\",\"resourceType\":\"Read\",\"contentType\":\"SelfAssess\",\"audience\":[\"Learner\"],\"appIcon\":\"https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png\",\"marks\":5},\"filesConfig\":{\"accepted\":\"pdf, epub\",\"size\":\"50\"}},{\"id\":\"vsaPracticeQuestionContent\",\"label\":\"VSA - Practice Sets\",\"onClick\":\"questionSetComponent\",\"mimeType\":[\"application/vnd.ekstep.ecml-archive\"],\"metadata\":{\"name\":\"Practice QuestionSet\",\"description\":\"Practice QuestionSet\",\"resourceType\":\"Learn\",\"contentType\":\"PracticeQuestionSet\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"questionCategories\":[\"vsa\"]},{\"id\":\"saPracticeQuestionContent\",\"label\":\"SA - Practice Sets\",\"onClick\":\"questionSetComponent\",\"mimeType\":[\"application/vnd.ekstep.ecml-archive\"],\"metadata\":{\"name\":\"Practice QuestionSet\",\"description\":\"Practice QuestionSet\",\"resourceType\":\"Learn\",\"contentType\":\"PracticeQuestionSet\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"questionCategories\":[\"sa\"]},{\"id\":\"laPracticeQuestionContent\",\"label\":\"LA - Practice Sets\",\"onClick\":\"questionSetComponent\",\"mimeType\":[\"application/vnd.ekstep.ecml-archive\"],\"metadata\":{\"name\":\"Practice QuestionSet\",\"description\":\"Practice QuestionSet\",\"resourceType\":\"Learn\",\"contentType\":\"PracticeQuestionSet\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"questionCategories\":[\"la\"]},{\"id\":\"mcqPracticeQuestionContent\",\"label\":\"MCQ - Practice Sets\",\"onClick\":\"questionSetComponent\",\"mimeType\":[\"application/vnd.ekstep.ecml-archive\"],\"metadata\":{\"name\":\"Practice QuestionSet\",\"description\":\"Practice QuestionSet\",\"resourceType\":\"Learn\",\"contentType\":\"PracticeQuestionSet\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"questionCategories\":[\"mcq\"]},{\"id\":\"curiositySetContent\",\"label\":\"Curiosity Sets\",\"onClick\":\"curiositySetComponent\",\"mimeType\":[\"application/vnd.ekstep.ecml-archive\"],\"metadata\":{\"name\":\"Curiosity QuestionSet\",\"description\":\"Curiosity QuestionSet\",\"resourceType\":\"Learn\",\"contentType\":\"CuriosityQuestionSet\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"questionCategories\":[\"curiosity\"]}],\"defaultValue\":[{\"id\":\"vsaPracticeQuestionContent\",\"label\":\"Practice Sets\",\"onClick\":\"questionSetComponent\",\"mimeType\":[\"application/vnd.ekstep.ecml-archive\"],\"metadata\":{\"name\":\"Practice QuestionSet\",\"description\":\"Practice QuestionSet\",\"resourceType\":\"Learn\",\"contentType\":\"PracticeQuestionSet\",\"audience\":[\"Learner\"],\"appIcon\":\"\",\"marks\":5},\"questionCategories\":[\"vsa\"]}]}}},{\"id\":\"ng.sunbird.uploadComponent\",\"ver\":\"1.0\",\"compId\":\"uploadContentComponent\",\"author\":\"Kartheek\",\"description\":\"\",\"publishedDate\":\"\",\"data\":{},\"config\":{\"filesConfig\":{\"accepted\":\"pdf, mp4, webm, h5p, epub\",\"size\":\"50\"},\"formConfiguration\":[{\"code\":\"learningOutcome\",\"dataType\":\"list\",\"description\":\"Learning Outcomes For The Content\",\"editable\":true,\"inputType\":\"multiselect\",\"label\":\"Learning Outcome\",\"name\":\"LearningOutcome\",\"placeholder\":\"Select Learning Outcomes\",\"required\":false,\"visible\":true},{\"code\":\"attributions\",\"dataType\":\"list\",\"description\":\"Enter Attributions\",\"editable\":true,\"inputType\":\"text\",\"label\":\"Attributions\",\"name\":\"Attributions\",\"placeholder\":\"Enter Attributions\",\"required\":false,\"visible\":true,\"helpText\":\"If you have relied on another work to create this Content, provide the name of that creator and the source of that work.\"},{\"code\":\"copyright\",\"dataType\":\"text\",\"description\":\"Enter Copyright and Year\",\"editable\":true,\"inputType\":\"text\",\"label\":\"Copyright and Year\",\"name\":\"Copyright\",\"placeholder\":\"Enter Copyright and Year\",\"required\":true,\"visible\":true,\"helpText\":\"If you are an individual, creating original Content, you are the copyright holder. If you are creating Content on behalf of an organisation, the organisation may be the copyright holder. Please fill as , \"},{\"code\":\"creator\",\"dataType\":\"text\",\"description\":\"Enter The Author Name\",\"editable\":true,\"inputType\":\"text\",\"label\":\"Author\",\"name\":\"Author\",\"placeholder\":\"Enter Author Name\",\"required\":true,\"visible\":true,\"helpText\":\"Provide name of creator of this Content.\"},{\"code\":\"license\",\"dataType\":\"list\",\"description\":\"License For The Content\",\"editable\":true,\"inputType\":\"select\",\"label\":\"License\",\"name\":\"License\",\"placeholder\":\"Select License\",\"required\":true,\"visible\":true,\"helpText\":\"Choose the most appropriate Creative Commons License for this Content\"},{\"code\":\"contentPolicyCheck\",\"dataType\":\"boolean\",\"editable\":false,\"inputType\":\"checkbox\",\"name\":\"Content Policy Check\",\"required\":true,\"visible\":true}],\"resourceTitleLength\":\"200\",\"tenantName\":\"SunbirdEd\"}},{\"id\":\"ng.sunbird.practiceSetComponent\",\"ver\":\"1.0\",\"compId\":\"practiceSetComponent\",\"author\":\"Kartheek\",\"description\":\"\",\"publishedDate\":\"\",\"data\":{},\"config\":{\"No of options\":4,\"solutionType\":[\"Video\",\"Text & image\"],\"questionCategory\":[\"vsa\",\"sa\",\"ls\",\"mcq\",\"curiosity\"],\"formConfiguration\":[{\"code\":\"learningOutcome\",\"dataType\":\"list\",\"description\":\"Learning Outcomes For The Content\",\"editable\":true,\"inputType\":\"multiselect\",\"label\":\"Learning Outcome\",\"name\":\"LearningOutcome\",\"placeholder\":\"Select Learning Outcomes\",\"required\":false,\"visible\":true},{\"code\":\"attributions\",\"dataType\":\"list\",\"description\":\"Enter Attributions\",\"editable\":true,\"inputType\":\"text\",\"label\":\"Attributions\",\"name\":\"Attributions\",\"placeholder\":\"Enter Attributions\",\"required\":false,\"visible\":true,\"helpText\":\"If you have relied on another work to create this Content, provide the name of that creator and the source of that work.\"},{\"code\":\"copyright\",\"dataType\":\"text\",\"description\":\"Enter Copyright and Year\",\"editable\":true,\"inputType\":\"text\",\"label\":\"Copyright and Year\",\"name\":\"Copyright\",\"placeholder\":\"Enter Copyright and Year\",\"required\":true,\"visible\":true,\"helpText\":\"If you are an individual, creating original Content, you are the copyright holder. If you are creating Content on behalf of an organisation, the organisation may be the copyright holder. Please fill as , \"},{\"code\":\"creator\",\"dataType\":\"text\",\"description\":\"Enter The Author Name\",\"editable\":true,\"inputType\":\"text\",\"label\":\"Author\",\"name\":\"Author\",\"placeholder\":\"Enter Author Name\",\"required\":true,\"visible\":true,\"helpText\":\"Provide name of creator of this Content.\"},{\"code\":\"license\",\"dataType\":\"list\",\"description\":\"License For The Content\",\"editable\":true,\"inputType\":\"select\",\"label\":\"License\",\"name\":\"License\",\"placeholder\":\"Select License\",\"required\":true,\"visible\":true,\"helpText\":\"Choose the most appropriate Creative Commons License for this Content\"},{\"code\":\"contentPolicyCheck\",\"dataType\":\"boolean\",\"editable\":false,\"inputType\":\"checkbox\",\"name\":\"Content Policy Check\",\"required\":true,\"visible\":true}],\"resourceTitleLength\":\"200\",\"tenantName\":\"\",\"assetConfig\":{\"image\":{\"size\":\"50\",\"accepted\":\"jpeg, png, jpg\"},\"video\":{\"size\":\"50\",\"accepted\":\"pdf, mp4, webm, youtube\"}}}},{\"id\":\"ng.sunbird.dashboard\",\"ver\":\"1.0\",\"compId\":\"dashboardComp\",\"author\":\"Venkanna Gouda\",\"description\":\"\",\"publishedDate\":\"\",\"data\":{},\"config\":{}}],\"sharedContext\":[\"channel\",\"framework\",\"board\",\"medium\",\"gradeLevel\",\"subject\",\"topic\"]}}}" + }, + "url": { + "raw": "{{host}}/api/program/v1/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "create" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Tue, 20 Dec 2022 09:26:32 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + } + ], + "cookie": [], + "body": "{\n \"request_path\": \"/program/v1/crea\",\n \"message\": \"API not found with these values\",\n \"request_host\": [\n \"dock.sunbirded.org\"\n ]\n}" + } + ] + } + ], + "description": "StartFragment\n\nThis API creates the program data for root Org Id or request type. - The _**v1/create**_ endpoint successfully creates the Program Data for a particular Root Org Id or request type.\n\n\\- Required fields cannot be null or empty\n\n\\- Backend Route: [http://program-service:6000/program/v1/create](http://program-service:6000/program/v1/create)\n\nEndFragment" + }, + { + "name": "Publish", + "item": [ + { + "name": "Program-Publish", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var responseJson = pm.response.json();", + "", + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "", + "pm.test(\"response should be okay to process\", function () {", + " pm.response.to.not.be.error;", + " pm.response.to.not.have.jsonBody(\"error\");", + "});", + "", + "pm.test(\"response must be valid and have a body\", function () {", + " pm.response.to.be.ok;", + " pm.response.to.be.withBody;", + " pm.response.to.be.json;", + "});", + "", + "pm.test(\"Successful POST request\", () => {", + " pm.expect(pm.response.code).to.be.oneOf([200,201,202]);", + "});", + "", + "pm.test(\"Reading Response Code & Status\", () => {", + " pm.expect(responseJson.responseCode).to.eql(\"OK\");", + " pm.expect(responseJson.params.status).to.eql(\"successful\");", + " pm.expect(responseJson.result.program_id).not.to.empty;", + " pm.expect(responseJson.result.afterPublishResponse.nomination.result.status).to.eql(\"Approved\");", + "});", + "", + "pm.test(\"Checking for Errors\",() => {", + " pm.expect(responseJson.params.err).to.eql(null);", + " pm.expect(responseJson.params.errmsg).to.eql(null);", + " pm.expect(responseJson.result).to.be.an('object');", + " pm.expect(responseJson.result).not.to.empty;", + " ", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"program_id\": \"a043dc40-3497-11eb-9c32-15914148e3ce\",\n \"channel\": \"sunbird\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/publish", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "publish" + ] + }, + "description": "program/publish" + }, + "response": [ + { + "name": "200 Success", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"program_id\": \"a043dc40-3497-11eb-9c32-15914148e3ce\",\n \"channel\": \"sunbird\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/publish", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "publish" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Tue, 20 Dec 2022 09:32:09 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "805" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29999" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"325-CumT3ak6Qhjw9ZUjChmIrmJ7+IM\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "1464" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.v1.publish\",\n \"ver\": \"1.0\",\n \"ts\": \"2022-12-20T09:32:09.710Z\",\n \"params\": {\n \"resmsgid\": \"2d2ac8e0-8049-11ed-be8b-9962d8844469\",\n \"msgid\": \"2c4c4fc0-8049-11ed-be8b-9962d8844469\",\n \"status\": \"successful\",\n \"err\": null,\n \"errmsg\": null\n },\n \"responseCode\": \"OK\",\n \"result\": {\n \"program_id\": \"a043dc40-3497-11eb-9c32-15914148e3ce\",\n \"afterPublishResponse\": {\n \"nomination\": {\n \"error\": null,\n \"result\": {\n \"program_id\": \"a043dc40-3497-11eb-9c32-15914148e3ce\",\n \"user_id\": \"48dc0e70-2775-474b-9b78-def27d047836\",\n \"organisation_id\": \"e0ab89f4-0fcb-47ea-9b70-3ed0f12b1b7a\",\n \"status\": \"Approved\",\n \"collection_ids\": [\n \"do_11369316334888550414055\",\n \"do_11369316334883635214053\",\n \"do_11369316334885273614054\"\n ],\n \"content_types\": [\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Teacher Resource\"\n ]\n }\n },\n \"userMapping\": {}\n }\n }\n}" + }, + { + "name": "400 Bad Request without program-id", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal" + }, + { + "key": "ts", + "value": "2020-12-02T17:43:08+05:30" + }, + { + "key": "X-msgid", + "value": "d1779d38-be15-4cad-0d05-1ef203a9960f" + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web" + }, + { + "key": "X-Device-ID", + "value": "6a6ec694e694548fef971f85910385bd" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin" + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors" + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty" + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/sourcing/create-program" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3AcaEnehC6-uy_KeUIERCclp4psONUAj6U.FQ6wkXD5Pz6jWMRTOE3CGS%2FRszGF8PEmszrnx3AcpNM" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"program_id\": \"\",\n \"channel\": \"sunbird\"\n }\n}" + }, + "url": { + "raw": "https://dock.sunbirded.org/content/program/v1/publish", + "protocol": "https", + "host": [ + "dock", + "sunbirded", + "org" + ], + "path": [ + "content", + "program", + "v1", + "publish" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Wed, 02 Dec 2020 18:27:31 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "303" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-DNS-Prefetch-Control", + "value": "off" + }, + { + "key": "X-Frame-Options", + "value": "SAMEORIGIN" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15552000; includeSubDomains" + }, + { + "key": "X-Download-Options", + "value": "noopen" + }, + { + "key": "X-Content-Type-Options", + "value": "nosniff" + }, + { + "key": "X-XSS-Protection", + "value": "1; mode=block" + }, + { + "key": "x-ratelimit-limit-hour", + "value": "30000" + }, + { + "key": "x-ratelimit-remaining-hour", + "value": "29996" + }, + { + "key": "x-powered-by", + "value": "Express" + }, + { + "key": "access-control-allow-origin", + "value": "*" + }, + { + "key": "access-control-allow-methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "access-control-allow-headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "etag", + "value": "W/\"12f-wpUjwpHaSGWjjFr4i4QukZlWr8s\"" + }, + { + "key": "x-kong-upstream-latency", + "value": "4" + }, + { + "key": "x-kong-proxy-latency", + "value": "0" + }, + { + "key": "via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.v1.publish\",\n \"ver\": \"1.0\",\n \"ts\": \"2020-12-02T18:27:31.311Z\",\n \"params\": {\n \"resmsgid\": \"0a251ff0-34cc-11eb-9c32-15914148e3ce\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_PUBLISH_PROGRAM_DATA\",\n \"errmsg\": \"Required fields while publishing program data are missing\"\n },\n \"responseCode\": \"CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "400 bad Request without channel", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal" + }, + { + "key": "ts", + "value": "2020-12-02T17:43:08+05:30" + }, + { + "key": "X-msgid", + "value": "d1779d38-be15-4cad-0d05-1ef203a9960f" + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web" + }, + { + "key": "X-Device-ID", + "value": "6a6ec694e694548fef971f85910385bd" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin" + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors" + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty" + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/sourcing/create-program" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3AcaEnehC6-uy_KeUIERCclp4psONUAj6U.FQ6wkXD5Pz6jWMRTOE3CGS%2FRszGF8PEmszrnx3AcpNM" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"program_id\": \"a043dc40-3497-11eb-9c32-15914148e3ce\",\n \"channel\": \"\"\n }\n}" + }, + "url": { + "raw": "https://dock.sunbirded.org/content/program/v1/publish", + "protocol": "https", + "host": [ + "dock", + "sunbirded", + "org" + ], + "path": [ + "content", + "program", + "v1", + "publish" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Wed, 02 Dec 2020 18:28:15 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "303" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-DNS-Prefetch-Control", + "value": "off" + }, + { + "key": "X-Frame-Options", + "value": "SAMEORIGIN" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15552000; includeSubDomains" + }, + { + "key": "X-Download-Options", + "value": "noopen" + }, + { + "key": "X-Content-Type-Options", + "value": "nosniff" + }, + { + "key": "X-XSS-Protection", + "value": "1; mode=block" + }, + { + "key": "x-ratelimit-limit-hour", + "value": "30000" + }, + { + "key": "x-ratelimit-remaining-hour", + "value": "29995" + }, + { + "key": "x-powered-by", + "value": "Express" + }, + { + "key": "access-control-allow-origin", + "value": "*" + }, + { + "key": "access-control-allow-methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "access-control-allow-headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "etag", + "value": "W/\"12f-0004IvEeEFBy1PBivydxVduAAbk\"" + }, + { + "key": "x-kong-upstream-latency", + "value": "4" + }, + { + "key": "x-kong-proxy-latency", + "value": "0" + }, + { + "key": "via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.v1.publish\",\n \"ver\": \"1.0\",\n \"ts\": \"2020-12-02T18:28:15.284Z\",\n \"params\": {\n \"resmsgid\": \"245adf40-34cc-11eb-9c32-15914148e3ce\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_PUBLISH_PROGRAM_DATA\",\n \"errmsg\": \"Required fields while publishing program data are missing\"\n },\n \"responseCode\": \"CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "401 Unauthorized", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "text", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"program_id\": \"a043dc40-3497-11eb-9c32-15914148e3ce\",\n \"channel\": \"sunbird\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/publish", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "publish" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Fri, 23 Dec 2022 12:39:55 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + } + ], + "cookie": [], + "body": "{\n \"message\": \"Unauthorized\"\n}" + }, + { + "name": "404 Not Found", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal" + }, + { + "key": "ts", + "value": "2020-12-02T17:43:08+05:30" + }, + { + "key": "X-msgid", + "value": "d1779d38-be15-4cad-0d05-1ef203a9960f" + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36" + }, + { + "key": "Content-Type", + "name": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web" + }, + { + "key": "X-Device-ID", + "value": "6a6ec694e694548fef971f85910385bd" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin" + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors" + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty" + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/sourcing/create-program" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3AcaEnehC6-uy_KeUIERCclp4psONUAj6U.FQ6wkXD5Pz6jWMRTOE3CGS%2FRszGF8PEmszrnx3AcpNM" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"program_id\": \"a043dc40-3497-11eb-9c32-15914148e3ce\",\n \"channel\": \"sunbird\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://dock.sunbirded.org/content/v1/publish", + "protocol": "https", + "host": [ + "dock", + "sunbirded", + "org" + ], + "path": [ + "content", + "v1", + "publish" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Thu, 03 Dec 2020 08:12:15 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "101" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-DNS-Prefetch-Control", + "value": "off" + }, + { + "key": "X-Frame-Options", + "value": "SAMEORIGIN" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15552000; includeSubDomains" + }, + { + "key": "X-Download-Options", + "value": "noopen" + }, + { + "key": "X-Content-Type-Options", + "value": "nosniff" + }, + { + "key": "X-XSS-Protection", + "value": "1; mode=block" + }, + { + "key": "ETag", + "value": "W/\"65-iyQal57nybNWZnkbUcMmheI80ms\"" + } + ], + "cookie": [], + "body": "{\n \"request_path\": \"/v1/publish\",\n \"message\": \"API not found with these values\",\n \"request_host\": [\n \"kong\"\n ]\n}" + } + ] + } + ], + "description": "StartFragment\n\nThis API publishes the program data for program Id or channel. - The _**v1/publish**_ endpoint successfully publishes the Program Data for a particular Program Id or channel.\n\n\\- Required fields cannot be null or empty\n\n\\- Backend Route: [http://program-service:6000/program/v1/publish](http://program-service:6000/program/v1/publish)\n\nEndFragment" + }, + { + "name": "Unlist Publish", + "item": [ + { + "name": "Unlist-Publish", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var responseJson = pm.response.json();", + "", + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "", + "pm.test(\"response should be okay to process\", function () {", + " pm.response.to.not.be.error;", + " pm.response.to.not.have.jsonBody(\"error\");", + "});", + "", + "pm.test(\"response must be valid and have a body\", function () {", + " pm.response.to.be.ok;", + " pm.response.to.be.withBody;", + " pm.response.to.be.json;", + "});", + "", + "pm.test(\"Successful POST request\", () => {", + " pm.expect(pm.response.code).to.be.oneOf([200,201,202]);", + "});", + "", + "pm.test(\"Reading Response Code & Status\", () => {", + " pm.expect(responseJson.responseCode).to.eql(\"OK\");", + " pm.expect(responseJson.params.status).to.eql(\"successful\");", + " pm.expect(responseJson.result.program_id).not.to.empty;", + " pm.expect(responseJson.result.afterPublishResponse.nomination.result.status).to.eql(\"Approved\");", + "});", + "", + "pm.test(\"Checking for Errors\",() => {", + " pm.expect(responseJson.params.err).to.eql(null);", + " pm.expect(responseJson.params.errmsg).to.eql(null);", + " pm.expect(responseJson.result).to.be.an('object');", + " pm.expect(responseJson.result).not.to.empty;", + " pm.expect(responseJson.result.afterPublishResponse.nomination.result.content_types).to.be.an('array');", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org", + "type": "text" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"program_id\": \"f2c1d380-389a-11eb-af92-c5fb4afce83e\",\n \"channel\": \"sunbird\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/unlist/publish", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "unlist", + "publish" + ] + } + }, + "response": [ + { + "name": "200 Success", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "name": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org", + "type": "text" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"program_id\": \"f2c1d380-389a-11eb-af92-c5fb4afce83e\",\n \"channel\": \"sunbird\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/program/v1/unlist/publish", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "unlist", + "publish" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Tue, 20 Dec 2022 09:33:50 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "707" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29999" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"2c3-imaLPhzsEm6F5Mtz5pB+3YSxwnI\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "1207" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.unlist.publish\",\n \"ver\": \"1.0\",\n \"ts\": \"2022-12-20T09:33:50.902Z\",\n \"params\": {\n \"resmsgid\": \"697b7560-8049-11ed-be8b-9962d8844469\",\n \"msgid\": \"68c45a60-8049-11ed-be8b-9962d8844469\",\n \"status\": \"successful\",\n \"err\": null,\n \"errmsg\": null\n },\n \"responseCode\": \"OK\",\n \"result\": {\n \"program_id\": \"f2c1d380-389a-11eb-af92-c5fb4afce83e\",\n \"afterPublishResponse\": {\n \"nomination\": {\n \"error\": null,\n \"result\": {\n \"program_id\": \"f2c1d380-389a-11eb-af92-c5fb4afce83e\",\n \"user_id\": \"48dc0e70-2775-474b-9b78-def27d047836\",\n \"organisation_id\": \"e0ab89f4-0fcb-47ea-9b70-3ed0f12b1b7a\",\n \"status\": \"Approved\",\n \"collection_ids\": [\n \"do_11369316418050457614056\"\n ],\n \"content_types\": [\n \"Course Assessment\",\n \"Explanation Content\",\n \"eTextbook\",\n \"Teacher Resource\"\n ]\n }\n },\n \"userMapping\": {}\n }\n }\n}" + }, + { + "name": "400 Bad Request", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "name": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org", + "type": "text" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"program_id\": \"f2c1d380-389a-11eb-af92-c5fb4afce83e\",\n \"channel\": \"sunbird\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/program/v1/unlist/publish", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "unlist", + "publish" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Fri, 23 Dec 2022 12:43:52 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "344" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29998" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"158-r3zqjq+N88LZfHv2XeG2tOxP29g\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "562" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.unlist.publish\",\n \"ver\": \"1.0\",\n \"ts\": \"2022-12-23T12:43:52.201Z\",\n \"params\": {\n \"resmsgid\": \"746cdf91-82bf-11ed-be8b-9962d8844469\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_FETCHING_HIERARCHY_FOR_COLLECTION\",\n \"errmsg\": \"Unable to fetch hierarchy for collections\"\n },\n \"responseCode\": \"ERR_FETCHING_HIERARCHY_FOR_COLLECTION04_SERVER_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "400 Bad Request without body params", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org", + "type": "text" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{}" + }, + "url": { + "raw": "{{host}}/api/program/v1/unlist/publish", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "unlist", + "publish" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Fri, 23 Dec 2022 12:49:19 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "334" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29994" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"14e-FzYqY2Sfy0yCshCdjGUHfzyYiZA\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "7" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.unlist.publish\",\n \"ver\": \"1.0\",\n \"ts\": \"2022-12-23T12:49:19.101Z\",\n \"params\": {\n \"resmsgid\": \"3745dad1-82c0-11ed-be8b-9962d8844469\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_PUBLISH_PROGRAM_DATA\",\n \"errmsg\": \"Required fields while publishing program data are missing\"\n },\n \"responseCode\": \"ERR_PUBLISH_PROGRAM_DATA01_CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "400 Bad Request without channel", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org", + "type": "text" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"program_id\": \"f2c1d380-389a-11eb-af92-c5fb4afce83e\"\n \n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/unlist/publish", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "unlist", + "publish" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Fri, 23 Dec 2022 12:46:50 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "334" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29996" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"14e-C6/9hLstwpFqqY8ZsiqaSBgj4v0\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "6" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.unlist.publish\",\n \"ver\": \"1.0\",\n \"ts\": \"2022-12-23T12:46:50.294Z\",\n \"params\": {\n \"resmsgid\": \"de93b560-82bf-11ed-be8b-9962d8844469\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_PUBLISH_PROGRAM_DATA\",\n \"errmsg\": \"Required fields while publishing program data are missing\"\n },\n \"responseCode\": \"ERR_PUBLISH_PROGRAM_DATA01_CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "400 Bad request without program id", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org", + "type": "text" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \n \"channel\": \"sunbird\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/unlist/publish", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "unlist", + "publish" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Fri, 23 Dec 2022 12:47:30 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "334" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29995" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"14e-gEou2VuWEwWk596iEPU5qffULWU\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "9" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.unlist.publish\",\n \"ver\": \"1.0\",\n \"ts\": \"2022-12-23T12:47:30.253Z\",\n \"params\": {\n \"resmsgid\": \"f664f7d0-82bf-11ed-be8b-9962d8844469\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_PUBLISH_PROGRAM_DATA\",\n \"errmsg\": \"Required fields while publishing program data are missing\"\n },\n \"responseCode\": \"ERR_PUBLISH_PROGRAM_DATA01_CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "401 Unauthorized", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org", + "type": "text" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "text", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"program_id\": \"f2c1d380-389a-11eb-af92-c5fb4afce83e\",\n \"channel\": \"sunbird\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/unlist/publish", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "unlist", + "publish" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Fri, 23 Dec 2022 12:46:21 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + } + ], + "cookie": [], + "body": "{\n \"message\": \"Unauthorized\"\n}" + } + ] + } + ], + "description": "StartFragment\n\nThis API unlist the Published content based on request program Id/ channel. - The _**unlist/publish**_ endpoint successfully unlist the content published for the provided program Id.\n\n\\- Required fields cannot be null or empty\n\n\\- Backend Route: [http://program-service:6000/program/v1/unlist/publish](http://program-service:6000/program/v1/unlist/publish)\n\nEndFragment" + }, + { + "name": "Read", + "item": [ + { + "name": "Read-Program", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var responseJson = pm.response.json();", + "", + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "", + "pm.test(\"response should be okay to process\", function () {", + " pm.response.to.not.be.error;", + " pm.response.to.not.have.jsonBody(\"error\");", + "});", + "", + "pm.test(\"response must be valid and have a body\", function () {", + " pm.response.to.be.ok;", + " pm.response.to.be.withBody;", + " pm.response.to.be.json;", + "});", + "", + "pm.test(\"Successful GET request\", () => {", + " pm.expect(pm.response.code).to.be.oneOf([200,201,202]);", + "});", + "", + "pm.test(\"Reading Response Code & Status\", () => {", + " pm.expect(responseJson.responseCode).to.eql(\"OK\");", + " pm.expect(responseJson.params.status).to.eql(\"successful\");", + "});", + "", + "pm.test(\"Checking for Errors\",() => {", + " pm.expect(responseJson.params.err).to.eql(null);", + " pm.expect(responseJson.params.errmsg).to.eql(null);", + " pm.expect(responseJson.result).to.be.an('object');", + " pm.expect(responseJson.result).not.to.empty;", + " pm.expect(responseJson.result.program_id).not.to.eql(\"\");", + " pm.expect(responseJson.result.collection_ids).to.be.an('array');", + " pm.expect(responseJson.result.startdate).not.to.eql(\"\");", + " pm.expect(responseJson.result.nomination_enddate).not.to.eql(\"\");", + " pm.expect(responseJson.result.shortlisting_enddate).not.to.eql(\"\");", + " pm.expect(responseJson.result.content_submission_enddate).not.to.eql(\"\");", + " pm.expect(responseJson.result.config).to.be.an(\"object\");", + " pm.expect(responseJson.result.startdate).not.to.empty;", + " pm.expect(responseJson.result.status).not.to.empty;", + " pm.expect(responseJson.result.content_types).to.be.an('array');", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "text" + } + ], + "url": { + "raw": "{{host}}/api/program/v1/read/c43f7790-0a2a-11eb-a2e9-4fe29a51bb70", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "read", + "c43f7790-0a2a-11eb-a2e9-4fe29a51bb70" + ] + } + }, + "response": [ + { + "name": "200 Success", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "text" + } + ], + "url": { + "raw": "{{host}}/api/program/v1/read/c43f7790-0a2a-11eb-a2e9-4fe29a51bb70", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "read", + "c43f7790-0a2a-11eb-a2e9-4fe29a51bb70" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Tue, 20 Dec 2022 09:35:25 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "9362" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29999" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"2492-cVtU5nb1PNHafwB+LGzQ46n6F5k\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "266" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.program.read\",\n \"ts\": \"2022-12-20T09:35:25.751Z\",\n \"params\": {\n \"resmsgid\": \"a2044471-8049-11ed-be8b-9962d8844469\",\n \"msgid\": \"a2044470-8049-11ed-be8b-9962d8844469\",\n \"status\": \"successful\",\n \"err\": null,\n \"errmsg\": null\n },\n \"responseCode\": \"OK\",\n \"result\": {\n \"program_id\": \"c43f7790-0a2a-11eb-a2e9-4fe29a51bb70\",\n \"name\": \"DOCK_ISSUE_DOUBLE\",\n \"description\": \"SAMPLE\",\n \"type\": \"public\",\n \"collection_ids\": [\n \"do_113108644711645184186\",\n \"do_11312258137206784011\"\n ],\n \"content_types\": [\n \"Teacher Resource\"\n ],\n \"target_collection_category\": null,\n \"targetprimarycategories\": null,\n \"targetprimarycategorynames\": null,\n \"target_type\": \"collections\",\n \"startdate\": \"2020-10-15T09:50:51.646Z\",\n \"enddate\": \"2021-02-25T18:30:00.000Z\",\n \"nomination_enddate\": \"2020-12-31T18:30:00.000Z\",\n \"shortlisting_enddate\": \"2021-01-08T18:30:00.000Z\",\n \"content_submission_enddate\": \"2021-02-06T18:30:00.000Z\",\n \"image\": null,\n \"status\": \"Live\",\n \"slug\": \"sunbird\",\n \"config\": {\n \"board\": \"CBSE\",\n \"roles\": [\n {\n \"id\": 1,\n \"name\": \"CONTRIBUTOR\",\n \"tabs\": [\n 1\n ],\n \"default\": true,\n \"defaultTab\": 1\n },\n {\n \"id\": 2,\n \"name\": \"REVIEWER\",\n \"tabs\": [\n 2\n ],\n \"defaultTab\": 2\n }\n ],\n \"header\": {\n \"id\": \"ng.sunbird.header\",\n \"ver\": \"1.0\",\n \"data\": {},\n \"author\": \"Venkat\",\n \"compId\": \"headerComp\",\n \"config\": {\n \"tabs\": [\n {\n \"index\": 1,\n \"label\": \"Contribute\",\n \"onClick\": \"collectionComponent\"\n },\n {\n \"index\": 2,\n \"label\": \"Review\",\n \"onClick\": \"collectionComponent\"\n },\n {\n \"index\": 3,\n \"label\": \"Dashboard\",\n \"onClick\": \"dashboardComponent\"\n }\n ]\n },\n \"description\": \"\",\n \"publishedDate\": \"\"\n },\n \"medium\": [\n \"English\"\n ],\n \"actions\": {\n \"showCert\": {\n \"roles\": [\n 4\n ]\n },\n \"showEdit\": {\n \"roles\": [\n 1\n ]\n },\n \"showSave\": {\n \"roles\": [\n 1\n ]\n },\n \"showSubmit\": {\n \"roles\": [\n 1\n ]\n },\n \"showFilters\": {\n \"roles\": [\n 1,\n 2,\n 3\n ]\n },\n \"showPublish\": {\n \"roles\": [\n 2\n ]\n },\n \"showRejected\": {\n \"roles\": [\n 1\n ]\n },\n \"showDashboard\": {\n \"roles\": [\n 3\n ]\n },\n \"showChangeFile\": {\n \"roles\": [\n 1\n ]\n },\n \"showCountPanel\": {\n \"roles\": [\n 1,\n 2\n ]\n },\n \"showAddResource\": {\n \"roles\": [\n 1\n ]\n },\n \"showCreatorView\": {\n \"roles\": [\n 1\n ]\n },\n \"showUnderReview\": {\n \"roles\": [\n 1\n ]\n },\n \"showUpforReview\": {\n \"roles\": [\n 2\n ]\n },\n \"showContribution\": {\n \"roles\": [\n 1\n ]\n },\n \"showEditResource\": {\n \"roles\": [\n 1\n ]\n },\n \"showMoveResource\": {\n \"roles\": [\n 1\n ]\n },\n \"showReviewerView\": {\n \"roles\": [\n 2\n ]\n },\n \"showCreateQuestion\": {\n \"roles\": [\n 1\n ]\n },\n \"showDeleteQuestion\": {\n \"roles\": [\n 1\n ]\n },\n \"showDeleteResource\": {\n \"roles\": [\n 1\n ]\n },\n \"showMyContribution\": {\n \"roles\": [\n 1\n ]\n },\n \"showRequestChanges\": {\n \"roles\": [\n 2\n ]\n },\n \"showAawaitingReview\": {\n \"roles\": [\n 2\n ]\n },\n \"showPreviewResource\": {\n \"roles\": [\n 2\n ]\n },\n \"showTotalUnderReview\": {\n \"roles\": [\n 2\n ]\n },\n \"showTotalContribution\": {\n \"roles\": [\n 1\n ]\n }\n },\n \"subject\": [\n \"Hindi\",\n \"Science\"\n ],\n \"_comments\": \"\",\n \"framework\": \"ekstep_ncert_k-12\",\n \"components\": [\n {\n \"id\": \"ng.sunbird.collection\",\n \"ver\": \"1.0\",\n \"data\": {},\n \"author\": \"Venkat\",\n \"compId\": \"collectionComponent\",\n \"config\": {\n \"status\": [\n \"Draft\",\n \"Live\"\n ],\n \"filters\": {\n \"explicit\": [\n {\n \"code\": \"gradeLevel\",\n \"label\": \"Class\",\n \"range\": [\n \"Kindergarten\",\n \"Grade 1\",\n \"Grade 2\",\n \"Grade 3\"\n ],\n \"visibility\": true,\n \"multiselect\": false,\n \"defaultValue\": [\n \"Kindergarten\",\n \"Grade 1\"\n ]\n },\n {\n \"code\": \"subject\",\n \"label\": \"Subject\",\n \"range\": [\n \"English\",\n \"Mathematics\",\n \"Hindi\"\n ],\n \"visibility\": true,\n \"multiselect\": false,\n \"defaultValue\": [\n \"English\"\n ]\n }\n ],\n \"implicit\": [\n {\n \"code\": \"framework\",\n \"label\": \"Framework\",\n \"defaultValue\": \"ekstep_ncert_k-12\"\n },\n {\n \"code\": \"board\",\n \"label\": \"Board\",\n \"defaultValue\": \"CBSE\"\n },\n {\n \"code\": \"medium\",\n \"label\": \"Medium\",\n \"defaultValue\": [\n \"English\"\n ]\n }\n ]\n },\n \"groupBy\": {\n \"value\": \"subject\",\n \"defaultValue\": \"subject\"\n },\n \"collectionList\": [],\n \"collectionType\": \"Textbook\"\n },\n \"description\": \"\",\n \"publishedDate\": \"\"\n },\n {\n \"id\": \"ng.sunbird.chapterList\",\n \"ver\": \"1.0\",\n \"data\": {},\n \"author\": \"Kartheek\",\n \"compId\": \"chapterListComponent\",\n \"config\": {\n \"contentTypes\": {\n \"value\": [],\n \"defaultValue\": [\n {\n \"id\": \"vsaPracticeQuestionContent\",\n \"label\": \"Practice Sets\",\n \"onClick\": \"questionSetComponent\",\n \"metadata\": {\n \"name\": \"Practice QuestionSet\",\n \"marks\": 5,\n \"appIcon\": \"\",\n \"audience\": [\n \"Learner\"\n ],\n \"contentType\": \"PracticeQuestionSet\",\n \"description\": \"Practice QuestionSet\",\n \"resourceType\": \"Learn\"\n },\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\"\n ],\n \"questionCategories\": [\n \"vsa\"\n ]\n }\n ]\n }\n },\n \"description\": \"\",\n \"publishedDate\": \"\"\n },\n {\n \"id\": \"ng.sunbird.uploadComponent\",\n \"ver\": \"1.0\",\n \"data\": {},\n \"author\": \"Kartheek\",\n \"compId\": \"uploadContentComponent\",\n \"config\": {\n \"tenantName\": \"SunbirdEd\",\n \"filesConfig\": {\n \"size\": \"50\",\n \"accepted\": \"pdf, mp4, webm, h5p, epub\"\n },\n \"formConfiguration\": [\n {\n \"code\": \"learningOutcome\",\n \"name\": \"LearningOutcome\",\n \"label\": \"Learning Outcome\",\n \"visible\": true,\n \"dataType\": \"list\",\n \"editable\": true,\n \"required\": false,\n \"inputType\": \"multiselect\",\n \"description\": \"Learning Outcomes For The Content\",\n \"placeholder\": \"Select Learning Outcomes\"\n },\n {\n \"code\": \"attributions\",\n \"name\": \"Attributions\",\n \"label\": \"Attributions\",\n \"visible\": true,\n \"dataType\": \"list\",\n \"editable\": true,\n \"helpText\": \"If you have relied on another work to create this Content, provide the name of that creator and the source of that work.\",\n \"required\": false,\n \"inputType\": \"text\",\n \"description\": \"Enter Attributions\",\n \"placeholder\": \"Enter Attributions\"\n },\n {\n \"code\": \"copyright\",\n \"name\": \"Copyright\",\n \"label\": \"Copyright and Year\",\n \"visible\": true,\n \"dataType\": \"text\",\n \"editable\": true,\n \"helpText\": \"If you are an individual, creating original Content, you are the copyright holder. If you are creating Content on behalf of an organisation, the organisation may be the copyright holder. Please fill as , \",\n \"required\": true,\n \"inputType\": \"text\",\n \"description\": \"Enter Copyright and Year\",\n \"placeholder\": \"Enter Copyright and Year\"\n },\n {\n \"code\": \"creator\",\n \"name\": \"Author\",\n \"label\": \"Author\",\n \"visible\": true,\n \"dataType\": \"text\",\n \"editable\": true,\n \"helpText\": \"Provide name of creator of this Content.\",\n \"required\": true,\n \"inputType\": \"text\",\n \"description\": \"Enter The Author Name\",\n \"placeholder\": \"Enter Author Name\"\n },\n {\n \"code\": \"license\",\n \"name\": \"License\",\n \"label\": \"License\",\n \"visible\": true,\n \"dataType\": \"list\",\n \"editable\": true,\n \"helpText\": \"Choose the most appropriate Creative Commons License for this Content\",\n \"required\": true,\n \"inputType\": \"select\",\n \"description\": \"License For The Content\",\n \"placeholder\": \"Select License\"\n },\n {\n \"code\": \"contentPolicyCheck\",\n \"name\": \"Content Policy Check\",\n \"visible\": true,\n \"dataType\": \"boolean\",\n \"editable\": false,\n \"required\": true,\n \"inputType\": \"checkbox\"\n }\n ],\n \"resourceTitleLength\": \"200\"\n },\n \"description\": \"\",\n \"publishedDate\": \"\"\n },\n {\n \"id\": \"ng.sunbird.practiceSetComponent\",\n \"ver\": \"1.0\",\n \"data\": {},\n \"author\": \"Kartheek\",\n \"compId\": \"practiceSetComponent\",\n \"config\": {\n \"tenantName\": \"\",\n \"assetConfig\": {\n \"image\": {\n \"size\": \"50\",\n \"accepted\": \"jpeg, png, jpg\"\n },\n \"video\": {\n \"size\": \"50\",\n \"accepted\": \"pdf, mp4, webm, youtube\"\n }\n },\n \"solutionType\": [\n \"Video\",\n \"Text & image\"\n ],\n \"No of options\": 4,\n \"questionCategory\": [\n \"vsa\",\n \"sa\",\n \"ls\",\n \"mcq\",\n \"curiosity\"\n ],\n \"formConfiguration\": [\n {\n \"code\": \"learningOutcome\",\n \"name\": \"LearningOutcome\",\n \"label\": \"Learning Outcome\",\n \"visible\": true,\n \"dataType\": \"list\",\n \"editable\": true,\n \"required\": false,\n \"inputType\": \"multiselect\",\n \"description\": \"Learning Outcomes For The Content\",\n \"placeholder\": \"Select Learning Outcomes\"\n },\n {\n \"code\": \"attributions\",\n \"name\": \"Attributions\",\n \"label\": \"Attributions\",\n \"visible\": true,\n \"dataType\": \"list\",\n \"editable\": true,\n \"helpText\": \"If you have relied on another work to create this Content, provide the name of that creator and the source of that work.\",\n \"required\": false,\n \"inputType\": \"text\",\n \"description\": \"Enter Attributions\",\n \"placeholder\": \"Enter Attributions\"\n },\n {\n \"code\": \"copyright\",\n \"name\": \"Copyright\",\n \"label\": \"Copyright and Year\",\n \"visible\": true,\n \"dataType\": \"text\",\n \"editable\": true,\n \"helpText\": \"If you are an individual, creating original Content, you are the copyright holder. If you are creating Content on behalf of an organisation, the organisation may be the copyright holder. Please fill as , \",\n \"required\": true,\n \"inputType\": \"text\",\n \"description\": \"Enter Copyright and Year\",\n \"placeholder\": \"Enter Copyright and Year\"\n },\n {\n \"code\": \"creator\",\n \"name\": \"Author\",\n \"label\": \"Author\",\n \"visible\": true,\n \"dataType\": \"text\",\n \"editable\": true,\n \"helpText\": \"Provide name of creator of this Content.\",\n \"required\": true,\n \"inputType\": \"text\",\n \"description\": \"Enter The Author Name\",\n \"placeholder\": \"Enter Author Name\"\n },\n {\n \"code\": \"license\",\n \"name\": \"License\",\n \"label\": \"License\",\n \"visible\": true,\n \"dataType\": \"list\",\n \"editable\": true,\n \"helpText\": \"Choose the most appropriate Creative Commons License for this Content\",\n \"required\": true,\n \"inputType\": \"select\",\n \"description\": \"License For The Content\",\n \"placeholder\": \"Select License\"\n },\n {\n \"code\": \"contentPolicyCheck\",\n \"name\": \"Content Policy Check\",\n \"visible\": true,\n \"dataType\": \"boolean\",\n \"editable\": false,\n \"required\": true,\n \"inputType\": \"checkbox\"\n }\n ],\n \"resourceTitleLength\": \"200\"\n },\n \"description\": \"\",\n \"publishedDate\": \"\"\n },\n {\n \"id\": \"ng.sunbird.dashboard\",\n \"ver\": \"1.0\",\n \"data\": {},\n \"author\": \"Venkanna Gouda\",\n \"compId\": \"dashboardComp\",\n \"config\": {},\n \"description\": \"\",\n \"publishedDate\": \"\"\n }\n ],\n \"gradeLevel\": [\n \"Class 10\",\n \"Class 1\",\n \"Class 3\",\n \"Class 9\",\n \"Class 2\",\n \"Class 5\",\n \"Class 8\",\n \"Class 7\",\n \"Class 4\",\n \"Class 6\"\n ],\n \"collections\": [\n {\n \"id\": \"do_113108644711645184186\",\n \"children\": [\n {\n \"id\": \"do_113108645442945024187\",\n \"allowed_content_types\": []\n },\n {\n \"id\": \"do_113108645443067904189\",\n \"allowed_content_types\": []\n }\n ],\n \"allowed_content_types\": []\n },\n {\n \"id\": \"do_11312258137206784011\",\n \"children\": [\n {\n \"id\": \"do_11312258165131673612\",\n \"allowed_content_types\": []\n },\n {\n \"id\": \"do_11312258165488025614\",\n \"allowed_content_types\": []\n }\n ],\n \"allowed_content_types\": []\n }\n ],\n \"loginReqired\": true,\n \"sharedContext\": [\n \"channel\",\n \"framework\",\n \"board\",\n \"medium\",\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"defaultContributeOrgReview\": false\n },\n \"rolemapping\": null,\n \"createdby\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"updatedby\": null,\n \"createdon\": \"2020-10-15T09:50:51.646Z\",\n \"updatedon\": \"2020-11-09T23:42:52.748Z\",\n \"rootorg_id\": \"01309282781705830427\",\n \"sourcing_org_name\": \"NIT\",\n \"channel\": \"DIKSHA\",\n \"template_id\": \"template1\",\n \"guidelines_url\": null,\n \"acceptedcontents\": null,\n \"rejectedcontents\": null,\n \"sourcingrejectedcomments\": null\n }\n}" + }, + { + "name": "401 Unauthorized", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "text", + "disabled": true + } + ], + "url": { + "raw": "{{host}}/api/program/v1/read/c43f7790-0a2a-11eb-a2e9-4fe29a51bb70", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "read", + "c43f7790-0a2a-11eb-a2e9-4fe29a51bb70" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Fri, 23 Dec 2022 12:58:14 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + } + ], + "cookie": [], + "body": "{\n \"message\": \"Unauthorized\"\n}" + }, + { + "name": "404 Not Found without program id", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "text" + } + ], + "url": { + "raw": "{{host}}/api/program/v1/read/", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "read", + "" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "html", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Fri, 23 Dec 2022 13:01:35 GMT" + }, + { + "key": "Content-Type", + "value": "text/html; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "155" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29993" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "Content-Security-Policy", + "value": "default-src 'self'" + }, + { + "key": "X-Content-Type-Options", + "value": "nosniff" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "6" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "\n\n \n \n Error\n \n \n
Cannot GET /program/v1/read/
\n \n" + } + ] + } + ], + "description": "StartFragment\n\nThis API get the program Data for program Id. - The _**v1/read**_ endpoint successfully loads the program data for provided Program Id.\n\n\\- Required fields cannot be null or empty\n\n\\- Backend Route: [http://program-service:6000/program/v1/read](http://program-service:6000/program/v1/read)\n\nEndFragment" + }, + { + "name": "Program List", + "item": [ + { + "name": "Program-List", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "let jsonResponse = pm.response.json();", + "", + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "", + "pm.test(\"Response body response code should be OK\", function() {", + " pm.expect(jsonResponse.responseCode).to.be.a('string')", + " pm.expect(jsonResponse.responseCode).to.eql('OK')", + "});", + "", + "pm.test(\"Response body result should contain message\", function() {", + " let result = jsonResponse.result;", + " pm.expect(result).to.be.an('object')", + " pm.expect(result).to.have.property('programs')", + " pm.expect(result).to.have.property('count')", + " pm.expect(result.programs).to.be.an('array')", + " pm.expect(result.count).to.be.a('number')", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Pragma", + "value": "no-cache", + "disabled": true + }, + { + "key": "Cache-Control", + "value": "no-cache", + "disabled": true + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal", + "disabled": true + }, + { + "key": "ts", + "value": "2020-12-02T11:25:26+05:30", + "disabled": true + }, + { + "key": "X-msgid", + "value": "e973c862-115d-51f1-5637-ca177b072a3f" + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web" + }, + { + "key": "X-Device-ID", + "value": "d94997d031c714aa590c8f2380850a69" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin", + "disabled": true + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors", + "disabled": true + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty", + "disabled": true + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/contribute/myenrollprograms", + "disabled": true + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3A6fKZOFiFJcnIQnw998c_9Wz6Y-Aup7v4.EScUhuBdEetLBIRgsuOCAIYjc7VCtugzpqv8qCCoFoY", + "disabled": true + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \t\"filters\": {\r\n \t\t\"program_id\": [\"a6966ee0-807f-11ea-a564-e5296fb83fc6\"]\r\n \t}\r\n }\r\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/list", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "list" + ] + } + }, + "response": [ + { + "name": "200 Success", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Pragma", + "value": "no-cache", + "disabled": true + }, + { + "key": "Cache-Control", + "value": "no-cache", + "disabled": true + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal", + "disabled": true + }, + { + "key": "ts", + "value": "2020-12-02T11:25:26+05:30", + "disabled": true + }, + { + "key": "X-msgid", + "value": "e973c862-115d-51f1-5637-ca177b072a3f" + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web" + }, + { + "key": "X-Device-ID", + "value": "d94997d031c714aa590c8f2380850a69" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin", + "disabled": true + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors", + "disabled": true + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty", + "disabled": true + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/contribute/myenrollprograms", + "disabled": true + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3A6fKZOFiFJcnIQnw998c_9Wz6Y-Aup7v4.EScUhuBdEetLBIRgsuOCAIYjc7VCtugzpqv8qCCoFoY", + "disabled": true + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \t\"filters\": {\r\n \t\t\"program_id\": [\"a6966ee0-807f-11ea-a564-e5296fb83fc6\"]\r\n \t}\r\n }\r\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/list", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "list" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Wed, 28 Dec 2022 10:14:24 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "1570" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29986" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"622-v6vV/EFst/Gc6zxYyHe7VRK+VmM\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "201" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.program.list\",\n \"ts\": \"2022-12-28T10:14:24.005Z\",\n \"params\": {\n \"resmsgid\": \"67078351-8698-11ed-be8b-9962d8844469\",\n \"msgid\": \"67078350-8698-11ed-be8b-9962d8844469\",\n \"status\": \"successful\",\n \"err\": null,\n \"errmsg\": null\n },\n \"responseCode\": \"OK\",\n \"result\": {\n \"count\": 1,\n \"programs\": [\n {\n \"program_id\": \"a6966ee0-807f-11ea-a564-e5296fb83fc6\",\n \"name\": \"Sourcing_reviewer\",\n \"type\": \"public\",\n \"collection_ids\": [\n \"do_113000859727618048110\",\n \"do_11300085766781337611\",\n \"do_1130004441103810561135\"\n ],\n \"content_types\": [\n \"Teacher Resource\",\n \"Explanation Content\"\n ],\n \"target_collection_category\": null,\n \"targetprimarycategories\": null,\n \"targetprimarycategorynames\": null,\n \"target_type\": \"collections\",\n \"startdate\": \"2020-04-17T07:47:26.215Z\",\n \"enddate\": \"2020-05-30T18:30:00.000Z\",\n \"nomination_enddate\": \"2020-05-02T18:30:00.000Z\",\n \"shortlisting_enddate\": \"2020-05-30T18:30:00.000Z\",\n \"content_submission_enddate\": \"2020-05-30T18:30:00.000Z\",\n \"image\": null,\n \"status\": \"Live\",\n \"slug\": \"sunbird\",\n \"rolemapping\": {\n \"REVIEWER\": [\n \"381af058-fb36-4847-a821-2131274e5a59\"\n ]\n },\n \"createdby\": \"cca53828-8111-4d71-9c45-40e569f13bad\",\n \"updatedby\": null,\n \"createdon\": \"2020-04-17T07:47:26.215Z\",\n \"updatedon\": \"2020-04-28T18:17:43.126Z\",\n \"rootorg_id\": \"012983850117177344161\",\n \"sourcing_org_name\": \"Vidya2\",\n \"channel\": \"DIKSHA\",\n \"template_id\": \"template1\",\n \"guidelines_url\": \"\",\n \"acceptedcontents\": null,\n \"rejectedcontents\": null,\n \"sourcingrejectedcomments\": null,\n \"subject\": \"[\\\"Science\\\", \\\"Hindi\\\", \\\"English\\\"]\",\n \"defaultContributeOrgReview\": null,\n \"framework\": \"NCFCOPY\",\n \"board\": \"CBSE\",\n \"gradeLevel\": \"[\\\"Class 10\\\", \\\"Class 1\\\"]\",\n \"medium\": \"[\\\"English\\\", \\\"Hindi\\\"]\",\n \"frameworkObj\": null\n }\n ]\n }\n}" + }, + { + "name": "400 Bad Request without filters", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Pragma", + "value": "no-cache", + "disabled": true + }, + { + "key": "Cache-Control", + "value": "no-cache", + "disabled": true + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal", + "disabled": true + }, + { + "key": "ts", + "value": "2020-12-02T11:25:26+05:30", + "disabled": true + }, + { + "key": "X-msgid", + "value": "e973c862-115d-51f1-5637-ca177b072a3f" + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web" + }, + { + "key": "X-Device-ID", + "value": "d94997d031c714aa590c8f2380850a69" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin", + "disabled": true + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors", + "disabled": true + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty", + "disabled": true + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/contribute/myenrollprograms", + "disabled": true + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3A6fKZOFiFJcnIQnw998c_9Wz6Y-Aup7v4.EScUhuBdEetLBIRgsuOCAIYjc7VCtugzpqv8qCCoFoY", + "disabled": true + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \r\n }\r\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/list", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "list" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Wed, 28 Dec 2022 10:16:58 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "294" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29983" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"126-lK2AveWTiOsrd5TpeH/tnC4fb/0\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "12" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.v1.list\",\n \"ver\": \"1.0\",\n \"ts\": \"2022-12-28T10:16:58.960Z\",\n \"params\": {\n \"resmsgid\": \"c363c501-8698-11ed-be8b-9962d8844469\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_LIST_PROGRAM_DATA\",\n \"errmsg\": \"Required fields to get program are missing\"\n },\n \"responseCode\": \"PRG_PRLST01_CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "401 Unauthorized", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Pragma", + "value": "no-cache", + "disabled": true + }, + { + "key": "Cache-Control", + "value": "no-cache", + "disabled": true + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal", + "disabled": true + }, + { + "key": "ts", + "value": "2020-12-02T11:25:26+05:30", + "disabled": true + }, + { + "key": "X-msgid", + "value": "e973c862-115d-51f1-5637-ca177b072a3f" + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web" + }, + { + "key": "X-Device-ID", + "value": "d94997d031c714aa590c8f2380850a69" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin", + "disabled": true + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors", + "disabled": true + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty", + "disabled": true + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/contribute/myenrollprograms", + "disabled": true + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3A6fKZOFiFJcnIQnw998c_9Wz6Y-Aup7v4.EScUhuBdEetLBIRgsuOCAIYjc7VCtugzpqv8qCCoFoY", + "disabled": true + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \t\"filters\": {\r\n \t\t\"program_id\": [\"a6966ee0-807f-11ea-a564-e5296fb83fc6\"]\r\n \t}\r\n }\r\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/list", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "list" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Wed, 28 Dec 2022 10:15:58 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + } + ], + "cookie": [], + "body": "{\n \"message\": \"Unauthorized\"\n}" + }, + { + "name": "504 Gateway Time-out without body params", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Pragma", + "value": "no-cache", + "disabled": true + }, + { + "key": "Cache-Control", + "value": "no-cache", + "disabled": true + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal", + "disabled": true + }, + { + "key": "ts", + "value": "2020-12-02T11:25:26+05:30", + "disabled": true + }, + { + "key": "X-msgid", + "value": "e973c862-115d-51f1-5637-ca177b072a3f" + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web" + }, + { + "key": "X-Device-ID", + "value": "d94997d031c714aa590c8f2380850a69" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin", + "disabled": true + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors", + "disabled": true + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty", + "disabled": true + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/contribute/myenrollprograms", + "disabled": true + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3A6fKZOFiFJcnIQnw998c_9Wz6Y-Aup7v4.EScUhuBdEetLBIRgsuOCAIYjc7VCtugzpqv8qCCoFoY", + "disabled": true + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/list", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "list" + ] + } + }, + "status": "Gateway Time-out", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Wed, 28 Dec 2022 10:19:27 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29981" + } + ], + "cookie": [], + "body": "{\n \"message\": \"The upstream server is timing out\"\n}" + } + ] + } + ], + "description": "StartFragment\n\nThis API fetches the program data for the provided request filters. - The _**v1/list**_ endpoint successfully loads the program data for the request or request filters.\n\n\\- Required fields cannot be null or empty\n\n\\- Backend Route: [http://program-service:6000/program/v1/list](http://program-service:6000/program/v1/list)\n\nEndFragment" + }, + { + "name": "Program List Download", + "item": [ + { + "name": "Program List Download", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var responseJson = pm.response.json();", + "", + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "", + "pm.test(\"response should be okay to process\", function () {", + " pm.response.to.not.be.error;", + " pm.response.to.not.have.jsonBody(\"error\");", + "});", + "", + "pm.test(\"response must be valid and have a body\", function () {", + " pm.response.to.be.ok;", + " pm.response.to.be.withBody;", + " pm.response.to.be.json;", + "});", + "", + "pm.test(\"Successful POST request\", () => {", + " pm.expect(pm.response.code).to.be.oneOf([200,201,202]);", + " pm.expect(responseJson.result).not.to.be.empty;", + "});", + "", + "pm.test(\"Reading Response Code & Status\", () => {", + " pm.expect(responseJson.responseCode).to.eql(\"OK\");", + " pm.expect(responseJson.params.status).to.eql(\"successful\");", + "});", + "", + "pm.test(\"Checking for Errors\",() => {", + " pm.expect(responseJson.params.err).to.eql(null);", + " pm.expect(responseJson.params.errmsg).to.eql(null);", + " pm.expect(responseJson.result).to.be.an('object');", + " pm.expect(responseJson.result.tableData).to.be.an('array');", + " pm.expect(responseJson.result.tableData[0].program_id).not.to.be.empty", + "});" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true, + "accept-encoding": true, + "connection": true, + "content-type": true, + "user-agent": true + } + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"filters\": {\n \"program_id\": [\n \"afdfa9a0-1dbc-11eb-81b1-659ec274e395\"\n ]\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/list/download", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "list", + "download" + ] + }, + "description": "list/download" + }, + "response": [ + { + "name": "200 Success", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"filters\": {\n \"program_id\": [\n \"afdfa9a0-1dbc-11eb-81b1-659ec274e395\"\n ]\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/list/download", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "list", + "download" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Wed, 28 Dec 2022 10:14:44 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "685" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29998" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"2ad-s2rdJsq9iCfY5nRwb/xWjIO2zm0\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "6" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.list.download\",\n \"ver\": \"1.0\",\n \"ts\": \"2022-12-28T10:14:44.181Z\",\n \"params\": {\n \"resmsgid\": \"730e2050-8698-11ed-be8b-9962d8844469\",\n \"msgid\": \"730df940-8698-11ed-be8b-9962d8844469\",\n \"status\": \"successful\",\n \"err\": null,\n \"errmsg\": null\n },\n \"responseCode\": \"OK\",\n \"result\": {\n \"tableData\": [\n {\n \"program_id\": \"afdfa9a0-1dbc-11eb-81b1-659ec274e395\",\n \"values\": [\n {\n \"Digital Textbook Name\": \"Learning_Outcome_Book\",\n \"Medium\": [\n \"English\"\n ],\n \"Class\": \"Class 7\",\n \"Subject\": [\n \"English\"\n ],\n \"Number of Chapters\": 5,\n \"Nominations Received\": 2,\n \"Samples Received\": 0,\n \"Nominations Accepted\": 2,\n \"Contributions Received\": 6,\n \"Contributions Accepted\": 5,\n \"Contributions Rejected\": 0,\n \"Contributions Pending\": 1,\n \"Contributions corrections pending\": 0\n }\n ]\n }\n ]\n }\n}" + }, + { + "name": "400 Bad Request without body params", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/list/download", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "list", + "download" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Wed, 28 Dec 2022 10:23:16 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "314" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29995" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"13a-mRpePK6Qi3VueUB7s7NrdOM2/8M\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "6" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.list.download\",\n \"ver\": \"1.0\",\n \"ts\": \"2022-12-28T10:23:16.358Z\",\n \"params\": {\n \"resmsgid\": \"a4562261-8699-11ed-be8b-9962d8844469\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_GENERATING_PROGRAM_DATA\",\n \"errmsg\": \"Required fields like program_id, is missing\"\n },\n \"responseCode\": \"PRG_PRDWN01_CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "400 Bad Request without params", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"filters\": {\n \n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/list/download", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "list", + "download" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Wed, 28 Dec 2022 10:22:49 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "314" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29996" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"13a-GrJ3V0fNT/1LUU5S0Few1iKUAsg\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "6" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.list.download\",\n \"ver\": \"1.0\",\n \"ts\": \"2022-12-28T10:22:49.994Z\",\n \"params\": {\n \"resmsgid\": \"949f4ea0-8699-11ed-be8b-9962d8844469\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_GENERATING_PROGRAM_DATA\",\n \"errmsg\": \"Required fields like program_id, is missing\"\n },\n \"responseCode\": \"PRG_PRDWN01_CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "401 Unauthorized", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"filters\": {\n \"program_id\": [\n \"afdfa9a0-1dbc-11eb-81b1-659ec274e395\"\n ]\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/list/download", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "list", + "download" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Wed, 28 Dec 2022 10:20:38 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + } + ], + "cookie": [], + "body": "{\n \"message\": \"Unauthorized\"\n}" + } + ] + } + ], + "description": "StartFragment\n\nThis API downloads the generated Details of the Program. - The _**list/download**_ endpoint downloads the generated details of the program.\n\n\\- Required fields cannot be null or empty\n\n\\- Backend Route: [http://program-service:6000/program/v1/list/download](http://program-service:6000/program/v1/list/download)\n\nEndFragment" + } + ], + "description": "StartFragment\n\nAll the apis related to manage programs for cokreate\n\nEndFragment", + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ] + }, + { + "name": "Nomination_API's", + "item": [ + { + "name": "Nomination_Update", + "item": [ + { + "name": "Nomination Update", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var responseJson = pm.response.json();", + "", + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "", + "pm.test(\"response should be okay to process\", function () {", + " pm.response.to.not.be.error;", + " pm.response.to.not.have.jsonBody(\"error\");", + "});", + "", + "pm.test(\"response must be valid and have a body\", function () {", + " pm.response.to.be.ok;", + " pm.response.to.be.withBody;", + " pm.response.to.be.json;", + "});", + "", + "pm.test(\"Reading Response Code & Status\", () => {", + " pm.expect(responseJson.responseCode).to.eql(\"OK\");", + " pm.expect(responseJson.params.status).to.eql(\"successful\");", + "});", + "", + "pm.test(\"Checking for Errors\",() => {", + " pm.expect(responseJson.params.err).to.eql(null);", + " pm.expect(responseJson.params.errmsg).to.eql(null);", + " pm.expect(responseJson.result.program_id).not.to.be.oneOf([\"\", null]);", + "", + "});", + "", + "pm.test(\"Successful POST request\", () => {", + " pm.expect(pm.response.code).to.be.oneOf([200,201,202]);", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"program_id\": \"c43f7790-0a2a-11eb-a2e9-4fe29a51bb70\",\n \"status\": \"Initiated\",\n \"content_types\": [\n \"Teacher Resource\"\n ],\n \"user_id\": \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\",\n \"updatedby\": \"bcc23eec-5290-4ca2-8f3e-144a24f03b6d\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/nomination/update", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "nomination", + "update" + ] + }, + "description": "nomination/update" + }, + "response": [ + { + "name": "200 Success", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"program_id\": \"c43f7790-0a2a-11eb-a2e9-4fe29a51bb70\",\n \"status\": \"Initiated\",\n \"content_types\": [\n \"Teacher Resource\"\n ],\n \"user_id\": \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\",\n \"updatedby\": \"bcc23eec-5290-4ca2-8f3e-144a24f03b6d\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/nomination/update", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "nomination", + "update" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 09:22:14 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "349" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29999" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"15d-cBwAuWSYlowd9BtbBeYmomcYHFg\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "277" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.nomination.update\",\n \"ts\": \"2023-01-30T09:22:14.027Z\",\n \"params\": {\n \"resmsgid\": \"950c85b1-a07f-11ed-a249-d1c2d4936c48\",\n \"msgid\": \"950c85b0-a07f-11ed-a249-d1c2d4936c48\",\n \"status\": \"successful\",\n \"err\": null,\n \"errmsg\": null\n },\n \"responseCode\": \"OK\",\n \"result\": {\n \"program_id\": \"c43f7790-0a2a-11eb-a2e9-4fe29a51bb70\",\n \"user_id\": \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\"\n }\n}" + }, + { + "name": "400 without status", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal" + }, + { + "key": "ts", + "value": "2020-12-02T16:42:15+05:30" + }, + { + "key": "X-msgid", + "value": "f3fa95e5-5fce-fe12-9729-9705fc037a6b" + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web" + }, + { + "key": "X-Device-ID", + "value": "6a6ec694e694548fef971f85910385bd" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin" + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors" + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty" + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/contribute/program/c43f7790-0a2a-11eb-a2e9-4fe29a51bb70" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3Ads0fwJj9C_6Mz9L5FGVWeGNt3BQ054H-.IL5B%2FgqVJ1Py%2FzyBHetCyCwbhnEfQVNk9NEfHpSmeWY" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"program_id\": \"c43f7790-0a2a-11eb-a2e9-4fe29a51bb70\",\n \"status\": \"\",\n \"content_types\": [\n \"Teacher Resource\"\n ],\n \"user_id\": \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\",\n \"updatedby\": \"bcc23eec-5290-4ca2-8f3e-144a24f03b6d\"\n }\n}" + }, + "url": { + "raw": "https://dock.sunbirded.org/content/program/v1/nomination/update", + "protocol": "https", + "host": [ + "dock", + "sunbirded", + "org" + ], + "path": [ + "content", + "program", + "v1", + "nomination", + "update" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Wed, 02 Dec 2020 17:26:09 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "1363" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-DNS-Prefetch-Control", + "value": "off" + }, + { + "key": "X-Frame-Options", + "value": "SAMEORIGIN" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15552000; includeSubDomains" + }, + { + "key": "X-Download-Options", + "value": "noopen" + }, + { + "key": "X-Content-Type-Options", + "value": "nosniff" + }, + { + "key": "X-XSS-Protection", + "value": "1; mode=block" + }, + { + "key": "x-ratelimit-limit-hour", + "value": "30000" + }, + { + "key": "x-ratelimit-remaining-hour", + "value": "29990" + }, + { + "key": "x-powered-by", + "value": "Express" + }, + { + "key": "access-control-allow-origin", + "value": "*" + }, + { + "key": "access-control-allow-methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "access-control-allow-headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "etag", + "value": "W/\"553-PbrZNbjTaneAx/1MZcCmrWQ5ljM\"" + }, + { + "key": "x-kong-upstream-latency", + "value": "671" + }, + { + "key": "x-kong-proxy-latency", + "value": "0" + }, + { + "key": "via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.nomination.update\",\n \"ts\": \"2020-12-02T17:26:09.187Z\",\n \"params\": {\n \"resmsgid\": \"776d9731-34c3-11eb-9c32-15914148e3ce\",\n \"msgid\": null,\n \"status\": \"failed\"\n },\n \"responseCode\": \"ERR_UPDATE_NOMINATION\",\n \"result\": {\n \"name\": \"SequelizeDatabaseError\",\n \"parent\": {\n \"name\": \"error\",\n \"length\": 91,\n \"severity\": \"ERROR\",\n \"code\": \"22P02\",\n \"file\": \"enum.c\",\n \"line\": \"60\",\n \"routine\": \"enum_in\",\n \"sql\": \"UPDATE \\\"nomination\\\" SET \\\"status\\\"=$1,\\\"content_types\\\"=$2,\\\"updatedon\\\"=$3 WHERE \\\"program_id\\\" = $4 AND \\\"user_id\\\" = $5 RETURNING *\",\n \"parameters\": [\n \"\",\n [\n \"Teacher Resource\"\n ],\n \"2020-12-02 17:26:08.521 +00:00\",\n \"c43f7790-0a2a-11eb-a2e9-4fe29a51bb70\",\n \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\"\n ]\n },\n \"original\": {\n \"name\": \"error\",\n \"length\": 91,\n \"severity\": \"ERROR\",\n \"code\": \"22P02\",\n \"file\": \"enum.c\",\n \"line\": \"60\",\n \"routine\": \"enum_in\",\n \"sql\": \"UPDATE \\\"nomination\\\" SET \\\"status\\\"=$1,\\\"content_types\\\"=$2,\\\"updatedon\\\"=$3 WHERE \\\"program_id\\\" = $4 AND \\\"user_id\\\" = $5 RETURNING *\",\n \"parameters\": [\n \"\",\n [\n \"Teacher Resource\"\n ],\n \"2020-12-02 17:26:08.521 +00:00\",\n \"c43f7790-0a2a-11eb-a2e9-4fe29a51bb70\",\n \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\"\n ]\n },\n \"sql\": \"UPDATE \\\"nomination\\\" SET \\\"status\\\"=$1,\\\"content_types\\\"=$2,\\\"updatedon\\\"=$3 WHERE \\\"program_id\\\" = $4 AND \\\"user_id\\\" = $5 RETURNING *\",\n \"parameters\": [\n \"\",\n [\n \"Teacher Resource\"\n ],\n \"2020-12-02 17:26:08.521 +00:00\",\n \"c43f7790-0a2a-11eb-a2e9-4fe29a51bb70\",\n \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\"\n ]\n }\n}" + }, + { + "name": "400 without program id", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"program_id\": \"c43f7790-0a2a-11eb-a2e9-4fe29a51bb70\",\n \"status\": \"Initiated\",\n \"content_types\": [\n \"Teacher Resource\"\n ],\n \"user_id\": \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\",\n \"updatedby\": \"bcc23eec-5290-4ca2-8f3e-144a24f03b6d\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/nomination/update", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "nomination", + "update" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 09:24:39 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "370" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29998" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"172-rRCafHSs5EwddzrJZNm5AkTNAJ8\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "11" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.nomination.update\",\n \"ver\": \"1.0\",\n \"ts\": \"2023-01-30T09:24:39.562Z\",\n \"params\": {\n \"resmsgid\": \"ebcb66a0-a07f-11ed-a249-d1c2d4936c48\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_UPDATE_NOMINATION_DATA\",\n \"errmsg\": \"Required fields like program_id, user_id or organisation_id while updating nomination data are missing\"\n },\n \"responseCode\": \"PRG_NOMUPD01_CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "401 Unauthorized", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal" + }, + { + "key": "ts", + "value": "2020-12-02T16:42:15+05:30" + }, + { + "key": "X-msgid", + "value": "f3fa95e5-5fce-fe12-9729-9705fc037a6b" + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web" + }, + { + "key": "X-Device-ID", + "value": "6a6ec694e694548fef971f85910385bd" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin" + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors" + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty" + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/contribute/program/c43f7790-0a2a-11eb-a2e9-4fe29a51bb70" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3Ads0fwJj9C_6Mz9L5FGVWeGNt3BQ054H-.IL5B%2FgqVJ1Py%2FzyBHetCyCwbhnEfQVNk9NEfHpSmeWY" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"program_id\": \"c43f7790-0a2a-11eb-a2e9-4fe29a51bb70\",\n \"status\": \"Initiated\",\n \"content_types\": [\n \"Teacher Resource\"\n ],\n \"user_id\": \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\",\n \"updatedby\": \"bcc23eec-5290-4ca2-8f3e-144a24f03b6d\"\n }\n}" + }, + "url": { + "raw": "https://dock.sunbirded.org/content/v1/nomination/update", + "protocol": "https", + "host": [ + "dock", + "sunbirded", + "org" + ], + "path": [ + "content", + "v1", + "nomination", + "update" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Thu, 03 Dec 2020 07:55:28 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "254" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-DNS-Prefetch-Control", + "value": "off" + }, + { + "key": "X-Frame-Options", + "value": "SAMEORIGIN" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15552000; includeSubDomains" + }, + { + "key": "X-Download-Options", + "value": "noopen" + }, + { + "key": "X-Content-Type-Options", + "value": "nosniff" + }, + { + "key": "X-XSS-Protection", + "value": "1; mode=block" + }, + { + "key": "ETag", + "value": "W/\"fe-tqncRFwlNXPdp3hbIt4WCR7C054\"" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.error\",\n \"ver\": \"1.0\",\n \"ts\": \"2020-12-03 07:55:28:459+0000\",\n \"params\": {\n \"resmsgid\": \"e8c6e1b0-353c-11eb-ada5-dde7a2458a3f\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"INVALID_TOKEN\",\n \"errmsg\": \"INVALID_TOKEN\"\n },\n \"responseCode\": \"UNAUTHORIZED_ACCESS\",\n \"result\": {}\n}" + }, + { + "name": "404 Not Found", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal" + }, + { + "key": "ts", + "value": "2020-12-02T16:42:15+05:30" + }, + { + "key": "X-msgid", + "value": "f3fa95e5-5fce-fe12-9729-9705fc037a6b" + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web" + }, + { + "key": "X-Device-ID", + "value": "6a6ec694e694548fef971f85910385bd" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin" + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors" + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty" + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/contribute/program/c43f7790-0a2a-11eb-a2e9-4fe29a51bb70" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3Ads0fwJj9C_6Mz9L5FGVWeGNt3BQ054H-.IL5B%2FgqVJ1Py%2FzyBHetCyCwbhnEfQVNk9NEfHpSmeWY" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"program_id\": \"c43f7790-0a2a-11eb-a2e9-4fe29a51bb70\",\n \"status\": \"Initiated\",\n \"content_types\": [\n \"Teacher Resource\"\n ],\n \"user_id\": \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\",\n \"updatedby\": \"bcc23eec-5290-4ca2-8f3e-144a24f03b6d\"\n }\n}" + }, + "url": { + "raw": "https://dock.sunbirded.org/content/program/nomination/update", + "protocol": "https", + "host": [ + "dock", + "sunbirded", + "org" + ], + "path": [ + "content", + "program", + "nomination", + "update" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Thu, 03 Dec 2020 07:54:50 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "117" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-DNS-Prefetch-Control", + "value": "off" + }, + { + "key": "X-Frame-Options", + "value": "SAMEORIGIN" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15552000; includeSubDomains" + }, + { + "key": "X-Download-Options", + "value": "noopen" + }, + { + "key": "X-Content-Type-Options", + "value": "nosniff" + }, + { + "key": "X-XSS-Protection", + "value": "1; mode=block" + }, + { + "key": "ETag", + "value": "W/\"75-pPnXO4nllBZnekh45G8BU6mmtEo\"" + } + ], + "cookie": [], + "body": "{\n \"request_path\": \"/program/nomination/update\",\n \"message\": \"API not found with these values\",\n \"request_host\": [\n \"kong\"\n ]\n}" + } + ] + } + ], + "description": "StartFragment\n\nThis API updates the Nomination for the respective program Id . - The _**nomination/update**_ endpoint successfully updates the nomination for a particular program.\n\nRequired fields cannot be null or empty\n\n\\- Backend Route: [http://program-service:6000/program/v1/nomination/update](http://program-service:6000/program/v1/nomination/update)\n\nEndFragment" + }, + { + "name": "Nomination_list_download", + "item": [ + { + "name": "Nomination List Download", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var responseJson = pm.response.json();", + "", + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "", + "pm.test(\"response should be okay to process\", function () {", + " pm.response.to.not.be.error;", + " pm.response.to.not.have.jsonBody(\"error\");", + "});", + "", + "pm.test(\"response must be valid and have a body\", function () {", + " pm.response.to.be.ok;", + " pm.response.to.be.withBody;", + " pm.response.to.be.json;", + "});", + "", + "pm.test(\"Reading Response Code & Status\", () => {", + " pm.expect(responseJson.responseCode).to.eql(\"OK\");", + " pm.expect(responseJson.params.status).to.eql(\"successful\");", + " pm.expect(responseJson.result).to.be.an('object');", + " pm.expect(responseJson.result.stats).to.be.an('array');", + "});", + "", + "pm.test(\"Checking for Errors\",() => {", + " pm.expect(responseJson.params.err).to.eql(null);", + " pm.expect(responseJson.params.errmsg).to.eql(null);", + " pm.expect(responseJson.result.stats).not.to.be.empty;", + "});", + "", + "pm.test(\"Successful POST request\", () => {", + " pm.expect(pm.response.code).to.be.oneOf([200,201,202]);", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"filters\": {\n \"program_name\": \"allTypeContent\",\n \"program_id\": \"d16524d0-348a-11eb-9c32-15914148e3ce\",\n \"status\": [\n \"Pending\",\n \"Approved\",\n \"Rejected\"\n ]\n \n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/nomination/list/download", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "nomination", + "list", + "download" + ] + }, + "description": "nomination/list/download" + }, + "response": [ + { + "name": "200 Success", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"filters\": {\n \"program_name\": \"allTypeContent\",\n \"program_id\": \"d16524d0-348a-11eb-9c32-15914148e3ce\",\n \"status\": [\n \"Pending\",\n \"Approved\",\n \"Rejected\"\n ]\n \n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/nomination/list/download", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "nomination", + "list", + "download" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 09:27:14 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "559" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29999" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"22f-M1lO7hgzyPiJQ0c9jRzRovey0z0\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "429" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "28" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.list.download\",\n \"ver\": \"1.0\",\n \"ts\": \"2023-01-30T09:27:14.005Z\",\n \"params\": {\n \"resmsgid\": \"47d98850-a080-11ed-a249-d1c2d4936c48\",\n \"msgid\": \"47994b00-a080-11ed-a249-d1c2d4936c48\",\n \"status\": \"successful\",\n \"err\": null,\n \"errmsg\": null\n },\n \"responseCode\": \"OK\",\n \"result\": {\n \"stats\": [\n {\n \"programName\": \"allTypeContent\",\n \"name\": \"Vidya2\",\n \"type\": \"Organisation\",\n \"textbooks\": 1,\n \"sample\": 0,\n \"createdon\": \"December 2, 2020\",\n \"status\": \"Approved\"\n },\n {\n \"programName\": \"allTypeContent\",\n \"name\": \"anusha \",\n \"type\": \"Individual\",\n \"textbooks\": 1,\n \"sample\": 0,\n \"createdon\": \"December 2, 2020\",\n \"status\": \"Approved\"\n }\n ]\n }\n}" + }, + { + "name": "400 without program name", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal" + }, + { + "key": "ts", + "value": "2020-12-02T17:38:50+05:30" + }, + { + "key": "X-msgid", + "value": "5a076d55-64b9-b536-b71f-51757e96607a" + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web" + }, + { + "key": "X-Device-ID", + "value": "6a6ec694e694548fef971f85910385bd" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin" + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors" + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty" + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/sourcing/nominations/d16524d0-348a-11eb-9c32-15914148e3ce?tab=nomination" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3AcaEnehC6-uy_KeUIERCclp4psONUAj6U.FQ6wkXD5Pz6jWMRTOE3CGS%2FRszGF8PEmszrnx3AcpNM" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"filters\": {\n \"program_name\": \"\",\n \"program_id\": \"d16524d0-348a-11eb-9c32-15914148e3ce\",\n \"status\": [\n \"Pending\",\n \"Approved\",\n \"Rejected\"\n ]\n }\n }\n}" + }, + "url": { + "raw": "https://dock.sunbirded.org/content/program/v1/nomination/list/download", + "protocol": "https", + "host": [ + "dock", + "sunbirded", + "org" + ], + "path": [ + "content", + "program", + "v1", + "nomination", + "list", + "download" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Wed, 02 Dec 2020 18:12:26 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "351" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-DNS-Prefetch-Control", + "value": "off" + }, + { + "key": "X-Frame-Options", + "value": "SAMEORIGIN" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15552000; includeSubDomains" + }, + { + "key": "X-Download-Options", + "value": "noopen" + }, + { + "key": "X-Content-Type-Options", + "value": "nosniff" + }, + { + "key": "X-XSS-Protection", + "value": "1; mode=block" + }, + { + "key": "x-ratelimit-limit-hour", + "value": "30000" + }, + { + "key": "x-ratelimit-remaining-hour", + "value": "29990" + }, + { + "key": "x-powered-by", + "value": "Express" + }, + { + "key": "access-control-allow-origin", + "value": "*" + }, + { + "key": "access-control-allow-methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "access-control-allow-headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "etag", + "value": "W/\"15f-oifTkgmB6Cda3XTUF9qGd7nnNXs\"" + }, + { + "key": "x-kong-upstream-latency", + "value": "5" + }, + { + "key": "x-kong-proxy-latency", + "value": "0" + }, + { + "key": "via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.list.download\",\n \"ver\": \"1.0\",\n \"ts\": \"2020-12-02T18:12:26.673Z\",\n \"params\": {\n \"resmsgid\": \"eef05210-34c9-11eb-9c32-15914148e3ce\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_DOWNLOADING_NOMINATION_DATA\",\n \"errmsg\": \"Required fields like program_id, program_name, status while getting nomination data are missing\"\n },\n \"responseCode\": \"CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "400 without Program-id", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal" + }, + { + "key": "ts", + "value": "2020-12-02T17:38:50+05:30" + }, + { + "key": "X-msgid", + "value": "5a076d55-64b9-b536-b71f-51757e96607a" + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web" + }, + { + "key": "X-Device-ID", + "value": "6a6ec694e694548fef971f85910385bd" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin" + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors" + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty" + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/sourcing/nominations/d16524d0-348a-11eb-9c32-15914148e3ce?tab=nomination" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3AcaEnehC6-uy_KeUIERCclp4psONUAj6U.FQ6wkXD5Pz6jWMRTOE3CGS%2FRszGF8PEmszrnx3AcpNM" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"filters\": {\n \"program_name\": \"allTypeContent\",\n \"program_id\": \"\",\n \"status\": [\n \"Pending\",\n \"Approved\",\n \"Rejected\"\n ]\n }\n }\n}" + }, + "url": { + "raw": "https://dock.sunbirded.org/content/program/v1/nomination/list/download", + "protocol": "https", + "host": [ + "dock", + "sunbirded", + "org" + ], + "path": [ + "content", + "program", + "v1", + "nomination", + "list", + "download" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Wed, 02 Dec 2020 18:13:36 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "351" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-DNS-Prefetch-Control", + "value": "off" + }, + { + "key": "X-Frame-Options", + "value": "SAMEORIGIN" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15552000; includeSubDomains" + }, + { + "key": "X-Download-Options", + "value": "noopen" + }, + { + "key": "X-Content-Type-Options", + "value": "nosniff" + }, + { + "key": "X-XSS-Protection", + "value": "1; mode=block" + }, + { + "key": "x-ratelimit-limit-hour", + "value": "30000" + }, + { + "key": "x-ratelimit-remaining-hour", + "value": "29988" + }, + { + "key": "x-powered-by", + "value": "Express" + }, + { + "key": "access-control-allow-origin", + "value": "*" + }, + { + "key": "access-control-allow-methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "access-control-allow-headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "etag", + "value": "W/\"15f-cvIZrjh2wQU7VMPjP54KCL2kfuY\"" + }, + { + "key": "x-kong-upstream-latency", + "value": "5" + }, + { + "key": "x-kong-proxy-latency", + "value": "0" + }, + { + "key": "via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.list.download\",\n \"ver\": \"1.0\",\n \"ts\": \"2020-12-02T18:13:36.600Z\",\n \"params\": {\n \"resmsgid\": \"189e5580-34ca-11eb-9c32-15914148e3ce\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_DOWNLOADING_NOMINATION_DATA\",\n \"errmsg\": \"Required fields like program_id, program_name, status while getting nomination data are missing\"\n },\n \"responseCode\": \"CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "401 Unauthorized", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"filters\": {\n \"program_name\": \"allTypeContent\",\n \"program_id\": \"d16524d0-348a-11eb-9c32-15914148e3ce\",\n \"status\": [\n \"Pending\",\n \"Approved\",\n \"Rejected\"\n ]\n \n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/nomination/list/download", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "nomination", + "list", + "download" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 09:27:59 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + } + ], + "cookie": [], + "body": "{\n \"message\": \"Unauthorized\"\n}" + }, + { + "name": "404 Not Found", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal" + }, + { + "key": "ts", + "value": "2020-12-02T17:38:50+05:30" + }, + { + "key": "X-msgid", + "value": "5a076d55-64b9-b536-b71f-51757e96607a" + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web" + }, + { + "key": "X-Device-ID", + "value": "6a6ec694e694548fef971f85910385bd" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin" + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors" + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty" + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/sourcing/nominations/d16524d0-348a-11eb-9c32-15914148e3ce?tab=nomination" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3AcaEnehC6-uy_KeUIERCclp4psONUAj6U.FQ6wkXD5Pz6jWMRTOE3CGS%2FRszGF8PEmszrnx3AcpNM" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"filters\": {\n \"program_name\": \"allTypeContent\",\n \"program_id\": \"d16524d0-348a-11eb-9c32-15914148e3ce\",\n \"status\": [\n \"Pending\",\n \"Approved\",\n \"Rejected\"\n ]\n }\n }\n}" + }, + "url": { + "raw": "https://dock.sunbirded.org/content/program/nomination/list/download", + "protocol": "https", + "host": [ + "dock", + "sunbirded", + "org" + ], + "path": [ + "content", + "program", + "nomination", + "list", + "download" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Thu, 03 Dec 2020 08:01:39 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "125" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-DNS-Prefetch-Control", + "value": "off" + }, + { + "key": "X-Frame-Options", + "value": "SAMEORIGIN" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15552000; includeSubDomains" + }, + { + "key": "X-Download-Options", + "value": "noopen" + }, + { + "key": "X-Content-Type-Options", + "value": "nosniff" + }, + { + "key": "X-XSS-Protection", + "value": "1; mode=block" + }, + { + "key": "ETag", + "value": "W/\"7d-yedscjMJv214s5ugChyeWF+s0ZE\"" + } + ], + "cookie": [], + "body": "{\n \"request_path\": \"/program/nomination/list/download\",\n \"message\": \"API not found with these values\",\n \"request_host\": [\n \"kong\"\n ]\n}" + } + ] + } + ], + "description": "StartFragment\n\nThis API downloads the nomination list for the provided program Id/User Id . - The _**list/download**_ will successfully download the nomination list for the Program Id.\n\nRequired fields cannot be null or empty - Backend Route: [http://program-service:6000/program/v1/nomination/list/download](http://program-service:6000/program/v1/nomination/list/download)\n\nEndFragment" + }, + { + "name": "Nomination_list", + "item": [ + { + "name": "Nomination List", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var responseJson = pm.response.json();", + "", + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "", + "pm.test(\"response should be okay to process\", function () {", + " pm.response.to.not.be.error;", + " pm.response.to.not.have.jsonBody(\"error\");", + "});", + "", + "pm.test(\"response must be valid and have a body\", function () {", + " pm.response.to.be.ok;", + " pm.response.to.be.withBody;", + " pm.response.to.be.json;", + "});", + "", + "pm.test(\"Successful POST request\", () => {", + " pm.expect(pm.response.code).to.be.oneOf([200,201,202]);", + "});", + "", + "pm.test(\"Reading Response Code & Status\", () => {", + " pm.expect(responseJson.responseCode).to.eql(\"OK\");", + " pm.expect(responseJson.params.status).to.eql(\"successful\");", + " pm.expect(responseJson.result).to.be.an('array');", + "});", + "", + "pm.test(\"Checking for Errors\",() => {", + " pm.expect(responseJson.params.err).to.eql(null);", + " pm.expect(responseJson.params.errmsg).to.eql(null);", + " pm.expect(responseJson.result).not.to.be.empty;", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"filters\": {\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/nomination/list", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "nomination", + "list" + ] + }, + "description": "nomination/list" + }, + "response": [ + { + "name": "200 Success", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "name": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"filters\": {\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/program/v1/nomination/list", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "nomination", + "list" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 09:30:34 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "365095" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29999" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"59227-zcP2PQQM09h9N4HcvT4bQ+eFMYE\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "492" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.nomination.list\",\n \"ts\": \"2023-01-30T09:30:34.284Z\",\n \"params\": {\n \"resmsgid\": \"bf39aec1-a080-11ed-a249-d1c2d4936c48\",\n \"msgid\": \"bf39aec0-a080-11ed-a249-d1c2d4936c48\",\n \"status\": \"successful\",\n \"err\": null,\n \"errmsg\": null\n },\n \"responseCode\": \"OK\",\n \"result\": [\n {\n \"id\": 16896,\n \"program_id\": \"91069910-95a3-11ed-a249-d1c2d4936c48\",\n \"user_id\": \"bb551fff-121e-4a18-b969-984ac62bd572\",\n \"organisation_id\": \"937dd865-b256-4c1a-9830-a9b5b89f0913\",\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Course Assessment\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"b17be90e-8443-4d13-9e20-206c9d3d8809\",\n \"updatedby\": null,\n \"createdon\": \"2023-01-17T10:06:47.315Z\",\n \"updatedon\": null,\n \"userData\": {\n \"lastName\": \"\",\n \"osUpdatedAt\": \"2023-01-13T06:37:53.618Z\",\n \"enrolledDate\": \"2020-03-27\",\n \"@type\": \"User\",\n \"subject\": [\n \"English\",\n \"Mathematics\",\n \"Hindi\",\n \"Geography\",\n \"Science\",\n \"null\",\n \"History\",\n \"Environmental Studies\",\n \"Health and Physical Education\",\n \"Physics\",\n \"Tamil\",\n \"Social Science\",\n \"Political Science/Civics\",\n \"Economics\"\n ],\n \"roles\": [\n \"sourcing_reviewer\"\n ],\n \"channel\": \"sunbird\",\n \"description\": \"Sample\",\n \"osid\": \"b17be90e-8443-4d13-9e20-206c9d3d8809\",\n \"medium\": [\n \"English\",\n \"Hindi\",\n \"null\",\n \"Telugu\"\n ],\n \"_status\": \"true\",\n \"userId\": \"bb551fff-121e-4a18-b969-984ac62bd572\",\n \"firstName\": \"29dock@yopmail.com\",\n \"gradeLevel\": [\n \"Class 2\",\n \"Class 1\",\n \"Class 7\",\n \"Class 5\",\n \"Class 10\",\n \"Class 3\",\n \"Class 8\",\n \"Class 6\",\n \"Class 9\",\n \"Class 4\",\n \"Class4\",\n \"Class2\",\n \"Class3\",\n \"Class 11\",\n \"Grade 2\",\n \"Grade 1\"\n ],\n \"certificates\": \"\",\n \"osCreatedAt\": \"2023-01-13T06:37:53.618Z\",\n \"name\": \"Axis\",\n \"contentTypes\": [\n \"Pedagogy Flow\",\n \"Focus Spot\"\n ],\n \"board\": [\n \"State (Uttar Pradesh)\"\n ]\n },\n \"orgData\": {\n \"osUpdatedAt\": \"2020-06-01T14:18:38.970Z\",\n \"code\": \"AXIS\",\n \"subject\": [\n \"English\"\n ],\n \"@type\": \"Org\",\n \"description\": \"Sample\",\n \"medium\": [\n \"English\"\n ],\n \"osid\": \"937dd865-b256-4c1a-9830-a9b5b89f0913\",\n \"_status\": \"true\",\n \"gradeLevel\": [\n \"Class 2\"\n ],\n \"osCreatedAt\": \"2020-06-01T14:18:38.970Z\",\n \"createdBy\": \"b17be90e-8443-4d13-9e20-206c9d3d8809\",\n \"name\": \"Test Axis\",\n \"contentTypes\": [\n \"Pedagogy Flow\",\n \"Focus Spot\"\n ],\n \"board\": [\n \"State (Uttar Pradesh)\"\n ]\n }\n },\n {\n \"id\": 16894,\n \"program_id\": \"91069910-95a3-11ed-a249-d1c2d4936c48\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Teacher Resource\",\n \"identifier\": \"obj-cat:teacher-resource_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Teacher Resource\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2023-01-16T13:42:24.741Z\",\n \"updatedon\": null,\n \"userData\": {\n \"osUpdatedAt\": \"2022-06-22T08:05:15.466Z\",\n \"lastName\": \"\",\n \"enrolledDate\": \"2020-08-24T11:24:10.893Z\",\n \"@type\": \"User\",\n \"subject\": [\n \"Tamil\",\n \"English\",\n \"Computer Applications\",\n \"Mathematics\",\n \"Environmental Studies\",\n \"Hindi\",\n \"null\",\n \"Science\",\n \"Geography\",\n \"Urdu\",\n \"Political Science/Civics\",\n \"Health and Physical Education\",\n \"Social Science\",\n \"History\",\n \"Economics\"\n ],\n \"roles\": [\n \"admin\",\n \"sourcing_reviewer\"\n ],\n \"channel\": \"01309282781705830427\",\n \"osid\": \"179b8dcd-ad56-42fd-83d1-9459bb8e4489\",\n \"medium\": [\n \"English\",\n \"Tamil\",\n \"Hindi\",\n \"null\",\n \"Kannada\"\n ],\n \"userId\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"firstName\": \"N11\",\n \"gradeLevel\": [\n \"Class 7\",\n \"Class 2\",\n \"Class 1\",\n \"Class 10\",\n \"Class 3\",\n \"Class 9\",\n \"Class 4\",\n \"Class 6\",\n \"Class 5\",\n \"Class 8\",\n \"Grade 1\",\n \"Grade 2\",\n \"Grade 6\",\n \"null\"\n ],\n \"osCreatedAt\": \"2022-06-22T08:05:15.466Z\"\n },\n \"orgData\": {\n \"osUpdatedAt\": \"2020-08-24T11:23:53.873Z\",\n \"code\": \"NIT\",\n \"osCreatedAt\": \"2020-08-24T11:23:53.873Z\",\n \"createdBy\": \"9e41deb1-daf3-4e0d-b45d-cfcad7291af9\",\n \"@type\": \"Org\",\n \"name\": \"NIT\",\n \"description\": \"NIT\",\n \"osid\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"type\": [\n \"contribute\",\n \"sourcing\"\n ],\n \"orgId\": \"01309282781705830427\"\n }\n },\n {\n \"id\": 16892,\n \"program_id\": \"9bafe540-930c-11ed-a249-d1c2d4936c48\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2023-01-13T06:37:23.381Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16886,\n \"program_id\": \"af392180-874a-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Practice Question Set\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-12-29T07:31:00.002Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16884,\n \"program_id\": \"e29b5660-84ed-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-12-26T07:21:53.225Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16882,\n \"program_id\": \"0478efe0-7f71-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-12-19T07:45:15.084Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16880,\n \"program_id\": \"67490f70-7f61-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-12-19T05:55:56.724Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16879,\n \"program_id\": \"a8e099a0-7d2f-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-12-16T10:54:21.149Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16878,\n \"program_id\": \"ab5fe5f0-7ac8-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-12-13T09:29:58.786Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16877,\n \"program_id\": \"76601270-7a0b-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-12-12T10:57:03.278Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16865,\n \"program_id\": \"d2f4f9a0-64bd-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"eTextbook\"\n ],\n \"collection_ids\": [\n \"do_11366835382006579214006\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-11-15T08:17:02.418Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16864,\n \"program_id\": \"995c16f0-64b9-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"eTextbook\"\n ],\n \"collection_ids\": [\n \"do_11366833896706048013823\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-11-15T07:46:49.959Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16863,\n \"program_id\": \"b063a820-64b6-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\"\n ],\n \"collection_ids\": [\n \"do_11366832872996864013640\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-11-15T07:26:00.381Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16862,\n \"program_id\": \"69e58b70-64b6-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-11-15T07:24:22.834Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16861,\n \"program_id\": \"f80579c0-64b5-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-11-15T07:21:10.519Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16859,\n \"program_id\": \"16d59910-6403-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-11-14T10:01:11.405Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16858,\n \"program_id\": \"ff2e6950-6401-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-11-14T09:53:04.571Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16854,\n \"program_id\": \"b9d5b4b0-60de-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Ekstep New QS\",\n \"identifier\": \"obj-cat:ekstep-new-qs_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Exam Question Set\",\n \"identifier\": \"obj-cat:exam-question-set_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Practice Set\",\n \"identifier\": \"obj-cat:practice-set_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Observation\",\n \"Ekstep New QS\",\n \"Exam Question Set\",\n \"Practice Set\",\n \"Content Playlist\",\n \"eTextbook\",\n \"Practice Question Set\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-11-10T10:02:25.950Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16852,\n \"program_id\": \"29d10830-60dc-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Practice Set\",\n \"identifier\": \"obj-cat:practice-set_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Teacher Resource\",\n \"identifier\": \"obj-cat:teacher-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Exam Question\",\n \"identifier\": \"obj-cat:exam-question_content_01309282781705830427\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Practice Set\",\n \"Content Playlist\",\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Teacher Resource\",\n \"Exam Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-11-10T09:44:00.015Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16851,\n \"program_id\": \"da0a0460-60da-11ed-be8b-9962d8844469\",\n \"user_id\": \"e73b4786-a6b3-4fe7-b02b-81560ca87811\",\n \"organisation_id\": null,\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Practice Set\",\n \"identifier\": \"obj-cat:practice-set_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Exam Question\",\n \"identifier\": \"obj-cat:exam-question_content_01309282781705830427\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Practice Set\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Exam Question\"\n ],\n \"collection_ids\": [\n \"do_11366485312043417613457\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"6582c32c-0758-4341-abfd-b3aab6ebe7e1\",\n \"updatedby\": null,\n \"createdon\": \"2022-11-10T09:35:33.400Z\",\n \"updatedon\": null,\n \"userData\": {\n \"osUpdatedAt\": \"2022-12-06T07:31:37.673Z\",\n \"lastName\": \"\",\n \"enrolledDate\": \"2020-08-24T07:51:39.678Z\",\n \"@type\": \"User\",\n \"subject\": [\n \"Science\",\n \"Mathematics\",\n \"Hindi\",\n \"Environmental Studies\",\n \"Tamil\",\n \"null\",\n \"Geography\",\n \"English\",\n \"History\",\n \"Health and Physical Education\",\n \"Physics\",\n \"Social Science\",\n \"Political Science/Civics\",\n \"Economics\"\n ],\n \"roles\": [\n \"individual\"\n ],\n \"channel\": \"01285019302823526477\",\n \"osid\": \"6582c32c-0758-4341-abfd-b3aab6ebe7e1\",\n \"medium\": [\n \"English\",\n \"Hindi\",\n \"Tamil\",\n \"null\",\n \"Telugu\"\n ],\n \"userId\": \"e73b4786-a6b3-4fe7-b02b-81560ca87811\",\n \"firstName\": \"sumi4\",\n \"gradeLevel\": [\n \"Class 1\",\n \"Class 10\",\n \"Class 3\",\n \"Class 9\",\n \"Class 2\",\n \"Class 5\",\n \"Class 8\",\n \"Class 7\",\n \"Class 4\",\n \"Class 6\",\n \"Class4\",\n \"Class2\",\n \"Grade 1\",\n \"Grade 2\"\n ],\n \"osCreatedAt\": \"2022-12-06T07:31:37.673Z\"\n }\n },\n {\n \"id\": 16850,\n \"program_id\": \"da0a0460-60da-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Practice Set\",\n \"identifier\": \"obj-cat:practice-set_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Exam Question\",\n \"identifier\": \"obj-cat:exam-question_content_01309282781705830427\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Practice Set\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Exam Question\"\n ],\n \"collection_ids\": [\n \"do_11366485312043417613457\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-11-10T09:34:51.353Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16849,\n \"program_id\": \"874cd130-60bc-11ed-be8b-9962d8844469\",\n \"user_id\": \"e73b4786-a6b3-4fe7-b02b-81560ca87811\",\n \"organisation_id\": null,\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Teacher Resource\",\n \"identifier\": \"obj-cat:teacher-resource_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"eTextbook\",\n \"Demo Practice Question Set\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Teacher Resource\"\n ],\n \"collection_ids\": [\n \"do_11366474671675801613454\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"6582c32c-0758-4341-abfd-b3aab6ebe7e1\",\n \"updatedby\": null,\n \"createdon\": \"2022-11-10T09:30:52.084Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16846,\n \"program_id\": \"c7d711e0-56ba-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Practice Set\",\n \"identifier\": \"obj-cat:practice-set_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Teacher Resource\",\n \"identifier\": \"obj-cat:teacher-resource_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Practice Set\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Teacher Resource\"\n ],\n \"collection_ids\": [\n \"do_11366330199558553613087\",\n \"do_11366330199560192013088\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-11-08T04:59:05.479Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16839,\n \"program_id\": \"74b19a30-5c32-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-11-04T11:23:00.195Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16835,\n \"program_id\": \"ca258030-5c14-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-11-04T07:48:11.777Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16834,\n \"program_id\": \"46b88d20-5c12-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-11-04T07:33:29.157Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16821,\n \"program_id\": \"906b2490-3d8c-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"eTextbook\"\n ],\n \"collection_ids\": [\n \"do_11363305261272268812456\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-09-26T11:16:33.021Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16816,\n \"program_id\": \"ed1e94f0-3810-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Ekstep New QS\",\n \"identifier\": \"obj-cat:ekstep-new-qs_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Exam Question Set\",\n \"identifier\": \"obj-cat:exam-question-set_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Haryana_New_QS\",\n \"identifier\": \"obj-cat:haryana-new-qs_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Practice Set\",\n \"identifier\": \"obj-cat:practice-set_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Ekstep New QS\",\n \"Exam Question Set\",\n \"Haryana_New_QS\",\n \"Practice Set\",\n \"Content Playlist\",\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\"\n ],\n \"collection_ids\": [\n \"do_11362811388919808012207\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-09-19T11:48:41.474Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16812,\n \"program_id\": \"e8b17a90-774b-11eb-96e0-29a9f8ed81cf\",\n \"user_id\": \"bb551fff-121e-4a18-b969-984ac62bd572\",\n \"organisation_id\": \"937dd865-b256-4c1a-9830-a9b5b89f0913\",\n \"status\": \"Initiated\",\n \"content_types\": [\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\"\n ],\n \"targetprimarycategories\": null,\n \"targetprimarycategorynames\": null,\n \"collection_ids\": [\n \"do_1132238981511905281501\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"b17be90e-8443-4d13-9e20-206c9d3d8809\",\n \"updatedby\": null,\n \"createdon\": \"2022-09-11T13:26:26.259Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16806,\n \"program_id\": \"00bfc180-2db9-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-09-06T08:00:06.511Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16805,\n \"program_id\": \"a050bae0-2db1-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-09-06T07:01:49.499Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16803,\n \"program_id\": \"35b00190-2cea-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-09-05T07:13:16.133Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16801,\n \"program_id\": \"29601c00-2ce9-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-09-05T07:05:46.655Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16798,\n \"program_id\": \"07114730-2ce1-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-09-05T06:07:32.987Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16796,\n \"program_id\": \"91e20750-2cdc-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-09-05T05:35:38.994Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16794,\n \"program_id\": \"d3d91970-2cd5-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-09-05T04:47:23.955Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16791,\n \"program_id\": \"9f3dcc20-29ff-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-09-01T14:09:00.029Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16789,\n \"program_id\": \"5aa36390-29ff-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-09-01T14:07:04.246Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16787,\n \"program_id\": \"42ca2750-29fe-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-09-01T13:59:14.834Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16785,\n \"program_id\": \"deb8f9e0-29d9-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-09-01T09:44:55.982Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16783,\n \"program_id\": \"5241d660-29d6-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-09-01T09:13:21.396Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16780,\n \"program_id\": \"d227d120-275d-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-29T05:46:13.225Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16778,\n \"program_id\": \"27882e70-2377-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-24T14:00:24.864Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16777,\n \"program_id\": \"d764e760-75a5-11eb-9f3c-f39a9ab9f5ce\",\n \"user_id\": \"e73b4786-a6b3-4fe7-b02b-81560ca87811\",\n \"organisation_id\": null,\n \"status\": \"Initiated\",\n \"content_types\": [\n \"Course Assessment\",\n \"eTextbook\",\n \"Learning Resource\",\n \"Explanation Content\",\n \"Teacher Resource\",\n \"Practice Question Set\",\n \"Exam Question\"\n ],\n \"targetprimarycategories\": null,\n \"targetprimarycategorynames\": null,\n \"collection_ids\": [\n \"do_1132224131561717761125\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"6582c32c-0758-4341-abfd-b3aab6ebe7e1\",\n \"updatedby\": null,\n \"createdon\": \"2022-08-24T07:50:23.525Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16775,\n \"program_id\": \"e8b17a90-774b-11eb-96e0-29a9f8ed81cf\",\n \"user_id\": \"e73b4786-a6b3-4fe7-b02b-81560ca87811\",\n \"organisation_id\": null,\n \"status\": \"Initiated\",\n \"content_types\": [\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Teacher Resource\",\n \"Exam Question\"\n ],\n \"targetprimarycategories\": null,\n \"targetprimarycategorynames\": null,\n \"collection_ids\": [\n \"do_1132238981511905281501\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"6582c32c-0758-4341-abfd-b3aab6ebe7e1\",\n \"updatedby\": null,\n \"createdon\": \"2022-08-24T07:46:35.100Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16772,\n \"program_id\": \"01efb7e0-22f6-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"FTB Question\",\n \"identifier\": \"obj-cat:ftb-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"FTB Question\",\n \"Multiple Choice Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-23T15:13:48.063Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16771,\n \"program_id\": \"69da0190-1ecc-11ed-be8b-9962d8844469\",\n \"user_id\": \"e73b4786-a6b3-4fe7-b02b-81560ca87811\",\n \"organisation_id\": null,\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Teacher Resource\",\n \"identifier\": \"obj-cat:teacher-resource_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Content Playlist\",\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Practice Question Set\",\n \"Teacher Resource\"\n ],\n \"collection_ids\": [\n \"do_11360537321390899212073\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"6582c32c-0758-4341-abfd-b3aab6ebe7e1\",\n \"updatedby\": null,\n \"createdon\": \"2022-08-23T12:19:19.136Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16768,\n \"program_id\": \"f49dfce0-22ab-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\"\n ],\n \"collection_ids\": [\n \"do_11360884343858790412104\",\n \"do_11360884343862067212105\",\n \"do_11360884343864524812106\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-23T06:22:51.623Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16767,\n \"program_id\": \"c5540aa0-222f-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"FTB Question\",\n \"identifier\": \"obj-cat:ftb-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"FTB Question\",\n \"Multiple Choice Question\",\n \"Practice Question Set\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-22T16:01:51.856Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16761,\n \"program_id\": \"e23662f0-1e77-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation With Rubrics\",\n \"identifier\": \"obj-cat:observation-with-rubrics_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\",\n \"Observation With Rubrics\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-17T22:35:22.447Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16758,\n \"program_id\": \"7e6b9db0-1ded-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation With Rubrics\",\n \"identifier\": \"obj-cat:observation-with-rubrics_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\",\n \"Observation With Rubrics\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-17T05:30:39.705Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16756,\n \"program_id\": \"8ae77890-36ec-11ec-a56f-4b503455085f\",\n \"user_id\": \"bb551fff-121e-4a18-b969-984ac62bd572\",\n \"organisation_id\": \"937dd865-b256-4c1a-9830-a9b5b89f0913\",\n \"status\": \"Pending\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Learning Resource\",\n \"Practice Question Set\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"b17be90e-8443-4d13-9e20-206c9d3d8809\",\n \"updatedby\": null,\n \"createdon\": \"2022-08-17T04:44:45.121Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16754,\n \"program_id\": \"7f23c190-1dd6-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation With Rubrics\",\n \"identifier\": \"obj-cat:observation-with-rubrics_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\",\n \"Observation With Rubrics\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-17T02:48:58.098Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16752,\n \"program_id\": \"10e611f0-1d3c-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Observation\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-16T08:35:20.363Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16750,\n \"program_id\": \"e12e1b30-1d39-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Observation\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-16T08:07:33.155Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16748,\n \"program_id\": \"6c7a9710-1a2c-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T10:49:22.948Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16747,\n \"program_id\": \"bce6b250-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:23.768Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16746,\n \"program_id\": \"be093951-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:23.768Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16745,\n \"program_id\": \"bca8e600-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:23.768Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16744,\n \"program_id\": \"bfb9a871-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:23.768Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16743,\n \"program_id\": \"bc4edf20-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:23.768Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16742,\n \"program_id\": \"bcbfc960-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:23.768Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16741,\n \"program_id\": \"bc1642f0-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:23.768Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16740,\n \"program_id\": \"bd05ac00-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:23.549Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16739,\n \"program_id\": \"bcbb3581-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:23.549Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16738,\n \"program_id\": \"bd9f53f0-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:23.549Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16737,\n \"program_id\": \"bc64ff30-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:23.549Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16736,\n \"program_id\": \"bce18230-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:23.549Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16735,\n \"program_id\": \"bfe2b441-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:23.518Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16734,\n \"program_id\": \"bcce6f60-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:23.315Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16733,\n \"program_id\": \"bc100160-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:23.315Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16732,\n \"program_id\": \"bcf97701-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:23.315Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16731,\n \"program_id\": \"bcaa6ca1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:23.315Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16730,\n \"program_id\": \"bdc181f0-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:23.315Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16729,\n \"program_id\": \"bc5595e0-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:23.237Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16728,\n \"program_id\": \"bf603dd0-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:23.018Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16727,\n \"program_id\": \"bc6c5231-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:22.893Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16726,\n \"program_id\": \"be067a31-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:13.831Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16725,\n \"program_id\": \"bcd9ba00-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:13.752Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16724,\n \"program_id\": \"bf55dd91-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:12.174Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16723,\n \"program_id\": \"bc7245a1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:12.174Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16722,\n \"program_id\": \"bc4ce351-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:12.174Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16721,\n \"program_id\": \"bbd394a0-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:12.174Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16720,\n \"program_id\": \"bb785540-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:12.174Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16719,\n \"program_id\": \"bcbe90e1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:12.174Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16718,\n \"program_id\": \"bd0eacb1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:12.174Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16717,\n \"program_id\": \"bcf5a670-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:12.112Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16716,\n \"program_id\": \"bcdc5211-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:12.112Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16715,\n \"program_id\": \"bcf94ff1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:12.112Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16714,\n \"program_id\": \"bb73e870-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:12.112Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16713,\n \"program_id\": \"bcaa93b0-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:12.112Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16712,\n \"program_id\": \"bcaa1e81-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.940Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16711,\n \"program_id\": \"bcabf342-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.940Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16710,\n \"program_id\": \"bc4f2d40-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.940Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16709,\n \"program_id\": \"bca93421-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.940Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16708,\n \"program_id\": \"bc013451-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.924Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16707,\n \"program_id\": \"bdc1f720-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.815Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16706,\n \"program_id\": \"bc8cab70-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.815Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16705,\n \"program_id\": \"bcb939b1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.815Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16704,\n \"program_id\": \"bca98241-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.815Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16703,\n \"program_id\": \"bc150a71-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.752Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16702,\n \"program_id\": \"bc1de410-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.737Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16701,\n \"program_id\": \"bcac4161-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.737Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16700,\n \"program_id\": \"bb8acbd1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.674Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16699,\n \"program_id\": \"bcb73de0-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.674Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16698,\n \"program_id\": \"bcb987d1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.674Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16697,\n \"program_id\": \"bc456940-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.627Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16696,\n \"program_id\": \"bc4e69f1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.627Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16695,\n \"program_id\": \"bb8b6810-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.627Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16694,\n \"program_id\": \"bc2e5ed1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.627Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16693,\n \"program_id\": \"bc6155b0-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.627Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16692,\n \"program_id\": \"be087602-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.612Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16691,\n \"program_id\": \"bc7097f1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.502Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16690,\n \"program_id\": \"bb910d61-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.174Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16689,\n \"program_id\": \"bcacdda1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.174Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16688,\n \"program_id\": \"bcda7d50-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.174Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16687,\n \"program_id\": \"bce5ef00-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.174Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16686,\n \"program_id\": \"bb710240-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.159Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16685,\n \"program_id\": \"bcad79e1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.049Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16684,\n \"program_id\": \"bcacb691-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:11.049Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16683,\n \"program_id\": \"bc6b67d1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:10.237Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16682,\n \"program_id\": \"bc726cb1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:10.237Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16681,\n \"program_id\": \"bd2ac031-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:10.237Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16680,\n \"program_id\": \"bc9b7881-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:10.237Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16679,\n \"program_id\": \"bc71a960-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:10.237Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16678,\n \"program_id\": \"bc43e2a1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:10.237Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16677,\n \"program_id\": \"bd5cccb0-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:09.237Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16676,\n \"program_id\": \"bb8a2f90-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:09.080Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16675,\n \"program_id\": \"bc3e6461-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:08.752Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16674,\n \"program_id\": \"bcbe69d1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:08.752Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16673,\n \"program_id\": \"bc25fa60-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:08.752Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16672,\n \"program_id\": \"bd54b660-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:08.752Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16671,\n \"program_id\": \"bc0022e0-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:08.705Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16670,\n \"program_id\": \"bc155890-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:05.752Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16669,\n \"program_id\": \"bcfa1340-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:05.752Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16668,\n \"program_id\": \"bbe17750-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:05.752Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16667,\n \"program_id\": \"bc15f4d1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:05.721Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16666,\n \"program_id\": \"bc721e90-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:05.659Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16665,\n \"program_id\": \"bfe26620-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:05.096Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16664,\n \"program_id\": \"be103e31-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:05.096Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16663,\n \"program_id\": \"bc8ea741-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:04.846Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16662,\n \"program_id\": \"bc8d47b1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:02.518Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16661,\n \"program_id\": \"bc4cbc41-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:02.518Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16660,\n \"program_id\": \"bcfb72d1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:02.518Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16659,\n \"program_id\": \"bd1a6c81-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:02.362Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16658,\n \"program_id\": \"bca00c61-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:02.362Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16657,\n \"program_id\": \"bce70071-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:13:02.299Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16656,\n \"program_id\": \"bca78670-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:53.893Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16655,\n \"program_id\": \"bc364e10-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:51.408Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16654,\n \"program_id\": \"be005fb1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:51.377Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16653,\n \"program_id\": \"bcd5c261-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:51.361Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16652,\n \"program_id\": \"bc517730-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:51.330Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16651,\n \"program_id\": \"bcf75420-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:51.315Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16650,\n \"program_id\": \"bc15cdc1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:51.221Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16649,\n \"program_id\": \"bcbdf4a1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:45.908Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16648,\n \"program_id\": \"bc79bfb1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:45.908Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16647,\n \"program_id\": \"bce13411-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:44.080Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16646,\n \"program_id\": \"bc5065c0-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:44.080Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16645,\n \"program_id\": \"bfe32970-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:44.080Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16644,\n \"program_id\": \"bcf55850-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:44.080Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16643,\n \"program_id\": \"bd646dd0-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:43.955Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16642,\n \"program_id\": \"bccee490-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:43.955Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16641,\n \"program_id\": \"bc4f2d42-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:43.955Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16640,\n \"program_id\": \"bcf77b32-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:43.955Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16639,\n \"program_id\": \"bca9f771-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:43.861Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16638,\n \"program_id\": \"bca849c1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:43.752Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16637,\n \"program_id\": \"bc41e6d1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:41.564Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16636,\n \"program_id\": \"bc480150-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:41.518Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16635,\n \"program_id\": \"bcf81770-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:41.486Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16634,\n \"program_id\": \"bd9f05d0-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:41.018Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16633,\n \"program_id\": \"be096061-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:40.893Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16632,\n \"program_id\": \"bd070b91-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:40.643Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16631,\n \"program_id\": \"be1f3250-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:40.643Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16630,\n \"program_id\": \"be0fc901-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:40.643Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16629,\n \"program_id\": \"bca9d061-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:40.455Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16628,\n \"program_id\": \"bca75f60-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:40.424Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16627,\n \"program_id\": \"bc3319c0-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:40.424Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16626,\n \"program_id\": \"bc135cc0-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:40.346Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16625,\n \"program_id\": \"bc8cd281-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:40.346Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16624,\n \"program_id\": \"bcd59b51-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:40.314Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16623,\n \"program_id\": \"bd2a9920-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:40.158Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16622,\n \"program_id\": \"bc654d50-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:40.158Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16621,\n \"program_id\": \"bc9f4911-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:40.158Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16620,\n \"program_id\": \"bb926cf1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:40.158Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16619,\n \"program_id\": \"bc010d41-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:40.158Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16618,\n \"program_id\": \"bcdaa460-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:40.158Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16617,\n \"program_id\": \"bce775a0-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:40.158Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16616,\n \"program_id\": \"bc71d070-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:40.158Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16615,\n \"program_id\": \"bcab2ff1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:40.033Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16614,\n \"program_id\": \"bd6bc0d0-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:39.955Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16613,\n \"program_id\": \"bcf5cd80-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:39.955Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16612,\n \"program_id\": \"bcbff071-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:39.814Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16611,\n \"program_id\": \"bccfcef0-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:39.814Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16610,\n \"program_id\": \"bce72781-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:39.564Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16609,\n \"program_id\": \"bcba9940-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:39.471Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16608,\n \"program_id\": \"bc238960-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:39.408Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16607,\n \"program_id\": \"be0038a0-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:38.721Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16606,\n \"program_id\": \"bc018271-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:38.705Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16605,\n \"program_id\": \"bc482860-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:37.752Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16604,\n \"program_id\": \"be187b91-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:37.736Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16603,\n \"program_id\": \"bd125631-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:37.330Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16602,\n \"program_id\": \"bcd218e1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:37.080Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16601,\n \"program_id\": \"bc439480-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:35.971Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16600,\n \"program_id\": \"bc5dd340-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:35.893Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16599,\n \"program_id\": \"be0fa1f2-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:35.846Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16598,\n \"program_id\": \"bcf7a241-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:35.846Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16597,\n \"program_id\": \"bcabcc30-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:35.658Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16596,\n \"program_id\": \"bdc1a900-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:35.408Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16595,\n \"program_id\": \"bd9c46b0-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:35.236Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16594,\n \"program_id\": \"bcfad690-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:35.205Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16593,\n \"program_id\": \"bca9a951-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:34.455Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16592,\n \"program_id\": \"bd04c1a1-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:33.627Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16591,\n \"program_id\": \"bcd06b30-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:33.596Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16590,\n \"program_id\": \"bccb3b11-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:33.346Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16589,\n \"program_id\": \"bd46d3b0-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:12:33.346Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16587,\n \"program_id\": \"98166920-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:10:24.016Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16584,\n \"program_id\": \"5a1ceea0-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:08:46.671Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16583,\n \"program_id\": \"5a1e2720-1a1e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T09:08:46.671Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16581,\n \"program_id\": \"8b519b51-1a15-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-12T08:05:35.984Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16579,\n \"program_id\": \"cf76ac10-1981-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-11T14:28:05.011Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16577,\n \"program_id\": \"8df98910-1981-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-11T14:26:14.916Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16575,\n \"program_id\": \"74740f50-1973-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-11T12:45:19.419Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16573,\n \"program_id\": \"f26b17f0-1892-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Content Playlist\"\n ],\n \"collection_ids\": [\n \"do_11359974872299929612027\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-10T09:59:36.772Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16571,\n \"program_id\": \"090604a0-1890-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Content Playlist\",\n \"eTextbook\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-10T09:42:53.884Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16569,\n \"program_id\": \"fbf98820-14a4-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\"\n ],\n \"collection_ids\": [\n \"do_11359620934446284811835\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-05T09:58:43.688Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16567,\n \"program_id\": \"e5b3c7b0-14a4-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Practice Set\",\n \"identifier\": \"obj-cat:practice-set_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Practice Set\",\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\"\n ],\n \"collection_ids\": [\n \"do_11359620908149964811832\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-05T09:58:11.625Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16566,\n \"program_id\": \"3ea4d010-1493-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Practice Question Set\"\n ],\n \"collection_ids\": [\n \"do_11359614645766553611827\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-05T07:50:47.079Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16565,\n \"program_id\": \"8f8f66f0-1481-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\"\n ],\n \"collection_ids\": [\n \"do_11359608422952140811818\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-05T05:44:10.876Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16562,\n \"program_id\": \"b984f160-1165-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-08-01T06:51:25.980Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16561,\n \"program_id\": \"0f8cb670-0fe9-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-30T09:23:03.291Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16558,\n \"program_id\": \"a2054c50-0d7e-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation With Rubrics\",\n \"identifier\": \"obj-cat:observation-with-rubrics_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\",\n \"Observation With Rubrics\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-27T07:35:28.049Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16557,\n \"program_id\": \"4f401e50-0d6a-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-27T05:10:05.238Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16554,\n \"program_id\": \"3ca7d6d0-098b-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-22T06:55:14.848Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16551,\n \"program_id\": \"8b025af0-08df-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-21T10:26:45.935Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16549,\n \"program_id\": \"9c42a740-0752-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-19T11:05:52.561Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16547,\n \"program_id\": \"db2a32a0-074f-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation With Rubrics\",\n \"identifier\": \"obj-cat:observation-with-rubrics_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\",\n \"Observation With Rubrics\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-19T10:45:42.875Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16545,\n \"program_id\": \"92eb6c50-0661-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-18T06:19:27.081Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16543,\n \"program_id\": \"e254cfb0-0405-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-15T06:18:20.660Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16540,\n \"program_id\": \"8c5dd3c0-0272-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-13T06:10:52.911Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16492,\n \"program_id\": \"3b1e30f0-c52c-11ec-a165-33909bc91f74\",\n \"user_id\": \"bf020396-0d7b-436f-ae9f-869c6780fc45\",\n \"organisation_id\": \"ca8608d6-c5d8-440e-9dbb-1fef85803807\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Exam Question\",\n \"identifier\": \"obj-cat:exam-question_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Teacher Resource\",\n \"identifier\": \"obj-cat:teacher-resource_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Course Assessment\",\n \"eTextbook\",\n \"Exam Question\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Teacher Resource\"\n ],\n \"collection_ids\": [\n \"do_11357574108636774411190\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-07T11:55:57.101Z\",\n \"updatedon\": null,\n \"userData\": {\n \"osUpdatedAt\": \"2021-09-14T06:47:51.416Z\",\n \"lastName\": \"\",\n \"enrolledDate\": \"2020-08-07T00:22:43.211Z\",\n \"@type\": \"User\",\n \"subject\": [\n \"Mathematics\",\n \"Hindi\"\n ],\n \"roles\": [\n \"admin\",\n \"sourcing_reviewer\"\n ],\n \"channel\": \"01307938306521497658\",\n \"osid\": \"97f7d154-f238-4514-97f1-99e59c2d1b7a\",\n \"medium\": [\n \"English\"\n ],\n \"userId\": \"bf020396-0d7b-436f-ae9f-869c6780fc45\",\n \"firstName\": \"jnc1\",\n \"gradeLevel\": [\n \"Class 1\",\n \"Class 10\"\n ],\n \"osCreatedAt\": \"2021-09-14T06:47:51.416Z\"\n },\n \"orgData\": {\n \"osUpdatedAt\": \"2020-08-07T12:33:50.079Z\",\n \"code\": \"CHRIST_UNIVERSITY\",\n \"osCreatedAt\": \"2020-08-07T12:33:50.079Z\",\n \"createdBy\": \"97f7d154-f238-4514-97f1-99e59c2d1b7a\",\n \"@type\": \"Org\",\n \"name\": \"Christ_University\",\n \"description\": \"Christ_University\",\n \"osid\": \"ca8608d6-c5d8-440e-9dbb-1fef85803807\",\n \"type\": [\n \"contribute\",\n \"sourcing\"\n ],\n \"orgId\": \"01307938306521497658\"\n }\n },\n {\n \"id\": 16469,\n \"program_id\": \"be56c4c0-fddd-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-07T10:21:00.423Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16258,\n \"program_id\": \"040c4d41-fd0d-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:21:37.775Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16257,\n \"program_id\": \"03558061-fd0d-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:21:37.775Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16256,\n \"program_id\": \"039855c1-fd0d-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:21:37.103Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16255,\n \"program_id\": \"0356b8e1-fd0d-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:21:36.571Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16254,\n \"program_id\": \"036cd8f0-fd0d-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:21:36.478Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16253,\n \"program_id\": \"03335261-fd0d-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:21:34.681Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16252,\n \"program_id\": \"03424680-fd0d-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:21:34.681Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16251,\n \"program_id\": \"03410e00-fd0d-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:21:34.681Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16250,\n \"program_id\": \"03330441-fd0d-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:21:34.681Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16249,\n \"program_id\": \"0330ba50-fd0d-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:21:34.634Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16248,\n \"program_id\": \"031e91e0-fd0d-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:21:34.509Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16246,\n \"program_id\": \"033945d0-fd0d-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:21:34.462Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16245,\n \"program_id\": \"03380d50-fd0d-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:21:34.462Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16247,\n \"program_id\": \"033a3031-fd0d-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:21:34.462Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16243,\n \"program_id\": \"032ff700-fd0d-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:21:34.368Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16242,\n \"program_id\": \"0338a991-fd0d-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:21:34.368Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16244,\n \"program_id\": \"0333c790-fd0d-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:21:34.368Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16241,\n \"program_id\": \"032c9ba0-fd0d-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:21:34.212Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16240,\n \"program_id\": \"0335ea71-fd0d-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:21:34.212Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16239,\n \"program_id\": \"032b6321-fd0d-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:21:34.212Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16238,\n \"program_id\": \"032ebe80-fd0d-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:21:34.212Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16237,\n \"program_id\": \"03203f91-fd0d-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:21:34.040Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16236,\n \"program_id\": \"a1f585e1-fd0c-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:18:47.288Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16235,\n \"program_id\": \"a21d0b10-fd0c-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:18:47.288Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16234,\n \"program_id\": \"a2119960-fd0c-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:18:47.272Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16233,\n \"program_id\": \"a21ae831-fd0c-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:18:47.272Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16232,\n \"program_id\": \"a1e4bd00-fd0c-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:18:47.272Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16231,\n \"program_id\": \"a1fefbc1-fd0c-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:18:47.272Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16230,\n \"program_id\": \"a2076031-fd0c-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:18:47.257Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16229,\n \"program_id\": \"a1e420c1-fd0c-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:18:47.132Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16228,\n \"program_id\": \"a21a9a10-fd0c-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:18:47.038Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16226,\n \"program_id\": \"a2139530-fd0c-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:18:47.038Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16227,\n \"program_id\": \"a20a1f51-fd0c-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:18:47.038Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16225,\n \"program_id\": \"a1d860f0-fd0c-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:18:46.866Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16224,\n \"program_id\": \"a1ef9271-fd0c-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T09:18:46.460Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16223,\n \"program_id\": \"aa0ceb80-fd05-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T08:29:03.275Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16222,\n \"program_id\": \"aa157700-fd05-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T08:29:03.275Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16221,\n \"program_id\": \"aa106df1-fd05-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T08:29:03.275Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16220,\n \"program_id\": \"aa1528e0-fd05-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T08:29:03.166Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16219,\n \"program_id\": \"aa1c06b1-fd05-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T08:29:03.088Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16218,\n \"program_id\": \"a9b94d40-fd05-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T08:29:03.072Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16217,\n \"program_id\": \"aa18d260-fd05-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T08:29:03.072Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16216,\n \"program_id\": \"a9ed7ca0-fd05-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T08:29:03.072Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16215,\n \"program_id\": \"aa1b4361-fd05-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T08:29:03.057Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16214,\n \"program_id\": \"aa13f060-fd05-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T08:29:02.775Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16213,\n \"program_id\": \"a9b9e981-fd05-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T08:29:02.744Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16212,\n \"program_id\": \"aa1501d0-fd05-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T08:29:02.744Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16211,\n \"program_id\": \"aa1c2dc1-fd05-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T08:29:02.682Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16210,\n \"program_id\": \"aa1995b1-fd05-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T08:29:02.635Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16209,\n \"program_id\": \"a9efc690-fd05-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T08:29:02.353Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16208,\n \"program_id\": \"aa16af81-fd05-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T08:29:02.072Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16207,\n \"program_id\": \"aa1290d1-fd05-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T08:29:01.385Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16206,\n \"program_id\": \"aa17c0f0-fd05-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T08:29:01.213Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16205,\n \"program_id\": \"a9b8d810-fd05-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T08:29:00.994Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16204,\n \"program_id\": \"a9a5ec50-fd05-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T08:29:00.775Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16203,\n \"program_id\": \"aa196ea1-fd05-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T08:29:00.447Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16202,\n \"program_id\": \"aa141770-fd05-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T08:29:00.135Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16201,\n \"program_id\": \"a9ef0340-fd05-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-06T08:29:00.057Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16199,\n \"program_id\": \"0cd8caf0-fc6a-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-05T13:54:56.035Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16197,\n \"program_id\": \"b77c36f0-fc5a-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-05T12:05:57.868Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16195,\n \"program_id\": \"67040860-fc55-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation With Rubrics\",\n \"identifier\": \"obj-cat:observation-with-rubrics_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\",\n \"Observation With Rubrics\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-05T11:27:50.369Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16193,\n \"program_id\": \"b8dc6760-fc53-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-05T11:15:21.682Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16190,\n \"program_id\": \"a47c9fb0-fb7c-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-04T09:35:30.203Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16188,\n \"program_id\": \"e4cc0890-f941-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-07-01T13:29:57.369Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16187,\n \"program_id\": \"5416f131-f765-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-29T04:38:41.893Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16186,\n \"program_id\": \"54047aa0-f765-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-29T04:38:41.846Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16185,\n \"program_id\": \"54178d70-f765-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-29T04:38:41.550Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16184,\n \"program_id\": \"5415dfc1-f765-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-29T04:38:41.487Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16183,\n \"program_id\": \"53fbc810-f765-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-29T04:38:41.456Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16182,\n \"program_id\": \"541d80e0-f765-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-29T04:38:41.206Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16181,\n \"program_id\": \"53fdeaf0-f765-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-29T04:38:41.050Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16180,\n \"program_id\": \"5407aef1-f765-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-29T04:38:40.690Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16179,\n \"program_id\": \"540a9521-f765-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-29T04:38:40.300Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16177,\n \"program_id\": \"fd82dbb1-f762-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-29T04:21:48.278Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16175,\n \"program_id\": \"c33c94e0-f704-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-28T17:07:18.096Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16174,\n \"program_id\": \"24603f20-f704-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-28T17:03:06.513Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16171,\n \"program_id\": \"8274c380-f6d5-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-28T11:29:02.617Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16167,\n \"program_id\": \"7828b791-f600-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": null,\n \"targetprimarycategorynames\": null,\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-27T10:04:02.358Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16166,\n \"program_id\": \"52415910-f600-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": null,\n \"targetprimarycategorynames\": null,\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-27T10:02:58.653Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16165,\n \"program_id\": \"ec8c6e41-f5fd-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": null,\n \"targetprimarycategorynames\": null,\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-27T09:45:49.195Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16164,\n \"program_id\": \"753b5870-f5fc-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": null,\n \"targetprimarycategorynames\": null,\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-27T09:35:19.434Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16163,\n \"program_id\": \"d001fb70-f5fb-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": null,\n \"targetprimarycategorynames\": null,\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-27T09:30:42.054Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16156,\n \"program_id\": \"9baca540-f5ed-11ec-be8b-9962d8844469\",\n \"user_id\": \"bb551fff-121e-4a18-b969-984ac62bd572\",\n \"organisation_id\": \"937dd865-b256-4c1a-9830-a9b5b89f0913\",\n \"status\": \"Pending\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-27T07:49:01.567Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16155,\n \"program_id\": \"26a4d170-f3a2-11ec-be8b-9962d8844469\",\n \"user_id\": \"bb551fff-121e-4a18-b969-984ac62bd572\",\n \"organisation_id\": \"937dd865-b256-4c1a-9830-a9b5b89f0913\",\n \"status\": \"Pending\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"b17be90e-8443-4d13-9e20-206c9d3d8809\",\n \"updatedby\": null,\n \"createdon\": \"2022-06-27T06:14:48.957Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16152,\n \"program_id\": \"7319eb20-f3a3-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-24T09:53:08.592Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16151,\n \"program_id\": \"26a4d170-f3a2-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-24T09:43:50.896Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16150,\n \"program_id\": \"f68d43a0-f3a1-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-24T09:42:30.004Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16148,\n \"program_id\": \"0a6eb5a0-f39f-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-24T09:21:35.040Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16146,\n \"program_id\": \"aa4f0ac0-f2d7-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-23T09:34:46.701Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16142,\n \"program_id\": \"5e89a0d0-f20c-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-22T09:19:24.413Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16141,\n \"program_id\": \"09bb0910-f20a-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-22T09:02:40.773Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16139,\n \"program_id\": \"9ce0fe50-f202-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-22T08:09:47.132Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16138,\n \"program_id\": \"07a849f0-f1ef-11ec-be8b-9962d8844469\",\n \"user_id\": \"bb3469cd-e592-4487-b401-093ef5a8bd35\",\n \"organisation_id\": \"37f03087-eb46-4705-b5ce-7b1629b6aa36\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-22T08:06:30.457Z\",\n \"updatedon\": null,\n \"userData\": {\n \"osUpdatedAt\": \"2021-09-17T13:33:03.180Z\",\n \"lastName\": \"\",\n \"enrolledDate\": \"2021-09-02T06:40:09.410Z\",\n \"@type\": \"User\",\n \"subject\": [\n \"Mathematics\"\n ],\n \"roles\": [\n \"admin\"\n ],\n \"channel\": \"01285019302823526477\",\n \"osid\": \"a8b58ae6-7662-4818-b943-852935e6c25f\",\n \"medium\": [\n \"Hindi\",\n \"English\"\n ],\n \"userId\": \"bb3469cd-e592-4487-b401-093ef5a8bd35\",\n \"firstName\": \"Ekta Yadav\",\n \"gradeLevel\": [\n \"Class 1\"\n ],\n \"osCreatedAt\": \"2021-09-17T13:33:03.180Z\"\n },\n \"orgData\": {\n \"osUpdatedAt\": \"2021-09-02T06:40:10.518Z\",\n \"website\": \"\",\n \"code\": \"TEST CONTRIBUTOR ORGANISATION\",\n \"osCreatedAt\": \"2021-09-02T06:40:10.518Z\",\n \"createdBy\": \"a8b58ae6-7662-4818-b943-852935e6c25f\",\n \"@type\": \"Org\",\n \"name\": \"Test Contributor Organisation\",\n \"description\": \"Test Contributor Organisation\",\n \"osid\": \"37f03087-eb46-4705-b5ce-7b1629b6aa36\"\n }\n },\n {\n \"id\": 16137,\n \"program_id\": \"07a849f0-f1ef-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-22T08:06:30.426Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16136,\n \"program_id\": \"56906280-e265-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Pending\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"179b8dcd-ad56-42fd-83d1-9459bb8e4489\",\n \"updatedby\": null,\n \"createdon\": \"2022-06-22T08:05:15.331Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16135,\n \"program_id\": \"4ffd5640-f1ff-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-22T07:57:01.725Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16133,\n \"program_id\": \"f9a62110-ed7a-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Practice Set\",\n \"identifier\": \"obj-cat:practice-set_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Exam Question\",\n \"identifier\": \"obj-cat:exam-question_content_01309282781705830427\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Practice Set\",\n \"Content Playlist\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Exam Question\"\n ],\n \"collection_ids\": [\n \"do_113560933796388864119\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-16T13:50:26.765Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16132,\n \"program_id\": \"dc953aa0-ed40-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Practice Question Set\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-16T06:52:30.306Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16130,\n \"program_id\": \"a8000e00-ecbe-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": null,\n \"targetprimarycategorynames\": null,\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-15T15:20:41.579Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16126,\n \"program_id\": \"f6b70ce0-e897-11ec-be8b-9962d8844469\",\n \"user_id\": \"9b0cbdd5-5337-44ca-8908-eac00de9a158\",\n \"organisation_id\": \"2947e4aa-e204-4d62-b5bd-b97a43f63fc3\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-10T08:33:24.913Z\",\n \"updatedon\": null,\n \"userData\": {\n \"lastName\": \"\",\n \"osUpdatedAt\": \"2021-09-14T06:49:48.990Z\",\n \"firstName\": \"Jagadish\",\n \"osCreatedAt\": \"2021-09-14T06:49:48.990Z\",\n \"enrolledDate\": \"2020-05-21\",\n \"@type\": \"User\",\n \"roles\": [\n \"admin\"\n ],\n \"channel\": \"01285019302823526477\",\n \"osid\": \"e2a74d60-9a47-4eac-af60-3d377f644a88\",\n \"userId\": \"9b0cbdd5-5337-44ca-8908-eac00de9a158\"\n },\n \"orgData\": {\n \"osUpdatedAt\": \"2020-05-21T04:45:59.795Z\",\n \"website\": \"\",\n \"code\": \"JAGS\",\n \"osCreatedAt\": \"2020-05-21T04:45:59.795Z\",\n \"createdBy\": \"e2a74d60-9a47-4eac-af60-3d377f644a88\",\n \"@type\": \"Org\",\n \"name\": \"Jags\",\n \"description\": \"Jags\",\n \"osid\": \"2947e4aa-e204-4d62-b5bd-b97a43f63fc3\"\n }\n },\n {\n \"id\": 16125,\n \"program_id\": \"f6b70ce0-e897-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-10T08:33:24.897Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16123,\n \"program_id\": \"48a456b0-e7d6-11ec-be8b-9962d8844469\",\n \"user_id\": \"6a9b9b9c-2a97-47b6-8c69-753b3251dba3\",\n \"organisation_id\": \"a193e55e-1ccc-49ed-9870-4bd86259327f\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-09T09:26:57.666Z\",\n \"updatedon\": null,\n \"userData\": {\n \"osUpdatedAt\": \"2021-09-14T05:37:12.533Z\",\n \"lastName\": \"\",\n \"enrolledDate\": \"2020-07-15T12:34:11.146Z\",\n \"@type\": \"User\",\n \"subject\": [],\n \"roles\": [\n \"admin\"\n ],\n \"channel\": \"01303077037223116866\",\n \"osid\": \"84972f67-6f01-4f6f-a406-b24979f8c9c3\",\n \"medium\": [],\n \"userId\": \"6a9b9b9c-2a97-47b6-8c69-753b3251dba3\",\n \"firstName\": \"vbmvc1\",\n \"gradeLevel\": [],\n \"osCreatedAt\": \"2021-09-14T05:37:12.533Z\"\n },\n \"orgData\": {\n \"osUpdatedAt\": \"2020-07-15T12:34:11.724Z\",\n \"code\": \"VBDOCK\",\n \"osCreatedAt\": \"2020-07-15T12:34:11.724Z\",\n \"createdBy\": \"84972f67-6f01-4f6f-a406-b24979f8c9c3\",\n \"@type\": \"Org\",\n \"name\": \"vbdock\",\n \"description\": \"vbdock\",\n \"osid\": \"a193e55e-1ccc-49ed-9870-4bd86259327f\"\n }\n },\n {\n \"id\": 16122,\n \"program_id\": \"48a456b0-e7d6-11ec-be8b-9962d8844469\",\n \"user_id\": \"0dbd63d3-081a-42db-9158-79e99e7ccf9b\",\n \"organisation_id\": \"52049473-863e-40ef-bd3a-c906db1b5a60\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-09T09:26:57.651Z\",\n \"updatedon\": null,\n \"userData\": {\n \"osUpdatedAt\": \"2021-09-14T06:47:52.761Z\",\n \"lastName\": \"\",\n \"enrolledDate\": \"2020-07-16T04:31:02.697Z\",\n \"@type\": \"User\",\n \"subject\": [],\n \"roles\": [\n \"sourcing_reviewer\"\n ],\n \"channel\": \"01306475770753843226\",\n \"osid\": \"c8e04077-19ed-42a2-b26a-6a6c3766a3a7\",\n \"medium\": [],\n \"userId\": \"0dbd63d3-081a-42db-9158-79e99e7ccf9b\",\n \"firstName\": \"dockmvc1\",\n \"gradeLevel\": [],\n \"osCreatedAt\": \"2021-09-14T06:47:52.761Z\"\n },\n \"orgData\": {\n \"osUpdatedAt\": \"2020-07-16T04:31:03.370Z\",\n \"code\": \"DOCKMVC\",\n \"osCreatedAt\": \"2020-07-16T04:31:03.370Z\",\n \"createdBy\": \"c8e04077-19ed-42a2-b26a-6a6c3766a3a7\",\n \"@type\": \"Org\",\n \"name\": \"dockmvc\",\n \"description\": \"dockmvc\",\n \"osid\": \"52049473-863e-40ef-bd3a-c906db1b5a60\"\n }\n },\n {\n \"id\": 16121,\n \"program_id\": \"48a456b0-e7d6-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-09T09:26:57.604Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16120,\n \"program_id\": \"3303d7a0-78e0-11ec-a0eb-43ca5c2fff77\",\n \"user_id\": \"bb551fff-121e-4a18-b969-984ac62bd572\",\n \"organisation_id\": \"937dd865-b256-4c1a-9830-a9b5b89f0913\",\n \"status\": \"Pending\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Exam Question\",\n \"identifier\": \"obj-cat:exam-question_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Course Assessment\",\n \"Exam Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"b17be90e-8443-4d13-9e20-206c9d3d8809\",\n \"updatedby\": null,\n \"createdon\": \"2022-06-09T09:20:41.534Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16119,\n \"program_id\": \"a6fe4f10-e7d4-11ec-be8b-9962d8844469\",\n \"user_id\": \"080a0a0a-245e-493f-850e-8beca5710968\",\n \"organisation_id\": \"46beeb3f-4fc5-43c3-8b27-f57a1f82e277\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-09T09:15:50.090Z\",\n \"updatedon\": null,\n \"userData\": {\n \"lastName\": \"\",\n \"osUpdatedAt\": \"2021-09-14T06:47:18.036Z\",\n \"firstName\": \"Kartheek Contrib admin\",\n \"osCreatedAt\": \"2021-09-14T06:47:18.036Z\",\n \"enrolledDate\": \"2020-06-04T11:06:56.948Z\",\n \"@type\": \"User\",\n \"roles\": [\n \"admin\"\n ],\n \"channel\": \"01285019302823526477\",\n \"osid\": \"979fd345-bbb4-4e5b-9b4e-696248b45d66\",\n \"userId\": \"080a0a0a-245e-493f-850e-8beca5710968\"\n },\n \"orgData\": {\n \"osUpdatedAt\": \"2020-06-04T11:06:57.977Z\",\n \"website\": \"\",\n \"code\": \"KARTHEEK+159ORG\",\n \"osCreatedAt\": \"2020-06-04T11:06:57.977Z\",\n \"createdBy\": \"979fd345-bbb4-4e5b-9b4e-696248b45d66\",\n \"@type\": \"Org\",\n \"name\": \"kartheek+159Org\",\n \"description\": \"Test\",\n \"osid\": \"46beeb3f-4fc5-43c3-8b27-f57a1f82e277\"\n }\n },\n {\n \"id\": 16118,\n \"program_id\": \"a6fe4f10-e7d4-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-09T09:15:50.074Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16116,\n \"program_id\": \"f4088ca0-e700-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation With Rubrics\",\n \"identifier\": \"obj-cat:observation-with-rubrics_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation With Rubrics\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-08T08:00:07.856Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16115,\n \"program_id\": \"24dddda0-e24a-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"179b8dcd-ad56-42fd-83d1-9459bb8e4489\",\n \"updatedby\": null,\n \"createdon\": \"2022-06-03T05:50:24.553Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16113,\n \"program_id\": \"56906280-e265-11ec-be8b-9962d8844469\",\n \"user_id\": \"c14e2108-2d09-4467-b88a-05c0010a1fb1\",\n \"organisation_id\": \"a3177e9d-32a7-4326-a014-47165329a5d0\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-02T11:16:22.862Z\",\n \"updatedon\": null,\n \"userData\": {\n \"lastName\": \"\",\n \"osUpdatedAt\": \"2022-02-17T06:30:03.586Z\",\n \"firstName\": \"sunrise1@yopmail.com\",\n \"osCreatedAt\": \"2022-02-17T06:30:03.586Z\",\n \"enrolledDate\": \"2022-02-17T06:30:03.272Z\",\n \"@type\": \"User\",\n \"channel\": \"0134764862869585920\",\n \"osid\": \"55d2df63-b49a-402a-840f-7d498ee29b33\",\n \"userId\": \"c14e2108-2d09-4467-b88a-05c0010a1fb1\"\n },\n \"orgData\": {\n \"osUpdatedAt\": \"2022-02-17T06:30:03.960Z\",\n \"code\": \"SUNRISE\",\n \"osCreatedAt\": \"2022-02-17T06:30:03.960Z\",\n \"createdBy\": \"55d2df63-b49a-402a-840f-7d498ee29b33\",\n \"@type\": \"Org\",\n \"name\": \"Sunrise\",\n \"description\": \"Sunrise\",\n \"osid\": \"a3177e9d-32a7-4326-a014-47165329a5d0\",\n \"type\": [\n \"contribute\",\n \"sourcing\"\n ],\n \"orgId\": \"0134764862869585920\"\n }\n },\n {\n \"id\": 16112,\n \"program_id\": \"8ae77890-36ec-11ec-a56f-4b503455085f\",\n \"user_id\": \"21c1091f-235d-4e41-bdd8-73574e3ff84b\",\n \"organisation_id\": null,\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"bc8d856e-b234-43c6-bba5-0d1d6facd661\",\n \"updatedby\": null,\n \"createdon\": \"2022-06-02T11:03:27.976Z\",\n \"updatedon\": null,\n \"userData\": {\n \"osUpdatedAt\": \"2022-06-02T11:17:16.486Z\",\n \"lastName\": \"\",\n \"enrolledDate\": \"2022-06-02T04:19:53.298Z\",\n \"@type\": \"User\",\n \"subject\": [\n \"Mathematics\",\n \"Hindi\",\n \"English\",\n \"Science\",\n \"Environmental Studies\",\n \"Health and Physical Education\",\n \"Social Science\",\n \"History\",\n \"Political Science/Civics\",\n \"Geography\",\n \"Economics\"\n ],\n \"roles\": [\n \"individual\"\n ],\n \"channel\": \"01285019302823526477\",\n \"osid\": \"bc8d856e-b234-43c6-bba5-0d1d6facd661\",\n \"medium\": [\n \"Hindi\",\n \"English\"\n ],\n \"userId\": \"21c1091f-235d-4e41-bdd8-73574e3ff84b\",\n \"firstName\": \"kayalnadhi\",\n \"gradeLevel\": [\n \"Class 1\",\n \"Class 10\",\n \"Class 3\",\n \"Class 2\",\n \"Class 4\",\n \"Class 5\",\n \"Class 6\",\n \"Class 7\",\n \"Class 8\",\n \"Class 9\"\n ],\n \"osCreatedAt\": \"2022-06-02T11:17:16.486Z\"\n }\n },\n {\n \"id\": 16109,\n \"program_id\": \"24dddda0-e24a-11ec-be8b-9962d8844469\",\n \"user_id\": \"c14e2108-2d09-4467-b88a-05c0010a1fb1\",\n \"organisation_id\": \"a3177e9d-32a7-4326-a014-47165329a5d0\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Teacher Resource\",\n \"identifier\": \"obj-cat:teacher-resource_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Teacher Resource\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-02T08:28:40.079Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16108,\n \"program_id\": \"a3c70500-e246-11ec-be8b-9962d8844469\",\n \"user_id\": \"21c1091f-235d-4e41-bdd8-73574e3ff84b\",\n \"organisation_id\": null,\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"bc8d856e-b234-43c6-bba5-0d1d6facd661\",\n \"updatedby\": null,\n \"createdon\": \"2022-06-02T07:37:09.144Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16107,\n \"program_id\": \"a3c70500-e246-11ec-be8b-9962d8844469\",\n \"user_id\": \"c14e2108-2d09-4467-b88a-05c0010a1fb1\",\n \"organisation_id\": \"a3177e9d-32a7-4326-a014-47165329a5d0\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-06-02T07:36:33.909Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16102,\n \"program_id\": \"93b12900-e0e0-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-31T12:53:29.127Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16098,\n \"program_id\": \"cfc382f0-dfee-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Course Assessment\",\n \"eTextbook\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-30T08:03:05.676Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16096,\n \"program_id\": \"5a9eca60-dfea-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Practice Set\",\n \"identifier\": \"obj-cat:practice-set_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Practice Set\",\n \"Course Assessment\",\n \"eTextbook\"\n ],\n \"collection_ids\": [\n \"do_11354871471582412812637\",\n \"do_11354871471579955212636\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-30T07:30:40.044Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16095,\n \"program_id\": \"bc3c5500-dfe8-11ec-be8b-9962d8844469\",\n \"user_id\": \"409985ea-75c1-4316-8218-ac9a668ceb42\",\n \"organisation_id\": \"ad44543d-5f46-4486-b570-352732e06464\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"eTextbook\",\n \"Explanation Content\"\n ],\n \"collection_ids\": [\n \"do_11354870909911859212271\",\n \"do_11354870909909401612270\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-30T07:19:15.080Z\",\n \"updatedon\": null,\n \"userData\": {\n \"osUpdatedAt\": \"2021-09-14T05:37:13.504Z\",\n \"lastName\": \"\",\n \"enrolledDate\": \"2020-07-07T08:20:36.534Z\",\n \"@type\": \"User\",\n \"subject\": [],\n \"roles\": [\n \"admin\"\n ],\n \"channel\": \"01305892476764160058\",\n \"osid\": \"adbb4f64-4b40-40c4-9c8c-005eedd47989\",\n \"medium\": [],\n \"userId\": \"409985ea-75c1-4316-8218-ac9a668ceb42\",\n \"firstName\": \"ncert1\",\n \"gradeLevel\": [],\n \"osCreatedAt\": \"2021-09-14T05:37:13.504Z\"\n },\n \"orgData\": {\n \"osUpdatedAt\": \"2020-08-26T04:32:33.486Z\",\n \"code\": \"NCERT\",\n \"osCreatedAt\": \"2020-08-26T04:32:33.486Z\",\n \"createdBy\": \"adbb4f64-4b40-40c4-9c8c-005eedd47989\",\n \"@type\": \"Org\",\n \"name\": \"NCERT\",\n \"description\": \"NCERT\",\n \"osid\": \"ad44543d-5f46-4486-b570-352732e06464\",\n \"type\": [\n \"contribute\",\n \"sourcing\"\n ],\n \"orgId\": \"01305892476764160058\"\n }\n },\n {\n \"id\": 16094,\n \"program_id\": \"bc3c5500-dfe8-11ec-be8b-9962d8844469\",\n \"user_id\": \"360fae94-165a-4a1c-8c93-fed8de836af8\",\n \"organisation_id\": \"ed7f72a7-7c87-4147-a79a-b4ac0857fa76\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"eTextbook\",\n \"Explanation Content\"\n ],\n \"collection_ids\": [\n \"do_11354870909911859212271\",\n \"do_11354870909909401612270\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-30T07:19:15.064Z\",\n \"updatedon\": null,\n \"userData\": {\n \"osUpdatedAt\": \"2021-09-14T05:39:30.090Z\",\n \"lastName\": \"\",\n \"enrolledDate\": \"2021-02-02T05:04:35.410Z\",\n \"@type\": \"User\",\n \"subject\": [\n \"Mathematics\",\n \"Hindi\",\n \"Environmental Studies\",\n \"Science\"\n ],\n \"roles\": [\n \"admin\"\n ],\n \"channel\": \"0132074893567098882\",\n \"osid\": \"22a6c8fd-095c-4624-a39f-832995bf3322\",\n \"medium\": [\n \"English\",\n \"Hindi\"\n ],\n \"userId\": \"360fae94-165a-4a1c-8c93-fed8de836af8\",\n \"firstName\": \"Cotton1\",\n \"gradeLevel\": [\n \"Class 6\",\n \"Class 10\",\n \"Class 1\",\n \"Class 4\",\n \"Class 3\",\n \"Class 9\",\n \"Class 2\",\n \"Class 5\",\n \"Class 8\",\n \"Class 7\"\n ],\n \"osCreatedAt\": \"2021-09-14T05:39:30.090Z\"\n },\n \"orgData\": {\n \"osUpdatedAt\": \"2021-02-02T05:04:35.421Z\",\n \"code\": \"COTTON\",\n \"osCreatedAt\": \"2021-02-02T05:04:35.421Z\",\n \"createdBy\": \"22a6c8fd-095c-4624-a39f-832995bf3322\",\n \"@type\": \"Org\",\n \"name\": \"Cotton\",\n \"description\": \"Cotton\",\n \"osid\": \"ed7f72a7-7c87-4147-a79a-b4ac0857fa76\",\n \"type\": [\n \"contribute\",\n \"sourcing\"\n ],\n \"orgId\": \"0132074893567098882\"\n }\n },\n {\n \"id\": 16093,\n \"program_id\": \"bc3c5500-dfe8-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"eTextbook\",\n \"Explanation Content\"\n ],\n \"collection_ids\": [\n \"do_11354870909911859212271\",\n \"do_11354870909909401612270\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-30T07:19:15.033Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16092,\n \"program_id\": \"8c874f00-dfe7-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Teacher Resource\",\n \"identifier\": \"obj-cat:teacher-resource_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Teacher Resource\"\n ],\n \"collection_ids\": [\n \"do_11354870499830988811904\",\n \"do_11354870499832627211905\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-30T07:10:54.444Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16091,\n \"program_id\": \"c4dc32a0-ddbf-11ec-be8b-9962d8844469\",\n \"user_id\": \"78dd213c-1e18-403b-9ab4-2c64983a9688\",\n \"organisation_id\": null,\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\"\n ],\n \"collection_ids\": [\n \"do_11354677394314854411721\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-27T13:42:09.337Z\",\n \"updatedon\": null,\n \"userData\": {\n \"lastName\": \"\",\n \"osUpdatedAt\": \"2021-09-14T06:50:11.199Z\",\n \"firstName\": \"d990\",\n \"osCreatedAt\": \"2021-09-14T06:50:11.199Z\",\n \"enrolledDate\": \"2020-06-24T07:26:08.220Z\",\n \"@type\": \"User\",\n \"roles\": [\n \"individual\"\n ],\n \"channel\": \"0130244627071467523\",\n \"osid\": \"b340015e-6e67-4845-82b4-f574c5b5d73d\",\n \"userId\": \"78dd213c-1e18-403b-9ab4-2c64983a9688\"\n }\n },\n {\n \"id\": 16090,\n \"program_id\": \"c4dc32a0-ddbf-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\"\n ],\n \"collection_ids\": [\n \"do_11354677394314854411721\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-27T13:42:09.322Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16086,\n \"program_id\": \"74099f30-dce2-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-26T10:56:32.105Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16085,\n \"program_id\": \"43244170-dcdf-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-26T10:38:32.227Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16080,\n \"program_id\": \"edae8010-db22-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Teacher Resource\",\n \"identifier\": \"obj-cat:teacher-resource_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Explanation Content\",\n \"Teacher Resource\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-24T05:33:05.105Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16079,\n \"program_id\": \"e662a170-db21-11ec-be8b-9962d8844469\",\n \"user_id\": \"48dc0e70-2775-474b-9b78-def27d047836\",\n \"organisation_id\": \"e0ab89f4-0fcb-47ea-9b70-3ed0f12b1b7a\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Practice Set\",\n \"identifier\": \"obj-cat:practice-set_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Teacher Resource\",\n \"identifier\": \"obj-cat:teacher-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Exam Question\",\n \"identifier\": \"obj-cat:exam-question_content_01309282781705830427\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Practice Set\",\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Teacher Resource\",\n \"Exam Question\"\n ],\n \"collection_ids\": [\n \"do_11354440759889920011672\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-24T05:27:48.500Z\",\n \"updatedon\": null,\n \"userData\": {\n \"osUpdatedAt\": \"2021-09-16T10:36:42.991Z\",\n \"lastName\": \"\",\n \"enrolledDate\": \"2020-07-17T00:54:16.773Z\",\n \"@type\": \"User\",\n \"subject\": [\n \"English\",\n \"Hindi\",\n \"Mathematics\",\n \"Science\",\n \"Geography\",\n \"null\",\n \"History\",\n \"Environmental Studies\",\n \"Health and Physical Education\"\n ],\n \"roles\": [\n \"admin\",\n \"sourcing_reviewer\"\n ],\n \"channel\": \"012983850117177344161\",\n \"osid\": \"d27d83cd-4e20-4d1d-902a-0d148ad87afe\",\n \"medium\": [\n \"English\",\n \"Hindi\",\n \"null\"\n ],\n \"userId\": \"48dc0e70-2775-474b-9b78-def27d047836\",\n \"firstName\": \"kayal\",\n \"gradeLevel\": [\n \"Class 21\",\n \"Class 1\",\n \"Class 10\",\n \"Class 3\",\n \"Class 6\",\n \"Class 9\",\n \"Class 2\",\n \"Class 5\",\n \"Class 8\",\n \"Class 7\",\n \"Class 4\",\n \"Grade 1\"\n ],\n \"osCreatedAt\": \"2021-09-16T10:36:42.991Z\"\n },\n \"orgData\": {\n \"osUpdatedAt\": \"2020-08-11T14:01:10.690Z\",\n \"code\": \"VIDYA2\",\n \"osCreatedAt\": \"2020-08-11T14:01:10.690Z\",\n \"createdBy\": \"d27d83cd-4e20-4d1d-902a-0d148ad87afe\",\n \"@type\": \"Org\",\n \"name\": \"Vidya2\",\n \"description\": \"Vidya2\",\n \"osid\": \"e0ab89f4-0fcb-47ea-9b70-3ed0f12b1b7a\",\n \"type\": [\n \"contribute\",\n \"sourcing\"\n ],\n \"orgId\": \"012983850117177344161\"\n }\n },\n {\n \"id\": 16076,\n \"program_id\": \"53acfc70-da74-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Ekstep New QS\",\n \"identifier\": \"obj-cat:ekstep-new-qs_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Exam Question Set\",\n \"identifier\": \"obj-cat:exam-question-set_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Observation\",\n \"Survey\",\n \"Ekstep New QS\",\n \"Exam Question Set\",\n \"Course Assessment\",\n \"Explanation Content\"\n ],\n \"collection_ids\": [\n \"do_11354379621880627211481\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-23T08:43:57.630Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16074,\n \"program_id\": \"fdf134a0-da68-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation With Rubrics\",\n \"identifier\": \"obj-cat:observation-with-rubrics_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation With Rubrics\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-23T07:23:41.593Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16072,\n \"program_id\": \"ef307620-da67-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation With Rubrics\",\n \"identifier\": \"obj-cat:observation-with-rubrics_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation With Rubrics\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-23T07:15:18.332Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16068,\n \"program_id\": \"9875d610-d6a5-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-18T12:25:48.333Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16065,\n \"program_id\": \"cd75b510-d5ab-11ec-be8b-9962d8844469\",\n \"user_id\": \"0dbd63d3-081a-42db-9158-79e99e7ccf9b\",\n \"organisation_id\": \"52049473-863e-40ef-bd3a-c906db1b5a60\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-17T06:40:39.323Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16062,\n \"program_id\": \"8efca000-d50b-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-16T11:30:31.914Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16061,\n \"program_id\": \"550c2010-d50a-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-16T11:22:21.453Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16060,\n \"program_id\": \"c0809340-d504-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-16T10:41:57.336Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16056,\n \"program_id\": \"9612fd80-d1dc-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-12T10:16:48.243Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16054,\n \"program_id\": \"4f423130-d111-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation With Rubrics\",\n \"identifier\": \"obj-cat:observation-with-rubrics_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Observation With Rubrics\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-11T10:02:09.765Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16052,\n \"program_id\": \"df9cd270-d0fe-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-11T07:49:43.925Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16050,\n \"program_id\": \"8050d390-d0ed-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation With Rubrics\",\n \"identifier\": \"obj-cat:observation-with-rubrics_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\",\n \"Observation With Rubrics\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-11T05:45:48.166Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16047,\n \"program_id\": \"2c355f70-d04c-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation With Rubrics\",\n \"identifier\": \"obj-cat:observation-with-rubrics_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation With Rubrics\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-10T10:30:54.956Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16046,\n \"program_id\": \"6041b1b0-cd18-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-06T09:16:39.370Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16044,\n \"program_id\": \"65834690-cd07-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation With Rubrics\",\n \"identifier\": \"obj-cat:observation-with-rubrics_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation With Rubrics\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-06T06:41:55.317Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16042,\n \"program_id\": \"77a056d0-cd05-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation With Rubrics\",\n \"identifier\": \"obj-cat:observation-with-rubrics_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation With Rubrics\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-06T06:27:21.767Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16040,\n \"program_id\": \"26f9f7e0-ccf6-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation With Rubrics\",\n \"identifier\": \"obj-cat:observation-with-rubrics_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation With Rubrics\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-06T04:37:44.645Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16039,\n \"program_id\": \"2edfe660-cbb4-11ec-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-05T10:44:18.127Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16035,\n \"program_id\": \"546b3ca0-cb7c-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-04T07:33:22.436Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16034,\n \"program_id\": \"a6dd6110-cb6e-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-04T06:02:02.469Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16032,\n \"program_id\": \"e500d940-c772-11ec-a165-33909bc91f74\",\n \"user_id\": \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\",\n \"organisation_id\": null,\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Practice Set\",\n \"identifier\": \"obj-cat:practice-set_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Practice Set\",\n \"Demo Practice Question Set\"\n ],\n \"collection_ids\": [\n \"do_11352667776744652811343\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"bcc23eec-5290-4ca2-8f3e-144a24f03b6d\",\n \"updatedby\": null,\n \"createdon\": \"2022-05-02T12:35:08.736Z\",\n \"updatedon\": null,\n \"userData\": {\n \"osUpdatedAt\": \"2022-06-13T11:10:06.528Z\",\n \"lastName\": \"\",\n \"enrolledDate\": \"2020-09-01T04:21:40.531Z\",\n \"@type\": \"User\",\n \"subject\": [\n \"Mathematics\",\n \"Hindi\",\n \"Science\",\n \"English\",\n \"Geography\",\n \"History\",\n \"Tamil\",\n \"null\",\n \"Environmental Studies\",\n \"Physics\",\n \"Social Science\",\n \"Health and Physical Education\",\n \"Chemistry\",\n \"Political Science/Civics\",\n \"Economics\"\n ],\n \"roles\": [\n \"sourcing_reviewer\"\n ],\n \"channel\": \"01285019302823526477\",\n \"osid\": \"bcc23eec-5290-4ca2-8f3e-144a24f03b6d\",\n \"medium\": [\n \"English\",\n \"Hindi\",\n \"Tamil\",\n \"null\",\n \"Telugu\"\n ],\n \"userId\": \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\",\n \"firstName\": \"anusha\",\n \"gradeLevel\": [\n \"Class 1\",\n \"Class 10\",\n \"Class 7\",\n \"Class 3\",\n \"Class 9\",\n \"Class 2\",\n \"Class 4\",\n \"Class 6\",\n \"Class 5\",\n \"Class 8\",\n \"Class3\",\n \"Class2\",\n \"Class4\",\n \"Class1\",\n \"Grade 2\",\n \"Grade 1\"\n ],\n \"osCreatedAt\": \"2022-06-13T11:10:06.528Z\"\n }\n },\n {\n \"id\": 16031,\n \"program_id\": \"178ffa10-c5ef-11ec-a165-33909bc91f74\",\n \"user_id\": \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\",\n \"organisation_id\": null,\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\"\n ],\n \"collection_ids\": [\n \"do_1135253137551441921633\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"bcc23eec-5290-4ca2-8f3e-144a24f03b6d\",\n \"updatedby\": null,\n \"createdon\": \"2022-05-02T12:27:14.099Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16029,\n \"program_id\": \"888926e0-ca10-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-02T12:08:49.036Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16027,\n \"program_id\": \"0fb41080-ca0c-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-02T11:36:46.120Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16026,\n \"program_id\": \"794f3c60-c9f1-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-05-02T08:26:20.403Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16025,\n \"program_id\": \"a11cb9d0-c52c-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Haryana New QS\",\n \"identifier\": \"obj-cat:haryana-new-qs_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Haryana New QS\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"179b8dcd-ad56-42fd-83d1-9459bb8e4489\",\n \"updatedby\": null,\n \"createdon\": \"2022-05-02T06:42:49.013Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16022,\n \"program_id\": \"9ac49140-c6b0-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-04-28T05:05:20.556Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16021,\n \"program_id\": \"e1379790-c646-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-04-27T16:33:21.452Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16020,\n \"program_id\": \"c9d84640-c645-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-04-27T16:20:14.639Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16019,\n \"program_id\": \"992f6a60-c644-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-04-27T16:11:47.784Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16016,\n \"program_id\": \"161310b0-c634-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Teacher Resource\",\n \"identifier\": \"obj-cat:teacher-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Exam Question\",\n \"identifier\": \"obj-cat:exam-question_content_01309282781705830427\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Content Playlist\",\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Teacher Resource\",\n \"Exam Question\"\n ],\n \"collection_ids\": [\n \"do_11352555581166387211321\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-04-27T14:13:44.871Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16014,\n \"program_id\": \"f0e852d0-c630-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Exam Question Set\",\n \"identifier\": \"obj-cat:exam-question-set_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Practice Set\",\n \"identifier\": \"obj-cat:practice-set_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Exam Question Set\",\n \"Practice Set\",\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Practice Question Set\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-04-27T13:50:37.668Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16012,\n \"program_id\": \"d6bb5b00-c60d-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation With Rubrics\",\n \"identifier\": \"obj-cat:observation-with-rubrics_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Practice Set\",\n \"identifier\": \"obj-cat:practice-set_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Observation With Rubrics\",\n \"Practice Set\",\n \"Content Playlist\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\"\n ],\n \"collection_ids\": [\n \"do_11352542130115379211128\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-04-27T09:40:05.663Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16008,\n \"program_id\": \"bb2d9160-c53f-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Practice Question Set\"\n ],\n \"collection_ids\": [\n \"do_1135246978446131201627\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-04-26T09:08:12.588Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16006,\n \"program_id\": \"a11cb9d0-c52c-11ec-a165-33909bc91f74\",\n \"user_id\": \"bf020396-0d7b-436f-ae9f-869c6780fc45\",\n \"organisation_id\": \"ca8608d6-c5d8-440e-9dbb-1fef85803807\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Haryana New QS\",\n \"identifier\": \"obj-cat:haryana-new-qs_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Haryana New QS\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-04-26T06:46:58.489Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16005,\n \"program_id\": \"3303d7a0-78e0-11ec-a0eb-43ca5c2fff77\",\n \"user_id\": \"e73b4786-a6b3-4fe7-b02b-81560ca87811\",\n \"organisation_id\": null,\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Exam Question\",\n \"identifier\": \"obj-cat:exam-question_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Content Playlist\",\n \"Course Assessment\",\n \"eTextbook\",\n \"Exam Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"6582c32c-0758-4341-abfd-b3aab6ebe7e1\",\n \"updatedby\": null,\n \"createdon\": \"2022-04-22T10:26:02.902Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16004,\n \"program_id\": \"e8eb02a0-c20a-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-04-22T07:23:17.519Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15999,\n \"program_id\": \"b8ca36f0-bfa2-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\"\n ],\n \"collection_ids\": [\n \"do_1135196436042956801141\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-04-19T05:45:19.905Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15997,\n \"program_id\": \"6767ab90-bfa1-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Practice Question Set\"\n ],\n \"collection_ids\": [\n \"do_1135196354830991361125\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-04-19T05:28:48.587Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15996,\n \"program_id\": \"7039eb40-bf22-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-04-18T14:20:01.865Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15991,\n \"program_id\": \"90fb0b70-b577-11ec-a165-33909bc91f74\",\n \"user_id\": \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\",\n \"organisation_id\": null,\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Exam Question Set\",\n \"identifier\": \"obj-cat:exam-question-set_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Exam Question Set\",\n \"eTextbook\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"bcc23eec-5290-4ca2-8f3e-144a24f03b6d\",\n \"updatedby\": null,\n \"createdon\": \"2022-04-07T11:50:14.541Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15986,\n \"program_id\": \"e92c3350-b572-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-04-06T06:30:59.914Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15985,\n \"program_id\": \"524d1cc0-b571-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-04-06T06:19:26.789Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15983,\n \"program_id\": \"f2e789b0-ac0f-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Exam Question\",\n \"identifier\": \"obj-cat:exam-question_content_01309282781705830427\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Exam Question\"\n ],\n \"collection_ids\": [\n \"do_113502009902563328169\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-03-25T07:49:28.414Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15982,\n \"program_id\": \"2a813340-ac0f-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Exam Question\",\n \"identifier\": \"obj-cat:exam-question_content_01309282781705830427\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Exam Question\"\n ],\n \"collection_ids\": [\n \"do_113502007054680064164\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-03-25T07:43:40.795Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15981,\n \"program_id\": \"92a716f0-ab75-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"FTB Question\",\n \"identifier\": \"obj-cat:ftb-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"FTB Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-03-24T13:30:07.183Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15980,\n \"program_id\": \"215f0f20-aa7b-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-03-23T07:31:54.921Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15979,\n \"program_id\": \"fa188f30-9edc-11ec-a165-33909bc91f74\",\n \"user_id\": \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\",\n \"organisation_id\": null,\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Learning Resource\"\n ],\n \"collection_ids\": [\n \"do_113490132576403456113\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"bcc23eec-5290-4ca2-8f3e-144a24f03b6d\",\n \"updatedby\": null,\n \"createdon\": \"2022-03-21T10:16:14.339Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15977,\n \"program_id\": \"3db5b8f0-a8d6-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-03-21T05:18:07.233Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15975,\n \"program_id\": \"cfbdf8a0-a69e-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-03-18T09:38:00.922Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15974,\n \"program_id\": \"005a7b10-9ee2-11ec-a165-33909bc91f74\",\n \"user_id\": \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\",\n \"organisation_id\": null,\n \"status\": \"Pending\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"eTextbook\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"bcc23eec-5290-4ca2-8f3e-144a24f03b6d\",\n \"updatedby\": null,\n \"createdon\": \"2022-03-17T12:07:41.409Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15973,\n \"program_id\": \"b5a1f390-9ee2-11ec-a165-33909bc91f74\",\n \"user_id\": \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\",\n \"organisation_id\": null,\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"eTextbook\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"bcc23eec-5290-4ca2-8f3e-144a24f03b6d\",\n \"updatedby\": null,\n \"createdon\": \"2022-03-17T11:57:20.153Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15969,\n \"program_id\": \"88eb3b20-a510-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-03-16T10:08:20.785Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15968,\n \"program_id\": \"af359480-a43c-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-03-16T08:11:39.607Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15967,\n \"program_id\": \"d7c68d40-9eac-11ec-a165-33909bc91f74\",\n \"user_id\": \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\",\n \"organisation_id\": null,\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Practice Question Set\"\n ],\n \"collection_ids\": [\n \"do_11348995183213772816\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"bcc23eec-5290-4ca2-8f3e-144a24f03b6d\",\n \"updatedby\": null,\n \"createdon\": \"2022-03-16T04:44:04.167Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15966,\n \"program_id\": \"ed8a2ed0-a040-11ec-a165-33909bc91f74\",\n \"user_id\": \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\",\n \"organisation_id\": null,\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Exam Question\",\n \"identifier\": \"obj-cat:exam-question_content_01309282781705830427\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Exam Question\"\n ],\n \"collection_ids\": [\n \"do_113491375522111488133\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"bcc23eec-5290-4ca2-8f3e-144a24f03b6d\",\n \"updatedby\": null,\n \"createdon\": \"2022-03-14T05:30:03.225Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15961,\n \"program_id\": \"8c514360-9f87-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-03-09T09:02:53.138Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15957,\n \"program_id\": \"005a7b10-9ee2-11ec-a165-33909bc91f74\",\n \"user_id\": \"0ce5b67e-b48e-489b-a818-e938e8bfc14b\",\n \"organisation_id\": null,\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"eTextbook\",\n \"Learning Resource\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"bd99ebcf-145e-408f-ab3b-760ef20ad6f2\",\n \"updatedby\": null,\n \"createdon\": \"2022-03-08T13:17:57.197Z\",\n \"updatedon\": null,\n \"userData\": {\n \"osUpdatedAt\": \"2022-09-27T08:27:57.423Z\",\n \"lastName\": \"\",\n \"enrolledDate\": \"2020-11-04T08:14:19.639Z\",\n \"@type\": \"User\",\n \"subject\": [\n \"Hindi\",\n \"History\",\n \"Mathematics\",\n \"English\",\n \"null\",\n \"Environmental Studies\",\n \"Science\",\n \"Health and Physical Education\",\n \"Physics\",\n \"Geography\",\n \"Home Science\",\n \"Microbiology\",\n \"Social Science\",\n \"Tamil\",\n \"Computer Applications\",\n \"Chemistry\",\n \"Economics\",\n \"null\"\n ],\n \"roles\": [\n \"sourcing_reviewer\"\n ],\n \"channel\": \"01285019302823526477\",\n \"osid\": \"bd99ebcf-145e-408f-ab3b-760ef20ad6f2\",\n \"medium\": [\n \"English\",\n \"Hindi\",\n \"null\",\n \"Telugu\",\n \"Tamil\",\n \"null\"\n ],\n \"userId\": \"0ce5b67e-b48e-489b-a818-e938e8bfc14b\",\n \"firstName\": \"color4\",\n \"gradeLevel\": [\n \"Class 10\",\n \"Class 9\",\n \"Class 7\",\n \"Class 1\",\n \"Class 6\",\n \"Class 2\",\n \"Class2\",\n \"Class3\",\n \"Class 3\",\n \"Class 11\",\n \"Class 4\",\n \"Class 5\",\n \"Class 8\",\n \"Class4\",\n \"Class1\",\n \"Grade 1\"\n ],\n \"osCreatedAt\": \"2022-09-27T08:27:57.423Z\"\n }\n },\n {\n \"id\": 15956,\n \"program_id\": \"005a7b10-9ee2-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"eTextbook\",\n \"Learning Resource\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-03-08T13:17:05.963Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15954,\n \"program_id\": \"fa188f30-9edc-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Learning Resource\"\n ],\n \"collection_ids\": [\n \"do_113490132576403456113\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-03-08T13:04:59.554Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15953,\n \"program_id\": \"75d24210-87ef-11ec-84f9-3d2ff53d5753\",\n \"user_id\": \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\",\n \"organisation_id\": null,\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation With Rubrics\",\n \"identifier\": \"obj-cat:observation-with-rubrics_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation With Rubrics\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"bcc23eec-5290-4ca2-8f3e-144a24f03b6d\",\n \"updatedby\": null,\n \"createdon\": \"2022-03-08T11:23:11.036Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16842,\n \"program_id\": \"6afd22c0-5f20-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Practice Set\",\n \"identifier\": \"obj-cat:practice-set_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Exam Question\",\n \"identifier\": \"obj-cat:exam-question_content_01309282781705830427\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Survey\",\n \"Practice Set\",\n \"Content Playlist\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Exam Question\"\n ],\n \"collection_ids\": [\n \"do_11366329645117440012494\",\n \"do_11366329645114163212493\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-11-08T04:47:48.722Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16841,\n \"program_id\": \"af287810-5e6b-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-11-07T07:15:40.456Z\",\n \"updatedon\": null\n },\n {\n \"id\": 16836,\n \"program_id\": \"74fd7f00-5c2c-11ed-be8b-9962d8844469\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-11-04T10:36:48.736Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15952,\n \"program_id\": \"9baddaa0-95ee-11ec-a165-33909bc91f74\",\n \"user_id\": \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\",\n \"organisation_id\": null,\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Observation\"\n ],\n \"collection_ids\": [\n \"do_1134820766547558401854\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"bcc23eec-5290-4ca2-8f3e-144a24f03b6d\",\n \"updatedby\": null,\n \"createdon\": \"2022-03-08T09:16:52.370Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15950,\n \"program_id\": \"84433a30-9eaa-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-03-08T06:43:12.033Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15949,\n \"program_id\": \"27aa3e90-90bd-11ec-9d8a-555718b3336f\",\n \"user_id\": \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\",\n \"organisation_id\": null,\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Course Assessment\",\n \"eTextbook\"\n ],\n \"collection_ids\": [\n \"do_1134774000202792961549\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"bcc23eec-5290-4ca2-8f3e-144a24f03b6d\",\n \"updatedby\": null,\n \"createdon\": \"2022-03-04T12:16:33.111Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15947,\n \"program_id\": \"dc900620-9a20-11ec-a165-33909bc91f74\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-03-03T14:40:00.736Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15939,\n \"program_id\": \"407c21c0-90b5-11ec-9d8a-555718b3336f\",\n \"user_id\": \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\",\n \"organisation_id\": null,\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"bcc23eec-5290-4ca2-8f3e-144a24f03b6d\",\n \"updatedby\": null,\n \"createdon\": \"2022-02-23T06:15:19.105Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15934,\n \"program_id\": \"63f243e0-92ff-11ec-9d8a-555718b3336f\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\"\n ],\n \"collection_ids\": [\n \"do_1134794345280061441831\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-02-21T10:19:45.400Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15932,\n \"program_id\": \"a63a42e0-92fd-11ec-9d8a-555718b3336f\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Teacher Resource\",\n \"identifier\": \"obj-cat:teacher-resource_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Teacher Resource\"\n ],\n \"collection_ids\": [\n \"do_1134794290661539841780\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-02-21T10:08:38.770Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15931,\n \"program_id\": \"334f6b90-90c6-11ec-9d8a-555718b3336f\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"eTextbook\",\n \"Explanation Content\"\n ],\n \"collection_ids\": [\n \"do_1134774308851220481562\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-02-18T14:23:20.674Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15928,\n \"program_id\": \"4c82d2e0-90c2-11ec-9d8a-555718b3336f\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Course Assessment\",\n \"eTextbook\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-02-18T13:58:55.787Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15924,\n \"program_id\": \"3ba02c90-8d91-11ec-939b-f52ca473d782\",\n \"user_id\": \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\",\n \"organisation_id\": null,\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"eTextbook\"\n ],\n \"collection_ids\": [\n \"do_1134745422550466561466\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"bcc23eec-5290-4ca2-8f3e-144a24f03b6d\",\n \"updatedby\": null,\n \"createdon\": \"2022-02-18T12:36:16.984Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15923,\n \"program_id\": \"ea8e9570-8d91-11ec-939b-f52ca473d782\",\n \"user_id\": \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\",\n \"organisation_id\": null,\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Content Playlist\"\n ],\n \"collection_ids\": [\n \"do_1134745447063306241477\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"bcc23eec-5290-4ca2-8f3e-144a24f03b6d\",\n \"updatedby\": null,\n \"createdon\": \"2022-02-18T12:29:51.512Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15921,\n \"program_id\": \"6db7ae30-90b4-11ec-9d8a-555718b3336f\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Exam Question Set\",\n \"identifier\": \"obj-cat:exam-question-set_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation With Rubrics\",\n \"identifier\": \"obj-cat:observation-with-rubrics_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Observation\",\n \"Survey\",\n \"Exam Question Set\",\n \"Observation With Rubrics\",\n \"Content Playlist\",\n \"eTextbook\"\n ],\n \"collection_ids\": [\n \"do_1134773685597143041540\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-02-18T12:16:32.022Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15918,\n \"program_id\": \"25c7afd0-90a5-11ec-9d8a-555718b3336f\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Content Playlist\"\n ],\n \"collection_ids\": [\n \"do_1134773561344081921524\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-02-18T11:51:15.229Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15917,\n \"program_id\": \"f36a3ec0-90a6-11ec-9d8a-555718b3336f\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Content Playlist\"\n ],\n \"collection_ids\": [\n \"do_1134773208339824641519\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-02-18T10:39:26.133Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15916,\n \"program_id\": \"d024b540-909b-11ec-9d8a-555718b3336f\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Content Playlist\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-02-18T09:19:59.143Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15915,\n \"program_id\": \"44935680-909b-11ec-9d8a-555718b3336f\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"FTB Question\",\n \"identifier\": \"obj-cat:ftb-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"FTB Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-02-18T09:17:28.784Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15914,\n \"program_id\": \"ae58ba90-901b-11ec-9d8a-555718b3336f\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Content Playlist\"\n ],\n \"collection_ids\": [\n \"do_1134772790362685441516\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-02-18T09:14:23.878Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15911,\n \"program_id\": \"66a4a070-8fcf-11ec-9d8a-555718b3336f\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Content Playlist\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-02-17T08:56:22.192Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15910,\n \"program_id\": \"094371e0-8fcf-11ec-9d8a-555718b3336f\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"FTB Question\",\n \"identifier\": \"obj-cat:ftb-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"FTB Question\",\n \"Multiple Choice Question\",\n \"Practice Question Set\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-02-17T08:54:58.754Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15909,\n \"program_id\": \"c5195750-8fce-11ec-9d8a-555718b3336f\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Content Playlist\"\n ],\n \"collection_ids\": [\n \"do_1134765605835980801511\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-02-17T08:52:42.222Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15906,\n \"program_id\": \"e8dafe60-8fc8-11ec-9d8a-555718b3336f\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-02-17T08:10:12.781Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15905,\n \"program_id\": \"896772f0-8fba-11ec-9d8a-555718b3336f\",\n \"user_id\": \"c14e2108-2d09-4467-b88a-05c0010a1fb1\",\n \"organisation_id\": \"a3177e9d-32a7-4326-a014-47165329a5d0\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Observation\",\n \"Course Assessment\",\n \"eTextbook\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-02-17T06:30:04.312Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15904,\n \"program_id\": \"e6e7b480-8fb5-11ec-939b-f52ca473d782\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Course Assessment\",\n \"eTextbook\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-02-17T05:53:28.749Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15903,\n \"program_id\": \"06ffad20-8fb3-11ec-939b-f52ca473d782\",\n \"user_id\": \"0ce5b67e-b48e-489b-a818-e938e8bfc14b\",\n \"organisation_id\": null,\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Course Assessment\",\n \"eTextbook\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"bd99ebcf-145e-408f-ab3b-760ef20ad6f2\",\n \"updatedby\": null,\n \"createdon\": \"2022-02-17T05:37:28.585Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15902,\n \"program_id\": \"759d8c20-8fb3-11ec-939b-f52ca473d782\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Course Assessment\",\n \"eTextbook\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-02-17T05:36:01.038Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15901,\n \"program_id\": \"06ffad20-8fb3-11ec-939b-f52ca473d782\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Course Assessment\",\n \"eTextbook\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-02-17T05:35:18.225Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15872,\n \"program_id\": \"ab8141d0-7daa-11ec-bb5d-23c7a3b99eb5\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Content Playlist\",\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\"\n ],\n \"collection_ids\": [\n \"do_11346022797980467212402\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-01-25T07:03:56.070Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15858,\n \"program_id\": \"9a277210-7aad-11ec-af07-a700e606b499\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-01-21T11:33:23.161Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15831,\n \"program_id\": \"9c03ecf0-6df9-11ec-ad7a-853bd8da76ad\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-01-05T07:34:51.153Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15819,\n \"program_id\": \"db8178d0-6d1c-11ec-ad7a-853bd8da76ad\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-01-04T05:12:22.405Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15814,\n \"program_id\": \"f6e6b3c0-6be5-11ec-ad7a-853bd8da76ad\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2022-01-02T16:40:54.968Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15802,\n \"program_id\": \"1ce211c0-5e38-11ec-874d-3de2a8c29d94\",\n \"user_id\": \"149d152e-9192-4721-9e69-01e1e47f9b70\",\n \"organisation_id\": \"13495698-a117-460b-920c-41007923c764\",\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"470df59e-8bf2-40ac-a51d-c751b04ddbc2\",\n \"updatedby\": null,\n \"createdon\": \"2021-12-29T07:42:52.737Z\",\n \"updatedon\": null,\n \"userData\": {\n \"osUpdatedAt\": \"2023-01-10T03:38:19.477Z\",\n \"lastName\": \"\",\n \"enrolledDate\": \"2020-07-17T07:54:46.568Z\",\n \"@type\": \"User\",\n \"subject\": [\n \"English\",\n \"Mathematics\",\n \"Hindi\",\n \"Science\",\n \"Environmental Studies\",\n \"Geography\",\n \"Health and Physical Education\",\n \"Physics\",\n \"History\",\n \"Social Science\",\n \"Political Science/Civics\",\n \"Economics\",\n \"null\"\n ],\n \"roles\": [\n \"admin\",\n \"sourcing_reviewer\"\n ],\n \"channel\": \"0130659746662727680\",\n \"osid\": \"470df59e-8bf2-40ac-a51d-c751b04ddbc2\",\n \"medium\": [\n \"English\",\n \"Hindi\",\n \"Telugu\",\n \"null\"\n ],\n \"userId\": \"149d152e-9192-4721-9e69-01e1e47f9b70\",\n \"firstName\": \"lily1\",\n \"gradeLevel\": [\n \"Class 7\",\n \"Class 1\",\n \"Class 2\",\n \"Class 3\",\n \"Class 9\",\n \"Class 10\",\n \"Class 8\",\n \"Class 5\",\n \"Class 6\",\n \"Class 4\",\n \"Class2\",\n \"Class4\",\n \"Grade 1\",\n \"Grade 2\"\n ],\n \"osCreatedAt\": \"2023-01-10T03:38:19.477Z\"\n },\n \"orgData\": {\n \"osUpdatedAt\": \"2020-08-12T13:00:28.145Z\",\n \"code\": \"VIDYANIKETHAN\",\n \"osCreatedAt\": \"2020-08-12T13:00:28.145Z\",\n \"createdBy\": \"470df59e-8bf2-40ac-a51d-c751b04ddbc2\",\n \"@type\": \"Org\",\n \"name\": \"Vidyanikethan\",\n \"description\": \"Vidyanikethan\",\n \"osid\": \"13495698-a117-460b-920c-41007923c764\",\n \"type\": [\n \"contribute\",\n \"sourcing\"\n ],\n \"orgId\": \"0130659746662727680\"\n }\n },\n {\n \"id\": 15798,\n \"program_id\": \"28fd7850-66d5-11ec-a299-ffb3ca964b46\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Observation\",\n \"Content Playlist\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2021-12-27T05:31:08.002Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15796,\n \"program_id\": \"3904cb20-6466-11ec-a299-ffb3ca964b46\",\n \"user_id\": \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\",\n \"organisation_id\": null,\n \"status\": \"Pending\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Observation\",\n \"Survey\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"bcc23eec-5290-4ca2-8f3e-144a24f03b6d\",\n \"updatedby\": null,\n \"createdon\": \"2021-12-24T12:44:37.561Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15795,\n \"program_id\": \"40ccede0-5e41-11ec-874d-3de2a8c29d94\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Exam Question\",\n \"identifier\": \"obj-cat:exam-question_content_01309282781705830427\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Exam Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2021-12-24T05:28:40.316Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15794,\n \"program_id\": \"1ce211c0-5e38-11ec-874d-3de2a8c29d94\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2021-12-24T04:44:26.658Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15793,\n \"program_id\": \"9f6e64a0-5e41-11ec-874d-3de2a8c29d94\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2021-12-24T04:01:57.470Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15791,\n \"program_id\": \"3904cb20-6466-11ec-a299-ffb3ca964b46\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation With Rubrics\",\n \"identifier\": \"obj-cat:observation-with-rubrics_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Observation\",\n \"Survey\",\n \"Observation With Rubrics\",\n \"Explanation Content\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2021-12-24T03:04:59.936Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15789,\n \"program_id\": \"f2d9c450-566b-11ec-874d-3de2a8c29d94\",\n \"user_id\": \"149d152e-9192-4721-9e69-01e1e47f9b70\",\n \"organisation_id\": \"13495698-a117-460b-920c-41007923c764\",\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Practice Question Set\"\n ],\n \"collection_ids\": [\n \"do_11342487174379929616157\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"470df59e-8bf2-40ac-a51d-c751b04ddbc2\",\n \"updatedby\": null,\n \"createdon\": \"2021-12-22T12:07:24.328Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15788,\n \"program_id\": \"0ddd0410-6265-11ec-874d-3de2a8c29d94\",\n \"user_id\": \"149d152e-9192-4721-9e69-01e1e47f9b70\",\n \"organisation_id\": \"13495698-a117-460b-920c-41007923c764\",\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Practice Question Set\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"470df59e-8bf2-40ac-a51d-c751b04ddbc2\",\n \"updatedby\": null,\n \"createdon\": \"2021-12-22T09:26:50.653Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15787,\n \"program_id\": \"ab75b870-6274-11ec-874d-3de2a8c29d94\",\n \"user_id\": \"149d152e-9192-4721-9e69-01e1e47f9b70\",\n \"organisation_id\": \"13495698-a117-460b-920c-41007923c764\",\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Observation With Rubrics\",\n \"identifier\": \"obj-cat:observation-with-rubrics_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Observation With Rubrics\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"470df59e-8bf2-40ac-a51d-c751b04ddbc2\",\n \"updatedby\": null,\n \"createdon\": \"2021-12-22T09:26:05.122Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15777,\n \"program_id\": \"c6ac2cb0-5cd3-11ec-874d-3de2a8c29d94\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n },\n {\n \"name\": \"Subjective Question\",\n \"identifier\": \"obj-cat:subjective-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2021-12-14T11:57:50.982Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15771,\n \"program_id\": \"1668fab0-581c-11ec-874d-3de2a8c29d94\",\n \"user_id\": \"bb551fff-121e-4a18-b969-984ac62bd572\",\n \"organisation_id\": \"937dd865-b256-4c1a-9830-a9b5b89f0913\",\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"eTextbook\"\n ],\n \"collection_ids\": [\n \"do_11342639229919232016882\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"b17be90e-8443-4d13-9e20-206c9d3d8809\",\n \"updatedby\": null,\n \"createdon\": \"2021-12-08T11:49:58.920Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15769,\n \"program_id\": \"1668fab0-581c-11ec-874d-3de2a8c29d94\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Exam Question Set\",\n \"identifier\": \"obj-cat:exam-question-set_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Teacher Resource\",\n \"identifier\": \"obj-cat:teacher-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Exam Question\",\n \"identifier\": \"obj-cat:exam-question_content_01309282781705830427\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Observation\",\n \"Survey\",\n \"Exam Question Set\",\n \"Content Playlist\",\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Teacher Resource\",\n \"Exam Question\"\n ],\n \"collection_ids\": [\n \"do_11342639229916774416881\",\n \"do_11342639229919232016882\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2021-12-08T11:45:03.904Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15763,\n \"program_id\": \"5c44a7e0-5692-11ec-874d-3de2a8c29d94\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Exam Question Set\",\n \"identifier\": \"obj-cat:exam-question-set_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Teacher Resource\",\n \"identifier\": \"obj-cat:teacher-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Exam Question\",\n \"identifier\": \"obj-cat:exam-question_content_01309282781705830427\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Observation\",\n \"Survey\",\n \"Exam Question Set\",\n \"Content Playlist\",\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Teacher Resource\",\n \"Exam Question\"\n ],\n \"collection_ids\": [\n \"do_11342500738134016016686\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2021-12-06T12:47:26.544Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15757,\n \"program_id\": \"9ab09740-5666-11ec-874d-3de2a8c29d94\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2021-12-06T07:32:25.249Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15751,\n \"program_id\": \"ccfa28a0-5658-11ec-874d-3de2a8c29d94\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Exam Question Set\",\n \"identifier\": \"obj-cat:exam-question-set_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Teacher Resource\",\n \"identifier\": \"obj-cat:teacher-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Exam Question\",\n \"identifier\": \"obj-cat:exam-question_content_01309282781705830427\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Observation\",\n \"Survey\",\n \"Exam Question Set\",\n \"Content Playlist\",\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Teacher Resource\",\n \"Exam Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2021-12-06T05:53:54.252Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15748,\n \"program_id\": \"3adef560-51ba-11ec-874d-3de2a8c29d94\",\n \"user_id\": \"149d152e-9192-4721-9e69-01e1e47f9b70\",\n \"organisation_id\": \"13495698-a117-460b-920c-41007923c764\",\n \"status\": \"Pending\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Content Playlist\",\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"470df59e-8bf2-40ac-a51d-c751b04ddbc2\",\n \"updatedby\": null,\n \"createdon\": \"2021-12-02T14:03:29.253Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15744,\n \"program_id\": \"30db3d70-4c4d-11ec-92c4-a76d32262600\",\n \"user_id\": \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\",\n \"organisation_id\": null,\n \"status\": \"Pending\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Learning Resource\"\n ],\n \"collection_ids\": [\n \"do_11341575917083852811137\",\n \"do_11341575917082214411136\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"bcc23eec-5290-4ca2-8f3e-144a24f03b6d\",\n \"updatedby\": null,\n \"createdon\": \"2021-12-02T12:18:22.081Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15743,\n \"program_id\": \"9eecb670-5299-11ec-874d-3de2a8c29d94\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2021-12-01T12:02:49.010Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15741,\n \"program_id\": \"05ee12c0-51bd-11ec-874d-3de2a8c29d94\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Teacher Resource\",\n \"identifier\": \"obj-cat:teacher-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Exam Question\",\n \"identifier\": \"obj-cat:exam-question_content_01309282781705830427\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Content Playlist\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Teacher Resource\",\n \"Exam Question\"\n ],\n \"collection_ids\": [\n \"do_11342065308517171212031\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2021-11-30T09:08:36.276Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15739,\n \"program_id\": \"83de3eb0-51ba-11ec-874d-3de2a8c29d94\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Teacher Resource\",\n \"identifier\": \"obj-cat:teacher-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Exam Question\",\n \"identifier\": \"obj-cat:exam-question_content_01309282781705830427\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Teacher Resource\",\n \"Exam Question\"\n ],\n \"collection_ids\": [\n \"do_11342064465072947212011\",\n \"do_11342064465074585612012\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2021-11-30T08:51:26.686Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15738,\n \"program_id\": \"3adef560-51ba-11ec-874d-3de2a8c29d94\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Teacher Resource\",\n \"identifier\": \"obj-cat:teacher-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Exam Question\",\n \"identifier\": \"obj-cat:exam-question_content_01309282781705830427\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Content Playlist\",\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Teacher Resource\",\n \"Exam Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2021-11-30T08:48:51.559Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15737,\n \"program_id\": \"c53aea40-506e-11ec-8110-6da018ad7924\",\n \"user_id\": \"e73b4786-a6b3-4fe7-b02b-81560ca87811\",\n \"organisation_id\": null,\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"eTextbook\",\n \"Explanation Content\",\n \"Demo Practice Question Set\"\n ],\n \"collection_ids\": [\n \"do_11341947754091315211947\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"6582c32c-0758-4341-abfd-b3aab6ebe7e1\",\n \"updatedby\": null,\n \"createdon\": \"2021-11-30T08:45:10.009Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15733,\n \"program_id\": \"fb9831f0-3c92-11ec-a56f-4b503455085f\",\n \"user_id\": \"e73b4786-a6b3-4fe7-b02b-81560ca87811\",\n \"organisation_id\": null,\n \"status\": \"Pending\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Explanation Content\"\n ],\n \"collection_ids\": [\n \"do_11340159048116633611663\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"6582c32c-0758-4341-abfd-b3aab6ebe7e1\",\n \"updatedby\": null,\n \"createdon\": \"2021-11-29T10:21:53.288Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15729,\n \"program_id\": \"108ba500-506c-11ec-a400-15ba536c845b\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Exam Question Set\",\n \"identifier\": \"obj-cat:exam-question-set_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Teacher Resource\",\n \"identifier\": \"obj-cat:teacher-resource_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Exam Question Set\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Teacher Resource\"\n ],\n \"collection_ids\": [\n \"do_11341947607792844811939\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2021-11-28T17:13:58.623Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15728,\n \"program_id\": \"b945fe00-4f51-11ec-a400-15ba536c845b\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Exam Question\",\n \"identifier\": \"obj-cat:exam-question_content_01309282781705830427\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Exam Question\"\n ],\n \"collection_ids\": [\n \"do_11341847729268326411897\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2021-11-27T07:21:56.741Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15727,\n \"program_id\": \"282f28c0-4f50-11ec-a400-15ba536c845b\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Exam Question\",\n \"identifier\": \"obj-cat:exam-question_content_01309282781705830427\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Exam Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2021-11-27T07:05:27.366Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15719,\n \"program_id\": \"149c70b0-4226-11ec-bdbd-873d6b1109de\",\n \"user_id\": \"e73b4786-a6b3-4fe7-b02b-81560ca87811\",\n \"organisation_id\": null,\n \"status\": \"Initiated\",\n \"content_types\": [],\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\"\n ],\n \"collection_ids\": [\n \"do_11340661125773721611825\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"6582c32c-0758-4341-abfd-b3aab6ebe7e1\",\n \"updatedby\": null,\n \"createdon\": \"2021-11-24T05:44:21.061Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15716,\n \"program_id\": \"30db3d70-4c4d-11ec-92c4-a76d32262600\",\n \"user_id\": \"149d152e-9192-4721-9e69-01e1e47f9b70\",\n \"organisation_id\": \"13495698-a117-460b-920c-41007923c764\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Learning Resource\"\n ],\n \"collection_ids\": [\n \"do_11341575917083852811137\",\n \"do_11341575917082214411136\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2021-11-23T11:11:54.794Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15714,\n \"program_id\": \"80de5650-4c42-11ec-92c4-a76d32262600\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Course Assessment\",\n \"identifier\": \"obj-cat:course-assessment_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Explanation Content\",\n \"identifier\": \"obj-cat:explanation-content_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Teacher Resource\",\n \"identifier\": \"obj-cat:teacher-resource_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Content Playlist\",\n \"Course Assessment\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Teacher Resource\"\n ],\n \"collection_ids\": [\n \"do_1134157186221342721988\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2021-11-23T09:49:24.802Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15713,\n \"program_id\": \"e60ac730-3ca1-11ec-a56f-4b503455085f\",\n \"user_id\": \"080a0a0a-245e-493f-850e-8beca5710968\",\n \"organisation_id\": \"46beeb3f-4fc5-43c3-8b27-f57a1f82e277\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Teacher Resource\",\n \"identifier\": \"obj-cat:teacher-resource_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Observation\",\n \"Content Playlist\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Teacher Resource\"\n ],\n \"collection_ids\": [\n \"do_1134155797857566721881\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2021-11-23T05:06:57.114Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15712,\n \"program_id\": \"e60ac730-3ca1-11ec-a56f-4b503455085f\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Observation\",\n \"identifier\": \"obj-cat:observation_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Teacher Resource\",\n \"identifier\": \"obj-cat:teacher-resource_content_all\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Observation\",\n \"Content Playlist\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Teacher Resource\"\n ],\n \"collection_ids\": [\n \"do_1134155797857566721881\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2021-11-23T05:06:57.083Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15711,\n \"program_id\": \"bbdedfb0-47ae-11ec-a10b-4f6721e6d0cc\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Demo Practice Question Set\",\n \"identifier\": \"obj-cat:demo-practice-question-set_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Survey\",\n \"identifier\": \"obj-cat:survey_questionset_all\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Exam Question Set\",\n \"identifier\": \"obj-cat:exam-question-set_questionset_01309282781705830427\",\n \"targetObjectType\": \"QuestionSet\"\n },\n {\n \"name\": \"Content Playlist\",\n \"identifier\": \"obj-cat:content-playlist_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"eTextbook\",\n \"identifier\": \"obj-cat:etextbook_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Learning Resource\",\n \"identifier\": \"obj-cat:learning-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Practice Question Set\",\n \"identifier\": \"obj-cat:practice-question-set_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Teacher Resource\",\n \"identifier\": \"obj-cat:teacher-resource_content_all\",\n \"targetObjectType\": \"Content\"\n },\n {\n \"name\": \"Exam Question\",\n \"identifier\": \"obj-cat:exam-question_content_01309282781705830427\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Demo Practice Question Set\",\n \"Survey\",\n \"Exam Question Set\",\n \"Content Playlist\",\n \"eTextbook\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Teacher Resource\",\n \"Exam Question\"\n ],\n \"collection_ids\": [\n \"do_1134150891425300481694\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2021-11-22T12:28:44.778Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15707,\n \"program_id\": \"3264b620-46c7-11ec-9312-7126c05f5370\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Multiple Choice Question\",\n \"identifier\": \"obj-cat:multiple-choice-question_question_all\",\n \"targetObjectType\": \"Question\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Multiple Choice Question\"\n ],\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2021-11-17T11:59:53.898Z\",\n \"updatedon\": null\n },\n {\n \"id\": 15706,\n \"program_id\": \"edd7f970-46d7-11ec-9312-7126c05f5370\",\n \"user_id\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n \"organisation_id\": \"e7328d77-42a7-44c8-84f4-8cfea235f07d\",\n \"status\": \"Approved\",\n \"content_types\": null,\n \"targetprimarycategories\": [\n {\n \"name\": \"Exam Question\",\n \"identifier\": \"obj-cat:exam-question_content_01309282781705830427\",\n \"targetObjectType\": \"Content\"\n }\n ],\n \"targetprimarycategorynames\": [\n \"Exam Question\"\n ],\n \"collection_ids\": [\n \"do_1134115275974164481335\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": null,\n \"updatedby\": null,\n \"createdon\": \"2021-11-17T11:42:45.226Z\",\n \"updatedon\": null\n },\n {\n \"id\": 4,\n \"program_id\": \"26089eb0-690a-11ea-84f7-eb6fcea158d6\",\n \"user_id\": \"11fe29e0-1567-41ec-88ed-a263083546b0\",\n \"organisation_id\": null,\n \"status\": \"Pending\",\n \"content_types\": [],\n \"targetprimarycategories\": null,\n \"targetprimarycategorynames\": null,\n \"collection_ids\": [\n \"do_11269180237208780811\"\n ],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"dock12@yopmail.com\",\n \"updatedby\": null,\n \"createdon\": \"2020-03-18T15:54:52.296Z\",\n \"updatedon\": null,\n \"userData\": {\n \"lastName\": \"\",\n \"osUpdatedAt\": \"2021-09-14T06:50:51.727Z\",\n \"@type\": \"User\",\n \"subject\": [\n \"Mathematics\"\n ],\n \"roles\": [\n \"admin\"\n ],\n \"channel\": \"sunbird\",\n \"description\": \"Test\",\n \"osid\": \"47d19a05-6bd7-4350-9316-200baa89fc9b\",\n \"medium\": [\n \"English\"\n ],\n \"_status\": \"true\",\n \"userId\": \"11fe29e0-1567-41ec-88ed-a263083546b0\",\n \"firstName\": \"dock12@yopmail.com\",\n \"gradeLevel\": [\n \"KG\"\n ],\n \"certificates\": \"\",\n \"osCreatedAt\": \"2021-09-14T06:50:51.727Z\",\n \"name\": \"Tet\",\n \"contentTypes\": [\n \"Teaching Method\",\n \"Pedagogy Flow\"\n ],\n \"board\": [\n \"CBSE\"\n ]\n }\n },\n {\n \"id\": 7,\n \"program_id\": \"e5341780-69a8-11ea-a6df-0fa1770ff4d4\",\n \"user_id\": \"cc8461c6-acb3-45f9-bb9f-507c64059834\",\n \"organisation_id\": null,\n \"status\": \"Pending\",\n \"content_types\": [],\n \"targetprimarycategories\": null,\n \"targetprimarycategorynames\": null,\n \"collection_ids\": [],\n \"feedback\": null,\n \"rolemapping\": null,\n \"createdby\": \"vaishali\",\n \"updatedby\": null,\n \"createdon\": \"2020-03-19T06:37:54.692Z\",\n \"updatedon\": null,\n \"userData\": {\n \"lastName\": \"\",\n \"osUpdatedAt\": \"2021-09-14T05:37:15.359Z\",\n \"@type\": \"User\",\n \"subject\": [\n \"Mathematics\",\n \"English\"\n ],\n \"roles\": [\n \"admin\"\n ],\n \"channel\": \"sunbird\",\n \"description\": \"jshd\",\n \"osid\": \"dae4185e-1881-4205-823e-270a8f55da6d\",\n \"medium\": [\n \"English\",\n \"Hindi\"\n ],\n \"_status\": \"true\",\n \"userId\": \"cc8461c6-acb3-45f9-bb9f-507c64059834\",\n \"firstName\": \"vaishali\",\n \"gradeLevel\": [\n \"KG\",\n \"Class 1\"\n ],\n \"certificates\": \"\",\n \"osCreatedAt\": \"2021-09-14T05:37:15.359Z\",\n \"name\": \"name\",\n \"contentTypes\": [\n \"Teaching Method\",\n \"Pedagogy Flow\"\n ],\n \"board\": [\n \"CBSE\",\n \"ICSE\"\n ]\n }\n }\n ]\n}" + }, + { + "name": "400 Bad Request", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal" + }, + { + "key": "ts", + "value": "2020-12-02T16:36:59+05:30" + }, + { + "key": "X-msgid", + "value": "bd7f06dc-14a8-6f09-7e0c-3cbed745cb92" + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36" + }, + { + "key": "Content-Type", + "name": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web" + }, + { + "key": "X-Device-ID", + "value": "6a6ec694e694548fef971f85910385bd" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin" + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors" + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty" + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/contribute/program/c43f7790-0a2a-11eb-a2e9-4fe29a51bb70" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3Ar0BlSWCWEvDgXBdI5xr77DpPcP9ELf2v.wVoxj32Uza0mN59C0BETxuUVj5fSqBoSpBc6CWETr7Y" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"filters\": {\n \n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://dock.sunbirded.org/content/program/v1/nomination/list", + "protocol": "https", + "host": [ + "dock", + "sunbirded", + "org" + ], + "path": [ + "content", + "program", + "v1", + "nomination", + "list" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "html", + "header": [ + { + "key": "Date", + "value": "Thu, 03 Dec 2020 07:52:24 GMT" + }, + { + "key": "Content-Type", + "value": "text/html; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "1017" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-DNS-Prefetch-Control", + "value": "off" + }, + { + "key": "X-Frame-Options", + "value": "SAMEORIGIN" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15552000; includeSubDomains" + }, + { + "key": "X-Download-Options", + "value": "noopen" + }, + { + "key": "x-content-type-options", + "value": "nosniff" + }, + { + "key": "X-XSS-Protection", + "value": "1; mode=block" + }, + { + "key": "x-ratelimit-limit-hour", + "value": "30000" + }, + { + "key": "x-ratelimit-remaining-hour", + "value": "29940" + }, + { + "key": "x-powered-by", + "value": "Express" + }, + { + "key": "access-control-allow-origin", + "value": "*" + }, + { + "key": "access-control-allow-methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "access-control-allow-headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "content-security-policy", + "value": "default-src 'self'" + }, + { + "key": "x-kong-upstream-latency", + "value": "4" + }, + { + "key": "x-kong-proxy-latency", + "value": "0" + }, + { + "key": "via", + "value": "kong/0.9.9" + }, + { + "key": "ETag", + "value": "W/\"3f9-1LmA9xswYxaNXgyFd929MtoMyNY\"" + } + ], + "cookie": [], + "body": "\n\n \n \n Error\n \n \n
SyntaxError: Unexpected end of JSON input\n            
   at JSON.parse (<anonymous>)\n
   at parse (/opt/program-service/node_modules/body-parser/lib/types/json.js:89:19)\n
   at /opt/program-service/node_modules/body-parser/lib/read.js:121:18\n
   at invokeCallback (/opt/program-service/node_modules/raw-body/index.js:224:16)\n
   at done (/opt/program-service/node_modules/raw-body/index.js:213:7)\n
   at IncomingMessage.onEnd (/opt/program-service/node_modules/raw-body/index.js:273:7)\n
   at emitNone (events.js:106:13)\n
   at IncomingMessage.emit (events.js:208:7)\n
   at endReadableNT (_stream_readable.js:1064:12)\n
   at _combinedTickCallback (internal/process/next_tick.js:138:11)\n
   at process._tickCallback (internal/process/next_tick.js:180:9)\n
\n \n" + }, + { + "name": "500 without request params", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal" + }, + { + "key": "ts", + "value": "2020-12-02T16:36:59+05:30" + }, + { + "key": "X-msgid", + "value": "bd7f06dc-14a8-6f09-7e0c-3cbed745cb92" + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web" + }, + { + "key": "X-Device-ID", + "value": "6a6ec694e694548fef971f85910385bd" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin" + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors" + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty" + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/contribute/program/c43f7790-0a2a-11eb-a2e9-4fe29a51bb70" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3Ar0BlSWCWEvDgXBdI5xr77DpPcP9ELf2v.wVoxj32Uza0mN59C0BETxuUVj5fSqBoSpBc6CWETr7Y" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \n}" + }, + "url": { + "raw": "https://dock.sunbirded.org/content/program/v1/nomination/list", + "protocol": "https", + "host": [ + "dock", + "sunbirded", + "org" + ], + "path": [ + "content", + "program", + "v1", + "nomination", + "list" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "html", + "header": [ + { + "key": "Date", + "value": "Thu, 03 Dec 2020 07:59:14 GMT" + }, + { + "key": "Content-Type", + "value": "text/html; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "2520" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-DNS-Prefetch-Control", + "value": "off" + }, + { + "key": "X-Frame-Options", + "value": "SAMEORIGIN" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15552000; includeSubDomains" + }, + { + "key": "X-Download-Options", + "value": "noopen" + }, + { + "key": "x-content-type-options", + "value": "nosniff" + }, + { + "key": "X-XSS-Protection", + "value": "1; mode=block" + }, + { + "key": "x-ratelimit-limit-hour", + "value": "30000" + }, + { + "key": "x-ratelimit-remaining-hour", + "value": "29933" + }, + { + "key": "x-powered-by", + "value": "Express" + }, + { + "key": "access-control-allow-origin", + "value": "*" + }, + { + "key": "access-control-allow-methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "access-control-allow-headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "content-security-policy", + "value": "default-src 'self'" + }, + { + "key": "x-kong-upstream-latency", + "value": "8" + }, + { + "key": "x-kong-proxy-latency", + "value": "0" + }, + { + "key": "via", + "value": "kong/0.9.9" + }, + { + "key": "ETag", + "value": "W/\"9d8-MWRX51zR39aFYklDmaIEbr41J1E\"" + } + ], + "cookie": [], + "body": "\n\n \n \n Error\n \n \n
TypeError: Cannot read property 'offset' of undefined\n            
   at getNominationsList (/opt/program-service/service/programService.js:1372:33)\n
   at Layer.handle [as handle_request] (/opt/program-service/node_modules/express/lib/router/layer.js:95:5)\n
   at next (/opt/program-service/node_modules/express/lib/router/route.js:137:13)\n
   at createAndValidateRequestBody (/opt/program-service/middlewares/request.middleware.js:83:3)\n
   at Layer.handle [as handle_request] (/opt/program-service/node_modules/express/lib/router/layer.js:95:5)\n
   at next (/opt/program-service/node_modules/express/lib/router/route.js:137:13)\n
   at /opt/program-service/middlewares/request.middleware.js:155:7\n
   at Layer.handle [as handle_request] (/opt/program-service/node_modules/express/lib/router/layer.js:95:5)\n
   at next (/opt/program-service/node_modules/express/lib/router/route.js:137:13)\n
   at Route.dispatch (/opt/program-service/node_modules/express/lib/router/route.js:112:3)\n
   at Layer.handle [as handle_request] (/opt/program-service/node_modules/express/lib/router/layer.js:95:5)\n
   at /opt/program-service/node_modules/express/lib/router/index.js:281:22\n
   at Function.process_params (/opt/program-service/node_modules/express/lib/router/index.js:335:12)\n
   at next (/opt/program-service/node_modules/express/lib/router/index.js:275:10)\n
   at urlencodedParser (/opt/program-service/node_modules/body-parser/lib/types/urlencoded.js:82:7)\n
   at Layer.handle [as handle_request] (/opt/program-service/node_modules/express/lib/router/layer.js:95:5)\n
   at trim_prefix (/opt/program-service/node_modules/express/lib/router/index.js:317:13)\n
   at /opt/program-service/node_modules/express/lib/router/index.js:284:7\n
   at Function.process_params (/opt/program-service/node_modules/express/lib/router/index.js:335:12)\n
   at next (/opt/program-service/node_modules/express/lib/router/index.js:275:10)\n
   at jsonParser (/opt/program-service/node_modules/body-parser/lib/types/json.js:101:7)\n
   at Layer.handle [as handle_request] (/opt/program-service/node_modules/express/lib/router/layer.js:95:5)\n
\n \n" + }, + { + "name": "401 unauthorized", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal" + }, + { + "key": "ts", + "value": "2020-12-02T16:36:59+05:30" + }, + { + "key": "X-msgid", + "value": "bd7f06dc-14a8-6f09-7e0c-3cbed745cb92" + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web" + }, + { + "key": "X-Device-ID", + "value": "6a6ec694e694548fef971f85910385bd" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin" + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors" + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty" + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/contribute/program/c43f7790-0a2a-11eb-a2e9-4fe29a51bb70" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3Ar0BlSWCWEvDgXBdI5xr77DpPcP9ELf2v.wVoxj32Uza0mN59C0BETxuUVj5fSqBoSpBc6CWETr7Y" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"filters\": {\n \"program_id\": \"c43f7790-0a2a-11eb-a2e9-4fe29a51bb70\",\n \"user_id\": \"19ba0e4e-9285-4335-8dd0-f674bf03fa4d\"\n }\n }\n}" + }, + "url": { + "raw": "https://dock.sunbirded.org/content/v1/nomination/list", + "protocol": "https", + "host": [ + "dock", + "sunbirded", + "org" + ], + "path": [ + "content", + "v1", + "nomination", + "list" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Thu, 03 Dec 2020 07:52:57 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "254" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-DNS-Prefetch-Control", + "value": "off" + }, + { + "key": "X-Frame-Options", + "value": "SAMEORIGIN" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15552000; includeSubDomains" + }, + { + "key": "X-Download-Options", + "value": "noopen" + }, + { + "key": "X-Content-Type-Options", + "value": "nosniff" + }, + { + "key": "X-XSS-Protection", + "value": "1; mode=block" + }, + { + "key": "ETag", + "value": "W/\"fe-2e0e+4rkYQoj9j4BZRxepF0PY3I\"" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.error\",\n \"ver\": \"1.0\",\n \"ts\": \"2020-12-03 07:52:57:567+0000\",\n \"params\": {\n \"resmsgid\": \"8ed696f0-353c-11eb-ada5-dde7a2458a3f\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"INVALID_TOKEN\",\n \"errmsg\": \"INVALID_TOKEN\"\n },\n \"responseCode\": \"UNAUTHORIZED_ACCESS\",\n \"result\": {}\n}" + } + ] + } + ], + "description": "StartFragment\n\nThis API provides the Nomination List for the respective program Id . - The _**nomination/list**_ endpoint successfully provides the nomination list for a particular program/User Id.\n\n\\- Required fields cannot be null or empty\n\n\\- Backend Route: [http://program-service:6000/program/v1/nomination/list](http://program-service:6000/program/v1/nomination/list)\n\nEndFragment" + } + ], + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ] + }, + { + "name": "Preferences_API's", + "item": [ + { + "name": "Create", + "item": [ + { + "name": "Create Preference", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var responseJson = pm.response.json();", + "", + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "", + "pm.test(\"response should be okay to process\", function () {", + " pm.response.to.not.be.error;", + " pm.response.to.not.have.jsonBody(\"error\");", + "});", + "", + "pm.test(\"response must be valid and have a body\", function () {", + " pm.response.to.be.ok;", + " pm.response.to.be.withBody;", + " pm.response.to.be.json;", + "});", + "", + "pm.test(\"Successful POST request\", () => {", + " pm.expect(pm.response.code).to.be.oneOf([200,201,202]);", + "});", + "", + "pm.test(\"Reading Response Code & Status\", () => {", + " pm.expect(responseJson.responseCode).to.eql(\"OK\");", + " pm.expect(responseJson.params.status).to.eql(\"successful\");", + " pm.expect(responseJson.result.program_id).not.to.empty;", + "});", + "", + "pm.test(\"Checking for Errors\",() => {", + " pm.expect(responseJson.params.err).to.eql(null);", + " pm.expect(responseJson.params.errmsg).to.eql(null);", + " pm.expect(responseJson.result).to.be.an('object');", + " pm.expect(responseJson.result).not.to.empty;", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"user_id\": \"48dc0e70-2775-474b-9b78-def27d047836\",\n \"program_id\": \"afdfa9a0-1dbc-11eb-81b1-659ec274e395\",\n \"preference\": {\n \"medium\": [\n \"English\"\n ],\n \"subject\": [\n \"\"\n ],\n \"gradeLevel\": [\n \"Class 7\"\n ]\n },\n \"type\": \"sourcing\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/preference/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "preference", + "create" + ] + }, + "description": "preference/create" + }, + "response": [ + { + "name": "200 Success", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "name": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"user_id\": \"48dc0e70-2775-474b-9b78-def27d047836\",\n \"program_id\": \"afdfa9a0-1dbc-11eb-81b1-659ec274e395\",\n \"preference\": {\n \"medium\": [\n \"English\"\n ],\n \"subject\": [\n \"\"\n ],\n \"gradeLevel\": [\n \"Class 7\"\n ]\n },\n \"type\": \"sourcing\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/program/v1/preference/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "preference", + "create" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 08:29:29 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "492" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29998" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"1ec-D/P15GltVKcICAZzFQPi5DIjiaA\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "9" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.preference.create\",\n \"ver\": \"1.0\",\n \"ts\": \"2023-01-30T08:29:29.015Z\",\n \"params\": {\n \"resmsgid\": \"368e0470-a078-11ed-a249-d1c2d4936c48\",\n \"msgid\": \"368d8f40-a078-11ed-a249-d1c2d4936c48\",\n \"status\": \"successful\",\n \"err\": null,\n \"errmsg\": null\n },\n \"responseCode\": \"OK\",\n \"result\": {\n \"user_id\": \"48dc0e70-2775-474b-9b78-def27d047836\",\n \"program_id\": \"afdfa9a0-1dbc-11eb-81b1-659ec274e395\",\n \"type\": \"sourcing\",\n \"sourcing_preference\": {\n \"medium\": [\n \"English\"\n ],\n \"subject\": [\n \"\"\n ],\n \"gradeLevel\": [\n \"Class 7\"\n ]\n },\n \"contributor_preference\": {}\n }\n}" + }, + { + "name": "400 without user id", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"program_id\": \"afdfa9a0-1dbc-11eb-81b1-659ec274e395\",\n \"preference\": {\n \"medium\": [\n \"English\"\n ],\n \"subject\": [\n \"\"\n ],\n \"gradeLevel\": [\n \"Class 7\"\n ]\n },\n \"type\": \"sourcing\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/preference/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "preference", + "create" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 08:35:23 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "345" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29997" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"159-AVYwgy04Gr/3PnIjighQn2OfbfI\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "8" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.preference.create\",\n \"ver\": \"1.0\",\n \"ts\": \"2023-01-30T08:35:23.301Z\",\n \"params\": {\n \"resmsgid\": \"09b9c551-a079-11ed-a249-d1c2d4936c48\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_SET_USER_PREFERENCE\",\n \"errmsg\": \"Required fields like user_id, program_id for setting user preferences are missing\"\n },\n \"responseCode\": \"PRG_PFSET01_CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "400 without program id", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"user_id\": \"48dc0e70-2775-474b-9b78-def27d047836\",\n \"preference\": {\n \"medium\": [\n \"English\"\n ],\n \"subject\": [\n \"\"\n ],\n \"gradeLevel\": [\n \"Class 7\"\n ]\n },\n \"type\": \"sourcing\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/preference/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "preference", + "create" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 08:36:35 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "345" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29996" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"159-zZ+viIOJ0XCHVhU/VWsN3JRzpyo\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "8" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.preference.create\",\n \"ver\": \"1.0\",\n \"ts\": \"2023-01-30T08:36:35.247Z\",\n \"params\": {\n \"resmsgid\": \"349bdbf0-a079-11ed-a249-d1c2d4936c48\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_SET_USER_PREFERENCE\",\n \"errmsg\": \"Required fields like user_id, program_id for setting user preferences are missing\"\n },\n \"responseCode\": \"PRG_PFSET01_CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "400 without body params", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/preference/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "preference", + "create" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 08:38:22 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "345" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29995" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"159-5P6Vf5I6nSXC+vudrfu44K0yrkw\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "11" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.preference.create\",\n \"ver\": \"1.0\",\n \"ts\": \"2023-01-30T08:38:22.963Z\",\n \"params\": {\n \"resmsgid\": \"74d00431-a079-11ed-a249-d1c2d4936c48\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_SET_USER_PREFERENCE\",\n \"errmsg\": \"Required fields like user_id, program_id for setting user preferences are missing\"\n },\n \"responseCode\": \"PRG_PFSET01_CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "401 Unauthorized", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"user_id\": \"48dc0e70-2775-474b-9b78-def27d047836\",\n \"preference\": {\n \"medium\": [\n \"English\"\n ],\n \"subject\": [\n \"\"\n ],\n \"gradeLevel\": [\n \"Class 7\"\n ]\n },\n \"type\": \"sourcing\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/preference/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "preference", + "create" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 08:37:34 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + } + ], + "cookie": [], + "body": "{\n \"message\": \"Unauthorized\"\n}" + }, + { + "name": "404 Not Found", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/preference/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "preference", + "create" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 08:39:28 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + } + ], + "cookie": [], + "body": "{\n \"request_path\": \"/program/preference/create\",\n \"message\": \"API not found with these values\",\n \"request_host\": [\n \"dock.sunbirded.org\"\n ]\n}" + } + ] + } + ], + "description": "StartFragment\n\nThis API adds the user preferences based on program Id/user Id . - The _**preference/create**_ endpoint successfully add the preferences for a particular program/User Id.\n\nRequired fields cannot be null or empty\n\n\\- Backend Route: [http://program-service:6000/program/v1/preference/create](http://program-service:6000/program/v1/preference/create)\n\nEndFragment" + }, + { + "name": "Read", + "item": [ + { + "name": "Read Preference", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var responseJson = pm.response.json();", + "", + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "", + "pm.test(\"response should be okay to process\", function () {", + " pm.response.to.not.be.error;", + " pm.response.to.not.have.jsonBody(\"error\");", + "});", + "", + "pm.test(\"response must be valid and have a body\", function () {", + " pm.response.to.be.ok;", + " pm.response.to.be.withBody;", + " pm.response.to.be.json;", + "});", + "", + "pm.test(\"Successful POST request\", () => {", + " pm.expect(pm.response.code).to.be.oneOf([200,201,202]);", + "});", + "", + "pm.test(\"Reading Response Code & Status\", () => {", + " pm.expect(responseJson.responseCode).to.eql(\"OK\");", + " pm.expect(responseJson.params.status).to.eql(\"successful\");", + " pm.expect(responseJson.result).not.to.empty;", + "});", + "", + "pm.test(\"Checking for Errors\",() => {", + " pm.expect(responseJson.params.err).to.eql(null);", + " pm.expect(responseJson.params.errmsg).to.eql(null);", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"user_id\": \"48dc0e70-2775-474b-9b78-def27d047836\",\n \"program_id\": \"ef3ecc80-3553-11eb-84ed-692ec8c8dbe9\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/preference/read", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "preference", + "read" + ] + }, + "description": "preference/read" + }, + "response": [ + { + "name": "200 Success", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"user_id\": \"48dc0e70-2775-474b-9b78-def27d047836\",\n \"program_id\": \"ef3ecc80-3553-11eb-84ed-692ec8c8dbe9\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/preference/read", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "preference", + "read" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 08:42:50 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "364" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29999" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"16c-KUTef+Ips9UCeuZqBdUV6W+SGuA\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "8" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.preference.read\",\n \"ver\": \"1.0\",\n \"ts\": \"2023-01-30T08:42:50.602Z\",\n \"params\": {\n \"resmsgid\": \"14567ca0-a07a-11ed-a249-d1c2d4936c48\",\n \"msgid\": \"14562e80-a07a-11ed-a249-d1c2d4936c48\",\n \"status\": \"successful\",\n \"err\": null,\n \"errmsg\": null\n },\n \"responseCode\": \"OK\",\n \"result\": {\n \"contributor_preference\": {},\n \"sourcing_preference\": {},\n \"synced\": true,\n \"timestamp\": \"2020-12-03T10:42:58.288Z\"\n }\n}" + }, + { + "name": "400 without user id", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \n \"program_id\": \"ef3ecc80-3553-11eb-84ed-692ec8c8dbe9\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/preference/read", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "preference", + "read" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 08:44:08 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "320" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29998" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"140-KjWrlqFPKsVik/pmaM+WRzBQjCE\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "8" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.preference.read\",\n \"ver\": \"1.0\",\n \"ts\": \"2023-01-30T08:44:08.299Z\",\n \"params\": {\n \"resmsgid\": \"42a61bb1-a07a-11ed-a249-d1c2d4936c48\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_GET_USER_PREFERENCE\",\n \"errmsg\": \"Required fields like user_id to get preference are missing\"\n },\n \"responseCode\": \"PRG_PFRED01_CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "400 without program id", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"user_id\": \"48dc0e70-2775-474b-9b78-def27d047836\",\n \n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/preference/read", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "preference", + "read" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "html", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 08:44:55 GMT" + }, + { + "key": "Content-Type", + "value": "text/html; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "1030" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29997" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "Content-Security-Policy", + "value": "default-src 'self'" + }, + { + "key": "X-Content-Type-Options", + "value": "nosniff" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "8" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "\n\n \n \n Error\n \n \n
SyntaxError: Unexpected token } in JSON at position 88\n            
   at JSON.parse (<anonymous>)\n
   at parse (/opt/program-service/node_modules/body-parser/lib/types/json.js:89:19)\n
   at /opt/program-service/node_modules/body-parser/lib/read.js:121:18\n
   at invokeCallback (/opt/program-service/node_modules/raw-body/index.js:224:16)\n
   at done (/opt/program-service/node_modules/raw-body/index.js:213:7)\n
   at IncomingMessage.onEnd (/opt/program-service/node_modules/raw-body/index.js:273:7)\n
   at emitNone (events.js:106:13)\n
   at IncomingMessage.emit (events.js:208:7)\n
   at endReadableNT (_stream_readable.js:1064:12)\n
   at _combinedTickCallback (internal/process/next_tick.js:138:11)\n
   at process._tickCallback (internal/process/next_tick.js:180:9)\n
\n \n" + }, + { + "name": "400 without body params", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/preference/read", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "preference", + "read" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 08:45:28 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "320" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29996" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"140-+46JyS1+v15Wou1PXUgWq9JEGqc\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "8" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.preference.read\",\n \"ver\": \"1.0\",\n \"ts\": \"2023-01-30T08:45:28.333Z\",\n \"params\": {\n \"resmsgid\": \"725a53d0-a07a-11ed-a249-d1c2d4936c48\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_GET_USER_PREFERENCE\",\n \"errmsg\": \"Required fields like user_id to get preference are missing\"\n },\n \"responseCode\": \"PRG_PFRED01_CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "401 Unauthorized", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"user_id\": \"48dc0e70-2775-474b-9b78-def27d047836\",\n \"program_id\": \"ef3ecc80-3553-11eb-84ed-692ec8c8dbe9\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/preference/read", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "preference", + "read" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 08:46:03 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + } + ], + "cookie": [], + "body": "{\n \"message\": \"Unauthorized\"\n}" + }, + { + "name": "404 Not Found", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"user_id\": \"48dc0e70-2775-474b-9b78-def27d047836\",\n \"program_id\": \"ef3ecc80-3553-11eb-84ed-692ec8c8dbe9\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/preference/", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "preference", + "" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 08:47:41 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + } + ], + "cookie": [], + "body": "{\n \"request_path\": \"/program/v1/preference/\",\n \"message\": \"API not found with these values\",\n \"request_host\": [\n \"dock.sunbirded.org\"\n ]\n}" + } + ] + } + ], + "description": "StartFragment\n\nThis API provides the user preferences based on user Id. - The _**preference/read**_ endpoint successfully fetch the user preferences for a particular User Id.\n\n\\- Required fields cannot be null or empty\n\n\\- Backend Route: [http://program-service:6000/program/v1/preference/read](http://program-service:6000/program/v1/preference/read)\n\nEndFragment" + }, + { + "name": "Update", + "item": [ + { + "name": "Update Preference", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var responseJson = pm.response.json();", + "", + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "", + "pm.test(\"response should be okay to process\", function () {", + " pm.response.to.not.be.error;", + " pm.response.to.not.have.jsonBody(\"error\");", + "});", + "", + "pm.test(\"response must be valid and have a body\", function () {", + " pm.response.to.be.ok;", + " pm.response.to.be.withBody;", + " pm.response.to.be.json;", + "});", + "", + "pm.test(\"Successful POST request\", () => {", + " pm.expect(pm.response.code).to.be.oneOf([200,201,202]);", + "});", + "", + "pm.test(\"Reading Response Code & Status\", () => {", + " pm.expect(responseJson.responseCode).to.eql(\"OK\");", + " pm.expect(responseJson.params.status).to.eql(\"successful\");", + " pm.expect(responseJson.result.program_id).not.to.empty;", + "});", + "", + "pm.test(\"Checking for Errors\",() => {", + " pm.expect(responseJson.params.err).to.eql(null);", + " pm.expect(responseJson.params.errmsg).to.eql(null);", + " pm.expect(responseJson.result).to.be.an('object');", + " pm.expect(responseJson.result).not.to.empty;", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"user_id\": \"48dc0e70-2775-474b-9b78-def27d047836\",\n \"program_id\": \"afdfa9a0-1dbc-11eb-81b1-659ec274e395\",\n \"preference\": {\n \"medium\": [\n \"English\"\n ],\n \"subject\": [\n \"\"\n ],\n \"gradeLevel\": [\n \"\"\n ]\n },\n \"type\": \"sourcing\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/preference/update", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "preference", + "update" + ] + }, + "description": "preference/update" + }, + "response": [ + { + "name": "200 Success", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"user_id\": \"48dc0e70-2775-474b-9b78-def27d047836\",\n \"program_id\": \"afdfa9a0-1dbc-11eb-81b1-659ec274e395\",\n \"preference\": {\n \"medium\": [\n \"English\"\n ],\n \"subject\": [\n \"\"\n ],\n \"gradeLevel\": [\n \"\"\n ]\n },\n \"type\": \"sourcing\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/preference/update", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "preference", + "update" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 08:49:37 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "485" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29999" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"1e5-mO0eYOkpbl4EGJuUo3CJ90KyIjE\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "6" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "96" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.preference.create\",\n \"ver\": \"1.0\",\n \"ts\": \"2023-01-30T08:49:37.724Z\",\n \"params\": {\n \"resmsgid\": \"07005fc0-a07b-11ed-a249-d1c2d4936c48\",\n \"msgid\": \"070011a0-a07b-11ed-a249-d1c2d4936c48\",\n \"status\": \"successful\",\n \"err\": null,\n \"errmsg\": null\n },\n \"responseCode\": \"OK\",\n \"result\": {\n \"user_id\": \"48dc0e70-2775-474b-9b78-def27d047836\",\n \"program_id\": \"afdfa9a0-1dbc-11eb-81b1-659ec274e395\",\n \"type\": \"sourcing\",\n \"sourcing_preference\": {\n \"medium\": [\n \"English\"\n ],\n \"subject\": [\n \"\"\n ],\n \"gradeLevel\": [\n \"\"\n ]\n },\n \"contributor_preference\": {}\n }\n}" + }, + { + "name": "400 without user id", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \n \"program_id\": \"afdfa9a0-1dbc-11eb-81b1-659ec274e395\",\n \"preference\": {\n \"medium\": [\n \"English\"\n ],\n \"subject\": [\n \"\"\n ],\n \"gradeLevel\": [\n \"\"\n ]\n },\n \"type\": \"sourcing\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/preference/update", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "preference", + "update" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 08:51:16 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "345" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29998" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"159-tzLCOsLTqWcwL5qHa04fLx0MPS4\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "10" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.preference.create\",\n \"ver\": \"1.0\",\n \"ts\": \"2023-01-30T08:51:16.682Z\",\n \"params\": {\n \"resmsgid\": \"41fc2aa0-a07b-11ed-a249-d1c2d4936c48\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_SET_USER_PREFERENCE\",\n \"errmsg\": \"Required fields like user_id, program_id for setting user preferences are missing\"\n },\n \"responseCode\": \"PRG_PFSET01_CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "400 without program id", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"user_id\": \"48dc0e70-2775-474b-9b78-def27d047836\",\n \"program_id\": \"afdfa9a0-1dbc-11eb-81b1-659ec274e395\",\n \"preference\": {\n \"medium\": [\n \"English\"\n ],\n \"subject\": [\n \"\"\n ],\n \"gradeLevel\": [\n \"\"\n ]\n },\n \"type\": \"sourcing\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/preference/update", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "preference", + "update" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 08:54:03 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "345" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29997" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"159-M18L9pkAjQuIzFCi206e9JlxlMQ\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "10" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.preference.create\",\n \"ver\": \"1.0\",\n \"ts\": \"2023-01-30T08:54:03.063Z\",\n \"params\": {\n \"resmsgid\": \"a527e470-a07b-11ed-a249-d1c2d4936c48\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_SET_USER_PREFERENCE\",\n \"errmsg\": \"Required fields like user_id, program_id for setting user preferences are missing\"\n },\n \"responseCode\": \"PRG_PFSET01_CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "400 without body params", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/preference/update", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "preference", + "update" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 08:54:45 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "345" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29996" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"159-qmXTP+hl+TY1IAuMoGMvlF/mdOY\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "12" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.preference.create\",\n \"ver\": \"1.0\",\n \"ts\": \"2023-01-30T08:54:45.709Z\",\n \"params\": {\n \"resmsgid\": \"be9327d1-a07b-11ed-a249-d1c2d4936c48\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_SET_USER_PREFERENCE\",\n \"errmsg\": \"Required fields like user_id, program_id for setting user preferences are missing\"\n },\n \"responseCode\": \"PRG_PFSET01_CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "401 Unauthorized", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"user_id\": \"48dc0e70-2775-474b-9b78-def27d047836\",\n \"program_id\": \"afdfa9a0-1dbc-11eb-81b1-659ec274e395\",\n \"preference\": {\n \"medium\": [\n \"English\"\n ],\n \"subject\": [\n \"\"\n ],\n \"gradeLevel\": [\n \"\"\n ]\n },\n \"type\": \"sourcing\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/preference/update", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "preference", + "update" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 08:55:23 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + } + ], + "cookie": [], + "body": "{\n \"message\": \"Unauthorized\"\n}" + }, + { + "name": "404 Not Found", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"user_id\": \"48dc0e70-2775-474b-9b78-def27d047836\",\n \"program_id\": \"afdfa9a0-1dbc-11eb-81b1-659ec274e395\",\n \"preference\": {\n \"medium\": [\n \"English\"\n ],\n \"subject\": [\n \"\"\n ],\n \"gradeLevel\": [\n \"\"\n ]\n },\n \"type\": \"sourcing\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/preference", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "preference" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 08:56:00 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + } + ], + "cookie": [], + "body": "{\n \"request_path\": \"/program/v1/preference\",\n \"message\": \"API not found with these values\",\n \"request_host\": [\n \"dock.sunbirded.org\"\n ]\n}" + } + ] + } + ], + "description": "StartFragment\n\nThis API updates the user preferences based on user Id. - The _**preference/update**_ endpoint successfully updates the user preferences for a particular User Id.\n\n\\- Required fields cannot be null or empty\n\n\\- Backend Route: [http://program-service:6000/program/v1/preference/update](http://program-service:6000/program/v1/preference/update)\n\nEndFragment" + } + ], + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ] + }, + { + "name": "Report", + "item": [ + { + "name": "Report", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "let jsonResponse = pm.response.json();", + "", + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "", + "pm.test(\"Response body response code should be OK\", function() {", + " pm.expect(jsonResponse.responseCode).to.be.a('string')", + " pm.expect(jsonResponse.responseCode).to.eql('OK')", + "});", + "", + "pm.test(\"Response body result should contain message\", function() {", + " let result = jsonResponse.result;", + " pm.expect(result).to.be.an('object')", + " pm.expect(result).to.have.property('tableData')", + " pm.expect(result.tableData).to.be.an('array')", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive", + "disabled": true + }, + { + "key": "Pragma", + "value": "no-cache", + "disabled": true + }, + { + "key": "Cache-Control", + "value": "no-cache", + "disabled": true + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal", + "disabled": true + }, + { + "key": "ts", + "value": "2020-12-04T13:03:28+05:30", + "disabled": true + }, + { + "key": "X-msgid", + "value": "99e5760b-36ef-ad83-e4f8-674f6c0da7c2", + "disabled": true + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36", + "disabled": true + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web", + "disabled": true + }, + { + "key": "X-Device-ID", + "value": "452622eb87b3e266af1a17b7afbca91d", + "disabled": true + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin", + "disabled": true + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors", + "disabled": true + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty", + "disabled": true + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/sourcing/nominations/95d604b0-2af4-11eb-9bed-c53bebe417b7?tab=report", + "disabled": true + }, + { + "key": "Accept-Language", + "value": "en-GB,en-US;q=0.9,en;q=0.8" + }, + { + "key": "CookieA", + "value": "connect.sid=s%3ASLdGVaTyC-k14vPdlMSN0m6_Ct_IGfEx.ZcGt1ufyCnuCdWNlvgNUIeIHaJQwfZ9TojSz9i1LVEI", + "disabled": true + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\"request\":\r\n {\"filters\":\r\n {\"program_id\":[\"95d604b0-2af4-11eb-9bed-c53bebe417b7\"],\r\n \"openForContribution\":true,\r\n \"report\":\"textbookLevelReport\"\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/report", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "report" + ] + } + }, + "response": [ + { + "name": "200 Success", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive", + "disabled": true + }, + { + "key": "Pragma", + "value": "no-cache", + "disabled": true + }, + { + "key": "Cache-Control", + "value": "no-cache", + "disabled": true + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal", + "disabled": true + }, + { + "key": "ts", + "value": "2020-12-04T13:03:28+05:30", + "disabled": true + }, + { + "key": "X-msgid", + "value": "99e5760b-36ef-ad83-e4f8-674f6c0da7c2", + "disabled": true + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36", + "disabled": true + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web", + "disabled": true + }, + { + "key": "X-Device-ID", + "value": "452622eb87b3e266af1a17b7afbca91d", + "disabled": true + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin", + "disabled": true + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors", + "disabled": true + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty", + "disabled": true + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/sourcing/nominations/95d604b0-2af4-11eb-9bed-c53bebe417b7?tab=report", + "disabled": true + }, + { + "key": "Accept-Language", + "value": "en-GB,en-US;q=0.9,en;q=0.8" + }, + { + "key": "CookieA", + "value": "connect.sid=s%3ASLdGVaTyC-k14vPdlMSN0m6_Ct_IGfEx.ZcGt1ufyCnuCdWNlvgNUIeIHaJQwfZ9TojSz9i1LVEI", + "disabled": true + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\"request\":\r\n {\"filters\":\r\n {\"program_id\":[\"95d604b0-2af4-11eb-9bed-c53bebe417b7\"],\r\n \"openForContribution\":true,\r\n \"report\":\"textbookLevelReport\"\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/report", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "report" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 09:01:02 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "688" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29996" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"2b0-zMu6bKX8KIpkOqAbOvA3yD0KPnU\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "197" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.v1.report\",\n \"ver\": \"1.0\",\n \"ts\": \"2023-01-30T09:01:02.018Z\",\n \"params\": {\n \"resmsgid\": \"9edf5a20-a07c-11ed-a249-d1c2d4936c48\",\n \"msgid\": \"9ec23530-a07c-11ed-a249-d1c2d4936c48\",\n \"status\": \"successful\",\n \"err\": null,\n \"errmsg\": null\n },\n \"responseCode\": \"OK\",\n \"result\": {\n \"tableData\": [\n [\n {\n \"Medium\": \"English\",\n \"Grade\": \"Class 1, Class 2, Class 3, Class 9, Class 10, Class 8, Class 5, Class 7, Class 6, Class 4\",\n \"Subject\": \"Mathematics\",\n \"undefined Name\": \"Math-Magic\",\n \"Total Number of Chapters\": 2,\n \"Total Contents Contributed\": 0,\n \"Total Contents Reviewed\": 0,\n \"Chapters with atleast one approved in each contentType\": 0,\n \"Chapters with atleast one approved\": 0,\n \"Total number of Approved Contents\": 0,\n \"Digital Textbook\": 0\n }\n ]\n ]\n }\n}" + }, + { + "name": "400 without filter params", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive", + "disabled": true + }, + { + "key": "Pragma", + "value": "no-cache", + "disabled": true + }, + { + "key": "Cache-Control", + "value": "no-cache", + "disabled": true + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal", + "disabled": true + }, + { + "key": "ts", + "value": "2020-12-04T13:03:28+05:30", + "disabled": true + }, + { + "key": "X-msgid", + "value": "99e5760b-36ef-ad83-e4f8-674f6c0da7c2", + "disabled": true + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36", + "disabled": true + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web", + "disabled": true + }, + { + "key": "X-Device-ID", + "value": "452622eb87b3e266af1a17b7afbca91d", + "disabled": true + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin", + "disabled": true + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors", + "disabled": true + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty", + "disabled": true + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/sourcing/nominations/95d604b0-2af4-11eb-9bed-c53bebe417b7?tab=report", + "disabled": true + }, + { + "key": "Accept-Language", + "value": "en-GB,en-US;q=0.9,en;q=0.8" + }, + { + "key": "CookieA", + "value": "connect.sid=s%3ASLdGVaTyC-k14vPdlMSN0m6_Ct_IGfEx.ZcGt1ufyCnuCdWNlvgNUIeIHaJQwfZ9TojSz9i1LVEI", + "disabled": true + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\"request\":\r\n {\"filters\":\r\n {}\r\n \r\n }\r\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/report", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "report" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 09:02:28 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "318" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29993" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"13e-yV3kO+x1u8SrDtn0uUSDHpttjeo\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "7" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.v1.report\",\n \"ver\": \"1.0\",\n \"ts\": \"2023-01-30T09:02:28.597Z\",\n \"params\": {\n \"resmsgid\": \"d27a4251-a07c-11ed-a249-d1c2d4936c48\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_GENERATING_CONTENT_REPORT\",\n \"errmsg\": \"Required fields like program_id,report is missing\"\n },\n \"responseCode\": \"PRG_PRRPT01_CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "400 without request params", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive", + "disabled": true + }, + { + "key": "Pragma", + "value": "no-cache", + "disabled": true + }, + { + "key": "Cache-Control", + "value": "no-cache", + "disabled": true + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal", + "disabled": true + }, + { + "key": "ts", + "value": "2020-12-04T13:03:28+05:30", + "disabled": true + }, + { + "key": "X-msgid", + "value": "99e5760b-36ef-ad83-e4f8-674f6c0da7c2", + "disabled": true + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36", + "disabled": true + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web", + "disabled": true + }, + { + "key": "X-Device-ID", + "value": "452622eb87b3e266af1a17b7afbca91d", + "disabled": true + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin", + "disabled": true + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors", + "disabled": true + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty", + "disabled": true + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/sourcing/nominations/95d604b0-2af4-11eb-9bed-c53bebe417b7?tab=report", + "disabled": true + }, + { + "key": "Accept-Language", + "value": "en-GB,en-US;q=0.9,en;q=0.8" + }, + { + "key": "CookieA", + "value": "connect.sid=s%3ASLdGVaTyC-k14vPdlMSN0m6_Ct_IGfEx.ZcGt1ufyCnuCdWNlvgNUIeIHaJQwfZ9TojSz9i1LVEI", + "disabled": true + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\"request\":\r\n \r\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/report", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "report" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "html", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 09:03:07 GMT" + }, + { + "key": "Content-Type", + "value": "text/html; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "1030" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29992" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "Content-Security-Policy", + "value": "default-src 'self'" + }, + { + "key": "X-Content-Type-Options", + "value": "nosniff" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "6" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "\n\n \n \n Error\n \n \n
SyntaxError: Unexpected token } in JSON at position 18\n            
   at JSON.parse (<anonymous>)\n
   at parse (/opt/program-service/node_modules/body-parser/lib/types/json.js:89:19)\n
   at /opt/program-service/node_modules/body-parser/lib/read.js:121:18\n
   at invokeCallback (/opt/program-service/node_modules/raw-body/index.js:224:16)\n
   at done (/opt/program-service/node_modules/raw-body/index.js:213:7)\n
   at IncomingMessage.onEnd (/opt/program-service/node_modules/raw-body/index.js:273:7)\n
   at emitNone (events.js:106:13)\n
   at IncomingMessage.emit (events.js:208:7)\n
   at endReadableNT (_stream_readable.js:1064:12)\n
   at _combinedTickCallback (internal/process/next_tick.js:138:11)\n
   at process._tickCallback (internal/process/next_tick.js:180:9)\n
\n \n" + }, + { + "name": "401 Unauthorized", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive", + "disabled": true + }, + { + "key": "Pragma", + "value": "no-cache", + "disabled": true + }, + { + "key": "Cache-Control", + "value": "no-cache", + "disabled": true + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal", + "disabled": true + }, + { + "key": "ts", + "value": "2020-12-04T13:03:28+05:30", + "disabled": true + }, + { + "key": "X-msgid", + "value": "99e5760b-36ef-ad83-e4f8-674f6c0da7c2", + "disabled": true + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36", + "disabled": true + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web", + "disabled": true + }, + { + "key": "X-Device-ID", + "value": "452622eb87b3e266af1a17b7afbca91d", + "disabled": true + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin", + "disabled": true + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors", + "disabled": true + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty", + "disabled": true + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/sourcing/nominations/95d604b0-2af4-11eb-9bed-c53bebe417b7?tab=report", + "disabled": true + }, + { + "key": "Accept-Language", + "value": "en-GB,en-US;q=0.9,en;q=0.8" + }, + { + "key": "CookieA", + "value": "connect.sid=s%3ASLdGVaTyC-k14vPdlMSN0m6_Ct_IGfEx.ZcGt1ufyCnuCdWNlvgNUIeIHaJQwfZ9TojSz9i1LVEI", + "disabled": true + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\"request\":\r\n {\"filters\":\r\n {\"program_id\":[\"95d604b0-2af4-11eb-9bed-c53bebe417b7\"],\r\n \"openForContribution\":true,\r\n \"report\":\"textbookLevelReport\"\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/report", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "report" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 09:04:25 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + } + ], + "cookie": [], + "body": "{\n \"message\": \"Unauthorized\"\n}" + }, + { + "name": "404 Not Found", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive", + "disabled": true + }, + { + "key": "Pragma", + "value": "no-cache", + "disabled": true + }, + { + "key": "Cache-Control", + "value": "no-cache", + "disabled": true + }, + { + "key": "X-App-Id", + "value": "dev.dock.portal", + "disabled": true + }, + { + "key": "ts", + "value": "2020-12-04T13:03:28+05:30", + "disabled": true + }, + { + "key": "X-msgid", + "value": "99e5760b-36ef-ad83-e4f8-674f6c0da7c2", + "disabled": true + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36", + "disabled": true + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "X-Source", + "value": "web", + "disabled": true + }, + { + "key": "X-Device-ID", + "value": "452622eb87b3e266af1a17b7afbca91d", + "disabled": true + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin", + "disabled": true + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors", + "disabled": true + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty", + "disabled": true + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/sourcing/nominations/95d604b0-2af4-11eb-9bed-c53bebe417b7?tab=report", + "disabled": true + }, + { + "key": "Accept-Language", + "value": "en-GB,en-US;q=0.9,en;q=0.8" + }, + { + "key": "CookieA", + "value": "connect.sid=s%3ASLdGVaTyC-k14vPdlMSN0m6_Ct_IGfEx.ZcGt1ufyCnuCdWNlvgNUIeIHaJQwfZ9TojSz9i1LVEI", + "disabled": true + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\"request\":\r\n {\"filters\":\r\n {\"program_id\":[\"95d604b0-2af4-11eb-9bed-c53bebe417b7\"],\r\n \"openForContribution\":true,\r\n \"report\":\"textbookLevelReport\"\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 09:03:59 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + } + ], + "cookie": [], + "body": "{\n \"request_path\": \"/program/v1/\",\n \"message\": \"API not found with these values\",\n \"request_host\": [\n \"dock.sunbirded.org\"\n ]\n}" + } + ] + } + ], + "description": "StartFragment\n\nThis API generate the approved content report for request filters/programs Id's/filter report. - The _**v1/report**_ endpoint successfully loads the approved content report for program Id's(array).\n\n\\- Required fields cannot be null or empty\n\n\\- Backend Route: [http://program-service:6000/program/v1/report](http://program-service:6000/program/v1/report)\n\nEndFragment" + }, + { + "name": "Tenant_List", + "item": [ + { + "name": "Tenant List", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "let jsonResponse = pm.response.json();", + "", + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "", + "pm.test(\"Response body response code should be OK\", function() {", + " pm.expect(jsonResponse.responseCode).to.be.a('string')", + " pm.expect(jsonResponse.responseCode).to.eql('OK')", + "});", + "", + "pm.test(\"Response body result should contain message\", function() {", + " let result = jsonResponse.result;", + " pm.expect(result).to.be.an('object')", + " pm.expect(result).to.have.property('content')", + " pm.expect(result.content).to.be.an('array')", + " pm.expect(result).to.have.property('count')", + " pm.expect(result.count).to.be.a('number')", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive", + "disabled": true + }, + { + "key": "Pragma", + "value": "no-cache", + "disabled": true + }, + { + "key": "Cache-Control", + "value": "no-cache", + "disabled": true + }, + { + "key": "Accept", + "value": "*/*" + }, + { + "key": "X-Requested-With", + "value": "XMLHttpRequest", + "disabled": true + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36", + "disabled": true + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin", + "disabled": true + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors", + "disabled": true + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty", + "disabled": true + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/", + "disabled": true + }, + { + "key": "Accept-Language", + "value": "en-GB,en-US;q=0.9,en;q=0.8" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3ASLdGVaTyC-k14vPdlMSN0m6_Ct_IGfEx.ZcGt1ufyCnuCdWNlvgNUIeIHaJQwfZ9TojSz9i1LVEI", + "disabled": true + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\"request\":\r\n {\r\n \"filters\":\r\n {\r\n \"status\":\"Live\"\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/tenant/list", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "tenant", + "list" + ] + } + }, + "response": [ + { + "name": "200 Success", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive", + "disabled": true + }, + { + "key": "Pragma", + "value": "no-cache", + "disabled": true + }, + { + "key": "Cache-Control", + "value": "no-cache", + "disabled": true + }, + { + "key": "Accept", + "value": "*/*" + }, + { + "key": "X-Requested-With", + "value": "XMLHttpRequest", + "disabled": true + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36", + "disabled": true + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin", + "disabled": true + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors", + "disabled": true + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty", + "disabled": true + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/", + "disabled": true + }, + { + "key": "Accept-Language", + "value": "en-GB,en-US;q=0.9,en;q=0.8" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3ASLdGVaTyC-k14vPdlMSN0m6_Ct_IGfEx.ZcGt1ufyCnuCdWNlvgNUIeIHaJQwfZ9TojSz9i1LVEI", + "disabled": true + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\"request\":\r\n {\r\n \"filters\":\r\n {\r\n \"status\":\"Live\"\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/tenant/list", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "tenant", + "list" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 09:09:37 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "4584" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29996" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"11e8-/JxAqts1J5EY7LBxzEEzCzV9XOU\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "645" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\":\"api.tenant.list\",\n \"ver\":\"1.0\",\n \"ts\":\"2023-01-30T09:13:34.633Z\",\n \"params\":{\n \"resmsgid\":\"5f774990-a07e-11ed-824e-695a192a4217\",\n \"msgid\":\"5f390810-a07e-11ed-824e-695a192a4217\",\n \"status\":\"successful\",\n \"err\":null,\n \"errmsg\":null\n },\n \"responseCode\":\"OK\",\n \"result\":{\n \"count\":23,\n \"content\":[\n {\n \"imgUrl\":null,\n \"orgName\":\"Sunrise\",\n \"id\":\"01344484093886464035\",\n \"slug\":\"sn123\",\n \"program_count\":\"2566\"\n },\n {\n \"imgUrl\":null,\n \"orgName\":\"org3rdOct2021\",\n \"id\":\"01338111839367987237\",\n \"slug\":\"org3rdoct2021\",\n \"program_count\":\"4\"\n },\n {\n \"imgUrl\":null,\n \"orgName\":\"Globe\",\n \"id\":\"01345815127107174426\",\n \"slug\":\"g123\",\n \"program_count\":\"427\"\n },\n {\n \"imgUrl\":null,\n \"orgName\":\"CBSE\",\n \"id\":\"01329314824202649627\",\n \"slug\":\"cbse\",\n \"program_count\":\"633\"\n },\n {\n \"imgUrl\":null,\n \"orgName\":\"Staging Custodian Organization\",\n \"id\":\"0126796199493140480\",\n \"slug\":\"dikshapreprodcustodian\",\n \"program_count\":\"7\"\n },\n {\n \"imgUrl\":null,\n \"orgName\":\"LMS_12Staging\",\n \"id\":\"0133725426790973441\",\n \"slug\":\"lms_12staging\",\n \"program_count\":\"19\"\n },\n {\n \"imgUrl\":null,\n \"orgName\":\"Haryana\",\n \"id\":\"01334203864941363283\",\n \"slug\":\"hr\",\n \"program_count\":\"76\"\n },\n {\n \"orgName\":\"Aloe\",\n \"id\":\"013610958661779456198\",\n \"slug\":\"al123\",\n \"program_count\":\"4\"\n },\n {\n \"orgName\":\"AGS\",\n \"id\":\"01368821370568704066\",\n \"slug\":\"ags123\",\n \"program_count\":\"3\"\n },\n {\n \"imgUrl\":null,\n \"orgName\":\"dockstaging_vdn\",\n \"id\":\"01338113710893465654\",\n \"slug\":\"dockstaging_vdn\",\n \"program_count\":\"3\"\n },\n {\n \"orgName\":\"Sony\",\n \"id\":\"013476546243641344142\",\n \"slug\":\"so123\",\n \"program_count\":\"11\"\n },\n {\n \"orgName\":\"Dayanand Sagar\",\n \"id\":\"013535284215791616159\",\n \"slug\":\"dn123\",\n \"program_count\":\"3\"\n },\n {\n \"imgUrl\":null,\n \"orgName\":\"sal\",\n \"id\":\"0131602658018017280\",\n \"slug\":\"vijay\",\n \"program_count\":\"4\"\n },\n {\n \"imgUrl\":null,\n \"orgName\":\"NCERT\",\n \"id\":\"01283607456185548825093\",\n \"slug\":\"ncert\",\n \"program_count\":\"77\"\n },\n {\n \"imgUrl\":null,\n \"orgName\":\"Shiksha\",\n \"id\":\"01347079436417433655\",\n \"slug\":\"shiksha123\",\n \"program_count\":\"5\"\n },\n {\n \"imgUrl\":null,\n \"orgName\":\"cokreate\",\n \"id\":\"01346442741037465621\",\n \"slug\":\"ck123\",\n \"program_count\":\"15\"\n },\n {\n \"imgUrl\":null,\n \"orgName\":\"dockstaging\",\n \"id\":\"01338111579044249633\",\n \"slug\":\"dockstaging\",\n \"program_count\":\"3\"\n },\n {\n \"orgName\":\"Roseland\",\n \"id\":\"013496244294746112177\",\n \"slug\":\"roseland\",\n \"program_count\":\"4\"\n },\n {\n \"imgUrl\":null,\n \"orgName\":\"Classmate\",\n \"id\":\"013085024460783616158023\",\n \"slug\":\"cv123\",\n \"program_count\":\"22\"\n },\n {\n \"imgUrl\":null,\n \"orgName\":\"Google\",\n \"id\":\"01347076031606784034\",\n \"slug\":\"googl123\",\n \"program_count\":\"4\"\n },\n {\n \"imgUrl\":null,\n \"orgName\":\"org4thOct2021\",\n \"id\":\"01338113627113881647\",\n \"slug\":\"org4thoct2021\",\n \"program_count\":\"3\"\n },\n {\n \"imgUrl\":null,\n \"orgName\":\"Tamil nadu\",\n \"id\":\"01269878797503692810\",\n \"slug\":\"tn\",\n \"program_count\":\"33\"\n },\n {\n \"orgName\":\"UPSMF\",\n \"id\":\"013655711988719616228\",\n \"slug\":\"upsmf\",\n \"program_count\":\"4\"\n }\n ]\n }\n}" + }, + { + "name": "400 without body params", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive", + "disabled": true + }, + { + "key": "Pragma", + "value": "no-cache", + "disabled": true + }, + { + "key": "Cache-Control", + "value": "no-cache", + "disabled": true + }, + { + "key": "Accept", + "value": "*/*" + }, + { + "key": "X-Requested-With", + "value": "XMLHttpRequest", + "disabled": true + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36", + "disabled": true + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin", + "disabled": true + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors", + "disabled": true + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty", + "disabled": true + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/", + "disabled": true + }, + { + "key": "Accept-Language", + "value": "en-GB,en-US;q=0.9,en;q=0.8" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3ASLdGVaTyC-k14vPdlMSN0m6_Ct_IGfEx.ZcGt1ufyCnuCdWNlvgNUIeIHaJQwfZ9TojSz9i1LVEI", + "disabled": true + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\"request\":\r\n \r\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/tenant/list", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "tenant", + "list" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 09:09:37 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "4584" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29996" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"11e8-/JxAqts1J5EY7LBxzEEzCzV9XOU\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "645" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.tenant.list\",\n \"ver\": \"1.0\",\n \"ts\": \"2023-01-30T09:09:37.787Z\",\n \"params\": {\n \"resmsgid\": \"d24b74b0-a07d-11ed-a249-d1c2d4936c48\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_GET_ORGS_FAILED\",\n \"errmsg\": \"Unable to search Organisations\"\n },\n \"responseCode\": \"PRG_PRMCNT01_SERVER_ERROR\",\n \"result\": {\n \"message\": \"Request failed with status code 400\",\n \"name\": \"Error\",\n \"stack\": \"Error: Request failed with status code 400\\n at createError (/opt/program-service/node_modules/axios/lib/core/createError.js:16:15)\\n at settle (/opt/program-service/node_modules/axios/lib/core/settle.js:17:12)\\n at IncomingMessage.handleStreamEnd (/opt/program-service/node_modules/axios/lib/adapters/http.js:236:11)\\n at emitNone (events.js:111:20)\\n at IncomingMessage.emit (events.js:208:7)\\n at endReadableNT (_stream_readable.js:1064:12)\\n at _combinedTickCallback (internal/process/next_tick.js:138:11)\\n at process._tickCallback (internal/process/next_tick.js:180:9)\",\n \"config\": {\n \"url\": \"https://dock.sunbirded.org/learner/org/v2/search\",\n \"method\": \"post\",\n \"data\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"id\\\":[\\\"\\\",\\\"01241974041332940818\\\",\\\"0124784842112040965\\\",\\\"0126796199493140480\\\",\\\"01285019302823526477\\\",\\\"012983850117177344161\\\",\\\"0130002722366996483\\\",\\\"01300114961106534476\\\",\\\"01301011831795712054\\\",\\\"01301155458735308853\\\",\\\"01301157586650726455\\\",\\\"01301178944633241665\\\",\\\"013013637585788928216\\\",\\\"013013662290239488220\\\",\\\"0130244627071467523\\\",\\\"0130301184384696325\\\",\\\"01303077037223116866\\\",\\\"0130334518649733120\\\",\\\"01303419990209331242\\\",\\\"01303420140154880043\\\",\\\"0130349944031232006201\\\",\\\"0130350005293793286215\\\",\\\"0130355647239946241\\\",\\\"013036866509398016109\\\",\\\"013036982441541632120\\\",\\\"013037102857854976143\\\",\\\"013038360461811712309\\\",\\\"0130385861180866561\\\",\\\"01305046146192179271\\\",\\\"0130512783027896320\\\",\\\"013051913347964928252\\\",\\\"0130519899339571201461\\\",\\\"01305464129106739256\\\",\\\"01305892476764160058\\\",\\\"01306475770753843226\\\",\\\"0130653247060705281\\\",\\\"0130659746662727680\\\",\\\"01307938306521497658\\\",\\\"0130808211593134080\\\",\\\"0130846238944051206\\\",\\\"01308846635331584060\\\",\\\"01308866322029772881\\\",\\\"013088758089580544101\\\",\\\"013088773085405184115\\\",\\\"01309282781705830427\\\",\\\"01311980835713843214\\\",\\\"0131289852148940806\\\",\\\"0131347188482293763\\\",\\\"01316027171990732818\\\",\\\"0132074893567098882\\\",\\\"0133776498590187528\\\",\\\"0133810809424199688\\\",\\\"0134764862869585920\\\",\\\"0135947894815948807\\\",\\\"ORG_001\\\",null],\\\"status\\\":1,\\\"isTenant\\\":true},\\\"fields\\\":[\\\"id\\\",\\\"slug\\\",\\\"orgName\\\",\\\"orgCode\\\",\\\"imgUrl\\\"]}}\",\n \"headers\": {\n \"Accept\": \"application/json, text/plain, */*\",\n \"Content-Type\": \"application/json\",\n \"x-real-ip\": \"103.59.75.37\",\n \"x-forwarded-for\": \"103.59.75.37, 103.59.75.37\",\n \"x-forwarded-proto\": \"http\",\n \"x-scheme\": \"https\",\n \"authorization\": \"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJiZDExNjYzN2Y5YjU0MWJiYjU3NDY3MTA2Yjk1YzllYSJ9.Bb8ThNzcBvhouPdtRa_UXnZgi3m2zZN5Skhke1_YlM0\",\n \"accept-encoding\": \"gzip, deflate, br\",\n \"x-forwarded-prefix\": \"/program/v1/tenant/list\",\n \"x-consumer-id\": \"fa13b438-8a3d-41b1-8278-33b0c50210e4\",\n \"x-consumer-username\": \"dev_consumer\",\n \"x-consumer-groups\": \"badgeAccess, certificateAccess, channelAccess, ssoCreate, userAccess, certificateCreate, certificateUpdate, certificateAdmin, noteAdmin, userCreate, userAdmin, userUpdate, reportsUpdate, registryCreate, registryAccess, registryUpdate, registryAdmin, contentAccess, contentCreate, contentUpdate, courseAccess, courseCreate, courseUpdate, deviceCreate, dialcodeAccess, locationAccess, noteAccess, noteCreate, noteUpdate, objectAccess, orgAccess, pluginAccess, userTempAdmin, reportsAccess, reportsAdmin, reportsCreate, programAccess, programCreate, programUpdate, pageAccess, programAdmin, nominationCreate, nominationUpdate, nominationAdmin, nominationAccess, preferenceAccess, frameworkAccess, announcementAccess, orgCreate, appAccess, appUpdate, appAdmin, contentAdmin, channelCreate, channelUpdate, courseAdmin, dialcodeAdmin, dialcodeCreate, dialcodeUpdate, badgeAdmin, badgeCreate, badgeUpdate, preferenceCreate, preferenceUpdate, programTenantList, refreshTokenCreate, anonymousContentAccess, anonymousUserCreate, anonymousUserAccess, anonymousAppAccess\",\n \"telemetryData\": {\n \"params\": {\n \"0\": {\n \"rid\": \"d1ea1ad0-a07d-11ed-a249-d1c2d4936c48\"\n },\n \"1\": {},\n \"2\": {},\n \"3\": {\n \"url\": \"v1/tenant/list\"\n },\n \"4\": {}\n },\n \"context\": {\n \"did\": \"\"\n },\n \"actor\": {\n \"id\": \"fa13b438-8a3d-41b1-8278-33b0c50210e4\",\n \"type\": \"dev_consumer\"\n }\n },\n \"User-Agent\": \"axios/0.19.2\",\n \"Content-Length\": 1344\n },\n \"transformRequest\": [\n null\n ],\n \"transformResponse\": [\n null\n ],\n \"timeout\": 0,\n \"xsrfCookieName\": \"XSRF-TOKEN\",\n \"xsrfHeaderName\": \"X-XSRF-TOKEN\",\n \"maxContentLength\": -1\n }\n }\n}" + }, + { + "name": "404 Not Found", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive", + "disabled": true + }, + { + "key": "Pragma", + "value": "no-cache", + "disabled": true + }, + { + "key": "Cache-Control", + "value": "no-cache", + "disabled": true + }, + { + "key": "Accept", + "value": "*/*" + }, + { + "key": "X-Requested-With", + "value": "XMLHttpRequest", + "disabled": true + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36", + "disabled": true + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin", + "disabled": true + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors", + "disabled": true + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty", + "disabled": true + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/", + "disabled": true + }, + { + "key": "Accept-Language", + "value": "en-GB,en-US;q=0.9,en;q=0.8" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3ASLdGVaTyC-k14vPdlMSN0m6_Ct_IGfEx.ZcGt1ufyCnuCdWNlvgNUIeIHaJQwfZ9TojSz9i1LVEI", + "disabled": true + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\"request\":\r\n \r\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/tenant/", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "tenant", + "" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 09:19:52 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + } + ], + "cookie": [], + "body": "{\n \"request_path\": \"/program/v1/tenant/\",\n \"message\": \"API not found with these values\",\n \"request_host\": [\n \"dock.sunbirded.org\"\n ]\n}" + }, + { + "name": "401 Unauthorized", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Connection", + "value": "keep-alive", + "disabled": true + }, + { + "key": "Pragma", + "value": "no-cache", + "disabled": true + }, + { + "key": "Cache-Control", + "value": "no-cache", + "disabled": true + }, + { + "key": "Accept", + "value": "*/*" + }, + { + "key": "X-Requested-With", + "value": "XMLHttpRequest", + "disabled": true + }, + { + "key": "User-Agent", + "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36", + "disabled": true + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org" + }, + { + "key": "Sec-Fetch-Site", + "value": "same-origin", + "disabled": true + }, + { + "key": "Sec-Fetch-Mode", + "value": "cors", + "disabled": true + }, + { + "key": "Sec-Fetch-Dest", + "value": "empty", + "disabled": true + }, + { + "key": "Referer", + "value": "https://dock.sunbirded.org/", + "disabled": true + }, + { + "key": "Accept-Language", + "value": "en-GB,en-US;q=0.9,en;q=0.8" + }, + { + "key": "Cookie", + "value": "connect.sid=s%3ASLdGVaTyC-k14vPdlMSN0m6_Ct_IGfEx.ZcGt1ufyCnuCdWNlvgNUIeIHaJQwfZ9TojSz9i1LVEI", + "disabled": true + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\"request\":\r\n {\r\n \"filters\":\r\n {\r\n \"status\":\"Live\"\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/tenant/list", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "tenant", + "list" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 09:20:18 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + } + ], + "cookie": [], + "body": "{\n \"message\": \"Unauthorized\"\n}" + } + ] + } + ], + "description": "StartFragment\n\nThis API gives the list of all the tenants. - The _**tenant/list**_ endpoint successfully gives the list of all the tenants.\n\n\\- Required fields cannot be null or empty\n\n\\- Backend Route: [http://program-service:6000/program/v1/tenant/list](http://program-service:6000/program/v1/tenant/list)\n\nEndFragment" + }, + { + "name": "Feed Search", + "item": [ + { + "name": "Program-Feed-Search", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var responseJson = pm.response.json();", + "", + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "", + "pm.test(\"response should be okay to process\", function () {", + " pm.response.to.not.be.error;", + " pm.response.to.not.have.jsonBody(\"error\");", + "});", + "", + "pm.test(\"response must be valid and have a body\", function () {", + " pm.response.to.be.ok;", + " pm.response.to.be.withBody;", + " pm.response.to.be.json;", + "});", + "", + "pm.test(\"Successful POST request\", () => {", + " pm.expect(pm.response.code).to.be.oneOf([200,201,202]);", + "});", + "", + "pm.test(\"Reading Response Code & Status\", () => {", + " pm.expect(responseJson.responseCode).to.eql(\"OK\");", + " pm.expect(responseJson.params.status).to.eql(\"successful\");", + "});", + "", + "pm.test(\"Checking for Errors\",() => {", + " pm.expect(responseJson.params.err).to.eql(null);", + " pm.expect(responseJson.params.errmsg).to.eql(null);", + " pm.expect(responseJson.result).to.be.an('object');", + " pm.expect(responseJson.result).to.empty;", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org", + "type": "text" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"nomination\": {\n \"programId\": [\n \"a549ffa0-3553-11eb-84ed-692ec8c8dbe9\",\n \"ef3ecc80-3553-11eb-84ed-692ec8c8dbe9\",\n \"55fe0bf0-3515-11eb-86c8-875983bcd642\",\n \"1ccf38e0-3515-11eb-86c8-875983bcd642\",\n \"f8d9e660-3514-11eb-86c8-875983bcd642\",\n \"be393480-2f19-11eb-9589-67618f37e236\",\n \"d16524d0-348a-11eb-9c32-15914148e3ce\",\n \"ebccd1c0-3457-11eb-9c32-15914148e3ce\",\n \"0a3a2fa0-2f1b-11eb-9589-67618f37e236\",\n \"3d6dbca0-330f-11eb-9c32-15914148e3ce\",\n \"d5980d20-3079-11eb-810c-719a38ebbc38\",\n \"6f7ad680-306a-11eb-810c-719a38ebbc38\",\n \"8edd5f60-29a4-11eb-aeaf-bf436fa88951\",\n \"78e124d0-148c-11eb-81b1-659ec274e395\"\n ],\n \"status\": [\n \"Pending\"\n ]\n },\n \"contribution\": {\n \"programId\": [\n \"f2c1d380-389a-11eb-af92-c5fb4afce83e\",\n \"a043dc40-3497-11eb-9c32-15914148e3ce\",\n \"a549ffa0-3553-11eb-84ed-692ec8c8dbe9\",\n \"ef3ecc80-3553-11eb-84ed-692ec8c8dbe9\",\n \"55fe0bf0-3515-11eb-86c8-875983bcd642\",\n \"1ccf38e0-3515-11eb-86c8-875983bcd642\",\n \"f8d9e660-3514-11eb-86c8-875983bcd642\",\n \"be393480-2f19-11eb-9589-67618f37e236\",\n \"d16524d0-348a-11eb-9c32-15914148e3ce\",\n \"ebccd1c0-3457-11eb-9c32-15914148e3ce\",\n \"4b1e1f80-33b3-11eb-9c32-15914148e3ce\",\n \"0a3a2fa0-2f1b-11eb-9589-67618f37e236\",\n \"3d6dbca0-330f-11eb-9c32-15914148e3ce\",\n \"b63477c0-3079-11eb-810c-719a38ebbc38\",\n \"d5980d20-3079-11eb-810c-719a38ebbc38\",\n \"1b551930-3079-11eb-810c-719a38ebbc38\",\n \"59195710-3072-11eb-810c-719a38ebbc38\",\n \"6f7ad680-306a-11eb-810c-719a38ebbc38\",\n \"6deb0430-3069-11eb-810c-719a38ebbc38\",\n \"282d9f70-3069-11eb-810c-719a38ebbc38\",\n \"82bb4ed0-2fbd-11eb-9f5a-4f987efe0e37\",\n \"77339870-2d91-11eb-a9a0-81830f9a9942\",\n \"8edd5f60-29a4-11eb-aeaf-bf436fa88951\",\n \"63f8f420-28ba-11eb-a039-b7beee6d468c\",\n \"afdfa9a0-1dbc-11eb-81b1-659ec274e395\",\n \"78e124d0-148c-11eb-81b1-659ec274e395\",\n \"b17e1380-129c-11eb-86f0-e5afde774642\",\n \"6fe0ca30-0ebe-11eb-a86e-19f11b668107\",\n \"07331c60-0df9-11eb-b6d8-63989248086a\",\n \"3d711fd0-0df3-11eb-b843-e704676ac82e\"\n ],\n \"status\": [\n \"Live\"\n ]\n },\n \"channel\": \"012983850117177344161\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/feed/search", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "feed", + "search" + ] + } + }, + "response": [ + { + "name": "200 success", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org", + "type": "text" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"nomination\": {\n \"programId\": [\n \"a549ffa0-3553-11eb-84ed-692ec8c8dbe9\",\n \"ef3ecc80-3553-11eb-84ed-692ec8c8dbe9\",\n \"55fe0bf0-3515-11eb-86c8-875983bcd642\",\n \"1ccf38e0-3515-11eb-86c8-875983bcd642\",\n \"f8d9e660-3514-11eb-86c8-875983bcd642\",\n \"be393480-2f19-11eb-9589-67618f37e236\",\n \"d16524d0-348a-11eb-9c32-15914148e3ce\",\n \"ebccd1c0-3457-11eb-9c32-15914148e3ce\",\n \"0a3a2fa0-2f1b-11eb-9589-67618f37e236\",\n \"3d6dbca0-330f-11eb-9c32-15914148e3ce\",\n \"d5980d20-3079-11eb-810c-719a38ebbc38\",\n \"6f7ad680-306a-11eb-810c-719a38ebbc38\",\n \"8edd5f60-29a4-11eb-aeaf-bf436fa88951\",\n \"78e124d0-148c-11eb-81b1-659ec274e395\"\n ],\n \"status\": [\n \"Pending\"\n ]\n },\n \"contribution\": {\n \"programId\": [\n \"f2c1d380-389a-11eb-af92-c5fb4afce83e\",\n \"a043dc40-3497-11eb-9c32-15914148e3ce\",\n \"a549ffa0-3553-11eb-84ed-692ec8c8dbe9\",\n \"ef3ecc80-3553-11eb-84ed-692ec8c8dbe9\",\n \"55fe0bf0-3515-11eb-86c8-875983bcd642\",\n \"1ccf38e0-3515-11eb-86c8-875983bcd642\",\n \"f8d9e660-3514-11eb-86c8-875983bcd642\",\n \"be393480-2f19-11eb-9589-67618f37e236\",\n \"d16524d0-348a-11eb-9c32-15914148e3ce\",\n \"ebccd1c0-3457-11eb-9c32-15914148e3ce\",\n \"4b1e1f80-33b3-11eb-9c32-15914148e3ce\",\n \"0a3a2fa0-2f1b-11eb-9589-67618f37e236\",\n \"3d6dbca0-330f-11eb-9c32-15914148e3ce\",\n \"b63477c0-3079-11eb-810c-719a38ebbc38\",\n \"d5980d20-3079-11eb-810c-719a38ebbc38\",\n \"1b551930-3079-11eb-810c-719a38ebbc38\",\n \"59195710-3072-11eb-810c-719a38ebbc38\",\n \"6f7ad680-306a-11eb-810c-719a38ebbc38\",\n \"6deb0430-3069-11eb-810c-719a38ebbc38\",\n \"282d9f70-3069-11eb-810c-719a38ebbc38\",\n \"82bb4ed0-2fbd-11eb-9f5a-4f987efe0e37\",\n \"77339870-2d91-11eb-a9a0-81830f9a9942\",\n \"8edd5f60-29a4-11eb-aeaf-bf436fa88951\",\n \"63f8f420-28ba-11eb-a039-b7beee6d468c\",\n \"afdfa9a0-1dbc-11eb-81b1-659ec274e395\",\n \"78e124d0-148c-11eb-81b1-659ec274e395\",\n \"b17e1380-129c-11eb-86f0-e5afde774642\",\n \"6fe0ca30-0ebe-11eb-a86e-19f11b668107\",\n \"07331c60-0df9-11eb-b6d8-63989248086a\",\n \"3d711fd0-0df3-11eb-b843-e704676ac82e\"\n ],\n \"status\": [\n \"Live\"\n ]\n },\n \"channel\": \"012983850117177344161\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/feed/search", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "feed", + "search" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 10:00:58 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "255" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29999" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"ff-tZcMwFeluPu2YI5ksPAqM3ugm1c\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "361" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.feed.search\",\n \"ver\": \"1.0\",\n \"ts\": \"2023-01-30T10:00:58.811Z\",\n \"params\": {\n \"resmsgid\": \"feba68b0-a084-11ed-a249-d1c2d4936c48\",\n \"msgid\": \"fe843d80-a084-11ed-a249-d1c2d4936c48\",\n \"status\": \"successful\",\n \"err\": null,\n \"errmsg\": null\n },\n \"responseCode\": \"OK\",\n \"result\": {}\n}" + }, + { + "name": "400 without channel id", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org", + "type": "text" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"nomination\": {\n \"programId\": [\n \"a549ffa0-3553-11eb-84ed-692ec8c8dbe9\",\n \"ef3ecc80-3553-11eb-84ed-692ec8c8dbe9\",\n \"55fe0bf0-3515-11eb-86c8-875983bcd642\",\n \"1ccf38e0-3515-11eb-86c8-875983bcd642\",\n \"f8d9e660-3514-11eb-86c8-875983bcd642\",\n \"be393480-2f19-11eb-9589-67618f37e236\",\n \"d16524d0-348a-11eb-9c32-15914148e3ce\",\n \"ebccd1c0-3457-11eb-9c32-15914148e3ce\",\n \"0a3a2fa0-2f1b-11eb-9589-67618f37e236\",\n \"3d6dbca0-330f-11eb-9c32-15914148e3ce\",\n \"d5980d20-3079-11eb-810c-719a38ebbc38\",\n \"6f7ad680-306a-11eb-810c-719a38ebbc38\",\n \"8edd5f60-29a4-11eb-aeaf-bf436fa88951\",\n \"78e124d0-148c-11eb-81b1-659ec274e395\"\n ],\n \"status\": [\n \"Pending\"\n ]\n },\n \"contribution\": {\n \"programId\": [\n \"f2c1d380-389a-11eb-af92-c5fb4afce83e\",\n \"a043dc40-3497-11eb-9c32-15914148e3ce\",\n \"a549ffa0-3553-11eb-84ed-692ec8c8dbe9\",\n \"ef3ecc80-3553-11eb-84ed-692ec8c8dbe9\",\n \"55fe0bf0-3515-11eb-86c8-875983bcd642\",\n \"1ccf38e0-3515-11eb-86c8-875983bcd642\",\n \"f8d9e660-3514-11eb-86c8-875983bcd642\",\n \"be393480-2f19-11eb-9589-67618f37e236\",\n \"d16524d0-348a-11eb-9c32-15914148e3ce\",\n \"ebccd1c0-3457-11eb-9c32-15914148e3ce\",\n \"4b1e1f80-33b3-11eb-9c32-15914148e3ce\",\n \"0a3a2fa0-2f1b-11eb-9589-67618f37e236\",\n \"3d6dbca0-330f-11eb-9c32-15914148e3ce\",\n \"b63477c0-3079-11eb-810c-719a38ebbc38\",\n \"d5980d20-3079-11eb-810c-719a38ebbc38\",\n \"1b551930-3079-11eb-810c-719a38ebbc38\",\n \"59195710-3072-11eb-810c-719a38ebbc38\",\n \"6f7ad680-306a-11eb-810c-719a38ebbc38\",\n \"6deb0430-3069-11eb-810c-719a38ebbc38\",\n \"282d9f70-3069-11eb-810c-719a38ebbc38\",\n \"82bb4ed0-2fbd-11eb-9f5a-4f987efe0e37\",\n \"77339870-2d91-11eb-a9a0-81830f9a9942\",\n \"8edd5f60-29a4-11eb-aeaf-bf436fa88951\",\n \"63f8f420-28ba-11eb-a039-b7beee6d468c\",\n \"afdfa9a0-1dbc-11eb-81b1-659ec274e395\",\n \"78e124d0-148c-11eb-81b1-659ec274e395\",\n \"b17e1380-129c-11eb-86f0-e5afde774642\",\n \"6fe0ca30-0ebe-11eb-a86e-19f11b668107\",\n \"07331c60-0df9-11eb-b6d8-63989248086a\",\n \"3d711fd0-0df3-11eb-b843-e704676ac82e\"\n ],\n \"status\": [\n \"Live\"\n ]\n },\n \"channel\": \"\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/feed/search", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "feed", + "search" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Tue, 20 Dec 2022 09:34:48 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "255" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29999" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"ff-Tcw2I17jfetzStMPJ3YDGgEBprU\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "313" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.feed.search\",\n \"ver\": \"1.0\",\n \"ts\": \"2022-12-20T09:34:48.636Z\",\n \"params\": {\n \"resmsgid\": \"8be4f7c0-8049-11ed-be8b-9962d8844469\",\n \"msgid\": \"8bb6bbd0-8049-11ed-be8b-9962d8844469\",\n \"status\": \"successful\",\n \"err\": null,\n \"errmsg\": null\n },\n \"responseCode\": \"OK\",\n \"result\": {}\n}" + }, + { + "name": "401 Unauthorized", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org", + "type": "text" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "text", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"nomination\": {\n \"programId\": [\n \"a549ffa0-3553-11eb-84ed-692ec8c8dbe9\",\n \"ef3ecc80-3553-11eb-84ed-692ec8c8dbe9\",\n \"55fe0bf0-3515-11eb-86c8-875983bcd642\",\n \"1ccf38e0-3515-11eb-86c8-875983bcd642\",\n \"f8d9e660-3514-11eb-86c8-875983bcd642\",\n \"be393480-2f19-11eb-9589-67618f37e236\",\n \"d16524d0-348a-11eb-9c32-15914148e3ce\",\n \"ebccd1c0-3457-11eb-9c32-15914148e3ce\",\n \"0a3a2fa0-2f1b-11eb-9589-67618f37e236\",\n \"3d6dbca0-330f-11eb-9c32-15914148e3ce\",\n \"d5980d20-3079-11eb-810c-719a38ebbc38\",\n \"6f7ad680-306a-11eb-810c-719a38ebbc38\",\n \"8edd5f60-29a4-11eb-aeaf-bf436fa88951\",\n \"78e124d0-148c-11eb-81b1-659ec274e395\"\n ],\n \"status\": [\n \"Pending\"\n ]\n },\n \"contribution\": {\n \"programId\": [\n \"f2c1d380-389a-11eb-af92-c5fb4afce83e\",\n \"a043dc40-3497-11eb-9c32-15914148e3ce\",\n \"a549ffa0-3553-11eb-84ed-692ec8c8dbe9\",\n \"ef3ecc80-3553-11eb-84ed-692ec8c8dbe9\",\n \"55fe0bf0-3515-11eb-86c8-875983bcd642\",\n \"1ccf38e0-3515-11eb-86c8-875983bcd642\",\n \"f8d9e660-3514-11eb-86c8-875983bcd642\",\n \"be393480-2f19-11eb-9589-67618f37e236\",\n \"d16524d0-348a-11eb-9c32-15914148e3ce\",\n \"ebccd1c0-3457-11eb-9c32-15914148e3ce\",\n \"4b1e1f80-33b3-11eb-9c32-15914148e3ce\",\n \"0a3a2fa0-2f1b-11eb-9589-67618f37e236\",\n \"3d6dbca0-330f-11eb-9c32-15914148e3ce\",\n \"b63477c0-3079-11eb-810c-719a38ebbc38\",\n \"d5980d20-3079-11eb-810c-719a38ebbc38\",\n \"1b551930-3079-11eb-810c-719a38ebbc38\",\n \"59195710-3072-11eb-810c-719a38ebbc38\",\n \"6f7ad680-306a-11eb-810c-719a38ebbc38\",\n \"6deb0430-3069-11eb-810c-719a38ebbc38\",\n \"282d9f70-3069-11eb-810c-719a38ebbc38\",\n \"82bb4ed0-2fbd-11eb-9f5a-4f987efe0e37\",\n \"77339870-2d91-11eb-a9a0-81830f9a9942\",\n \"8edd5f60-29a4-11eb-aeaf-bf436fa88951\",\n \"63f8f420-28ba-11eb-a039-b7beee6d468c\",\n \"afdfa9a0-1dbc-11eb-81b1-659ec274e395\",\n \"78e124d0-148c-11eb-81b1-659ec274e395\",\n \"b17e1380-129c-11eb-86f0-e5afde774642\",\n \"6fe0ca30-0ebe-11eb-a86e-19f11b668107\",\n \"07331c60-0df9-11eb-b6d8-63989248086a\",\n \"3d711fd0-0df3-11eb-b843-e704676ac82e\"\n ],\n \"status\": [\n \"Live\"\n ]\n },\n \"channel\": \"012983850117177344161\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/feed/search", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "feed", + "search" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 10:02:38 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + } + ], + "cookie": [], + "body": "{\n \"message\": \"Unauthorized\"\n}" + }, + { + "name": "404 Not Found", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Origin", + "value": "https://dock.sunbirded.org", + "type": "text" + }, + { + "key": "Accept-Language", + "value": "en-GB,en;q=0.9", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "text", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"nomination\": {\n \"programId\": [\n \"a549ffa0-3553-11eb-84ed-692ec8c8dbe9\",\n \"ef3ecc80-3553-11eb-84ed-692ec8c8dbe9\",\n \"55fe0bf0-3515-11eb-86c8-875983bcd642\",\n \"1ccf38e0-3515-11eb-86c8-875983bcd642\",\n \"f8d9e660-3514-11eb-86c8-875983bcd642\",\n \"be393480-2f19-11eb-9589-67618f37e236\",\n \"d16524d0-348a-11eb-9c32-15914148e3ce\",\n \"ebccd1c0-3457-11eb-9c32-15914148e3ce\",\n \"0a3a2fa0-2f1b-11eb-9589-67618f37e236\",\n \"3d6dbca0-330f-11eb-9c32-15914148e3ce\",\n \"d5980d20-3079-11eb-810c-719a38ebbc38\",\n \"6f7ad680-306a-11eb-810c-719a38ebbc38\",\n \"8edd5f60-29a4-11eb-aeaf-bf436fa88951\",\n \"78e124d0-148c-11eb-81b1-659ec274e395\"\n ],\n \"status\": [\n \"Pending\"\n ]\n },\n \"contribution\": {\n \"programId\": [\n \"f2c1d380-389a-11eb-af92-c5fb4afce83e\",\n \"a043dc40-3497-11eb-9c32-15914148e3ce\",\n \"a549ffa0-3553-11eb-84ed-692ec8c8dbe9\",\n \"ef3ecc80-3553-11eb-84ed-692ec8c8dbe9\",\n \"55fe0bf0-3515-11eb-86c8-875983bcd642\",\n \"1ccf38e0-3515-11eb-86c8-875983bcd642\",\n \"f8d9e660-3514-11eb-86c8-875983bcd642\",\n \"be393480-2f19-11eb-9589-67618f37e236\",\n \"d16524d0-348a-11eb-9c32-15914148e3ce\",\n \"ebccd1c0-3457-11eb-9c32-15914148e3ce\",\n \"4b1e1f80-33b3-11eb-9c32-15914148e3ce\",\n \"0a3a2fa0-2f1b-11eb-9589-67618f37e236\",\n \"3d6dbca0-330f-11eb-9c32-15914148e3ce\",\n \"b63477c0-3079-11eb-810c-719a38ebbc38\",\n \"d5980d20-3079-11eb-810c-719a38ebbc38\",\n \"1b551930-3079-11eb-810c-719a38ebbc38\",\n \"59195710-3072-11eb-810c-719a38ebbc38\",\n \"6f7ad680-306a-11eb-810c-719a38ebbc38\",\n \"6deb0430-3069-11eb-810c-719a38ebbc38\",\n \"282d9f70-3069-11eb-810c-719a38ebbc38\",\n \"82bb4ed0-2fbd-11eb-9f5a-4f987efe0e37\",\n \"77339870-2d91-11eb-a9a0-81830f9a9942\",\n \"8edd5f60-29a4-11eb-aeaf-bf436fa88951\",\n \"63f8f420-28ba-11eb-a039-b7beee6d468c\",\n \"afdfa9a0-1dbc-11eb-81b1-659ec274e395\",\n \"78e124d0-148c-11eb-81b1-659ec274e395\",\n \"b17e1380-129c-11eb-86f0-e5afde774642\",\n \"6fe0ca30-0ebe-11eb-a86e-19f11b668107\",\n \"07331c60-0df9-11eb-b6d8-63989248086a\",\n \"3d711fd0-0df3-11eb-b843-e704676ac82e\"\n ],\n \"status\": [\n \"Live\"\n ]\n },\n \"channel\": \"012983850117177344161\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/program/v1/feed/", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "feed", + "" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 10:02:55 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + } + ], + "cookie": [], + "body": "{\n \"request_path\": \"/program/v1/feed/\",\n \"message\": \"API not found with these values\",\n \"request_host\": [\n \"dock.sunbirded.org\"\n ]\n}" + } + ] + } + ], + "description": "StartFragment\n\nThis API search for program latest Updates. - The _**feed/search**_ endpoint successfully loads the latest Updates on program data .\n\n\\- Required fields cannot be null or empty\n\n\\- Backend Route: [http://program-service:6000/program/v1/feed/search](http://program-service:6000/program/v1/feed/search)\n\nEndFragment" + }, + { + "name": "Form APis", + "item": [ + { + "name": "Create", + "item": [ + { + "name": "Create Form", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \"objectype\": \"string\",\r\n \"operation\": \"string\",\r\n \"context\": \"string\",\r\n \"context_type\": \"string\",\r\n \"primarycategory\": \"string\",\r\n \"channel\": \"string\",\r\n \"data\": {\r\n \"templateName\": \"string\",\r\n \"action\": \"string\",\r\n \"fields\": [\r\n {\r\n \"code\": \"string\",\r\n \"dataType\": \"string\",\r\n \"description\": \"string\",\r\n \"editable\": true,\r\n \"inputType\": \"string\",\r\n \"label\": \"string\",\r\n \"name\": \"string\",\r\n \"index\": 0,\r\n \"placeholder\": \"string\",\r\n \"required\": true,\r\n \"visible\": true,\r\n \"renderingHints\": {}\r\n }\r\n ]\r\n }\r\n }\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/program/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "form", + "create" + ] + } + }, + "response": [ + { + "name": "200 Success", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \"objectype\": \"string\",\r\n \"operation\": \"string\",\r\n \"context\": \"string\",\r\n \"context_type\": \"string\",\r\n \"primarycategory\": \"string\",\r\n \"channel\": \"string\",\r\n \"data\": {\r\n \"templateName\": \"string\",\r\n \"action\": \"string\",\r\n \"fields\": [\r\n {\r\n \"code\": \"string\",\r\n \"dataType\": \"string\",\r\n \"description\": \"string\",\r\n \"editable\": true,\r\n \"inputType\": \"string\",\r\n \"label\": \"string\",\r\n \"name\": \"string\",\r\n \"index\": 0,\r\n \"placeholder\": \"string\",\r\n \"required\": true,\r\n \"visible\": true,\r\n \"renderingHints\": {}\r\n }\r\n ]\r\n }\r\n }\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/program/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "form", + "create" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 10:20:37 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "273" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29996" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"111-T2BMDYbDXNDfRFuDHkSK25vQ68A\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "263" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"string\",\n \"ver\": \"string\",\n \"ets\": 0,\n \"params\": {\n \"msgid\": \"string\",\n \"resmsgid\": \"string\",\n \"status\": \"success\"\n },\n \"responseCode\": \"string\",\n \"result\": {\n \"response\": {\n \"id\": \"string\"\n }\n }\n}" + }, + { + "name": "400 without request params", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \"objectype\": \"string\",\r\n \"operation\": \"string\",\r\n \"context\": \"string\",\r\n \"context_type\": \"string\",\r\n \"primarycategory\": \"string\",\r\n \"channel\": \"string\",\r\n \"data\": {\r\n \"templateName\": \"string\",\r\n \"action\": \"string\",\r\n \"fields\": [\r\n {\r\n \"code\": \"string\",\r\n \"dataType\": \"string\",\r\n \"description\": \"string\",\r\n \"editable\": true,\r\n \"inputType\": \"string\",\r\n \"label\": \"string\",\r\n \"name\": \"string\",\r\n \"index\": 0,\r\n \"placeholder\": \"string\",\r\n \"required\": true,\r\n \"visible\": true,\r\n \"renderingHints\": {}\r\n }\r\n ]\r\n }\r\n }\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/program/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "form", + "create" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 10:19:32 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "307" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29998" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"133-d+MeORWSzOd3VtHCVtL8+ufUM40\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "9" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.form.create\",\n \"ver\": \"1.0\",\n \"ts\": \"2023-01-30T10:19:32.583Z\",\n \"params\": {\n \"resmsgid\": \"96968770-a087-11ed-a249-d1c2d4936c48\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_CREATE_FORM_DATA\",\n \"errmsg\": \"Required fields for creating form data are missing\"\n },\n \"responseCode\": \"FORM_FRMCRT01_CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "401 Unauthorized", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \"objectype\": \"string\",\r\n \"operation\": \"string\",\r\n \"context\": \"string\",\r\n \"context_type\": \"string\",\r\n \"primarycategory\": \"string\",\r\n \"channel\": \"string\",\r\n \"data\": {\r\n \"templateName\": \"string\",\r\n \"action\": \"string\",\r\n \"fields\": [\r\n {\r\n \"code\": \"string\",\r\n \"dataType\": \"string\",\r\n \"description\": \"string\",\r\n \"editable\": true,\r\n \"inputType\": \"string\",\r\n \"label\": \"string\",\r\n \"name\": \"string\",\r\n \"index\": 0,\r\n \"placeholder\": \"string\",\r\n \"required\": true,\r\n \"visible\": true,\r\n \"renderingHints\": {}\r\n }\r\n ]\r\n }\r\n }\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/program/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "form", + "create" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 10:21:59 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + } + ], + "cookie": [], + "body": "{\n \"message\": \"Unauthorized\"\n}" + }, + { + "name": "404 Not Found", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \"objectype\": \"string\",\r\n \"operation\": \"string\",\r\n \"context\": \"string\",\r\n \"context_type\": \"string\",\r\n \"primarycategory\": \"string\",\r\n \"channel\": \"string\",\r\n \"data\": {\r\n \"templateName\": \"string\",\r\n \"action\": \"string\",\r\n \"fields\": [\r\n {\r\n \"code\": \"string\",\r\n \"dataType\": \"string\",\r\n \"description\": \"string\",\r\n \"editable\": true,\r\n \"inputType\": \"string\",\r\n \"label\": \"string\",\r\n \"name\": \"string\",\r\n \"index\": 0,\r\n \"placeholder\": \"string\",\r\n \"required\": true,\r\n \"visible\": true,\r\n \"renderingHints\": {}\r\n }\r\n ]\r\n }\r\n }\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/program/v1/form/", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "form", + "" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 10:22:18 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + } + ], + "cookie": [], + "body": "{\n \"request_path\": \"/program/v1/form/\",\n \"message\": \"API not found with these values\",\n \"request_host\": [\n \"dock.sunbirded.org\"\n ]\n}" + } + ] + } + ], + "description": "StartFragment\n\nThis API is used to create a form with default fields using meta data\n\n- The internal endpoint for **Create Form** is `api/program/v1/form/create`\n \n\nEndFragment" + }, + { + "name": "Update", + "item": [ + { + "name": "Update Form", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \"objectype\": \"string\",\r\n \"operation\": \"string\",\r\n \"context\": \"string\",\r\n \"context_type\": \"string\",\r\n \"primarycategory\": \"string\",\r\n \"channel\": \"string\",\r\n \"data\": {\r\n \"templateName\": \"string\",\r\n \"action\": \"string\",\r\n \"fields\": [\r\n {\r\n \"code\": \"string\",\r\n \"dataType\": \"string\",\r\n \"description\": \"string\",\r\n \"editable\": true,\r\n \"inputType\": \"string\",\r\n \"label\": \"string\",\r\n \"name\": \"string\",\r\n \"index\": 0,\r\n \"placeholder\": \"string\",\r\n \"required\": true,\r\n \"visible\": true,\r\n \"renderingHints\": {}\r\n }\r\n ]\r\n }\r\n }\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/program/v1/form/update", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "form", + "update" + ] + } + }, + "response": [ + { + "name": "200 Success", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \"objectype\": \"string\",\r\n \"operation\": \"string\",\r\n \"context\": \"string\",\r\n \"context_type\": \"string\",\r\n \"primarycategory\": \"string\",\r\n \"channel\": \"string\",\r\n \"data\": {\r\n \"templateName\": \"string\",\r\n \"action\": \"string\",\r\n \"fields\": [\r\n {\r\n \"code\": \"string\",\r\n \"dataType\": \"string\",\r\n \"description\": \"string\",\r\n \"editable\": true,\r\n \"inputType\": \"string\",\r\n \"label\": \"string\",\r\n \"name\": \"string\",\r\n \"index\": 0,\r\n \"placeholder\": \"string\",\r\n \"required\": true,\r\n \"visible\": true,\r\n \"renderingHints\": {}\r\n }\r\n ]\r\n }\r\n }\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/program/v1/form/update", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "form", + "update" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 10:24:55 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "381" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29999" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"17d-p4/9VBhttZDXBF2y4OU9e54E44s\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "270" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "23" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.form.update\",\n \"ver\": \"1.0\",\n \"ts\": \"2023-01-30T10:24:55.870Z\",\n \"params\": {\n \"resmsgid\": \"574835e0-a088-11ed-a249-d1c2d4936c48\",\n \"msgid\": \"571fc650-a088-11ed-a249-d1c2d4936c48\",\n \"status\": \"successful\",\n \"err\": null,\n \"errmsg\": null\n },\n \"responseCode\": \"OK\",\n \"result\": {\n \"channel\": \"string\",\n \"objecttype\": \"*\",\n \"operation\": \"string\",\n \"primarycategory\": \"string\",\n \"context\": \"string\",\n \"context_type\": \"string\"\n }\n}" + }, + { + "name": "400 without request params", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {}\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/program/v1/form/update", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "form", + "update" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 10:19:32 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "307" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29998" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"133-d+MeORWSzOd3VtHCVtL8+ufUM40\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "9" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.form.update\",\n \"ver\": \"1.0\",\n \"ts\": \"2023-01-30T10:19:32.583Z\",\n \"params\": {\n \"resmsgid\": \"96968770-a087-11ed-a249-d1c2d4936c48\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_UPDATE_FORM_DATA\",\n \"errmsg\": \"Required fields for updating form data are missing\"\n },\n \"responseCode\": \"FORM_FRMCRT01_CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "401 Unauthorized", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \"objectype\": \"string\",\r\n \"operation\": \"string\",\r\n \"context\": \"string\",\r\n \"context_type\": \"string\",\r\n \"primarycategory\": \"string\",\r\n \"channel\": \"string\",\r\n \"data\": {\r\n \"templateName\": \"string\",\r\n \"action\": \"string\",\r\n \"fields\": [\r\n {\r\n \"code\": \"string\",\r\n \"dataType\": \"string\",\r\n \"description\": \"string\",\r\n \"editable\": true,\r\n \"inputType\": \"string\",\r\n \"label\": \"string\",\r\n \"name\": \"string\",\r\n \"index\": 0,\r\n \"placeholder\": \"string\",\r\n \"required\": true,\r\n \"visible\": true,\r\n \"renderingHints\": {}\r\n }\r\n ]\r\n }\r\n }\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/program/v1/form/update", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "form", + "update" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 10:21:59 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + } + ], + "cookie": [], + "body": "{\n \"message\": \"Unauthorized\"\n}" + }, + { + "name": "404 Not Found", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \"objectype\": \"string\",\r\n \"operation\": \"string\",\r\n \"context\": \"string\",\r\n \"context_type\": \"string\",\r\n \"primarycategory\": \"string\",\r\n \"channel\": \"string\",\r\n \"data\": {\r\n \"templateName\": \"string\",\r\n \"action\": \"string\",\r\n \"fields\": [\r\n {\r\n \"code\": \"string\",\r\n \"dataType\": \"string\",\r\n \"description\": \"string\",\r\n \"editable\": true,\r\n \"inputType\": \"string\",\r\n \"label\": \"string\",\r\n \"name\": \"string\",\r\n \"index\": 0,\r\n \"placeholder\": \"string\",\r\n \"required\": true,\r\n \"visible\": true,\r\n \"renderingHints\": {}\r\n }\r\n ]\r\n }\r\n }\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/program/v1/form/upda", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "form", + "upda" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 10:22:18 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + } + ], + "cookie": [], + "body": "{\n \"request_path\": \"/program/v1/form/\",\n \"message\": \"API not found with these values\",\n \"request_host\": [\n \"dock.sunbirded.org\"\n ]\n}" + } + ] + } + ], + "description": "StartFragment\n\nThis API is used to update the form metadata as per the requirement or choice\n\n- The endpoint for **Update Form** is `/api/program/v1/form/update`\n \n\nEndFragment" + }, + { + "name": "Read", + "item": [ + { + "name": "Read Form", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \"objectype\": \"string\",\r\n \"operation\": \"string\",\r\n \"context\": \"string\",\r\n \"context_type\": \"string\",\r\n \"primarycategory\": \"string\",\r\n \"channel\": \"string\",\r\n \"data\": {\r\n \"templateName\": \"string\",\r\n \"action\": \"string\",\r\n \"fields\": [\r\n {\r\n \"code\": \"string\",\r\n \"dataType\": \"string\",\r\n \"description\": \"string\",\r\n \"editable\": true,\r\n \"inputType\": \"string\",\r\n \"label\": \"string\",\r\n \"name\": \"string\",\r\n \"index\": 0,\r\n \"placeholder\": \"string\",\r\n \"required\": true,\r\n \"visible\": true,\r\n \"renderingHints\": {}\r\n }\r\n ]\r\n }\r\n }\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/program/v1/form/read", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "form", + "read" + ] + } + }, + "response": [ + { + "name": "200 Success", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \"objectype\": \"string\",\r\n \"operation\": \"string\",\r\n \"context\": \"string\",\r\n \"context_type\": \"string\",\r\n \"primarycategory\": \"string\",\r\n \"channel\": \"string\",\r\n \"data\": {\r\n \"templateName\": \"string\",\r\n \"action\": \"string\",\r\n \"fields\": [\r\n {\r\n \"code\": \"string\",\r\n \"dataType\": \"string\",\r\n \"description\": \"string\",\r\n \"editable\": true,\r\n \"inputType\": \"string\",\r\n \"label\": \"string\",\r\n \"name\": \"string\",\r\n \"index\": 0,\r\n \"placeholder\": \"string\",\r\n \"required\": true,\r\n \"visible\": true,\r\n \"renderingHints\": {}\r\n }\r\n ]\r\n }\r\n }\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/program/v1/form/read", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "form", + "read" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 10:20:37 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "273" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29996" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"111-T2BMDYbDXNDfRFuDHkSK25vQ68A\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "263" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.form.read\",\n \"ver\": \"1.0\",\n \"ts\": \"2023-01-30T10:29:15.832Z\",\n \"params\": {\n \"resmsgid\": \"f23b4380-a088-11ed-a249-d1c2d4936c48\",\n \"msgid\": \"string\",\n \"status\": \"successful\",\n \"err\": null,\n \"errmsg\": null\n },\n \"responseCode\": \"OK\",\n \"result\": {}\n}" + }, + { + "name": "400 without request params", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \r\n }\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/program/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "form", + "create" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 10:19:32 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "307" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29998" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"133-d+MeORWSzOd3VtHCVtL8+ufUM40\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "9" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.form.read\",\n \"ver\": \"1.0\",\n \"ts\": \"2023-01-30T10:31:45.681Z\",\n \"params\": {\n \"resmsgid\": \"4b8c6811-a089-11ed-a249-d1c2d4936c48\",\n \"msgid\": null,\n \"status\": \"failed\",\n \"err\": \"ERR_GET_FORM_DATA\",\n \"errmsg\": \"Required fields to get form are missing\"\n },\n \"responseCode\": \"FORM_FRMRED01_CLIENT_ERROR\",\n \"result\": {}\n}" + }, + { + "name": "401 Unauthorized", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \"objectype\": \"string\",\r\n \"operation\": \"string\",\r\n \"context\": \"string\",\r\n \"context_type\": \"string\",\r\n \"primarycategory\": \"string\",\r\n \"channel\": \"string\",\r\n \"data\": {\r\n \"templateName\": \"string\",\r\n \"action\": \"string\",\r\n \"fields\": [\r\n {\r\n \"code\": \"string\",\r\n \"dataType\": \"string\",\r\n \"description\": \"string\",\r\n \"editable\": true,\r\n \"inputType\": \"string\",\r\n \"label\": \"string\",\r\n \"name\": \"string\",\r\n \"index\": 0,\r\n \"placeholder\": \"string\",\r\n \"required\": true,\r\n \"visible\": true,\r\n \"renderingHints\": {}\r\n }\r\n ]\r\n }\r\n }\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/program/v1/form/read", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "form", + "read" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 10:21:59 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + } + ], + "cookie": [], + "body": "{\n \"message\": \"Unauthorized\"\n}" + }, + { + "name": "404 Not Found", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \"objectype\": \"string\",\r\n \"operation\": \"string\",\r\n \"context\": \"string\",\r\n \"context_type\": \"string\",\r\n \"primarycategory\": \"string\",\r\n \"channel\": \"string\",\r\n \"data\": {\r\n \"templateName\": \"string\",\r\n \"action\": \"string\",\r\n \"fields\": [\r\n {\r\n \"code\": \"string\",\r\n \"dataType\": \"string\",\r\n \"description\": \"string\",\r\n \"editable\": true,\r\n \"inputType\": \"string\",\r\n \"label\": \"string\",\r\n \"name\": \"string\",\r\n \"index\": 0,\r\n \"placeholder\": \"string\",\r\n \"required\": true,\r\n \"visible\": true,\r\n \"renderingHints\": {}\r\n }\r\n ]\r\n }\r\n }\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/program/v1/form/", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "form", + "" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 10:22:18 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + } + ], + "cookie": [], + "body": "{\n \"request_path\": \"/program/v1/form/\",\n \"message\": \"API not found with these values\",\n \"request_host\": [\n \"dock.sunbirded.org\"\n ]\n}" + } + ] + } + ], + "description": "StartFragment\n\nThis API is used to view and read the form data and other fields of the form\n\n- The endpoint for **Read Form** is `/api/program/v1/form/read`\n \n\nEndFragment" + } + ] + }, + { + "name": "Contributor Search", + "item": [ + { + "name": "Contributor Search", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \"filters\": {\r\n \"user_org\": {\r\n \"orgId\": {\r\n \"eq\": \"18180aff-07ba-4f50-bf4a-04ace80f303b\"\r\n },\r\n \"roles\": [\r\n \r\n ]\r\n }\r\n },\r\n \"fields\": [],\r\n \"limit\": 1,\r\n \"offset\": 0\r\n }\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/program/v1/contributor/search", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "contributor", + "search" + ] + } + }, + "response": [ + { + "name": "200 Success", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \"filters\": {\r\n \"user_org\": {\r\n \"orgId\": {\r\n \"eq\": \"18180aff-07ba-4f50-bf4a-04ace80f303b\"\r\n },\r\n \"roles\": [\r\n \r\n ]\r\n }\r\n },\r\n \"fields\": [],\r\n \"limit\": 1,\r\n \"offset\": 0\r\n }\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/program/v1/contributor/search", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "contributor", + "search" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 10:36:34 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "278" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29998" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"116-YsshrBjoVdAAQ7RdNtEKdlXlzWs\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "88" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.contributor.search\",\n \"ts\": \"2021-03-18T08:27:48.088Z\",\n \"params\": {\n \"resmsgid\": \"d2428781-87c3-11eb-b183-812ff6fd6d0a\",\n \"msgid\": \"d2428780-87c3-11eb-b183-812ff6fd6d0a\",\n \"status\": \"successful\",\n \"err\": \"\",\n \"errmsg\": \"\"\n },\n \"responseCode\": \"OK\",\n \"result\": {\n \"description\": \"This represents the Contributor search success Result\",\n \"contributor\": [\n {\n \"lastName\": \"\",\n \"maskedPhone\": \"\",\n \"roles\": [\n \"PUBLIC\"\n ],\n \"channel\": \"15Aug123\",\n \"stateValidated\": true,\n \"maskedEmail\": \"15*************@yopmail.com\",\n \"id\": \"ee44960b-a95a-4f23-80dc-7cdacf778081\",\n \"identifier\": \"ee44960b-a95a-4f23-80dc-7cdacf778081\",\n \"userName\": \"15augreviewer48@yopmail.com\",\n \"rootOrgId\": \"013088773085405184115\",\n \"userId\": \"ee44960b-a95a-4f23-80dc-7cdacf778081\",\n \"firstName\": \"15augreviewer48\",\n \"emailVerified\": true,\n \"status\": 1,\n \"name\": \"15augreviewer48 \",\n \"User\": {\n \"lastName\": \"\",\n \"osUpdatedAt\": \"2020-08-18T13:03:50.175Z\",\n \"firstName\": \"15augreviewer48\",\n \"osCreatedAt\": \"2020-08-18T13:03:50.175Z\",\n \"enrolledDate\": \"2020-08-18T13:03:48.576Z\",\n \"@type\": \"User\",\n \"channel\": \"013088773085405184115\",\n \"osid\": \"4a409368-e6c5-46a1-b8ab-b9fdad5fc8f3\",\n \"userId\": \"ee44960b-a95a-4f23-80dc-7cdacf778081\"\n },\n \"User_Org\": {\n \"osUpdatedAt\": \"2020-08-18T13:53:41.847Z\",\n \"osCreatedAt\": \"2020-08-18T13:53:41.847Z\",\n \"@type\": \"User_Org\",\n \"roles\": [\n \"user\",\n \"sourcing_reviewer\"\n ],\n \"osid\": \"61db4c43-d455-4cf9-91bd-b504d2fc74c0\",\n \"userId\": \"4a409368-e6c5-46a1-b8ab-b9fdad5fc8f3\",\n \"orgId\": \"18180aff-07ba-4f50-bf4a-04ace80f303b\"\n },\n \"selectedRole\": \"sourcing_reviewer\"\n }\n ],\n \"count\": 1\n }\n}" + }, + { + "name": "400 without org id", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \"filters\": {\r\n \"user_org\": {\r\n \"orgId\": {\r\n \"eq\": \"\"\r\n },\r\n \"roles\": [\r\n \r\n ]\r\n }\r\n },\r\n \"fields\": [],\r\n \"limit\": 1,\r\n \"offset\": 0\r\n }\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/program/v1/contributor/search", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "contributor", + "search" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 10:37:53 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Content-Length", + "value": "278" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "30000" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "29997" + }, + { + "key": "X-Powered-By", + "value": "Express" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,PUT,POST,PATCH,DELETE,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization,cid, user-id, x-auth, Cache-Control, X-Requested-With, datatype, *" + }, + { + "key": "ETag", + "value": "W/\"116-HBjkm2+M4aFHhoIzQZdFFRBLpDw\"" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "70" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.contributor.search\",\n \"ver\": \"1.0\",\n \"ts\": \"2023-01-30T10:37:53.541Z\",\n \"params\": {\n \"resmsgid\": \"26cf6351-a08a-11ed-a249-d1c2d4936c48\",\n \"msgid\": \"26cf6350-a08a-11ed-a249-d1c2d4936c48\",\n \"status\": \"failed\",\n \"errmsg\": \"Request failed with status code 401\"\n },\n \"responseCode\": \"SERVER_ERROR\"\n}" + }, + { + "name": "401 Unauthorized", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \"filters\": {\r\n \"user_org\": {\r\n \"orgId\": {\r\n \"eq\": \"18180aff-07ba-4f50-bf4a-04ace80f303b\"\r\n },\r\n \"roles\": [\r\n \r\n ]\r\n }\r\n },\r\n \"fields\": [],\r\n \"limit\": 1,\r\n \"offset\": 0\r\n }\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/program/v1/contributor/search", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "contributor", + "search" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 10:38:24 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + } + ], + "cookie": [], + "body": "{\n \"message\": \"Unauthorized\"\n}" + }, + { + "name": "404 Not Found", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "{{kong_api_key}}", + "type": "default" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \"filters\": {\r\n \"user_org\": {\r\n \"orgId\": {\r\n \"eq\": \"18180aff-07ba-4f50-bf4a-04ace80f303b\"\r\n },\r\n \"roles\": [\r\n \r\n ]\r\n }\r\n },\r\n \"fields\": [],\r\n \"limit\": 1,\r\n \"offset\": 0\r\n }\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/program/v1/contributor/", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "program", + "v1", + "contributor", + "" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Mon, 30 Jan 2023 10:38:42 GMT" + }, + { + "key": "Content-Type", + "value": "application/json; charset=utf-8" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + } + ], + "cookie": [], + "body": "{\n \"request_path\": \"/program/v1/contributor/\",\n \"message\": \"API not found with these values\",\n \"request_host\": [\n \"dock.sunbirded.org\"\n ]\n}" + } + ] + } + ] + } + ], + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "variable": [ + { + "key": "BaseUrl", + "value": "https://dock.sunbirded.org", + "type": "string" + } + ] +} \ No newline at end of file diff --git a/src/envVariables.js b/src/envVariables.js index b6211be3..d2a5335a 100644 --- a/src/envVariables.js +++ b/src/envVariables.js @@ -19,6 +19,7 @@ const envVariables = { SUNBIRD_KAFKA_BULKUPLOAD_CONSUMER_GROUP_ID:process.env.sunbird_kafka_bulkupload_consumer_group_id, SUNBIRD_ASSESSMENT_SERVICE_BASE_URL : process.env.sunbird_assessment_service_base_url, CORE_INGRESS_GATEWAY_IP: process.env.CORE_INGRESS_GATEWAY_IP, + COKREAT_USER_DELETE_KAFKA_TOPIC: process.env.cokreat_user_delete_kafka_topic || 'sunbirddev.delete.user', config: { user: process.env.sunbird_program_db_user || "postgres", host: process.env.sunbird_program_db_host || "localhost", diff --git a/src/helpers/programHelper.js b/src/helpers/programHelper.js index f6ce3f37..0ed11e33 100644 --- a/src/helpers/programHelper.js +++ b/src/helpers/programHelper.js @@ -140,7 +140,7 @@ class ProgramServiceHelper { return axios(option); } - async getCollectionWithProgramId(program_id, req) { + async getCollectionWithProgramId(program_id, req, frameworkCategories) { const program = await this.getProgramDetails(program_id); const queryFilter = { filters: { @@ -149,9 +149,10 @@ class ProgramServiceHelper { status: ['Draft'], primaryCategory: program.dataValues.target_collection_category }, - fields: ['name', 'medium', 'gradeLevel', 'subject', 'primaryCategory', 'chapterCount', 'acceptedContents', 'rejectedContents', 'openForContribution', 'chapterCountForContribution', 'mvcContributions'], + fields: ['name', 'primaryCategory', 'chapterCount', 'acceptedContents', 'rejectedContents', 'openForContribution', 'chapterCountForContribution', 'mvcContributions'], limit: 1000 }; + queryFilter.fields = [...queryFilter.fields, ...frameworkCategories]; return this.searchWithProgramId(queryFilter, req); } @@ -250,13 +251,13 @@ class ProgramServiceHelper { return promise; } - handleMultiProgramDetails(resGroup, programObjs, targetType = 'collections') { + handleMultiProgramDetails(resGroup, programObjs, targetType = 'collections', frameworkCategories) { const multiProgramDetails = _.map(resGroup, (resData) => { try { if (targetType === 'collections') { - return this.prepareTableData(resData); + return this.prepareTableData(resData, frameworkCategories); } else if(targetType === 'searchCriteria') { - return this.prepareContentsTableData(resData, programObjs); + return this.prepareContentsTableData(resData, programObjs, frameworkCategories); } } catch(err) { throw err @@ -264,7 +265,7 @@ class ProgramServiceHelper { }); return multiProgramDetails; } - prepareContentsTableData(resData, programObjs) { + prepareContentsTableData(resData, programObjs, frameworkCategories) { try { let contents = []; let tableData = []; @@ -280,12 +281,15 @@ class ProgramServiceHelper { }), (content) => { const program = programObjs[content.programId]; let result = {}; + frameworkCategories.forEach((cat)=>{ + if(Array.isArray(content[cat])){ + result[cat] = content[cat] && content[cat].length ? content[cat].join(', ') : '' + }else{ + result[cat] = content[cat] && content[cat].length ? content[cat] : '' + } + }) result[`Content Name`] = content.name || ''; result['Framework'] = content.framework || ''; - result['Board'] = content.board || ''; - result['Medium'] = content.medium && content.medium.length ? content.medium.join(', ') : ''; - result['Class'] = content.gradeLevel && content.gradeLevel.length ? content.gradeLevel.join(', ') : ''; - result['Subject'] = content.subject && content.subject.length ? content.subject.join(', ') : ''; result['Creator'] = content.creator || ''; result['Status'] = null; if (content.status === 'Live') { @@ -309,7 +313,7 @@ class ProgramServiceHelper { } } - prepareTableData (resData) { + prepareTableData (resData, frameworkCategories) { try { const collectionList = resData[0].data.result && resData[0].data.result.content || [], sampleContentWithOrgId = resData[1].data.result && resData[1].data.result.aggregations || [], @@ -332,10 +336,14 @@ class ProgramServiceHelper { tableData = _.map(openForContributionCollections, (collection) => { const result = {}; // sequence of columns in tableData + frameworkCategories.forEach((cat)=>{ + if(Array.isArray(collection[cat])){ + result[cat] = collection[cat] && collection[cat].length ? collection[cat].join(', ') : '' + }else{ + result[cat] = collection[cat] && collection[cat].length ? collection[cat] : '' + } + }) result[`${collection.primaryCategory} Name`] = collection.name || ''; - result['Medium'] = collection.medium || ''; - result['Class'] = collection.gradeLevel && collection.gradeLevel.length ? collection.gradeLevel.join(', ') : ''; - result['Subject'] = collection.subject || ''; result['Number of Chapters'] = collection.chapterCountForContribution || collection.chapterCount || 0; result['Nominations Received'] = 0; result['Samples Received'] = 0; @@ -455,7 +463,7 @@ class ProgramServiceHelper { return axios(option); } - getCollectionHierarchy(req, program_id, openForContribution) { + getCollectionHierarchy(req, program_id, openForContribution, frameworkCategories) { return new Promise((resolve, reject) => { this.getCollectionWithProgramId(program_id, req).then((res_collection) => { const collectionArr = res_collection.data && res_collection.data.result && res_collection.data.result.content || []; @@ -475,7 +483,7 @@ class ProgramServiceHelper { }); } - const contentCount = this.approvedContentCount(hierarchyArr, program_id); + const contentCount = this.approvedContentCount(hierarchyArr, program_id, frameworkCategories); resolve(contentCount); } catch (err) { reject('programServiceException: error in counting the approved contents'); @@ -489,14 +497,14 @@ class ProgramServiceHelper { }); } - approvedContentCount(collectionHierarchy, program_id) { + approvedContentCount(collectionHierarchy, program_id, frameworkCategories) { const collectionWithApprovedContent = _.map(collectionHierarchy, collection => { this.acceptedContents = _.uniq(collection.acceptedContents) || []; this.rejectedContents = _.uniq(collection.rejectedContents) || []; this.collectionData = {}; this.collectionData['totalContentsReviewed'] = (_.union(this.acceptedContents, this.rejectedContents)).length; this.collectionData['contributionsReceived'] = 0; - this.collectionLevelCount(collection); + this.collectionLevelCount(collection, frameworkCategories); // Count of contribution @@ -515,14 +523,18 @@ class ProgramServiceHelper { return {program_id: program_id, collection: collectionWithApprovedContent}; } - collectionLevelCount(data) { + collectionLevelCount(data, frameworkCategories) { const self = this; if ((data.primaryCategory === 'Digital Textbook' || data.primaryCategory === 'Course' || data.primaryCategory === 'Content Playlist') && data.visibility === 'Default') { + frameworkCategories.forEach((cat)=>{ + if(Array.isArray(content[cat])){ + result[cat] = collection[cat] && collection[cat].length ? collection[cat].join(', ') : '' + }else{ + result[cat] = collection[cat] && collection[cat].length ? collection[cat] : '' + } + }) this.collectionData['name'] = data.name; this.collectionData['identifier'] = data.identifier; - this.collectionData['grade'] = _.isArray(data.gradeLevel) ? data.gradeLevel.join(", ") : data.gradeLevel || ''; - this.collectionData['medium'] = _.isArray(data.medium) ? data.medium.join(", ") : data.medium || ''; - this.collectionData['subject'] = _.isArray(data.subject) ? data.subject.join(", ") : data.subject || ''; this.collectionData['count'] = this.acceptedContents.length; this.collectionData['chapter'] = []; this.recursive = true; @@ -552,7 +564,7 @@ class ProgramServiceHelper { } if (data.children && this.recursive) { this.recursive = false; - _.forEach(data.children, child => self.collectionLevelCount(child)); + _.forEach(data.children, child => self.collectionLevelCount(child, frameworkCategories)); } } @@ -579,7 +591,7 @@ class ProgramServiceHelper { } } - textbookLevelContentMetrics(collectedData) { + textbookLevelContentMetrics(collectedData, frameworkCategories) { return new Promise((resolve, reject) => { forkJoin(..._.map(collectedData, data => this.getProgramDetails(data.program_id))).subscribe(details => { try { @@ -592,10 +604,14 @@ class ProgramServiceHelper { const overalData = _.map(collectedData, data => { if (data.collection && data.collection.length) { const tableObj = _.map(data.collection, (collection) => { + frameworkCategories.forEach((cat)=>{ + if(Array.isArray(content[cat])){ + result[cat] = collection[cat] && collection[cat].length ? collection[cat].join(', ') : '' + }else{ + result[cat] = collection[cat] && collection[cat].length ? collection[cat] : '' + } + }) const final = {}; - final['Medium'] = collection.medium; - final['Grade'] = collection.grade; - final['Subject'] = collection.subject; final[`${collection.primaryCategory} Name`] = collection.name; final['Total Number of Chapters'] = collection.chapter ? collection.chapter.length : 0; final['Total Contents Contributed'] = collection.contributionsReceived ? collection.contributionsReceived : 0; @@ -623,7 +639,7 @@ class ProgramServiceHelper { }); } - chapterLevelContentMetrics(collectedData) { + chapterLevelContentMetrics(collectedData, frameworkCategories) { return new Promise((resolve, reject) => { forkJoin(..._.map(collectedData, data => this.getProgramDetails(data.program_id))).subscribe(details => { try { @@ -637,10 +653,14 @@ class ProgramServiceHelper { if (data.collection && data.collection.length) { const tableObj = _.map(data.collection, (collection) => { const unitDetails = _.map(collection.chapter, unit => { + frameworkCategories.forEach((cat)=>{ + if(Array.isArray(content[cat])){ + result[cat] = collection[cat] && collection[cat].length ? collection[cat].join(', ') : '' + }else{ + result[cat] = collection[cat] && collection[cat].length ? collection[cat] : '' + } + }) const final = {}; - final['Medium'] = collection.medium; - final['Grade'] = collection.grade; - final['Subject'] = collection.subject; final[`${collection.primaryCategory} Name`] = collection.name; final['Chapter Name'] = unit.name; final['Total Contents Contributed'] = unit.contentsContributed || 0; @@ -670,9 +690,10 @@ class ProgramServiceHelper { copyCollections(data, req, response, cb) { const channel = _.get(req, 'body.request.channel'); const reqHeaders = req.headers; + let logMsg = (_.get(data, 'type') === 'public') ? programMessages.PUBLISH.INFO : contentMessages.UNLISTED_PUBLISH.INFO; const logObject = { traceId : reqHeaders['x-request-id'] || '', - message : (_.get(data, 'type') === 'public') ? programMessages.PUBLISH.INFO : contentMessages.UNLISTED_PUBLISH.INFO + message : "copyCollections() - " + logMsg } loggerService.entryLog({programId: _.get(data, 'program_id') || ''}, logObject); const errObj = req.rspObj; @@ -708,6 +729,7 @@ class ProgramServiceHelper { const existingTextbooks = hierarchyService.getExistingCollection(consolidatedResult); const nonExistingTextbooks = hierarchyService.getNonExistingCollection(consolidatedResult) + // loggerService.debugLog({"filterExistingTextbooks": "Success"}); if (existingTextbooks && existingTextbooks.length > 0) { hierarchyService.getHierarchy(existingTextbooks, reqHeaders) @@ -723,7 +745,8 @@ class ProgramServiceHelper { if (cindex !== -1) { children = collections[cindex].children; } - + // loggerService.debugLog({"getHierarchy - ": "Success"}); + return hierarchyService.existingHierarchyUpdateRequest(c, additionalMetaData, children); }) hierarchyService.bulkUpdateHierarchy(getCollectiveRequest, reqHeaders) @@ -769,11 +792,13 @@ class ProgramServiceHelper { const originHierarchyResultData = _.map(originHierarchyResult, r => { return _.get(r, 'data') }) - + // loggerService.debugLog({"getHierarchy - ": "Success"}); + hierarchyService.createCollection(originHierarchyResultData, reqHeaders) .subscribe(createResponse => { const originHierarchy = _.map(originHierarchyResultData, 'result.content'); - + + // loggerService.debugLog({"createCollection - Success. ": originHierarchyResultData }); const createdCollections = _.map(createResponse, cr => { const mapOriginalHierarchy = { creationResult: cr.data, @@ -932,7 +957,7 @@ class ProgramServiceHelper { * @param integer program_id Program id * @param integer user_id User id */ - async onAfterAddNomination(program_id, user_id) { + async onAfterAddNomination(program_id, user_id, frameworkCategories) { const program = await this.getProgramDetails(program_id); const value = {}; value['body'] = { @@ -950,17 +975,20 @@ class ProgramServiceHelper { registryService.searchRecord(value, (err, res) => { if (!err && res) { const user = _.first(res.data.result.User); + let User ={} + User.osid = user.osid; + if(!!frameworkCategories){ + frameworkCategories.forEach((cat) =>{ + User[cat] = _.union(user[cat], program.config[cat]) + }) + } + const updateRequestBody = {}; updateRequestBody['body'] = { "id": "open-saber.registry.update", "ver": "1.0", "request": { - "User": { - "osid": user.osid, - "medium": _.union(user.medium, program.config.medium), - "gradeLevel": _.union(user.gradeLevel, program.config.gradeLevel), - "subject": _.union(user.subject, program.config.subject) - } + "User": User } }; registryService.updateRecord(updateRequestBody, (error, response) => { @@ -1067,14 +1095,17 @@ class ProgramServiceHelper { }); const programIds = _.uniq(_.map(nominatedPrograms, 'dataValues.program_id')); + let fieldsInConfig = (data.request.frameworkCategoryFields || []).concat(['defaultContributeOrgReview', 'framework', 'frameworkObj']) + let configFieldsInclude = _.map(fieldsInConfig, (field) => { + return [Sequelize.json(`config.${field}`), `${field}`] + }); // Get programs excuding nominated one return await model.program.findAll({ offset: data.request.offset || 0, limit: queryRes_Min, required: true, attributes: { - include: [[Sequelize.json('config.subject'), 'subject'], [Sequelize.json('config.defaultContributeOrgReview'), 'defaultContributeOrgReview'], [Sequelize.json('config.framework'), 'framework'], [Sequelize.json('config.board'), 'board'],[Sequelize.json('config.gradeLevel'), 'gradeLevel'], [Sequelize.json('config.medium'), 'medium'], [Sequelize.json('config.frameworkObj'), 'frameworkObj']], - exclude: ['config', 'description'], + include: configFieldsInclude, }, where: { ...filters, @@ -1126,6 +1157,11 @@ class ProgramServiceHelper { // Remove nomination filter object delete data.request.filters.nomination; + let fieldsInConfig = (data.request.frameworkCategoryFields || []).concat(['defaultContributeOrgReview', 'framework', 'frameworkObj']) + let configFieldsInclude = _.map(fieldsInConfig, (field) => { + return [Sequelize.json(`config.${field}`), `${field}`] + }); + return await model.nomination.findAll({ where: { ...whereCond @@ -1136,7 +1172,7 @@ class ProgramServiceHelper { model: model.program, required: true, attributes: { - include: [[Sequelize.json('config.subject'), 'subject'], [Sequelize.json('config.defaultContributeOrgReview'), 'defaultContributeOrgReview'], [Sequelize.json('config.framework'), 'framework'], [Sequelize.json('config.board'), 'board'],[Sequelize.json('config.gradeLevel'), 'gradeLevel'], [Sequelize.json('config.medium'), 'medium'], [Sequelize.json('config.frameworkObj'), 'frameworkObj']], + include: configFieldsInclude, exclude: ['config', 'description'], }, where: { @@ -1179,6 +1215,10 @@ class ProgramServiceHelper { let whereCond = { $contains: Sequelize.literal(`cast(nomination.rolemapping->>'${role}' as text) like ('%${user_id}%')`), }; + let fieldsInConfig = (data.request.frameworkCategoryFields || []).concat(['defaultContributeOrgReview', 'framework', 'frameworkObj']) + let configFieldsInclude = _.map(fieldsInConfig, (field) => { + return [Sequelize.json(`config.${field}`), `${field}`] + }); promises.push( model.nomination.findAndCountAll({ where: { @@ -1192,7 +1232,7 @@ class ProgramServiceHelper { model: model.program, required: true, attributes: { - include: [[Sequelize.json('config.subject'), 'subject'], [Sequelize.json('config.defaultContributeOrgReview'), 'defaultContributeOrgReview'], [Sequelize.json('config.framework'), 'framework'], [Sequelize.json('config.board'), 'board'],[Sequelize.json('config.gradeLevel'), 'gradeLevel'], [Sequelize.json('config.medium'), 'medium'], [Sequelize.json('config.frameworkObj'), 'frameworkObj']], + include: configFieldsInclude, exclude: ['config', 'description'], }, where: { diff --git a/src/helpers/responseUtil.js b/src/helpers/responseUtil.js index c2be2184..1d8d7a08 100644 --- a/src/helpers/responseUtil.js +++ b/src/helpers/responseUtil.js @@ -2,6 +2,9 @@ const logger = require('sb_logger_util_v2'); const uuid = require("uuid/v1"); const stackTrace_MaxLimit = 500; const _ = require('lodash'); +const messageUtils = require('../service/messageUtil'); +const responseCode = messageUtils.RESPONSE_CODE; +const loggerService = require('../service/loggerService'); const successResponse = (data) => { @@ -10,21 +13,52 @@ const successResponse = (data) => { response.ver = data.apiVersion response.ts = new Date() response.params = getParams(data.msgid, data.resmsgid, 'successful', null, null) - response.responseCode = data.responseCode || 'OK' - response.result = data.result + response.responseCode = data.responseCode || responseCode.SUCCESS + response.result = data.result || {} return response } - -const errorResponse = (data,errCode) => { +const errorResponse = (data) => { var response = {} response.id = data.apiId response.ver = data.apiVersion response.ts = new Date() response.params = getParams(data.msgid, data.resmsgid, 'failed', data.errCode, data.errMsg) - response.responseCode = errCode+'_'+data.responseCode - response.result = data.result + response.responseCode = data.responseCode + response.result = data.result || {}; + return response +} + +const responseObject = (data) => { + var response = {} + const responseStatus = (data.errCode) ? 'failed' : 'successfull' + const errorCode = data.errCode || null + const errMsg = data.errMsg || null + response.id = data.apiId + response.ver = data.apiVersion + response.ts = new Date() + response.params = getParams(data.msgid, data.resmsgid, responseStatus, errorCode, errMsg) + response.responseCode = data.responseCode + response.result = data.result || {}; return response } +const handleSuccessResponse = (req, response, logObject) => { + var rspObj = req.rspObj + loggerService.exitLog({responseCode: rspObj.responseCode}, logObject); + return response.status(200).send(responseObject(rspObj)); +} + +const handleErrorResponse = (req, response, logObject, error) => { + var rspObj = req.rspObj + console.log(`${rspObj.apiId}`, JSON.stringify(error)) + if(error && error.response && error.response.data) { + console.log(`${rspObj.apiId}`, JSON.stringify(error.response.data)); + } + const statusCode = rspObj.statusCode || 500; + rspObj.responseCode = rspObj.responseCode || responseCode.SERVER_ERROR; + loggerError(rspObj, rspObj.errCode); + loggerService.exitLog({responseCode: rspObj.responseCode}, logObject); + return response.status(statusCode).send(responseObject(rspObj)); +} const getParams = (msgId = null, resmsgId = null, status, errCode, msg) => { var params = {} @@ -52,5 +86,7 @@ module.exports = { successResponse, errorResponse, getParams, - loggerError + loggerError, + handleSuccessResponse, + handleErrorResponse } diff --git a/src/helpers/updateHierarchy.helper.js b/src/helpers/updateHierarchy.helper.js index de96a09c..6e6357d4 100644 --- a/src/helpers/updateHierarchy.helper.js +++ b/src/helpers/updateHierarchy.helper.js @@ -71,6 +71,7 @@ class HierarchyService { } createCollection(collections, reqHeaders) { + // loggerService.debugLog("createCollection() - "); const url = `${envVariables.CONTENT_SERVICE_URL}content/v4/create`; const bulkRequest = _.map(collections, collection => { @@ -119,6 +120,7 @@ class HierarchyService { identifier: collection.result.content.identifier } }; + // loggerService.debugLog({"CreateCollection data ": option}); return axios(option); }); return forkJoin(...bulkRequest); @@ -184,6 +186,7 @@ class HierarchyService { } newHierarchyUpdateRequest(collection, additionalMetaData, children) { + // loggerService.debugLog("newHierarchyUpdateRequest() - "); let instance = this; this.hierarchy = {}; this.nodeModified = {}; diff --git a/src/models/index.js b/src/models/index.js index 3d83cf8f..acfceec7 100644 --- a/src/models/index.js +++ b/src/models/index.js @@ -19,11 +19,8 @@ fs.readdirSync(__dirname) }); db.sequelize = sequelize; -db.Sequelize = Sequelize; - db.program.hasMany(db.nomination, {foreignKey: 'program_id'}); db.nomination.belongsTo(db.program, {foreignKey: 'program_id'}); HelperService.AttachModelHooks(db); - module.exports = db; diff --git a/src/routes/programRoutes.js b/src/routes/programRoutes.js index c405f1cf..3b931a63 100644 --- a/src/routes/programRoutes.js +++ b/src/routes/programRoutes.js @@ -1,6 +1,8 @@ const programService = require('../service/programService'); const userProgramPreference = require('../service/userProgramPreference'); const formConfig = require('../service/formConfig'); +const userService = require('../service/userService'); + const requestMiddleware = require('../middlewares/request.middleware') const BASE_URL = '/program/v1' @@ -133,4 +135,8 @@ module.exports = function (app) { app.route(BASE_URL + '/form/read') .post(requestMiddleware.gzipCompression(), requestMiddleware.createAndValidateRequestBody, formConfig.getForm) + + app.route(BASE_URL + '/user/:userId') + .delete(requestMiddleware.createAndValidateRequestBody, + userService.deleteUser) } \ No newline at end of file diff --git a/src/service/loggerService.js b/src/service/loggerService.js index bca670e6..383fdef2 100644 --- a/src/service/loggerService.js +++ b/src/service/loggerService.js @@ -63,6 +63,21 @@ function exitLog(data, logObject) { return log; } +function debugLog(logObject){ + const log = { + "eid": "LOG", + "edata": { + "type": "system", + "level": "TRACE", + "message": JSON.stringify(logObject), + } + } + logger.debug({ msg: 'Debug info', log}); + return log; + +} + module.exports.logFormate = logFormate; module.exports.entryLog = entryLog; module.exports.exitLog = exitLog; +module.exports.debugLog = debugLog; diff --git a/src/service/messageUtil.js b/src/service/messageUtil.js index 39689ca6..1ec54f1b 100644 --- a/src/service/messageUtil.js +++ b/src/service/messageUtil.js @@ -514,10 +514,9 @@ exports.EMAIL = { } exports.HEALTH_CHECK = { - EK_STEP: { - NAME: 'ekstep.api', - FAILED_CODE: 'CONTENT_PROVIDER_HEALTH_FAILED', - FAILED_MESSAGE: 'Content provider service is not healthy' + POSTGRES_DB: { + FAILED_CODE: 'POSTGRES_HEALTH_FAILED', + FAILED_MESSAGE: 'Postgres db is not connected' }, LEARNER_SERVICE: { NAME: 'learnerservice.api', @@ -539,7 +538,6 @@ exports.DIALCODE = { FAILED_MESSAGE: 'Generate dialcode failed', MISSING_COUNT: 'ERR_DIALCODE_GENERATE_COUNT_ERROR', MISSING_COUNT_MESSAGE: 'Required fields count is missing or invalid' - }, LIST: { @@ -1011,3 +1009,15 @@ exports.PROGRAM_FEED = { INFO: 'Search For Program Feed Updates' } } + +exports.USER = { + DELETE: { + FAILED_CODE: "ERR_DELETING_USER_FAILED", + MISSING_CODE: 'ERR_DELETING_USER_MISSING', + MISSING_MESSAGE: "User id is not passed in the request", + FAILED_MESSAGE: 'Unable to delete given user', + EXCEPTION_CODE: 'USER_DEL', + INFO: 'Delete User' + } +} + diff --git a/src/service/print/printDocxV1.0/dataImporter.js b/src/service/print/printDocxV1.0/dataImporter.js index 43dda1ca..293136e3 100644 --- a/src/service/print/printDocxV1.0/dataImporter.js +++ b/src/service/print/printDocxV1.0/dataImporter.js @@ -15,7 +15,7 @@ const fields = "body,primaryCategory,mimeType,qType,answer,templateId,responseDeclaration,interactionTypes,interactions,name,solutions,editorState,media,name,board,medium,gradeLevel,subject,topic,learningOutcome,maxScore,bloomsLevel,author,copyright,license,instructions"; const QUE_READ_URL= `${envVariables.SUNBIRD_ASSESSMENT_SERVICE_BASE_URL}/question/v4/read/`; -const QS_HIERARCHY_READ_URL = `${envVariables.SUNBIRD_ASSESSMENT_SERVICE_BASE_URL}/questionset/v4/hierarchy/`; +const QS_HIERARCHY_READ_URL = `${envVariables.SUNBIRD_ASSESSMENT_SERVICE_BASE_URL}/questionset/v5/hierarchy/`; const getQuestionForSet = async (id) => { @@ -47,7 +47,7 @@ const getQuestionSet = async (config) => { }; return axios(request).then(async (r) => { - const data = r.data.result.questionSet; + const data = r.data.result.questionset; let sections; if (data && "children" in data) sections = data.children; else { diff --git a/src/service/programService.js b/src/service/programService.js index 5467633f..8f4d4802 100644 --- a/src/service/programService.js +++ b/src/service/programService.js @@ -3,7 +3,7 @@ const uuid = require("uuid/v1"); const logger = require('sb_logger_util_v2'); const SbCacheManager = require('sb_cache_manager'); const messageUtils = require('./messageUtil'); -const { successResponse, errorResponse, loggerError } = require('../helpers/responseUtil'); +const { successResponse, errorResponse, loggerError, handleSuccessResponse, handleErrorResponse } = require('../helpers/responseUtil'); const Sequelize = require('sequelize'); const moment = require('moment'); const loggerService = require('./loggerService'); @@ -15,6 +15,7 @@ const contentTypeMessages = messageUtils.CONTENT_TYPE; const configurationMessages = messageUtils.CONFIGURATION; const errorCodes = messageUtils.ERRORCODES; const model = require('../models'); +console.log(model); const { from } = require("rxjs"); const { @@ -40,8 +41,7 @@ const cacheManager = new SbCacheManager({ttl: envVariables.CACHE_TTL}); const cacheManager_programReport = new SbCacheManager({ttl: 86400}); const registryService = new RegistryService() const hierarchyService = new HierarchyService() -const UserService = require('./userService'); -const userService = new UserService(); +const userService = require('./userService'); function getProgram(req, response) { const logObject = { @@ -180,7 +180,7 @@ function publishProgram(req, response) { var reqBody = req.body; const logObject = { traceId : req.headers['x-request-id'] || '', - message : programMessages.PUBLISH.INFO + message : "publishProgram() - " + programMessages.PUBLISH.INFO } loggerService.entryLog(reqBody, logObject); @@ -200,6 +200,8 @@ function publishProgram(req, response) { req.rspObj.errCode = programMessages.EXCEPTION_CODE+'_'+contentMessages.UNLISTED_PUBLISH.EXCEPTION_CODE } if (_.get(program, 'program_id') && (_.get(program, 'target_type') === 'collections' || _.get(program, 'target_type') === null || _.isUndefined(_.get(program, 'target_type')))) { + console.log('copyCollectionsProgram'); + console.log('copyCollectionsProgramReq'); programServiceHelper.copyCollections(program, req, response, publishCallback); } else if (_.get(program, 'program_id')) { publishCallback(null, req, response, program); @@ -254,7 +256,6 @@ const publishCallback = function(errObj, req, response, program, copyCollectionR returning: true, individualHooks: true, }; - model.program.update(updateValue, updateQuery).then(resData => { if (_.isArray(resData) && !resData[0]) { loggerService.exitLog({responseCode: 'ERR_PUBLISH_PROGRAM', errCode: req.rspObj.errCode+errorCodes.CODE2}, logObject); @@ -284,7 +285,6 @@ const publishCallback = function(errObj, req, response, program, copyCollectionR } }); }).catch(error => { - console.log(JSON.stringify(error)); loggerService.exitLog({responseCode: 'ERR_PUBLISH_PROGRAM', errCode: req.rspObj.errCode+errorCodes.CODE3}, logObject); loggerError(req.rspObj, req.rspObj.errCode+errorCodes.CODE3); req.rspObj.responseCode = 'ERR_PUBLISH_PROGRAM'; @@ -522,8 +522,8 @@ function onAfterPublishProgram(programDetails, reqHeaders, afterPublishCallback) afterPublishCallback(onPublishResult); } } - const dikshaUserProfilesApiResp = await userService.getDikshaUserProfiles({'headers': reqHeaders}, programDetails.createdby); - let orgUsersDetails = _.get(dikshaUserProfilesApiResp.data, 'result.response.content'); + const sunbirdUserProfilesApiResp = await userService.getSunbirdUserProfiles({'headers': reqHeaders}, programDetails.createdby); + let orgUsersDetails = _.get(sunbirdUserProfilesApiResp.data, 'result.response.content'); // create a registry for the user adn then an org and create mapping for the org as a admin if (orgUsersDetails) { const userDetails = _.first(orgUsersDetails); @@ -538,7 +538,7 @@ function onAfterPublishProgram(programDetails, reqHeaders, afterPublishCallback) createOrgMappingInRegistry(userDetails, userRegData, regMethodCallback); } } else { - onPublishResult['error'] = {msg: "error while getting users details from Diksha"}; + onPublishResult['error'] = {msg: "error while getting users details from Sunbird"}; afterPublishCallback(onPublishResult); } } @@ -997,7 +997,7 @@ async function programList(req, response) { res_limit = (data.request.limit < queryRes_Max) ? data.request.limit : (queryRes_Max); } - const filtersOnConfig = ['medium', 'subject', 'gradeLevel']; + const filtersOnConfig = data.request.frameworkCategoryFields || []; const filters = {}; filters[Op.and] = _.compact(_.map(data.request.filters, (value, key) => { const res = {}; @@ -1074,6 +1074,11 @@ async function programList(req, response) { return response.status(200).send(successResponse(rspObj)); } else { + let fieldsInConfig = (data.request.frameworkCategoryFields || []).concat(['defaultContributeOrgReview', 'framework', 'frameworkObj']) + let configFieldsInclude = _.map(fieldsInConfig, (field) => { + return [Sequelize.json(`config.${field}`), `${field}`] + }); + if (data.request.filters && data.request.filters.role && data.request.filters.user_id) { const promises = []; const roles = data.request.filters.role; @@ -1092,6 +1097,9 @@ async function programList(req, response) { ...data.request.filters, ...filters }, + attributes:{ + include : configFieldsInclude, + }, offset: res_offset, limit: res_limit, order: [ @@ -1112,14 +1120,14 @@ async function programList(req, response) { loggerService.exitLog({responseCode: rspObj.responseCode}, logObject); return response.status(200).send(successResponse(rspObj)); } else { - + const res = await model.program.findAll({ where: { ...filters, ...data.request.filters }, attributes: data.request.fields || { - include : [[Sequelize.json('config.subject'), 'subject'], [Sequelize.json('config.defaultContributeOrgReview'), 'defaultContributeOrgReview'], [Sequelize.json('config.framework'), 'framework'], [Sequelize.json('config.board'), 'board'],[Sequelize.json('config.gradeLevel'), 'gradeLevel'], [Sequelize.json('config.medium'), 'medium'], [Sequelize.json('config.frameworkObj'), 'frameworkObj']], + include : configFieldsInclude, exclude: ['config', 'description'] }, offset: res_offset, @@ -1128,6 +1136,7 @@ async function programList(req, response) { ['updatedon', 'DESC'] ] }); + let apiRes = _.map(res, 'dataValues'); if (data.request.sort){ apiRes = programServiceHelper.sortPrograms(apiRes, data.request.sort); @@ -1175,7 +1184,7 @@ function addNomination(req, response) { } model.nomination.create(insertObj).then(res => { - programServiceHelper.onAfterAddNomination(insertObj.program_id, insertObj.user_id); + programServiceHelper.onAfterAddNomination(insertObj.program_id, insertObj.user_id, data.request.frameworkCategories); loggerService.exitLog({responseCode: rspObj.responseCode, 'program_id': insertObj.program_id}, logObject); rspObj.responseCode = responseCode.SUCCESS; rspObj.result = { @@ -1312,7 +1321,7 @@ function getNominationsList(req, response) { }else if (data.request.limit === 0) { model.nomination.findAll({ where: { - ...findQuery + ...findQuery }, attributes: [...data.request.fields || []] }).then(async (result) => { @@ -1356,6 +1365,7 @@ function getNominationsList(req, response) { return response.status(200).send(successResponse(rspObj)) } const userOrgAPIPromise = []; + userOrgAPIPromise.push(userService.getSunbirdUserProfiles(req, userList, ['firstName', 'lastName', 'identifier'])); userOrgAPIPromise.push(getUsersDetails(req, userList)) if(!_.isEmpty(orgList)) { userOrgAPIPromise.push(getOrgDetails(req, orgList)); @@ -1363,26 +1373,21 @@ function getNominationsList(req, response) { forkJoin(...userOrgAPIPromise) .subscribe((resData) => { - const allUserData = _.first(resData); + const allUserSunbirdData = _.first(resData); + const allUserData = _.nth(resData, 1); const allOrgData = userOrgAPIPromise.length > 1 ? _.last(resData) : {}; - if(allUserData && !_.isEmpty(_.get(allUserData, 'data.result.User'))) { - const listOfUserId = _.map(result, 'user_id'); - _.forEach(allUserData.data.result.User, (userData) => { - const index = (userData && userData.userId) ? _.indexOf(listOfUserId, userData.userId) : -1; - if (index !== -1) { - result[index].dataValues.userData = userData; - } - }) - } - if(allOrgData && !_.isEmpty(_.get(allOrgData, 'data.result.Org'))) { - const listOfOrgId = _.map(result, 'organisation_id'); - _.forEach(allOrgData.data.result.Org, (orgData) => { - const index = (orgData && orgData.osid) ? _.indexOf(listOfOrgId, orgData.osid) : -1; - if (index !== -1) { - result[index].dataValues.orgData = orgData; - } - }) - } + + _.map(result, (nomElement) => { + if (nomElement.dataValues.user_id) { + const userSunbirdData = (allUserSunbirdData && !_.isEmpty(_.get(allUserSunbirdData, 'data.result.response.content'))) ?_.find(allUserSunbirdData.data.result.response.content, {'identifier' : nomElement.dataValues.user_id}) : {}; + const userOsData = (allUserData && !_.isEmpty(_.get(allUserData, 'data.result.User'))) ?_.find(allUserData.data.result.User, {'userId' : nomElement.user_id}): {}; + nomElement.dataValues.userData = _.assign(userOsData, userSunbirdData) + } + if (nomElement.dataValues.organisation_id) { + nomElement.dataValues.orgData = (allOrgData && !_.isEmpty(_.get(allOrgData, 'data.result.Org'))) ? _.find(allOrgData.data.result.Org, {'osid' : nomElement.organisation_id}) : {}; + } + }); + rspObj.result = result; rspObj.responseCode = responseCode.SUCCESS; loggerService.exitLog({responseCode: 'OK'}, logObject); @@ -1451,7 +1456,7 @@ async function downloadProgramDetails(req, res) { } promiseRequests = _.map(filteredPrograms, (program) => { if (!data.request.filters.targetType || data.request.filters.targetType === 'collections') { - return [programServiceHelper.getCollectionWithProgramId(program, req), programServiceHelper.getSampleContentWithOrgId(program, req),programServiceHelper.getSampleContentWithCreatedBy(program, req), programServiceHelper.getContributionWithProgramId(program, req), programServiceHelper.getNominationWithProgramId(program), programServiceHelper.getOveralNominationData(program)]; + return [programServiceHelper.getCollectionWithProgramId(program, req, data.request.filters.frameworkCategories), programServiceHelper.getSampleContentWithOrgId(program, req),programServiceHelper.getSampleContentWithCreatedBy(program, req), programServiceHelper.getContributionWithProgramId(program, req), programServiceHelper.getNominationWithProgramId(program), programServiceHelper.getOveralNominationData(program)]; } else if(data.request.filters.targetType === 'searchCriteria') { return[programServiceHelper.getContentContributionsWithProgramId(program, req)]; } @@ -1461,7 +1466,7 @@ async function downloadProgramDetails(req, res) { try{ const chunkNumber = (!data.request.filters.targetType || data.request.filters.targetType === 'collections') ? 6 : 1; const combainedRes = _.chunk(responseData, chunkNumber); - const programDetailsArray = programServiceHelper.handleMultiProgramDetails(combainedRes, programObjs, data.request.filters.targetType); + const programDetailsArray = programServiceHelper.handleMultiProgramDetails(combainedRes, programObjs, data.request.filters.targetType, data.request.filters.frameworkCategories); const tableData = _.reduce(programDetailsArray, (final, data, index) => { final.push({program_id: filteredPrograms[index], values: data}); return final; @@ -1772,10 +1777,10 @@ function getOrgDetails(req, orgList) { } async function getUsersDetailsById(req, response) { - const dikshaUserId = req.params.user_id + const sunbirdUserId = req.params.user_id async.waterfall([ function (callback1) { - getUserDetailsFromRegistry(dikshaUserId, callback1) + getUserDetailsFromRegistry(sunbirdUserId, callback1) }, function (user, callback2) { getUserOrgMappingDetailFromRegistry(user, callback2); @@ -1836,19 +1841,19 @@ async function contributorSearch(req, response) { const userListApiResp = await registryService.getUserList(data, userOsIds); const userList = _.get(userListApiResp.data, 'result.User'); - // Get Diksha user profiles - const dikshaUserIdentifier = _.uniq(_.map(userList, e => e.userId)); + // Get Sunbird user profiles + const sunbirdUserIdentifier = _.uniq(_.map(userList, e => e.userId)); - const dikshaUserProfilesApiResp = await userService.getDikshaUserProfiles(req, dikshaUserIdentifier); - let orgUsersDetails = _.get(dikshaUserProfilesApiResp.data, 'result.response.content'); + const sunbirdUserProfilesApiResp = await userService.getSunbirdUserProfiles(req, sunbirdUserIdentifier); + let orgUsersDetails = _.get(sunbirdUserProfilesApiResp.data, 'result.response.content'); - // Attach os user object details to diksha user profile + // Attach os user object details to Sunbird user profile if (!_.isEmpty(orgUsersDetails)) { const roles = _.get(data.request, 'filters.user_org.roles'); orgUsersDetails = _.map( - _.filter(orgUsersDetails, obj => { if (obj.identifier) { return obj; } }), + _.filter(orgUsersDetails, obj => { if (obj.identifier && !obj.isDeleted) { return obj; } }), (obj) => { - if (obj.identifier) { + if (obj.identifier && !obj.isDeleted) { const tempUserObj = _.find(userList, { 'userId': obj.identifier }); obj.name = `${ obj.firstName } ${ obj.lastName || '' }`; obj.User = _.find(userList, { 'userId': obj.identifier }); @@ -1858,7 +1863,7 @@ async function contributorSearch(req, response) { } }); - const defaultFields =["id","identifier","userId","rootOrgId","userName","status","roles","maskedEmail","maskedPhone","firstName","lastName","name","User","User_Org","stateValidated","selectedRole","channel"]; + const defaultFields =["id","identifier","userId","rootOrgId","userName","status","roles","maskedEmail","maskedPhone","firstName","lastName","name","User","User_Org","stateValidated","selectedRole","channel", "isDeleted"]; const fields = _.get(data.request, 'fields') || []; const keys = fields.length > 0 ? fields : defaultFields; orgUsersDetails = _.map(orgUsersDetails, e => _.pick(e, keys)); @@ -2026,8 +2031,6 @@ function createUserRecords(user, userOrgMapDetails, orgInfoList, callback) { logger.error("Error while parsing for user lists") callback("Some Internal processing error while parsing user details", null) } - - } function programSearch(req, response) { @@ -2436,7 +2439,7 @@ async function generateApprovedContentReport(req, res) { if (filteredPrograms.length) { try { const openForContribution = data.request.filters.openForContribution || false; - const requests = _.map(filteredPrograms, program => programServiceHelper.getCollectionHierarchy(req, program, openForContribution)); + const requests = _.map(filteredPrograms, program => programServiceHelper.getCollectionHierarchy(req, program, openForContribution), data.request.filters.frameworkCategories); const aggregatedResult = await Promise.all(requests); _.forEach(aggregatedResult, result => { cacheManager_programReport.set({ key: `approvedContentCount_${result.program_id}`, value: result }, @@ -2450,7 +2453,7 @@ async function generateApprovedContentReport(req, res) { }); if (data.request.filters.report === 'textbookLevelReport') { - const textbookLevelReport = await programServiceHelper.textbookLevelContentMetrics([...aggregatedResult, ...cacheData]); + const textbookLevelReport = await programServiceHelper.textbookLevelContentMetrics([...aggregatedResult, ...cacheData], data.request.filters.frameworkCategories); rspObj.result = { tableData: textbookLevelReport } @@ -2458,7 +2461,7 @@ async function generateApprovedContentReport(req, res) { loggerService.exitLog({responseCode: rspObj.responseCode}, logObject); return res.status(200).send(successResponse(rspObj)); } else if (data.request.filters.report === 'chapterLevelReport') { - const chapterLevelReport = await programServiceHelper.chapterLevelContentMetrics([...aggregatedResult, ...cacheData]); + const chapterLevelReport = await programServiceHelper.chapterLevelContentMetrics([...aggregatedResult, ...cacheData], data.request.filters.frameworkCategories); rspObj.result = { tableData: chapterLevelReport } @@ -2479,7 +2482,7 @@ async function generateApprovedContentReport(req, res) { } else { try { if (data.request.filters.report === 'textbookLevelReport') { - const textbookLevelReport = await programServiceHelper.textbookLevelContentMetrics([...cacheData]); + const textbookLevelReport = await programServiceHelper.textbookLevelContentMetrics([...cacheData], frameworkCategories); rspObj.result = { tableData: textbookLevelReport } @@ -2487,7 +2490,7 @@ async function generateApprovedContentReport(req, res) { loggerService.exitLog({responseCode: rspObj.responseCode}, logObject); return res.status(200).send(successResponse(rspObj)); } else if (data.request.filters.report === 'chapterLevelReport') { - const chapterLevelReport = await programServiceHelper.chapterLevelContentMetrics([...cacheData]); + const chapterLevelReport = await programServiceHelper.chapterLevelContentMetrics([...cacheData], frameworkCategories); rspObj.result = { tableData: chapterLevelReport } @@ -3067,19 +3070,25 @@ function syncUsersToRegistry(req, response) { rspObj.responseCode = "Failed to get the programs"; rspObj.result = {}; loggerService.exitLog({responseCode: rspObj.responseCode}, logObject); - return response.status(400).send(errorResponse(rspObj,rspObj.errCode)); + return response.status(500).send(errorResponse(rspObj,rspObj.errCode)); }); } function health(req, response) { - return response.status(200).send(successResponse({ - apiId: 'api.program.health', - ver: '1.0', - msgid: uuid(), - responseCode: 'OK', - result: {} - })); + // check if prostgres up and running + model.sequelize.authenticate() + .then(() => { + console.log('Connection has been established successfully.'); + return handleSuccessResponse(req, response, {}) + }) + .catch(err => { + const postgresHealthError = messageUtils.HEALTH_CHECK.POSTGRES_DB; + req.rspObj.errCode = postgresHealthError.FAILED_CODE + req.rspObj.errMsg = postgresHealthError.FAILED_MESSAGE + req.rspObj.result = err + return handleErrorResponse(req, response, {}) + }); } @@ -3137,7 +3146,7 @@ async function asyncOnAfterPublish (req, program_id) { if (!_.isEmpty(_.get(program, 'config.contributors'))) { const orgList = _.get(program, 'config.contributors.Org') || []; if (!_.isEmpty(orgList)) { - // Get org creator diksha ids + // Get org creator sunbird ids const usersToNotify = []; for (const org of orgList) { const isNominated = await programServiceHelper.isAlreadyNominated(program.program_id, org.osid); @@ -3155,7 +3164,7 @@ async function asyncOnAfterPublish (req, program_id) { const indList = _.get(program, 'config.contributors.User') || []; if (!_.isEmpty(indList)) { - // Get individual users diksha ids + // Get individual users sunbird ids const usersToNotify = []; for (const ind of indList) { const userId = _.get(ind, 'User.userId') diff --git a/src/service/userService.js b/src/service/userService.js index 5eed8136..09c276b1 100644 --- a/src/service/userService.js +++ b/src/service/userService.js @@ -1,11 +1,26 @@ const envVariables = require('../envVariables') +const uuid = require("uuid/v1") + const learnerService = envVariables['LEARNER_SERVICE_URL'] const axios = require('axios'); - -class UserService { - async getDikshaUserProfiles(req, identifier) { +const _ = require("lodash"); +const { successResponse, errorResponse, loggerError } = require('../helpers/responseUtil'); +const KafkaService = require('../helpers/kafkaUtil') +const RegistryService = require('./registryService') +const registryService = new RegistryService() +const loggerService = require('./loggerService'); +const messageUtils = require('./messageUtil'); +const responseCode = messageUtils.RESPONSE_CODE; +const userMessages = messageUtils.USER; +var async = require('async'); +const { response } = require('express'); +let logObject = {}; +let errorStatusCode = 500; +let userProfile = {}; +async function getSunbirdUserProfiles(req, identifier, fields=[]) { const option = { - url: learnerService + '/user/v3/search', + // TODO: for local private end point will not work we had to change to "user/v3/search" + url: learnerService + '/user/v1/fuzzy/search', method: 'post', headers: { ...req.headers @@ -18,8 +33,337 @@ class UserService { } } }; + if (!_.isEmpty(fields)) { + option.data.request.fields = fields; + } return axios(option); +} + +function getOsRequestBody(action, osRequest) { + return regReq = { + body: { + id: "open-saber.registry." + action, + request: osRequest + } + } +} + +function searchRegistry(entity, filter, callback) { + let request = { + entityType: entity, + filters: filter + } + let regReq = getOsRequestBody('search', request) + return registryService.searchRecord(regReq, callback); +} + +function getOSUserDetails(userId, callback) { + let filter= { + userId: { + eq: userId + } + } + searchRegistry(["User"], filter, (err, res) => { + if (res && res.status == 200) { + if (res.data.result.User.length > 0) { + var userDetails = res.data.result.User[0]; + callback(null, userDetails) + } else { + errorStatusCode = 404; + callback({"response": "User not found in OS"}, {}); + } + } else { + callback(err); + } + }); +} + +function getOSUserOrgMapping(osUser, callback) { + if (osUser.userId) { + let filter= { + userId: { + eq: osUser.osid + } + } + searchRegistry(["User_Org"], filter, (err, res) => { + if (res && res.status == 200) { + if (res.data.result && res.data.result.User_Org.length > 0) { + userOrgMapList = res.data.result.User_Org + callback(null, osUser, userOrgMapList) + } else { + callback(null, osUser, {}); + } + } else { + callback(error) + } + }); + } else { + callback(null, osUser, {}); + } +} + +function getOSOrg(osUser, osUserOrg, callback) { + if (osUserOrg.length) { + const orgList = osUserOrg.map((value) => value.orgId) + let filter= { + osid: { + or: orgList + } + } + searchRegistry(["Org"], filter, (err, res) => { + if (res && res.status == 200) { + if (res.data.result.Org.length > 0) { + callback(null, osUser, osUserOrg, res.data.result.Org) + } else { + callback(null, osUser,osUserOrg, {}); + } + } else { + callback(error); + } + }); + } else { + callback(null, osUser, osUserOrg, {}) + } +} + +function searchAdminOfOrg (orgOsId, callback) { + let filter = { + orgId: { + eq: orgOsId + }, + roles: {'contains': 'admin'} + } + return searchRegistry(["User_Org"], filter, callback); +} + +function searchOSUserWithOsId (userOsId, callback) { + let filter = { + osid: { + eq: userOsId + } + } + return searchRegistry(["User"], filter, callback); +} + +function handleUserDeleteSuccess(req, response, result){ + var rspObj = req.rspObj + rspObj.responseCode = 'OK' + rspObj.result = result + loggerService.exitLog({responseCode: rspObj.responseCode}, logObject); + return response.status(200).send(successResponse(rspObj)); +} + +function handleUserDeleteError (req, response, error) { + var rspObj = req.rspObj + console.log('User deletion failed', JSON.stringify(error)) + if(error && error.response && error.response.data) { + console.log(`User delete error ==> ${req.params.userId} ==>`, JSON.stringify(error.response.data)); + } + const errCode = userMessages.DELETE.EXCEPTION_CODE; + rspObj.errCode = userMessages.DELETE.FAILED_CODE; + rspObj.errMsg = userMessages.DELETE.FAILED_MESSAGE + rspObj.responseCode = responseCode.SERVER_ERROR + rspObj.result = error; + loggerError(rspObj, errCode); + loggerService.exitLog({responseCode: rspObj.responseCode}, logObject); + return response.status(errorStatusCode).send(errorResponse(rspObj, errCode)); +} + +function generateDeleteUserEvent(req, response, userDetails, replacementUsers) { + var ets = Date.now(); + var dataObj = { + 'eid': 'BE_JOB_REQUEST', + 'ets': ets, + 'mid': `LP.${ets}.${uuid()}`, + 'actor': { + 'id': 'coKreat Flink Job', + 'type': 'System' + }, + 'context': { + 'pdata': { + 'ver': '1.0', + 'id': 'org.sunbird.platform' + } + }, + 'object': { + 'type': 'user', + 'id': req.params.userId + }, + 'edata': { + 'action': 'delete-user', + 'iteration': 1, + 'organisationId': userProfile.rootOrgId, + 'userId': req.params.userId, + 'userName': userProfile.userName, + 'suggested_users' : replacementUsers + } + } + + return dataObj; +} + + +async function deleteUser(req, response) { + logObject['message'] = userMessages.DELETE.INFO + logObject['traceId'] = req.headers['x-request-id'] || '', + loggerService.entryLog(req.body, logObject); + var rspObj = req.rspObj + const reqHeaders = req.headers; + if (req.params.userId) { + try { + const userRes = await getSunbirdUserProfiles({'headers': reqHeaders}, req.params.userId); + let orgUsersDetails = _.get(userRes.data, 'result.response.content'); + if (orgUsersDetails && !_.isEmpty(_.first(orgUsersDetails))) { + userProfile = _.first(orgUsersDetails); + async.waterfall([ + function (callback) { + getOSUserDetails(req.params.userId, callback) + }, + function (user, callback) { + getOSUserOrgMapping(user, callback); + }, + function (user, osUserOrg, callback) { + getOSOrg(user, osUserOrg, callback) + }, + function (user, osUserOrg, osOrgs, callback) { + getUserOsRecord(user, osUserOrg, osOrgs, callback) + } + ], function (err, res) { + if (err) { + handleUserDeleteError(req, response, err); + } else { + deleteUserAccordingtoOrgRole(req, response, res) + } + }); + } else { + errorStatusCode = 404; + handleUserDeleteError(req, response, {"response": "User not found in Sunbird"}); + } + } catch(error) { + handleUserDeleteError(req, response, error); + } + } else { + rspObj.errCode = userMessages.DELETE.MISSING_CODE + rspObj.errMsg = userMessages.DELETE.MISSING_MESSAGE + rspObj.responseCode = responseCode.CLIENT_ERROR + loggerError(rspObj,errCode); + loggerService.exitLog({responseCode: rspObj.responseCode}, logObject); + return response.status(400).send(errorResponse(rspObj,errCode)) } } -module.exports = UserService; +function getUserOsRecord(user, osUserOrg, osOrgs, callback) { + let err = null; + try { + user['osOrgRoles'] = []; + if (osOrgs.length) { + osOrgs.map((org) => { + let roles = null + let userOrgOsid = null + osUserOrg.forEach(function (element, index, array) { + if (org.osid === element.orgId) { + roles = element.roles; + userOrgOsid = element.osid; + } + }); + org['userOrgOsid'] = userOrgOsid + org['roles'] = roles; + user['osOrgRoles'] = user['osOrgRoles'].concat(roles); + }); + user['orgs'] = osOrgs; + } else { + user['osOrgRoles'] = ["individual"]; + } + } catch (e) { + err = e; + } + callback(err, user) +} + +function deleteUserAccordingtoOrgRole(req,response, osUser) { + if (osUser.osOrgRoles.includes('individual') || osUser.osOrgRoles.includes('user')) { + deleteOsUser(osUser, (err, res) => { + if (res && res.status == 200 && _.get(res.data, 'params.status') == "SUCCESSFUL") { + if (osUser.osOrgRoles.includes('individual')) { + onIndividualUserDeletion(req,response, osUser); + } + if (osUser.osOrgRoles.includes('user')) { + onOrgUserDeletion(req,response, osUser) + } + } + else { + handleUserDeleteError(req, response, err) + } + }) + } + + if (osUser.osOrgRoles.includes('admin') || osUser.osOrgRoles.includes('sourcing_admin') || osUser.osOrgRoles.includes('sourcing_reviewer')) { + handleUserDeleteError(req, response, {"response": "Can only delete Individual or contributing org user"}); + } +} + +function deleteOsUser (userDetails, callback) { + let request = { + User: { + osid: userDetails.osid, + isDeleted: true + } + } + let regReq = getOsRequestBody('update', request) + + return registryService.updateRecord(regReq, callback); +} + +function onIndividualUserDeletion (req, response, userDetails) { + const eventData = generateDeleteUserEvent (req, response, userDetails, []); + try { + KafkaService.sendRecordWithTopic(eventData, envVariables.COKREAT_USER_DELETE_KAFKA_TOPIC, function (err, res) { + if (err) { + throw(err); + } else { + handleUserDeleteSuccess(req, response, {"response": 'User deleted Successfully ${req.params.userId}'}); + } + }); + }catch(err) { + handleUserDeleteError(req, response, error); + + } +} + +function onOrgUserDeletion(req, response, userDetails) { + userDetails.orgs.every((element)=> { + if (element.roles.includes("user")) { + searchAdminOfOrg(element.osid, (error, res) => { + if (res && res.status == 200) { + if (res.data.result.User_Org.length > 0) { + var adminUserOrgDetails = res.data.result.User_Org[0]; + if (adminUserOrgDetails.userId) { + searchOSUserWithOsId(adminUserOrgDetails.userId, (adminErr, adminRes) => { + if (adminRes && adminRes.status == 200 && adminRes.data.result.User.length > 0) { + var adminDetails = adminRes.data.result.User[0]; + const eventData = generateDeleteUserEvent (req, response, userDetails, [{role: 'admin', users: [adminDetails.userId]}]); + KafkaService.sendRecordWithTopic(eventData, envVariables.COKREAT_USER_DELETE_KAFKA_TOPIC, function (err, res) { + if (err) { + handleUserDeleteError(req, response, error); + } else { + handleUserDeleteSuccess(req, response, 'User deleted Successfully ${req.params.userId}'); + } + }); + } else { + handleUserDeleteError(req, response, adminErr) + } + }); + } + } else { + handleUserDeleteError(req, response, {"response": "Admin for the org not found"}); + } + } else { + handleUserDeleteError(req, response, error); + } + }); + return false; + } + }); +} + +module.exports = { getSunbirdUserProfiles, deleteUser }