{"info":{"_postman_id":"06149b77-b2e3-434a-96a3-161283cb1bc5","name":"WeCP Org Management APIs [V2]","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"42734680","collectionId":"06149b77-b2e3-434a-96a3-161283cb1bc5","publishedId":"2sAYdhKqZh","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-03-01T09:06:25.000Z"},"item":[{"name":"Check API health","event":[{"listen":"test","script":{"exec":["pm.test(\"Status test\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Schema Test\", function () {","   pm.expect(pm.response.text()).to.include(\"Success\");","});"],"type":"text/javascript","id":"dd0508b4-083d-4321-90a5-7eeb38a8210c"}}],"id":"b1f54d98-2902-493b-995e-e2e7683c64e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.wecreateproblems.com/ats/health","description":"<p>Will check the connection (no authentication) with the WeCP server</p>\n","urlObject":{"protocol":"https","path":["ats","health"],"host":["api","wecreateproblems","com"],"query":[],"variable":[]}},"response":[{"id":"6a4c2781-c224-46e3-a7fc-ce08c5c8a646","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://api.wecreateproblems.com/ats/health"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Date","value":"Wed, 16 Nov 2022 12:10:49 GMT"},{"key":"Content-Type","value":"application/xml"},{"key":"Content-Length","value":"9"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"da38705e-64f5-4544-8ca3-d2beb5032caa"},{"key":"x-amz-apigw-id","value":"bsXzWHfiBcwFX6w="},{"key":"X-Amzn-Trace-Id","value":"Root=1-6374d348-10e9d21732ed45f361166bd6;Sampled=0"}],"cookie":[],"responseTime":null,"body":"\"Success\""}],"_postman_id":"b1f54d98-2902-493b-995e-e2e7683c64e1"},{"name":"Get Organization details","event":[{"listen":"test","script":{"exec":["schema = {","    \"type\": \"object\",","    \"title\": \"The root schema\",","    \"description\": \"The root schema comprises the entire JSON document.\",","    \"default\": {},","    \"required\": [","        \"groups\",","        \"public\",","        \"logo\",","        \"displayName\",","        \"active\",","        \"createdAt\",","        \"updatedAt\",","        \"creditLeft\"","    ],","    \"properties\": {","        \"groups\": {","            \"type\": \"array\",","            \"title\": \"The groups schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": [],","            \"additionalItems\": false,","            \"items\": {","                \"anyOf\": [","                    {","                        \"type\": \"string\",","                        \"title\": \"The first anyOf schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    }","                ]","            }","        },","        \"public\": {","            \"type\": \"boolean\",","            \"title\": \"The public schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": false","        },","        \"logo\": {","            \"type\": \"string\",","            \"title\": \"The logo schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"displayName\": {","            \"type\": \"string\",","            \"title\": \"The displayName schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"active\": {","            \"type\": \"boolean\",","            \"title\": \"The active schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": false","        },","        \"about\": {","            \"type\": \"string\",","            \"title\": \"The about schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"createdAt\": {","            \"type\": \"string\",","            \"title\": \"The createdAt schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"updatedAt\": {","            \"type\": \"string\",","            \"title\": \"The updatedAt schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"creditLeft\": {","            \"type\": \"integer\",","            \"title\": \"The creditLeft schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": 0","        },","        \"additionalProperties\": false","    },","    \"additionalProperties\": false","}","","pm.test(\"Status test\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Schema Test\", function () {","    pm.response.to.have.jsonSchema(schema);","});"],"type":"text/javascript","id":"be3465e4-eb9c-4add-a7f4-660e45b69f1b"}}],"id":"74689d85-c3a5-4f1f-9f5e-29b831fd1149","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{org-api-key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecreateproblems.com/ats/wecp/orgDetails","description":"<p>GET request to fetch the organisation level details. This includes list of all the groups in the organisation</p>\n","urlObject":{"protocol":"https","path":["ats","wecp","orgDetails"],"host":["api","wecreateproblems","com"],"query":[],"variable":[]}},"response":[{"id":"314e60f3-8143-40aa-9699-495ddf2560ad","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":"https://api.wecreateproblems.com/ats/wecp/orgDetails"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 12:11:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1066"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"641b22e0-ec52-45ad-a464-a84813a10d46"},{"key":"x-amz-apigw-id","value":"bsX3LFFehcwFpXg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-6374d360-5c9057f04536786861b304ae;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"groups\": [\n        \"1621014c-65f8-42c1-a8f1-dc8e5fb578cc\",\n        \"1e33b752-d28f-430f-b8fd-25b8e8f46b17\",\n        \"479fc649-143f-4e54-8d8b-65ecb4349583\",\n        \"4db5b036-d86a-4969-a5bb-eed85ef38b6d\",\n        \"7c124e0e-ed82-4141-8aad-409b1fab4499\",\n        \"a97b3475-a42f-41f3-bc2c-1d8d95d30f60\",\n        \"aeb47a45-96e3-4660-9e6d-95d4a8496f4d\",\n        \"cb6f8dea-364a-4014-9b20-3ee04ed008eb\"\n    ],\n    \"public\": true,\n    \"logo\": \"https://assess.wecreateproblems.com/assets/images/wecp_primary_logo.svg\",\n    \"displayName\": \"API Testing\",\n    \"active\": true,\n    \"about\": \"<p>***This organization is dedicated to demo functionality of the APIs only. Please do not temper with the quizzes as that may cause some of the test cases to fail.***</p>\",\n    \"createdAt\": \"2020-03-16T10:45:47.923Z\",\n    \"updatedAt\": \"2022-10-27T09:38:49.868Z\",\n    \"creditLeft\": 5\n}"},{"id":"d819d194-1150-48b5-88db-7179c83add96","name":"Invalid API key","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"invalid-API-key","type":"text"}],"url":"https://api.wecreateproblems.com/ats/wecp/orgDetails"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 12:12:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"109"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"5a3a34f7-4f7c-4d92-adc6-1c3cfbe3f2d9"},{"key":"x-amz-apigw-id","value":"bsYAMFEFhcwFVtA="},{"key":"X-Amzn-Trace-Id","value":"Root=1-6374d39a-4a8c77a80db5ea41392223f3;Sampled=0"}],"cookie":[],"responseTime":null,"body":"\"Not authorized\""}],"_postman_id":"74689d85-c3a5-4f1f-9f5e-29b831fd1149"},{"name":"Get Group Details","event":[{"listen":"test","script":{"exec":["schema = {","    \"type\": \"object\",","    \"title\": \"The root schema\",","    \"description\": \"The root schema comprises the entire JSON document.\",","    \"default\": {},","    \"required\": [","        \"tests\",","        \"interviews\",","        \"name\",","        \"public\",","        \"owner\",","        \"active\",","        \"about\",","        \"createdAt\",","        \"updatedAt\"","    ],","    \"properties\": {","        \"tests\": {","            \"type\": \"array\",","            \"title\": \"The tests schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": [],","            \"additionalItems\": true,","            \"items\": {","                \"anyOf\": [","                    {","                        \"type\": \"string\",","                        \"title\": \"The first anyOf schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    }","                ]","            }","        },","        \"interviews\": {","            \"type\": \"array\",","            \"title\": \"The tests schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": [],","            \"additionalItems\": true,","            \"items\": {","                \"anyOf\": [","                    {","                        \"type\": \"string\",","                        \"title\": \"The first anyOf schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    }","                ]","            }","        },","        \"name\": {","            \"type\": \"string\",","            \"title\": \"The name schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"public\": {","            \"type\": \"boolean\",","            \"title\": \"The public schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": false","        },","        \"owner\": {","            \"type\": \"string\",","            \"title\": \"The owner schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"active\": {","            \"type\": \"boolean\",","            \"title\": \"The active schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": false","        },","        \"about\": {","            \"type\": \"string\",","            \"title\": \"The about schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"createdAt\": {","            \"type\": \"string\",","            \"title\": \"The createdAt schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"updatedAt\": {","            \"type\": \"string\",","            \"title\": \"The updatedAt schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"additionalProperties\": false","    },","    \"additionalProperties\": false","}","","pm.test(\"Status test\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Schema Test\", function () {","    pm.response.to.have.jsonSchema(schema);","});"],"type":"text/javascript","id":"2c358415-2bb8-441e-b580-39a7797e7310"}}],"id":"ef382b2a-2dde-4fae-af42-17335a2f26c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{org-api-key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecreateproblems.com/ats/wecp/groups/:groupId","description":"<p>GET request to fetch the details of a single group. This includes the list of all the tests / interviews in the group.</p>\n<p>UPDATE: Added interviews in the response.</p>\n","urlObject":{"protocol":"https","path":["ats","wecp","groups",":groupId"],"host":["api","wecreateproblems","com"],"query":[],"variable":[{"id":"b4e2a369-ce3e-4e12-827d-b226d67a3bde","type":"any","value":"479fc649-143f-4e54-8d8b-65ecb4349583","key":"groupId"}]}},"response":[{"id":"8187a19e-d3ad-46a5-8513-45369e2b7839","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/groups/:groupId","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","groups",":groupId"],"variable":[{"key":"groupId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 13:32:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"365"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"92b03e95-a166-452b-9ac6-21f2d5c6d373"},{"key":"x-amz-apigw-id","value":"bsjzPHCCBcwFl-Q="},{"key":"X-Amzn-Trace-Id","value":"Root=1-6374e67a-14cacbe8303b03fb7a479947;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"tests\": [\n        \"02cbc052-fc33-4cc9-9428-6a140781d906\",\n        \"2f0ede59-f33e-4c4e-8f2c-575ba4715907\"\n    ],\n    \"interviews\": [\n        \"718aab9a-212c-4db8-a59e-6e9c5657774b\",\n        \"e1838769-7746-4842-92f1-6ced987e8009\"\n    ],\n    \"name\": \"API Testing\",\n    \"public\": false,\n    \"owner\": \"admin\",\n    \"active\": true,\n    \"about\": \"No group detail is provided.\",\n    \"createdAt\": \"2020-09-30T06:08:11.880Z\",\n    \"updatedAt\": \"2022-11-10T11:13:10.260Z\"\n}"},{"id":"f7da2bc4-32d3-4750-b42e-fdb4e26daa2e","name":"Invalid Group ID","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/groups/:groupId","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","groups",":groupId"],"variable":[{"key":"groupId","value":"invalid-group-id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 12:21:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"113"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"38bbfb5a-ff2f-422c-b3a8-43f2b405ab49"},{"key":"x-amz-apigw-id","value":"bsZZhHljBcwFutw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-6374d5d6-09bae88e0acd67fe195f9dc1;Sampled=0"}],"cookie":[],"responseTime":null,"body":"\"Group is not associated with the organization\""},{"id":"015a5e6f-65b8-4b0a-bbdb-4f1c95177692","name":"Invalid API key","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"invalid-API-key","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/groups/:groupId","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","groups",":groupId"],"variable":[{"key":"groupId","value":"479fc649-143f-4e54-8d8b-65ecb4349583"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 12:21:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"113"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"38bbfb5a-ff2f-422c-b3a8-43f2b405ab49"},{"key":"x-amz-apigw-id","value":"bsZZhHljBcwFutw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-6374d5d6-09bae88e0acd67fe195f9dc1;Sampled=0"}],"cookie":[],"responseTime":null,"body":"\"Not authorized\""}],"_postman_id":"ef382b2a-2dde-4fae-af42-17335a2f26c3"},{"name":"List Test Details","event":[{"listen":"test","script":{"exec":["schema = {","    \"type\": \"array\",","    \"title\": \"The root schema\",","    \"description\": \"The root schema comprises the entire JSON document.\",","    \"additionalItems\": false,","    \"items\": {","        \"anyOf\":[{","            \"type\": \"object\",","            \"title\": \"The question schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": {},","            \"required\": [","                \"testId\",","                \"public\",","                \"owner\",","                \"name\",","                \"active\",","                \"duration\",","                \"createdAt\",","                \"updatedAt\",","                \"redirectUrl\",","            ],","            \"properties\": {","                \"testId\": {","                    \"type\": \"string\",","                    \"title\": \"The public schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": [],","                },","                \"public\": {","                    \"type\": \"boolean\",","                    \"title\": \"The public schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": [],","                },","                \"owner\": {","                    \"type\": \"string\",","                    \"title\": \"The owner schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": [],","                },","                \"name\": {","                    \"type\": \"string\",","                    \"title\": \"The name schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": [],","                },","                \"active\": {","                    \"type\": \"boolean\",","                    \"title\": \"The active schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": [],","                },","                \"duration\": {","                    \"type\": \"number\",","                    \"title\": \"The active schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": [],","                },","                \"createdAt\": {","                    \"type\": \"string\",","                    \"title\": \"The createdAt schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": [],","                },","                \"updatedAt\": {","                    \"type\": \"string\",","                    \"title\": \"The updatedAt schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": [],","                },","                \"redirectUrl\": {","                    \"type\": \"string\",","                    \"title\": \"The redirectUrl schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": [],","                },","            },","            \"additionalProperties\": true","        }]","    }","}","","pm.test(\"Status test\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Schema Test\", function () {","    pm.response.to.have.jsonSchema(schema);","});"],"type":"text/javascript","id":"5d8ef9d1-47c5-4cff-992e-8ede7c70e82a"}}],"id":"a7096b50-2580-49b6-b6d0-f7562ab5bb9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{org-api-key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecreateproblems.com/ats/wecp/listTests?groupId=479fc649-143f-4e54-8d8b-65ecb4349583","description":"<p>GET request to fetch list of all the test. Group filter can be applied using a query params.</p>\n","urlObject":{"protocol":"https","path":["ats","wecp","listTests"],"host":["api","wecreateproblems","com"],"query":[{"key":"groupId","value":"479fc649-143f-4e54-8d8b-65ecb4349583"}],"variable":[]}},"response":[{"id":"0160ec3b-7fbc-447f-8fc9-2bac6723a672","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/listTests?groupId=479fc649-143f-4e54-8d8b-65ecb4349583","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","listTests"],"query":[{"key":"groupId","value":"479fc649-143f-4e54-8d8b-65ecb4349583"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 18 Nov 2022 12:52:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"469"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"5507b57d-b7c3-40f5-b8e1-1485329e11cc"},{"key":"x-amz-apigw-id","value":"bzDuyE6UBcwFuPQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-63777ff8-47cbba98609b15ba35f2efdf;Sampled=0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"testId\": \"02cbc052-fc33-4cc9-9428-6a140781d906\",\n        \"public\": true,\n        \"owner\": \"admin\",\n        \"name\": \"Sample Test - 1\",\n        \"active\": true,\n        \"duration\": 1800,\n        \"createdAt\": \"2022-11-10T11:12:02.146Z\",\n        \"updatedAt\": \"2022-11-10T11:12:19.626Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"testId\": \"2f0ede59-f33e-4c4e-8f2c-575ba4715907\",\n        \"public\": true,\n        \"owner\": \"admin\",\n        \"name\": \"Sample test - 2\",\n        \"active\": true,\n        \"duration\": 900,\n        \"createdAt\": \"2020-10-09T18:43:49.794Z\",\n        \"updatedAt\": \"2022-11-10T11:12:33.929Z\",\n        \"redirectUrl\": \"/\"\n    }\n]"},{"id":"442cfeda-1077-4ce8-9bd0-fd2842133cda","name":"Invalid Group ID","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/listTests?groupId=invalid-group-id","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","listTests"],"query":[{"key":"groupId","value":"invalid-group-id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 12:33:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"113"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"f828999b-cfc7-4e90-b064-d0defb0de87d"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"bsbGlHY3BcwFkug="},{"key":"X-Amzn-Trace-Id","value":"Root=1-6374d890-38370b8c6a7e97c9633f7f57;Sampled=0"}],"cookie":[],"responseTime":null,"body":"\"Group is not associated with the organization\""},{"id":"783c9742-aec5-456c-8fc0-7789d946385f","name":"Invalid API key","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"invalid-API-key","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/groups/:groupId","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","groups",":groupId"],"variable":[{"key":"groupId","value":"479fc649-143f-4e54-8d8b-65ecb4349583"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 12:21:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"113"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"38bbfb5a-ff2f-422c-b3a8-43f2b405ab49"},{"key":"x-amz-apigw-id","value":"bsZZhHljBcwFutw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-6374d5d6-09bae88e0acd67fe195f9dc1;Sampled=0"}],"cookie":[],"responseTime":null,"body":"\"Not authorized\""}],"_postman_id":"a7096b50-2580-49b6-b6d0-f7562ab5bb9e"},{"name":"Get Test Details","event":[{"listen":"test","script":{"exec":["schema = {","    \"type\": \"object\",","    \"title\": \"The root schema\",","    \"description\": \"The root schema comprises the entire JSON document.\",","    \"required\": [","        \"public\",","        \"owner\",","        \"name\",","        \"active\",","        \"createdAt\",","        \"updatedAt\",","        \"sectionCount\",","        \"questionCount\",","        \"questionDetails\",","        \"tags\",","        \"enableAuthentication\",","        \"enableVideoProctoring\",","        \"enableFullScreenMode\",","        \"trackSuspiciousActivity\",","        \"redirectUrl\"","    ],","    \"properties\": {","        \"public\": {","            \"type\": \"boolean\",","            \"title\": \"The public schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": false","        },","        \"owner\": {","            \"type\": \"string\",","            \"title\": \"The owner schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"name\": {","            \"type\": \"string\",","            \"title\": \"The name schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"active\": {","            \"type\": \"boolean\",","            \"title\": \"The active schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": false,","        },","        \"about\": {","            \"type\": \"string\",","            \"title\": \"The about schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"duration\": {","            \"type\": \"integer\",","            \"title\": \"The duration schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": 0","        },","        \"createdAt\": {","           \"type\": \"string\",","            \"title\": \"The createdAt schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"updatedAt\": {","            \"type\": \"string\",","            \"title\": \"The updatedAt schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"startTime\": {","            \"type\": \"string\",","            \"title\": \"The startTime schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"endTime\": {","            \"type\": \"string\",","            \"title\": \"The endTime schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"sectionCount\": {","            \"type\": \"integer\",","            \"title\": \"The sectionCount schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": 0","        },","        \"questionCount\": {","            \"type\": \"integer\",","            \"title\": \"The questionCount schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": 0","        },","        \"questionDetails\": {","            \"type\": \"object\",","            \"title\": \"The questionDetails schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": {},","            \"properties\": {","                \"anyOf\": {","                    \"type\": \"object\",","                    \"title\": \"The question schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": {},","                    \"required\": [","                        \"tags\"","                    ],","                    \"properties\": {","                        \"tags\": {","                            \"type\": \"array\",","                            \"title\": \"The tags schema\",","                            \"description\": \"An explanation about the purpose of this instance.\",","                            \"default\": [],","                            \"additionalItems\": true,","                            \"items\": {","                                \"anyOf\": [","                                    {","                                        \"type\": \"string\",","                                        \"title\": \"The first anyOf schema\",","                                        \"description\": \"An explanation about the purpose of this instance.\",","                                        \"default\": \"\"","                                    }","                                ]","                            }","                        }","                    },","                    \"additionalProperties\": true","                }","            },","            \"additionalProperties\": true","        },","        \"tags\": {","            \"type\": \"array\",","            \"title\": \"The tags schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": [],","            \"additionalItems\": true,","            \"items\": {","                \"anyOf\": [","                    {","                        \"type\": \"string\",","                        \"title\": \"The first anyOf schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    }","                ]","            }","        },","        \"enableAuthentication\": {","            \"type\": \"boolean\",","            \"title\": \"The enableAuthentication schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": false","        },","        \"enableVideoProctoring\": {","            \"type\": \"boolean\",","            \"title\": \"The enableVideoProctoring schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": false","        },","        \"enableFullScreenMode\": {","            \"type\": \"boolean\",","            \"title\": \"The enableFullScreenMode schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": false","        },","        \"trackSuspiciousActivity\": {","            \"type\": \"boolean\",","            \"title\": \"The trackSuspiciousActivity schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": false","        },","        \"redirectUrl\": {","            \"type\": \"string\",","            \"title\": \"The redirectUrl schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\",","        }","    },","    \"additionalProperties\": true","}","","pm.test(\"Status test\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Schema Test\", function () {","    pm.response.to.have.jsonSchema(schema);","});"],"type":"text/javascript","id":"f152c0ef-ef31-4533-ab2f-15715ca1bd44"}}],"id":"e45f4c20-6c51-44b0-a370-c2a62c9291fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{org-api-key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecreateproblems.com/ats/wecp/tests/:testId","description":"<p>GET request to fetch the details of a particular test. This includes maximum score, proctor settings, allowed login window (if applicable), question wise distribution of marks, skill (tags) and duration of test.</p>\n","urlObject":{"protocol":"https","path":["ats","wecp","tests",":testId"],"host":["api","wecreateproblems","com"],"query":[],"variable":[{"id":"6d463123-ebbe-4f4d-aeb0-3d2f20e07743","type":"any","value":"6bf2587f-5746-4edb-be9f-729406741655","key":"testId"}]}},"response":[{"id":"582a146b-952f-482f-8f68-e3c89b654961","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/tests/:testId","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","tests",":testId"],"variable":[{"key":"testId","value":"6bf2587f-5746-4edb-be9f-729406741655"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 13:24:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"4916"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"f8a89b1f-d136-4bd7-a2d7-c829ee9343da"},{"key":"x-amz-apigw-id","value":"bsijWHNAhcwFv7Q="},{"key":"X-Amzn-Trace-Id","value":"Root=1-6374e47b-2d7143167d8e67b07a765702;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"public\": true,\n    \"owner\": \"yash.hemnani\",\n    \"name\": \"Sample test - 2\",\n    \"active\": true,\n    \"about\": \"<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>\",\n    \"duration\": 900,\n    \"createdAt\": \"2020-10-09T18:43:49.794Z\",\n    \"updatedAt\": \"2022-11-10T11:12:33.929Z\",\n    \"startTime\": \"2020-07-07T08:20:00.000Z\",\n    \"endTime\": \"2020-07-08T08:19:00.000Z\",\n    \"sectionCount\": 12,\n    \"questionCount\": 22,\n    \"questionDetails\": {\n        \"pseyp8mxhB0V12DeaOGJgAvq8zHHcEJ7\": {\n            \"maxScore\": 3,\n            \"tags\": [\n                \"Core Java 8\",\n                \"LocalDate\"\n            ],\n            \"negativeScore\": 0,\n            \"sectionName\": \"Multiple choice MCQs\",\n            \"type\": \"Multiple Choice\",\n            \"difficulty\": \"Easy\"\n        },\n        \"boPFJyGOpPwyzd4orIZOqRgItCk3hHKC\": {\n            \"maxScore\": 3,\n            \"tags\": [\n                \"Core Java 8\",\n                \"LocalDate\"\n            ],\n            \"negativeScore\": 0,\n            \"sectionName\": \"Multiple choice MCQs\",\n            \"type\": \"Multiple Choice\",\n            \"difficulty\": \"Easy\"\n        },\n        \"yeUZJpnupwpnKZIZWJPDSuS2sKnozaWE\": {\n            \"maxScore\": 3,\n            \"tags\": [\n                \"Core Java 8\",\n                \"Primitives and wrapper types\"\n            ],\n            \"negativeScore\": 0,\n            \"sectionName\": \"Multiple choice MCQs\",\n            \"type\": \"Multiple Choice\",\n            \"difficulty\": \"Medium\"\n        },\n        \"I3M7PaFpOkk5F5L9qEr3Ue7oeIM0LjG5\": {\n            \"maxScore\": 3,\n            \"tags\": [\n                \"Core Java 8\",\n                \"Regular Expressions\"\n            ],\n            \"negativeScore\": 0,\n            \"sectionName\": \"Multiple choice MCQs\",\n            \"type\": \"Multiple Choice\",\n            \"difficulty\": \"Medium\"\n        },\n        \"3ZAkYwSdjIrtsK84V7IeciHRtqmHh1cj\": {\n            \"maxScore\": 3,\n            \"tags\": [\n                \"Core Java 8\",\n                \"LocalDate/time\"\n            ],\n            \"negativeScore\": 0,\n            \"sectionName\": \"Multiple choice MCQs\",\n            \"type\": \"Multiple Choice\",\n            \"difficulty\": \"Hard\"\n        },\n        \"Ome0OjE0unoQCw5NT7tk127Ah67BKoKs\": {\n            \"maxScore\": 3,\n            \"tags\": [\n                \"Core Java 8\",\n                \"Exception handling\"\n            ],\n            \"negativeScore\": 0,\n            \"sectionName\": \"Multiple choice MCQs\",\n            \"type\": \"Multiple Choice\",\n            \"difficulty\": \"Hard\"\n        },\n        \"JMAOOGyYcOgbew3f3hGOjX7h3FwEL7a0\": {\n            \"maxScore\": 3,\n            \"tags\": [\n                \"Core Java 8\",\n                \"Generics\"\n            ],\n            \"negativeScore\": 0,\n            \"sectionName\": \"Multiple choice MCQs\",\n            \"type\": \"Multiple Choice\",\n            \"difficulty\": \"Hard\"\n        },\n        \"GPlL4Mn63e0FmVyTEF1PGjWvDwX9WzAY\": {\n            \"maxScore\": 3,\n            \"tags\": [\n                \"sample\"\n            ],\n            \"negativeScore\": 0,\n            \"sectionName\": \"Checkboxes MCQ\",\n            \"type\": \"Checkboxes\",\n            \"difficulty\": \"Easy\"\n        },\n        \"bCAQpimaQLKIv5sK721CyQ1Uj8AePnai\": {\n            \"maxScore\": 3,\n            \"tags\": [\n                \"sample\"\n            ],\n            \"negativeScore\": 0,\n            \"sectionName\": \"Checkboxes MCQ\",\n            \"type\": \"Checkboxes\",\n            \"difficulty\": \"Easy\"\n        },\n        \"HWYC1ipzcrRqbYalMvEQLHqPUyef49UT\": {\n            \"maxScore\": 3,\n            \"tags\": [\n                \"sample\"\n            ],\n            \"negativeScore\": 0,\n            \"sectionName\": \"Subjective\",\n            \"type\": \"Subjective\",\n            \"difficulty\": \"Easy\"\n        },\n        \"Uht43jOi2GQai7yWr2g4iK89550Xo5qC\": {\n            \"maxScore\": 3,\n            \"tags\": [\n                \"sample\"\n            ],\n            \"negativeScore\": 0,\n            \"sectionName\": \"Subjective\",\n            \"type\": \"Subjective\",\n            \"difficulty\": \"Easy\"\n        },\n        \"xV9iNBBHNnOBJFrCa3P0OwgB3G3nLW0R\": {\n            \"maxScore\": 3,\n            \"tags\": [\n                \"sample\"\n            ],\n            \"negativeScore\": 0,\n            \"sectionName\": \"Paragraph\",\n            \"type\": \"Multiple Choice\",\n            \"difficulty\": \"Easy\"\n        },\n        \"IGCqtkqAnnMLyLBw1J25CLR0IInnEkNw\": {\n            \"maxScore\": 3,\n            \"tags\": [\n                \"sample\"\n            ],\n            \"negativeScore\": 0,\n            \"sectionName\": \"Paragraph\",\n            \"type\": \"Multiple Choice\",\n            \"difficulty\": \"Easy\"\n        },\n        \"ZERgXWiN0pVgpTOZK0Akl5VvaiAQG3JJ\": {\n            \"maxScore\": 75,\n            \"tags\": [],\n            \"negativeScore\": 0,\n            \"sectionName\": \"Code programming\",\n            \"type\": \"Programming\",\n            \"difficulty\": \"Medium\",\n            \"totalTestCases\": 9\n        },\n        \"jotIP91MQvlOUaZW2h5WRDUjeMPBTIqt\": {\n            \"maxScore\": 10,\n            \"tags\": [],\n            \"negativeScore\": 0,\n            \"sectionName\": \"Code programming\",\n            \"type\": \"Programming\",\n            \"difficulty\": \"Easy\",\n            \"totalTestCases\": 1\n        },\n        \"8M9c0QduECNJlJARRzBVnNxByO1t8nND\": {\n            \"maxScore\": 150,\n            \"tags\": [\n                \"bitmasks\",\n                \"implementation\"\n            ],\n            \"negativeScore\": 0,\n            \"sectionName\": \"Code programming\",\n            \"type\": \"Programming\",\n            \"difficulty\": \"Easy\",\n            \"totalTestCases\": 15\n        },\n        \"ttS3TJg0hvgLETC6WoyVD7oUauChWrmy\": {\n            \"maxScore\": 100,\n            \"tags\": [],\n            \"negativeScore\": 0,\n            \"sectionName\": \"AI Coding\",\n            \"type\": \"Machine Learning\",\n            \"difficulty\": \"Hard\"\n        },\n        \"0GBXITDddra1B0dEWFdSaOtlbxumi9NH\": {\n            \"maxScore\": 3,\n            \"tags\": [],\n            \"negativeScore\": 0,\n            \"sectionName\": \"Application programming\",\n            \"type\": \"Application Programming\",\n            \"difficulty\": \"Easy\"\n        },\n        \"J29LOcgXJz3FxoX2z9KvQgWOhA0rY1re\": {\n            \"maxScore\": 3,\n            \"tags\": [],\n            \"negativeScore\": 0,\n            \"sectionName\": \"Working memory\",\n            \"type\": \"Working Memory\",\n            \"difficulty\": \"Easy\"\n        },\n        \"1jNQnCFbmFAWZdS15LBynlDkAhOHoXyw\": {\n            \"maxScore\": 3,\n            \"tags\": [],\n            \"negativeScore\": 0,\n            \"sectionName\": \"Sustained Attention\",\n            \"type\": \"Sustained Attention\",\n            \"difficulty\": \"Easy\"\n        },\n        \"7SP56DZeM4zxhtFFuYAXsGYII81Y4aGD\": {\n            \"maxScore\": 3,\n            \"tags\": [],\n            \"negativeScore\": 0,\n            \"sectionName\": \"Interactive Subjective\",\n            \"type\": \"Interactive Subjective\",\n            \"difficulty\": \"Easy\"\n        },\n        \"I8E5l6h0fG41qzktIXBUwK6dQzhamyZQ\": {\n            \"maxScore\": 3,\n            \"tags\": [],\n            \"negativeScore\": 0,\n            \"sectionName\": \"Interactive Subjective\",\n            \"type\": \"Interactive Subjective\",\n            \"difficulty\": \"Easy\"\n        },\n        \"D8EHgQMt7vAIzhQDzPI6yDAQDiBqqNxL\": {\n            \"maxScore\": 3,\n            \"tags\": [],\n            \"negativeScore\": 0,\n            \"sectionName\": \"Evaluative Subjective\",\n            \"type\": \"Evaluative Subjective\",\n            \"difficulty\": \"Easy\"\n        },\n        \"JUiBEhHlPkH3uwpQJK8XuA9jIawjzOpA\": {\n            \"maxScore\": 3,\n            \"tags\": [],\n            \"negativeScore\": 0,\n            \"sectionName\": \"Work Sample\",\n            \"type\": \"Work Sample\",\n            \"difficulty\": \"Easy\"\n        }\n    },\n    \"maxScore\": 395,\n    \"tags\": [\n        \"Core Java 8\",\n        \"LocalDate\",\n        \"Primitives and wrapper types\",\n        \"Regular Expressions\",\n        \"LocalDate/time\",\n        \"Exception handling\",\n        \"Generics\",\n        \"sample\",\n        \"bitmasks\",\n        \"implementation\"\n    ],\n    \"enableAuthentication\": false,\n    \"enableVideoProctoring\": false,\n    \"enableFullScreenMode\": false,\n    \"trackSuspiciousActivity\": false,\n    \"redirectUrl\": \"http://localhost:4200/quizzes/f80417e2-ff30-46ea-a23c-541d6b95507e/dashboard?tab=2\"\n}"},{"id":"3faf50d5-837c-4f61-904d-bccaa1b99501","name":"Invalid Test ID","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/tests/:testId","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","tests",":testId"],"variable":[{"key":"testId","value":"invalid-test-id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 13:24:34 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"72"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"06cf9729-5aae-4fad-821d-efdf00c7b348"},{"key":"x-amz-apigw-id","value":"bsim9FKbBcwFe8Q="},{"key":"X-Amzn-Trace-Id","value":"Root=1-6374e492-766767ee77b8ac272f375827;Sampled=0"}],"cookie":[],"responseTime":null,"body":"\"Test is not associated with the organization\""},{"id":"e6074db1-5f1e-4e13-8a10-870a97c356a4","name":"Invalid API key","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"invalid-API-key","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/tests/:testId","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","tests",":testId"],"variable":[{"key":"testId","value":"6bf2587f-5746-4edb-be9f-729406741655"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 12:21:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"113"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"38bbfb5a-ff2f-422c-b3a8-43f2b405ab49"},{"key":"x-amz-apigw-id","value":"bsZZhHljBcwFutw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-6374d5d6-09bae88e0acd67fe195f9dc1;Sampled=0"}],"cookie":[],"responseTime":null,"body":"\"Not authorized\""}],"_postman_id":"e45f4c20-6c51-44b0-a370-c2a62c9291fa"},{"name":"Get Invited Candidate List","event":[{"listen":"test","script":{"exec":["schema = {","    \"type\": \"array\",","    \"title\": \"The root schema\",","    \"description\": \"The root schema comprises the entire JSON document.\",","    \"default\": [],","    \"additionalItems\": true,","    \"items\": {","        \"anyOf\": [","            {","                \"type\": \"object\",","                \"title\": \"The first anyOf schema\",","                \"description\": \"An explanation about the purpose of this instance.\",","                \"default\": {},","                \"required\": [","                    \"_id\",","                    \"createdAt\",","                    \"user\",","                    \"link\"","                ],","                \"properties\": {","                    \"_id\": {","                        \"type\": \"string\",","                        \"title\": \"The _id schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"createdAt\": {","                        \"type\": \"string\",","                        \"title\": \"The createdAt schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"user\": {","                        \"type\": \"string\",","                        \"title\": \"The user schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"link\": {","                        \"type\": \"string\",","                        \"title\": \"The link schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    }","                },","                \"additionalProperties\": true","            }","        ]","    }","}","","pm.test(\"Status test\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Schema Test\", function () {","    pm.response.to.have.jsonSchema(schema);","});"],"type":"text/javascript","id":"4e3bcb50-af42-4548-93dd-1317b6ed1eec"}}],"id":"98325f3d-6de9-40b0-b0ca-9abd261ec6c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{org-api-key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecreateproblems.com/ats/wecp/tests/:testId/invites","description":"<p>GET request to fetch the list of invited users with unique link to start the test.</p>\n","urlObject":{"protocol":"https","path":["ats","wecp","tests",":testId","invites"],"host":["api","wecreateproblems","com"],"query":[],"variable":[{"id":"153b4910-40ae-4159-b3ae-e7557b9b65d4","type":"any","value":"6bf2587f-5746-4edb-be9f-729406741655","key":"testId"}]}},"response":[{"id":"2133eccc-6eb8-4389-b7cd-b1048f50d072","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/tests/:testId/invites","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","tests",":testId","invites"],"variable":[{"key":"testId","value":"6bf2587f-5746-4edb-be9f-729406741655"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 13:47:04 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"655"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"59a01d4d-83a5-443c-a30c-c0e97358b2c4"},{"key":"x-amz-apigw-id","value":"bsl5vFbDBcwFswg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-6374e9d7-6f85afa03f349c064dcec793;Sampled=0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"114d8a95-0f73-4fe9-955f-9d002aadb5e3\",\n        \"expiry\": \"100\",\n        \"createdAt\": \"2023-03-06T20:31:56.275Z\",\n        \"user\": \"sampleemail+2@wecp.in\",\n        \"link\": \"https://assess.wecreateproblems.com/tests/114d8a95-0f73-4fe9-955f-9d002aadb5e3/instructions\"\n    },\n    {\n        \"_id\": \"66942abf-d148-4c2e-b5d5-dc2edce3a255\",\n        \"createdAt\": \"2023-02-23T08:21:25.682Z\",\n        \"user\": \"sampleemail@wecp.in\",\n        \"link\": \"https://assess.wecreateproblems.com/tests/66942abf-d148-4c2e-b5d5-dc2edce3a255/instructions\"\n    }\n]"},{"id":"7d02252e-6574-4c7f-9f56-90d702be07ef","name":"Invalid Test ID","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/tests/:testId/invites","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","tests",":testId","invites"],"variable":[{"key":"testId","value":"invalid-test-id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 13:47:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"72"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"f21185ed-8fc4-4e9f-96d6-44bd2e0c373c"},{"key":"x-amz-apigw-id","value":"bsmBMFgVBcwFlXA="},{"key":"X-Amzn-Trace-Id","value":"Root=1-6374ea07-718544824243b5b93cb049ab;Sampled=0"}],"cookie":[],"responseTime":null,"body":"\"Test is not associated with the organization\""}],"_postman_id":"98325f3d-6de9-40b0-b0ca-9abd261ec6c9"},{"name":"Send Invites to Candidate for Test","event":[{"listen":"test","script":{"exec":["schema = {","    \"type\": \"array\",","    \"title\": \"The root schema\",","    \"description\": \"The root schema comprises the entire JSON document.\",","    \"default\": [],","    \"additionalItems\": true,","    \"items\": {","        \"anyOf\": [","            {","                \"type\": \"object\",","                \"title\": \"The first anyOf schema\",","                \"description\": \"An explanation about the purpose of this instance.\",","                \"default\": {},","                \"required\": [","                    \"_id\",","                    \"createdAt\",","                    \"user\",","                    \"link\"","                ],","                \"properties\": {","                    \"_id\": {","                        \"type\": \"string\",","                        \"title\": \"The _id schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"user\": {","                        \"type\": \"string\",","                        \"title\": \"The user schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"link\": {","                        \"type\": \"string\",","                        \"title\": \"The link schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"createdAt\": {","                        \"type\": \"string\",","                        \"title\": \"The createdAt schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    }","                },","                \"additionalProperties\": false","            }","        ]","    }","}","","pm.test(\"Status test\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Schema Test\", function () {","    pm.response.to.have.jsonSchema(schema);","});"],"type":"text/javascript","id":"9140c9a9-1359-4861-8d9e-35c45d7e8cb4"}}],"id":"5d83965a-ba97-44e9-92ac-a0425123fe31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{org-api-key}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"testId\": \"6bf2587f-5746-4edb-be9f-729406741655\",\n    \"sendEmail\": false,\n    \"candidates\": [\n        {\n            \"email\": \"danielgooch@bedlington.uk\",\n            \"timeFrame\": {\n                \"startTime\": \"2023-02-19T03:55:55.000Z\",\n                \"endTime\": \"2024-02-19T03:55:55.000Z\"\n            }\n        },\n        {\n            \"email\": \"gregoryjarvis@detroit.us\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wecreateproblems.com/ats/wecp/sendInvites","description":"<p>POST request to invite candidate to public or private test.</p>\n<ul>\n<li><p>If the test is set in private mode, each user will only be able to start the test using the unique link shared in response or the email.</p>\n</li>\n<li><p><code>sendEmail</code> can be set false, to avoid triggering a mail form WeCP end.</p>\n</li>\n<li><p>Each object is requried to have the <code>email</code> key which will have the candidates email as value.</p>\n</li>\n<li><p>Time frame (Loggin window) can be overriden for each candidate individually using <code>timeFrame</code> object. By default the time frame of the test will be used.</p>\n</li>\n<li><p>Recommended number of Candidates per call is 20</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["ats","wecp","sendInvites"],"host":["api","wecreateproblems","com"],"query":[],"variable":[]}},"response":[{"id":"a838e22d-ba4a-41b8-9fb0-cb7c67468498","name":"Success","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"testId\": 6bf2587f-5746-4edb-be9f-729406741655,\n    \"sendEmail\": false,\n    \"candidates\": [\n        {\n            \"email\": \"sampleEmail@wecp.in\",\n            \"timeFrame\": {\n                \"startTime\": \"2023-02-19T03:55:55.000Z\",\n                \"endTime\": \"2024-02-19T03:55:55.000Z\"\n            }\n        },\n        {\n            \"email\": \"sampleEmail+2@wecp.in\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wecreateproblems.com/ats/wecp/sendInvites"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 13:43:05 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"217"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"8f065d4c-52f1-404d-b11b-4411a528a508"},{"key":"x-amz-apigw-id","value":"bslUMH6EhcwFi2A="},{"key":"X-Amzn-Trace-Id","value":"Root=1-6374e8e7-4275c4ce2004979b510bf578;Sampled=0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"a4fe9a89-e913-4090-9e29-ad571bcbb521\",\n        \"createdAt\": \"2023-03-07T09:42:16.440Z\",\n        \"user\": \"sampleemail@wecp.in\",\n        \"link\": \"https://assess.wecreateproblems.com/tests/a4fe9a89-e913-4090-9e29-ad571bcbb521/instructions\"\n    },\n    {\n        \"_id\": \"eb665d84-27ba-4030-b740-0c717ba091c5\",\n        \"createdAt\": \"2023-03-07T09:42:16.440Z\",\n        \"user\": \"sampleemail+2@wecp.in\",\n        \"link\": \"https://assess.wecreateproblems.com/tests/eb665d84-27ba-4030-b740-0c717ba091c5/instructions\"\n    }\n]"},{"id":"e9f44256-e47a-4174-9220-060559f9cbdb","name":"Invalid test ID","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"testId\": invalid-test-id,\n    \"sendEmail\": false,\n    \"candidates\": [\n        {\n            \"email\": \"sampleEmail@wecp.in\",\n            \"timeFrame\": {\n                \"startTime\": \"2023-02-19T03:55:55.000Z\",\n                \"endTime\": \"2024-02-19T03:55:55.000Z\"\n            }\n        },\n        {\n            \"email\": \"sampleEmail+2@wecp.in\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wecreateproblems.com/ats/wecp/sendInvites"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 13:43:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"72"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"9926a4c2-ae02-4a14-969f-10dbbc4b3764"},{"key":"x-amz-apigw-id","value":"bslayHEGhcwFjYQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-6374e911-78445247254a1ffb22dd4eb0;Sampled=0"}],"cookie":[],"responseTime":null,"body":"\"Test is not associated with the organization\""},{"id":"b0a36b68-36b3-4c69-8054-bf29fd41d17a","name":"Empty email to list","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"testId\": 6bf2587f-5746-4edb-be9f-729406741655,\n    \"sendEmail\": false,\n    \"candidates\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wecreateproblems.com/ats/wecp/sendInvites"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 13:44:19 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"68"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"1f5d12a9-f5d2-4c4c-8e4b-2aa3b2e5a2d5"},{"key":"x-amz-apigw-id","value":"bslf_GvIhcwFrDw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-6374e932-488e31724e32a44716da383a;Sampled=0"}],"cookie":[],"responseTime":null,"body":"\"No valid email id found.\""}],"_postman_id":"5d83965a-ba97-44e9-92ac-a0425123fe31"},{"name":"Get Candidates List for Tests","event":[{"listen":"test","script":{"exec":["schema = {","    \"type\": \"array\",","    \"title\": \"The root schema\",","    \"description\": \"The root schema comprises the entire JSON document.\",","    \"default\": [],","    \"additionalItems\": false,","    \"items\": {","        \"anyOf\": [","            {","                \"type\": \"object\",","                \"title\": \"The first anyOf schema\",","                \"description\": \"An explanation about the purpose of this instance.\",","                \"default\": {},","                \"required\": [","                    \"candidateId\",","                    \"candidateDetails\",","                    \"testStartTime\",","                    \"testFinished\",","                    \"testDuration\"","                ],","                \"properties\": {","                    \"candidateId\": {","                        \"type\": \"string\",","                        \"title\": \"The candidateId schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"candidateDetails\": {","                        \"type\": \"object\",","                        \"title\": \"The candidateDetails schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": {},","                        \"required\": [","                            \"Email\",","                            \"IP address\",","                            \"User Agent\"","                        ],","                        \"properties\": {","                            \"anyOf\": {","                                \"type\": \"string\",","                                \"title\": \"The User Agent schema\",","                                \"description\": \"An explanation about the purpose of this instance.\",","                                \"default\": \"\"","                            }","                        },","                        \"additionalProperties\": true","                    },","                    \"testStartTime\": {","                        \"type\": \"string\",","                        \"title\": \"The testStartTime schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"testFinished\": {","                        \"type\": \"boolean\",","                        \"title\": \"The testFinished schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": false","                    },","                    \"testDuration\": {","                        \"type\": \"string\",","                        \"title\": \"The testDuration schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    }","                },","                \"additionalProperties\": false","            }","        ]","    }","}","","pm.test(\"Status test\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Schema Test\", function () {","    pm.response.to.have.jsonSchema(schema);","});"],"type":"text/javascript","id":"38652c44-e4d3-4304-8868-9ec9aeb7a7a8"}}],"id":"104e0b1f-ddc5-4308-9423-47c74dd3a5e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{org-api-key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecreateproblems.com/ats/wecp/tests/:testId/candidates","description":"<p>GET request to fetch the list of candidates attempted the test with finish status.</p>\n","urlObject":{"protocol":"https","path":["ats","wecp","tests",":testId","candidates"],"host":["api","wecreateproblems","com"],"query":[],"variable":[{"id":"be784f2d-05fe-484d-a1fb-6bf1081b401c","type":"any","value":"6bf2587f-5746-4edb-be9f-729406741655","key":"testId"}]}},"response":[{"id":"0092bcc2-3396-4a53-97f0-66dc97d882b6","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/tests/:testId/candidates","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","tests",":testId","candidates"],"variable":[{"key":"testId","value":"6bf2587f-5746-4edb-be9f-729406741655"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 13:49:45 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"391"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"2c093d03-a79b-4195-802c-bc83cf7ad19a"},{"key":"x-amz-apigw-id","value":"bsmS8EWThcwFi-g="},{"key":"X-Amzn-Trace-Id","value":"Root=1-6374ea79-1170dfa278d56d4e5b53667e;Sampled=0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"candidateId\": 49f2136b-0758-47c3-b9df-75cdec4b6ea3,\n        \"candidateDetails\": {\n            \"Email\": {{userEmail}},\n            \"Name\": \"WeCP Admin\",\n            \"IP address\": \"111.111.111.111\",\n            \"User Agent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36\"\n        },\n        \"testFinished\": true,\n        \"testStartTime\": \"2020-10-09T18:47:06.121Z\",\n        \"testDuration\": \"6 minutes\"\n    }\n]"},{"id":"1594d328-b557-4b49-af71-0b517908482b","name":"Invalid Test ID","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/tests/:testId/candidates","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","tests",":testId","candidates"],"variable":[{"key":"testId","value":"invalid-test-id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 13:49:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"72"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"c7008573-3f06-4470-84ca-b605849caf49"},{"key":"x-amz-apigw-id","value":"bsmPDGLGBcwFljg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-6374ea60-6657bf5a36ae548979ee221d;Sampled=0"}],"cookie":[],"responseTime":null,"body":"\"Test is not associated with the organization\""}],"_postman_id":"104e0b1f-ddc5-4308-9423-47c74dd3a5e7"},{"name":"Get Candidates Details","event":[{"listen":"test","script":{"exec":["schema = {","    \"type\": \"object\",","    \"title\": \"The root schema\",","    \"description\": \"The root schema comprises the entire JSON document.\",","    \"default\": {},","    \"required\": [","        \"candidateId\",","        \"programmingLanguagesUsed\",","        \"finishTime\",","        \"candidateDetails\",","        \"score\",","        \"questionWiseScore\",","        \"testStartTime\",","        \"testFinished\",","        \"testDuration\",","        \"quizId\",","        \"retry\",","        \"finished\",","        \"proctoringData\",","        \"closed\"","    ],","    \"properties\": {","        \"candidateId\": {","            \"type\": \"string\",","            \"title\": \"The candidateId schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"programmingLanguagesUsed\": {","            \"type\": \"array\",","            \"title\": \"The programmingLanguagesUsed schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": [],","            \"additionalItems\": true,","            \"items\": {","                \"anyOf\": [","                    {","                        \"type\": \"string\",","                        \"title\": \"The first anyOf schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    }","                ]","            }","        },","        \"finishTime\": {","            \"type\": \"string\",","            \"title\": \"The finishTime schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"candidateDetails\": {","            \"type\": \"object\",","            \"title\": \"The candidateDetails schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": {},","            \"required\": [","                \"Email\",","                \"IP address\",","                \"User Agent\"","            ],","            \"properties\": {","                \"anyOf\": {","                    \"type\": \"string\",","                    \"title\": \"The data schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": \"\"","                }","            },","            \"additionalProperties\": true","        },","        \"score\": {","            \"type\": \"integer\",","            \"title\": \"The score schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": 0","        },","        \"questionWiseScore\": {","            \"type\": \"object\",","            \"title\": \"The questionWiseScore schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": {},","            \"properties\": {","                \"anyOf\": {","                    \"type\": \"object\",","                    \"title\": \"The question schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": {},","                    \"required\": [","                        \"score\",","                        \"_id\",","                        \"type\",","                        \"timeSpent\",","                        \"status\",","                        \"totalAttempts\"","                    ],","                    \"properties\": {","                        \"score\": {","                            \"type\": \"integer\",","                            \"title\": \"The score schema\",","                            \"description\": \"An explanation about the purpose of this instance.\",","                            \"default\": 0","                        },","                        \"_id\": {","                            \"type\": \"string\",","                            \"title\": \"The _id schema\",","                            \"description\": \"An explanation about the purpose of this instance.\",","                            \"default\": \"\"","                        },","                        \"type\": {","                            \"type\": \"string\",","                            \"title\": \"The type schema\",","                            \"description\": \"An explanation about the purpose of this instance.\",","                            \"default\": \"\"","                        },","                        \"timeSpent\": {","                            \"type\": \"integer\",","                            \"title\": \"The timeSpent schema\",","                            \"description\": \"An explanation about the purpose of this instance.\",","                            \"default\": 0","                        },","                        \"status\": {","                            \"type\": \"boolean\",","                            \"title\": \"The status schema\",","                            \"description\": \"An explanation about the purpose of this instance.\",","                            \"default\": false","                        },","                        \"totalAttempts\": {","                            \"type\": \"integer\",","                            \"title\": \"The totalAttempts schema\",","                            \"description\": \"An explanation about the purpose of this instance.\",","                            \"default\": 0","                        }","                    },","                    \"additionalProperties\": true","                }","            },","            \"additionalProperties\": true","        },","        \"testStartTime\": {","            \"type\": \"string\",","            \"title\": \"The testStartTime schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"testFinished\": {","            \"type\": \"boolean\",","            \"title\": \"The testFinished schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": false","        },","        \"testDuration\": {","            \"type\": \"string\",","            \"title\": \"The testDuration schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"quizId\": {","            \"type\": \"string\",","            \"title\": \"The quizId schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"retry\": {","            \"type\": \"integer\",","            \"title\": \"The retry schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": 0","        },","        \"finished\": {","            \"type\": \"boolean\",","            \"title\": \"The finished schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": false","        },","        \"proctoringData\": {","            \"type\": \"object\",","            \"title\": \"The proctoringData schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": {},","            \"required\": [","                \"pasteContent\",","                \"fullScreenViolation\",","                \"multipleFaces\",","                \"tabChanged\",","                \"copyContent\",","                \"noFaceDetected\",","                \"onlineTime\",","                \"timeOffWindow\"","            ],","            \"properties\": {","                \"pasteContent\": {","                    \"type\": \"integer\",","                    \"title\": \"The pasteContent schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": 0","                },","                \"fullScreenViolation\": {","                    \"type\": \"integer\",","                    \"title\": \"The fullScreenViolation schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": 0","                },","                \"multipleFaces\": {","                    \"type\": \"integer\",","                    \"title\": \"The multipleFaces schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": 0","                },","                \"tabChanged\": {","                    \"type\": \"integer\",","                    \"title\": \"The tabChanged schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": 0","                },","                \"copyContent\": {","                    \"type\": \"integer\",","                    \"title\": \"The copyContent schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": 0","                },","                \"noFaceDetected\": {","                    \"type\": \"integer\",","                    \"title\": \"The noFaceDetected schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": 0","                },","                \"onlineTime\": {","                    \"type\": \"integer\",","                    \"title\": \"The onlineTime schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": 0","                },","                \"timeOffWindow\": {","                    \"type\": \"integer\",","                    \"title\": \"The timeOffWindow schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": 0","                }","            },","            \"additionalProperties\": true","        },","        \"closed\": {","            \"type\": \"integer\",","            \"title\": \"The closed schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": 0","        }","    },","    \"additionalProperties\": true","}","","pm.test(\"Status test\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Schema Test\", function () {","    pm.response.to.have.jsonSchema(schema);","});"],"type":"text/javascript","id":"4c56e431-c1db-48e9-9313-e1ff410fd906"}}],"id":"e01decda-bda0-4505-a4b1-90c8f346bef0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{org-api-key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecreateproblems.com/ats/wecp/candidates/:candidatesId","description":"<p>GET request to fetch the complete report of the candidate.</p>\n<p><strong>NOTE:</strong> Few pointers to interpret the payload data:</p>\n<ul>\n<li>In case candidate never traverse a question, <code>\"questionWiseScore\"</code> will not contain the object for that question.</li>\n<li>In case candidate never attempts but spends time on a question, that question will only have <code>\"timeStamp\"</code> (Time spent on the question) property in order to mark the question as read but not attempted.</li>\n<li>If the test is still ongoing, <code>\"closed\"</code> status will be 0.</li>\n<li>If the <em>Additional Candidate Information</em> form in the <em>Landing page</em> is being setup before candidates start the test, <code>\"candidateDetails\"</code> will have them listed as key value pairs in the JSON.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["ats","wecp","candidates",":candidatesId"],"host":["api","wecreateproblems","com"],"query":[],"variable":[{"id":"8a7f6662-1dd8-4be3-b621-971025e8b192","type":"any","value":"49f2136b-0758-47c3-b9df-75cdec4b6ea3","key":"candidatesId"}]}},"response":[{"id":"2b9f66c3-5690-41b0-aa19-79ca132acfd0","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/candidates/:candidatesId","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","candidates",":candidatesId"],"variable":[{"key":"candidatesId","value":"49f2136b-0758-47c3-b9df-75cdec4b6ea3"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 16:58:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"3359"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"92f89283-55e1-4c03-8ccf-267e7c6e8e38"},{"key":"x-amz-apigw-id","value":"btB7uE1ghcwFYUQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-637516b1-467377886f1725f53aae53ca;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"candidateId\": 49f2136b-0758-47c3-b9df-75cdec4b6ea3,\n    \"programmingLanguagesUsed\": [\n        \"V8JS\",\n        \"PY3\",\n        \"CPP11\"\n    ],\n    \"finishTime\": \"2020-10-09T18:53:34.557Z\",\n    \"candidateDetails\": {\n        \"Email\": {{userEmail}},\n        \"Name\": \"Sample User\",\n        \"IP address\": \"111.118.244.221\",\n        \"User Agent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36\"\n    },\n    \"score\": 250,\n    \"questionWiseScore\": {\n        \"HWYC1ipzcrRqbYalMvEQLHqPUyef49UT\": {\n            \"score\": 0,\n            \"_id\": \"bc8d27c6-4d07-4617-87e5-25c1c958f41b\",\n            \"type\": \"answer\",\n            \"timeSpent\": 21568,\n            \"status\": true,\n            \"totalAttempts\": 1\n        },\n        \"3ZAkYwSdjIrtsK84V7IeciHRtqmHh1cj\": {\n            \"score\": 3,\n            \"_id\": \"d5ffec3a-0665-487a-b77a-68135be7747d\",\n            \"type\": \"answer\",\n            \"timeSpent\": 4438,\n            \"status\": true,\n            \"totalAttempts\": 1\n        },\n        \"ZERgXWiN0pVgpTOZK0Akl5VvaiAQG3JJ\": {\n            \"score\": 75,\n            \"timeSpent\": 0,\n            \"totalAttempts\": 2,\n            \"_id\": \"08c38bb0-c90b-46ed-8cb4-c71fc5effcad\",\n            \"type\": \"submission\",\n            \"status\": true,\n            \"testcasesPassed\": 9\n        },\n        \"jotIP91MQvlOUaZW2h5WRDUjeMPBTIqt\": {\n            \"score\": 10,\n            \"timeSpent\": 150122,\n            \"totalAttempts\": 1,\n            \"_id\": \"d12314eb-ccb5-4e71-86c4-4ac746df3e9d\",\n            \"type\": \"submission\",\n            \"status\": true,\n            \"testcasesPassed\": 1\n        },\n        \"bCAQpimaQLKIv5sK721CyQ1Uj8AePnai\": {\n            \"score\": 3,\n            \"_id\": \"152101e8-caca-4dea-a6e5-91dba59b983c\",\n            \"type\": \"answer\",\n            \"timeSpent\": 5570,\n            \"status\": true,\n            \"totalAttempts\": 2\n        },\n        \"IGCqtkqAnnMLyLBw1J25CLR0IInnEkNw\": {\n            \"score\": 3,\n            \"_id\": \"71a2ebf9-c57d-49b5-b48e-e8f85f1f3ca6\",\n            \"type\": \"answer\",\n            \"timeSpent\": 0,\n            \"status\": true,\n            \"totalAttempts\": 1\n        },\n        \"8M9c0QduECNJlJARRzBVnNxByO1t8nND\": {\n            \"score\": 50,\n            \"timeSpent\": 0,\n            \"totalAttempts\": 1,\n            \"_id\": \"b99ab1a3-f338-4b24-8b78-3a35f2a784dc\",\n            \"type\": \"submission\",\n            \"status\": false,\n            \"testcasesPassed\": 5\n        },\n        \"Uht43jOi2GQai7yWr2g4iK89550Xo5qC\": {\n            \"score\": 0,\n            \"_id\": \"21373200-b0a0-401f-85e9-1b9c07364e52\",\n            \"type\": \"answer\",\n            \"timeSpent\": 0,\n            \"status\": true,\n            \"totalAttempts\": 1\n        },\n        \"JMAOOGyYcOgbew3f3hGOjX7h3FwEL7a0\": {\n            \"score\": 0,\n            \"_id\": \"6fb6994b-c89e-4af9-9061-2df570e54ecf\",\n            \"type\": \"answer\",\n            \"timeSpent\": 5495,\n            \"status\": false,\n            \"totalAttempts\": 1\n        },\n        \"GPlL4Mn63e0FmVyTEF1PGjWvDwX9WzAY\": {\n            \"score\": 3,\n            \"_id\": \"66fbb759-3afb-49a5-9ec2-c9b7aa5179ae\",\n            \"type\": \"answer\",\n            \"timeSpent\": 0,\n            \"status\": true,\n            \"totalAttempts\": 3\n        },\n        \"yeUZJpnupwpnKZIZWJPDSuS2sKnozaWE\": {\n            \"score\": 0,\n            \"_id\": \"f69e555d-5c99-4ea5-9270-db051fbd10a7\",\n            \"type\": \"answer\",\n            \"timeSpent\": 0,\n            \"status\": false,\n            \"totalAttempts\": 1\n        },\n        \"ttS3TJg0hvgLETC6WoyVD7oUauChWrmy\": {\n            \"score\": 0,\n            \"timeSpent\": 154447,\n            \"totalAttempts\": 1,\n            \"_id\": \"315bfe11-41c8-4165-b5f2-da0215c62cda\",\n            \"type\": \"submission\",\n            \"status\": true,\n            \"testcasesPassed\": 0\n        },\n        \"JUiBEhHlPkH3uwpQJK8XuA9jIawjzOpA\": {\n            \"score\": 0,\n            \"_id\": \"71c51337-c23c-4bd1-a9dc-a3ed255743a0\",\n            \"type\": \"answer\",\n            \"timeSpent\": 8124,\n            \"status\": true,\n            \"totalAttempts\": 3\n        },\n        \"xV9iNBBHNnOBJFrCa3P0OwgB3G3nLW0R\": {\n            \"score\": 3,\n            \"_id\": \"b1d107a1-6d85-4f4c-a3a6-5dd052303f78\",\n            \"type\": \"answer\",\n            \"timeSpent\": 9918,\n            \"status\": true,\n            \"totalAttempts\": 1\n        },\n        \"boPFJyGOpPwyzd4orIZOqRgItCk3hHKC\": {\n            \"score\": 0,\n            \"_id\": \"377ce20d-a5da-4b46-8be2-eaaed6212d4c\",\n            \"type\": \"answer\",\n            \"timeSpent\": 4342,\n            \"status\": false,\n            \"totalAttempts\": 1\n        },\n        \"Ome0OjE0unoQCw5NT7tk127Ah67BKoKs\": {\n            \"timeSpent\": 363\n        }\n    },\n    \"testStartTime\": \"2020-10-09T18:47:06.121Z\",\n    \"testFinished\": true,\n    \"testDuration\": \"6 minutes\",\n    \"quizId\": 6bf2587f-5746-4edb-be9f-729406741655,\n    \"retry\": 1,\n    \"finished\": true,\n    \"reportLink\": \"https://assess.wecreateproblems.com/reports/49f2136b-0758-47c3-b9df-75cdec4b6ea3\",\n    \"baseImage\": {{image-url}},\n    \"proctoringData\": {\n        \"pasteContent\": 0,\n        \"fullScreenViolation\": 0,\n        \"multipleFaces\": 0,\n        \"tabChanged\": 0,\n        \"copyContent\": 0,\n        \"noFaceDetected\": 0,\n        \"onlineTime\": 0,\n        \"timeOffWindow\": 0\n    },\n    \"closed\": 2\n}"},{"id":"d1162e5f-9d8a-4502-98c3-90b113d9c809","name":"Invalid Candidate ID","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/candidates/:candidatesId","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","candidates",":candidatesId"],"variable":[{"key":"candidatesId","value":"invalid-candidate-id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 16:57:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"66"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"6d7eb200-7b20-44b4-8608-b070184778b7"},{"key":"x-amz-apigw-id","value":"btB03HEhBcwFVdQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-63751685-33d95c845dd867e64fc24f4a;Sampled=0"}],"cookie":[],"responseTime":null,"body":"\"No report found with the id invalid-candidate-id\""}],"_postman_id":"e01decda-bda0-4505-a4b1-90c8f346bef0"},{"name":"Get Candidate Submissions","event":[{"listen":"test","script":{"exec":["schema = {","    \"type\": \"array\",","    \"title\": \"\",","    \"description\": \"\",","    \"default\": [],","    \"additionalItems\": false,","    \"items\": {","        \"anyOf\": [{","            \"type\": \"object\",","            \"title\": \"The root schema\",","            \"description\": \"The root schema comprises the entire JSON document.\",","            \"default\": {},","            \"required\": [","                \"submissionId\",","                \"sourceCode\",","                \"compilationStatus\",","                \"submittedAt\",","                \"isCustomSubmission\",","                \"language\",","                \"questionHash\",","                \"testCaseResults\"","            ],","            \"properties\": {","                \"submissionId\": {","                    \"type\": \"string\",","                    \"title\": \"submissionId\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                },","                \"sourceCode\": {","                    \"type\": \"string\",","                    \"title\": \"sourceCode\"","                },","                \"compilationStatus\": {","                    \"type\": \"boolean\",","                    \"title\": \"compilationStatus\"","                },","                \"submittedAt\": {","                    \"type\": \"number\",","                    \"title\": \"submittedAt\",","                    \"description\": \"Time and Date of the submission\"","                },","                \"isCustomSubmission\": {","                    \"type\": \"boolean\",","                    \"title\": \"isCustomSubmission\"","                },","                \"language\": {","                    \"type\": \"string\",","                    \"title\": \"language\"","                },","                \"questionHash\": {","                    \"type\": \"string\",","                    \"title\": \"questionHash\"","                },","                \"testCaseResults\":{","                    \"type\": \"array\",","                    \"title\": \"\",","                    \"description\": \"\",","                    \"default\": [],","                    \"additionalItems\": false,","                    \"items\": {","                        \"anyOf\": [{","                            \"runtime\": {","                                \"type\": \"string\",","                                \"title\": \"runtime\",","                            },","                            \"status\": {","                                \"type\": \"string\",","                                \"title\": \"status\"","                            },","                            \"id\": {","                                \"type\": \"string\",","                                \"title\": \"id\"","                            },","                        }]","                    }","                }","                ","            }","        }]","    },","}","","pm.test(\"Status test\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Schema Test\", function () {","    pm.response.to.have.jsonSchema(schema);","});"],"type":"text/javascript","id":"9500a99a-d249-4c27-9e05-563d54328460"}}],"id":"0ec58ae5-9828-4f17-94f7-bafa9739b71f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{org-api-key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecreateproblems.com/ats/wecp/candidates/:candidatesId/submissions?filterBestSubmission=true","description":"<p>GET request to retrieve a list of all submissions made by a specific candidate</p>\n","urlObject":{"protocol":"https","path":["ats","wecp","candidates",":candidatesId","submissions"],"host":["api","wecreateproblems","com"],"query":[{"key":"filterBestSubmission","value":"true"}],"variable":[{"id":"9118228b-ac38-48a3-8a48-758cbafe0257","type":"any","value":"49f2136b-0758-47c3-b9df-75cdec4b6ea3","key":"candidatesId"}]}},"response":[{"id":"97882206-aba9-488a-a07d-7535e21b76ec","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/candidates/:candidatesId/submissions","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","candidates",":candidatesId","submissions"],"variable":[{"key":"candidatesId","value":"49f2136b-0758-47c3-b9df-75cdec4b6ea3"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 16:58:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"3359"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"92f89283-55e1-4c03-8ccf-267e7c6e8e38"},{"key":"x-amz-apigw-id","value":"btB7uE1ghcwFYUQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-637516b1-467377886f1725f53aae53ca;Sampled=0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"submissionId\": {{submissionId}},\n        \"sourceCode\": \"import java.io.*;\\nimport java.util.*;\\nimport java.lang.Math;\\npublic class Solution {\\n    public static int digitalboard(int X,int Y){\\n        int count = 0;\\n\\n        for(int i=X+1; i<= Y; i++){\\n            if(i % 10000 == 0) count += 5;\\n            else if(i % 1000 == 0) count += 4;\\n            else if( i % 100 == 0) count += 3;\\n            else if( i % 10 == 0) count += 2;\\n            else count += 1;\\n        }\\n        \\n        return count;\\n    }\\n\\n    public static void main(String[] args){\\n        Scanner scan = new Scanner(System.in);\\n        int X;\\n        X=scan.nextInt();\\n        int Y;\\n        Y=scan.nextInt();\\n        int result;\\n        result = digitalboard(X,Y);\\n        System.out.print(result);\\n        return ;\\n    }\\n}\",\n        \"compilationStatus\": true,\n        \"submittedAt\": 1671428575672,\n        \"isCustomSubmission\": false,\n        \"language\": \"JAVA8\",\n        \"questionHash\": {{questionHash}},\n        \"testCaseResults\": [\n            {\n                \"runtime\": \"0.148s\",\n                \"status\": \"AC\",\n                \"id\": {{test_case_id_0}}\n            },\n            {\n                \"runtime\": \"0.148s\",\n                \"status\": \"WA\",\n                \"id\": {{test_case_id_1}}\n            },\n            {\n                \"runtime\": \"0.146s\",\n                \"status\": \"AC\",\n                \"id\": {{test_case_id_2}}\n            }\n        ]\n    }\n]"},{"id":"15a7df93-4ffe-4b66-ba31-8f185cae5268","name":"Invalid Candidate ID","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/candidates/:candidatesId/submissions","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","candidates",":candidatesId","submissions"],"variable":[{"key":"candidatesId","value":"invalid-candidate-id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 16:57:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"66"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"6d7eb200-7b20-44b4-8608-b070184778b7"},{"key":"x-amz-apigw-id","value":"btB03HEhBcwFVdQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-63751685-33d95c845dd867e64fc24f4a;Sampled=0"}],"cookie":[],"responseTime":null,"body":"\"No report found with the id invalid-candidate-id\""}],"_postman_id":"0ec58ae5-9828-4f17-94f7-bafa9739b71f"},{"name":"Get Candidate Activities","event":[{"listen":"test","script":{"exec":["schema = {","    \"type\": \"array\",","    \"title\": \"\",","    \"description\": \"\",","    \"default\": {},","    \"items\": {","        \"anyOf\":[{","            \"type\": \"object\",","            \"title\": \"The question schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": {},","            \"required\": [","                \"activity\",","                \"timestamp\"","            ],","            \"properties\": {","                \"activity\": {","                    \"type\": \"string\",","                    \"title\": \"Type of activity reported\",","                    \"description\": \"\",","                    \"default\": \"\"","                },","                \"timestamp\": {","                    \"type\": \"number\",","                    \"title\": \"Date and time (in milliseconds) of the activity\",","                    \"description\": \"\",","                    \"default\": 0","                },","                \"imageURL\": {","                    \"type\": \"string\",","                    \"title\": \"S3 image URL for the video violation\",","                    \"description\": \"\",","                    \"default\": \"\"","                }","            },","        }]","    },","    \"additionalProperties\": false","}","","pm.test(\"Status test\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Schema Test\", function () {","    pm.response.to.have.jsonSchema(schema);","});"],"type":"text/javascript","id":"44507323-353f-4a28-ac08-d665525af7bb"}}],"id":"12f3d894-0cbf-4f31-a29e-48a8d4a09519","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{org-api-key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecreateproblems.com/ats/wecp/candidates/:candidatesId/activities","description":"<p>This GET request is used to retrieve a list of all activities recorded of a specific candidate</p>\n","urlObject":{"protocol":"https","path":["ats","wecp","candidates",":candidatesId","activities"],"host":["api","wecreateproblems","com"],"query":[],"variable":[{"id":"fca9b196-ecb8-4d63-81c7-00f440e38edf","type":"any","value":"49f2136b-0758-47c3-b9df-75cdec4b6ea3","key":"candidatesId"}]}},"response":[{"id":"d0fd1753-2c07-49ab-b4e9-71969746310a","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/dev/wecp/candidates/:candidatesId/activities","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","dev","wecp","candidates",":candidatesId","activities"],"variable":[{"key":"candidatesId","value":"49f2136b-0758-47c3-b9df-75cdec4b6ea3"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 16:58:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"3359"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"92f89283-55e1-4c03-8ccf-267e7c6e8e38"},{"key":"x-amz-apigw-id","value":"btB7uE1ghcwFYUQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-637516b1-467377886f1725f53aae53ca;Sampled=0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"activity\": \"videoViolation\",\n        \"imageURL\": \"https://wecp-bucket.s3.ap-south-1.amazonaws.com/tests/49f2136b-0758-47c3-b9df-75cdec4b6ea3/{{hash}}?{{authtoken}}\",\n        \"timestamp\": 1692924979079\n    },\n    {\n        \"activity\": \"fullscreenViolation\",\n        \"timestamp\": 1692925004295\n    },\n    {\n        \"activity\": \"tabViolation\",\n        \"timestamp\": 1692925045237\n    }\n]"},{"id":"d650f1e0-7d07-45ac-9434-5e1387ed3880","name":"Invalid Candidate ID","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/dev/wecp/candidates/:candidatesId/activities","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","dev","wecp","candidates",":candidatesId","activities"],"variable":[{"key":"candidatesId","value":"invalid-candidate-id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 16:57:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"66"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"6d7eb200-7b20-44b4-8608-b070184778b7"},{"key":"x-amz-apigw-id","value":"btB03HEhBcwFVdQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-63751685-33d95c845dd867e64fc24f4a;Sampled=0"}],"cookie":[],"responseTime":null,"body":"\"No report found with the id invalid-candidate-id\""}],"_postman_id":"12f3d894-0cbf-4f31-a29e-48a8d4a09519"},{"name":"Get User Details","event":[{"listen":"test","script":{"exec":["schema = {","    \"$schema\": \"http://json-schema.org/draft-07/schema\",","    \"$id\": \"http://example.com/example.json\",","    \"type\": \"array\",","    \"title\": \"The root schema\",","    \"description\": \"The root schema comprises the entire JSON document.\",","    \"default\": [],","    \"additionalItems\": true,","    \"items\": {","        \"$id\": \"#/items\",","        \"anyOf\": [","            {","                \"type\": \"object\",","                \"title\": \"The root schema\",","                \"description\": \"The root schema comprises the entire JSON document.\",","                \"default\": {},","                \"required\": [","                    \"candidateId\",","                    \"programmingLanguagesUsed\",","                    \"finishTime\",","                    \"candidateDetails\",","                    \"score\",","                    \"questionWiseScore\",","                    \"testStartTime\",","                    \"testFinished\",","                    \"testDuration\",","                    \"quizId\",","                    \"retry\",","                    \"finished\",","                    \"proctoringData\",","                    \"closed\"","                ],","                \"properties\": {","                    \"candidateId\": {","                        \"type\": \"string\",","                        \"title\": \"The candidateId schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"programmingLanguagesUsed\": {","                        \"type\": \"array\",","                        \"title\": \"The programmingLanguagesUsed schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": [],","                        \"additionalItems\": true,","                        \"items\": {","                            \"anyOf\": [","                                {","                                    \"type\": \"string\",","                                    \"title\": \"The first anyOf schema\",","                                    \"description\": \"An explanation about the purpose of this instance.\",","                                    \"default\": \"\"","                                }","                            ]","                        }","                    },","                    \"finishTime\": {","                        \"type\": \"string\",","                        \"title\": \"The finishTime schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"candidateDetails\": {","                        \"type\": \"object\",","                        \"title\": \"The candidateDetails schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": {},","                        \"required\": [","                            \"Email\",","                            \"IP address\",","                            \"User Agent\"","                        ],","                        \"properties\": {","                            \"anyOf\": {","                                \"type\": \"string\",","                                \"title\": \"The data schema\",","                                \"description\": \"An explanation about the purpose of this instance.\",","                                \"default\": \"\"","                            }","                        },","                        \"additionalProperties\": true","                    },","                    \"score\": {","                        \"type\": \"integer\",","                        \"title\": \"The score schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": 0","                    },","                    \"questionWiseScore\": {","                        \"type\": \"object\",","                        \"title\": \"The questionWiseScore schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": {},","                        \"properties\": {","                            \"anyOf\": {","                                \"type\": \"object\",","                                \"title\": \"The question schema\",","                                \"description\": \"An explanation about the purpose of this instance.\",","                                \"default\": {},","                                \"required\": [","                                    \"score\",","                                    \"_id\",","                                    \"type\",","                                    \"timeSpent\",","                                    \"status\",","                                    \"totalAttempts\"","                                ],","                                \"properties\": {","                                    \"score\": {","                                        \"type\": \"integer\",","                                        \"title\": \"The score schema\",","                                        \"description\": \"An explanation about the purpose of this instance.\",","                                        \"default\": 0","                                    },","                                    \"_id\": {","                                        \"type\": \"string\",","                                        \"title\": \"The _id schema\",","                                        \"description\": \"An explanation about the purpose of this instance.\",","                                        \"default\": \"\"","                                    },","                                    \"type\": {","                                        \"type\": \"string\",","                                        \"title\": \"The type schema\",","                                        \"description\": \"An explanation about the purpose of this instance.\",","                                        \"default\": \"\"","                                    },","                                    \"timeSpent\": {","                                        \"type\": \"integer\",","                                        \"title\": \"The timeSpent schema\",","                                        \"description\": \"An explanation about the purpose of this instance.\",","                                        \"default\": 0","                                    },","                                    \"status\": {","                                        \"type\": \"boolean\",","                                        \"title\": \"The status schema\",","                                        \"description\": \"An explanation about the purpose of this instance.\",","                                        \"default\": false","                                    },","                                    \"totalAttempts\": {","                                        \"type\": \"integer\",","                                        \"title\": \"The totalAttempts schema\",","                                        \"description\": \"An explanation about the purpose of this instance.\",","                                        \"default\": 0","                                    }","                                },","                                \"additionalProperties\": true","                            }","                        },","                        \"additionalProperties\": true","                    },","                    \"testStartTime\": {","                        \"type\": \"string\",","                        \"title\": \"The testStartTime schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"testFinished\": {","                        \"type\": \"boolean\",","                        \"title\": \"The testFinished schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": false","                    },","                    \"testDuration\": {","                        \"type\": \"string\",","                        \"title\": \"The testDuration schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"quizId\": {","                        \"type\": \"string\",","                        \"title\": \"The quizId schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"retry\": {","                        \"type\": \"integer\",","                        \"title\": \"The retry schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": 0","                    },","                    \"finished\": {","                        \"type\": \"boolean\",","                        \"title\": \"The finished schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": false","                    },","                    \"proctoringData\": {","                        \"type\": \"object\",","                        \"title\": \"The proctoringData schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": {},","                        \"required\": [","                            \"pasteContent\",","                            \"fullScreenViolation\",","                            \"multipleFaces\",","                            \"tabChanged\",","                            \"copyContent\",","                            \"noFaceDetected\",","                            \"onlineTime\",","                            \"timeOffWindow\"","                        ],","                        \"properties\": {","                            \"pasteContent\": {","                                \"type\": \"integer\",","                                \"title\": \"The pasteContent schema\",","                                \"description\": \"An explanation about the purpose of this instance.\",","                                \"default\": 0","                            },","                            \"fullScreenViolation\": {","                                \"type\": \"integer\",","                                \"title\": \"The fullScreenViolation schema\",","                                \"description\": \"An explanation about the purpose of this instance.\",","                                \"default\": 0","                            },","                            \"multipleFaces\": {","                                \"type\": \"integer\",","                                \"title\": \"The multipleFaces schema\",","                                \"description\": \"An explanation about the purpose of this instance.\",","                                \"default\": 0","                            },","                            \"tabChanged\": {","                                \"type\": \"integer\",","                                \"title\": \"The tabChanged schema\",","                                \"description\": \"An explanation about the purpose of this instance.\",","                                \"default\": 0","                            },","                            \"copyContent\": {","                                \"type\": \"integer\",","                                \"title\": \"The copyContent schema\",","                                \"description\": \"An explanation about the purpose of this instance.\",","                                \"default\": 0","                            },","                            \"noFaceDetected\": {","                                \"type\": \"integer\",","                                \"title\": \"The noFaceDetected schema\",","                                \"description\": \"An explanation about the purpose of this instance.\",","                                \"default\": 0","                            },","                            \"onlineTime\": {","                                \"type\": \"integer\",","                                \"title\": \"The onlineTime schema\",","                                \"description\": \"An explanation about the purpose of this instance.\",","                                \"default\": 0","                            },","                            \"timeOffWindow\": {","                                \"type\": \"integer\",","                                \"title\": \"The timeOffWindow schema\",","                                \"description\": \"An explanation about the purpose of this instance.\",","                                \"default\": 0","                            }","                        },","                        \"additionalProperties\": true","                    },","                    \"closed\": {","                        \"type\": \"integer\",","                        \"title\": \"The closed schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": 0","                    }","                },","                \"additionalProperties\": true","            }","        ]","    }","}","","pm.test(\"Status test\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Schema Test\", function () {","    pm.response.to.have.jsonSchema(schema);","});"],"type":"text/javascript","id":"bb0b39a2-cdfa-4309-b17f-5c3ef8cf22e1"}}],"id":"574c3fd2-9c29-4faa-8605-78cf953bf4c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{org-api-key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecreateproblems.com/ats/wecp/tests/:testId/:username","description":"<p>GET request to fetch all the reports of candidate in the test (in case of retry) using the candidate email.</p>\n","urlObject":{"protocol":"https","path":["ats","wecp","tests",":testId",":username"],"host":["api","wecreateproblems","com"],"query":[],"variable":[{"id":"979915d6-3e3f-4049-b9a2-f837482d64fd","type":"any","value":"6bf2587f-5746-4edb-be9f-729406741655","key":"testId"},{"id":"4fcdc276-b4e1-4573-a70d-fed8de08f985","type":"any","value":"{{userEmail}}","key":"username"}]}},"response":[{"id":"67150619-470e-43a0-820d-a6b4e9872e42","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/tests/:testId/:username","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","tests",":testId",":username"],"variable":[{"key":"testId","value":"6bf2587f-5746-4edb-be9f-729406741655"},{"key":"username","value":"{{userEmail}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:01:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"3361"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"7acd847a-2d74-4879-82ee-8f3ee1f3200e"},{"key":"x-amz-apigw-id","value":"btCWdHyuhcwFnNw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-6375175c-53ecbf7929f8f3e65575d991;Sampled=0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"candidateId\": \"7812cb11-dfe5-43ad-b478-28e98ddc3002\",\n        \"programmingLanguagesUsed\": [\n            \"V8JS\",\n            \"PY3\",\n            \"CPP11\"\n        ],\n        \"finishTime\": \"2020-10-09T18:53:34.557Z\",\n        \"candidateDetails\": {\n            \"Email\": {{userEmail}},\n            \"Name\": \"WeCP Admin\",\n            \"IP address\": \"111.111.111.111\",\n            \"User Agent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36\"\n        },\n        \"score\": 250,\n        \"questionWiseScore\": {\n            \"HWYC1ipzcrRqbYalMvEQLHqPUyef49UT\": {\n                \"score\": 0,\n                \"_id\": \"bc8d27c6-4d07-4617-87e5-25c1c958f41b\",\n                \"type\": \"answer\",\n                \"timeSpent\": 21568,\n                \"status\": true,\n                \"totalAttempts\": 1\n            },\n            \"3ZAkYwSdjIrtsK84V7IeciHRtqmHh1cj\": {\n                \"score\": 3,\n                \"_id\": \"d5ffec3a-0665-487a-b77a-68135be7747d\",\n                \"type\": \"answer\",\n                \"timeSpent\": 4438,\n                \"status\": true,\n                \"totalAttempts\": 1\n            },\n            \"ZERgXWiN0pVgpTOZK0Akl5VvaiAQG3JJ\": {\n                \"score\": 75,\n                \"timeSpent\": 0,\n                \"totalAttempts\": 2,\n                \"_id\": \"08c38bb0-c90b-46ed-8cb4-c71fc5effcad\",\n                \"type\": \"submission\",\n                \"status\": true,\n                \"testcasesPassed\": 9\n            },\n            \"jotIP91MQvlOUaZW2h5WRDUjeMPBTIqt\": {\n                \"score\": 10,\n                \"timeSpent\": 150122,\n                \"totalAttempts\": 1,\n                \"_id\": \"d12314eb-ccb5-4e71-86c4-4ac746df3e9d\",\n                \"type\": \"submission\",\n                \"status\": true,\n                \"testcasesPassed\": 1\n            },\n            \"bCAQpimaQLKIv5sK721CyQ1Uj8AePnai\": {\n                \"score\": 3,\n                \"_id\": \"152101e8-caca-4dea-a6e5-91dba59b983c\",\n                \"type\": \"answer\",\n                \"timeSpent\": 5570,\n                \"status\": true,\n                \"totalAttempts\": 2\n            },\n            \"IGCqtkqAnnMLyLBw1J25CLR0IInnEkNw\": {\n                \"score\": 3,\n                \"_id\": \"71a2ebf9-c57d-49b5-b48e-e8f85f1f3ca6\",\n                \"type\": \"answer\",\n                \"timeSpent\": 0,\n                \"status\": true,\n                \"totalAttempts\": 1\n            },\n            \"8M9c0QduECNJlJARRzBVnNxByO1t8nND\": {\n                \"score\": 50,\n                \"timeSpent\": 0,\n                \"totalAttempts\": 1,\n                \"_id\": \"b99ab1a3-f338-4b24-8b78-3a35f2a784dc\",\n                \"type\": \"submission\",\n                \"status\": false,\n                \"testcasesPassed\": 5\n            },\n            \"Uht43jOi2GQai7yWr2g4iK89550Xo5qC\": {\n                \"score\": 0,\n                \"_id\": \"21373200-b0a0-401f-85e9-1b9c07364e52\",\n                \"type\": \"answer\",\n                \"timeSpent\": 0,\n                \"status\": true,\n                \"totalAttempts\": 1\n            },\n            \"JMAOOGyYcOgbew3f3hGOjX7h3FwEL7a0\": {\n                \"score\": 0,\n                \"_id\": \"6fb6994b-c89e-4af9-9061-2df570e54ecf\",\n                \"type\": \"answer\",\n                \"timeSpent\": 5495,\n                \"status\": false,\n                \"totalAttempts\": 1\n            },\n            \"GPlL4Mn63e0FmVyTEF1PGjWvDwX9WzAY\": {\n                \"score\": 3,\n                \"_id\": \"66fbb759-3afb-49a5-9ec2-c9b7aa5179ae\",\n                \"type\": \"answer\",\n                \"timeSpent\": 0,\n                \"status\": true,\n                \"totalAttempts\": 3\n            },\n            \"yeUZJpnupwpnKZIZWJPDSuS2sKnozaWE\": {\n                \"score\": 0,\n                \"_id\": \"f69e555d-5c99-4ea5-9270-db051fbd10a7\",\n                \"type\": \"answer\",\n                \"timeSpent\": 0,\n                \"status\": false,\n                \"totalAttempts\": 1\n            },\n            \"ttS3TJg0hvgLETC6WoyVD7oUauChWrmy\": {\n                \"score\": 0,\n                \"timeSpent\": 154447,\n                \"totalAttempts\": 1,\n                \"_id\": \"315bfe11-41c8-4165-b5f2-da0215c62cda\",\n                \"type\": \"submission\",\n                \"status\": true,\n                \"testcasesPassed\": 0\n            },\n            \"JUiBEhHlPkH3uwpQJK8XuA9jIawjzOpA\": {\n                \"score\": 0,\n                \"_id\": \"71c51337-c23c-4bd1-a9dc-a3ed255743a0\",\n                \"type\": \"answer\",\n                \"timeSpent\": 8124,\n                \"status\": true,\n                \"totalAttempts\": 3\n            },\n            \"xV9iNBBHNnOBJFrCa3P0OwgB3G3nLW0R\": {\n                \"score\": 3,\n                \"_id\": \"b1d107a1-6d85-4f4c-a3a6-5dd052303f78\",\n                \"type\": \"answer\",\n                \"timeSpent\": 9918,\n                \"status\": true,\n                \"totalAttempts\": 1\n            },\n            \"boPFJyGOpPwyzd4orIZOqRgItCk3hHKC\": {\n                \"score\": 0,\n                \"_id\": \"377ce20d-a5da-4b46-8be2-eaaed6212d4c\",\n                \"type\": \"answer\",\n                \"timeSpent\": 4342,\n                \"status\": false,\n                \"totalAttempts\": 1\n            },\n            \"Ome0OjE0unoQCw5NT7tk127Ah67BKoKs\": {\n                \"score\": 0,\n                \"_id\": \"0f1993b6-253f-4438-9dae-de9b8adc721c\",\n                \"type\": \"answer\",\n                \"timeSpent\": 0,\n                \"status\": false,\n                \"totalAttempts\": 1\n            }\n        },\n        \"testStartTime\": \"2020-10-09T18:47:06.121Z\",\n        \"testFinished\": true,\n        \"testDuration\": \"6 minutes\",\n        \"quizId\": \"2f0ede59-f33e-4c4e-8f2c-575ba4715907\",\n        \"retry\": 1,\n        \"finished\": true,\n        \"proctoringData\": {\n            \"pasteContent\": 0,\n            \"fullScreenViolation\": 0,\n            \"multipleFaces\": 0,\n            \"tabChanged\": 0,\n            \"copyContent\": 0,\n            \"noFaceDetected\": 0,\n            \"onlineTime\": 0,\n            \"timeOffWindow\": 0\n        },\n        \"closed\": 2\n    }\n]"},{"id":"3fdd23b7-571a-4133-9c98-b2149d3ae927","name":"Invalid Test ID","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/tests/:testId/:username","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","tests",":testId",":username"],"variable":[{"key":"testId","value":"invalid-test-id"},{"key":"username","value":"{{userEmail}}"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:00:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"66"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"064e0728-edf6-4b7a-9e17-1398da62fa3d"},{"key":"x-amz-apigw-id","value":"btCOYESEhcwFe_g="},{"key":"X-Amzn-Trace-Id","value":"Root=1-63751728-0b5aace27fc4fe32734a6139;Sampled=0"}],"cookie":[],"responseTime":null,"body":"\"Test is not associated with the organization\""},{"id":"d3556da4-2f4a-4b26-a40d-ac22958263fc","name":"Invalid Username","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/tests/:testId/:username","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","tests",":testId",":username"],"variable":[{"key":"testId","value":"6bf2587f-5746-4edb-be9f-729406741655"},{"key":"username","value":"invalid-username"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:00:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"66"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"064e0728-edf6-4b7a-9e17-1398da62fa3d"},{"key":"x-amz-apigw-id","value":"btCOYESEhcwFe_g="},{"key":"X-Amzn-Trace-Id","value":"Root=1-63751728-0b5aace27fc4fe32734a6139;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"errorType\": \"string\",\n    \"errorMessage\": \"No report found\",\n    \"trace\": []\n}"}],"_postman_id":"574c3fd2-9c29-4faa-8605-78cf953bf4c4"},{"name":"Get Feedback of a Test","event":[{"listen":"test","script":{"exec":["schema = {","    \"type\": \"array\",","    \"title\": \"The root schema\",","    \"description\": \"The root schema comprises the entire JSON document.\",","    \"default\": [],","    \"additionalItems\": true,","    \"items\": {","        \"anyOf\": [","            {","                \"type\": \"object\",","                \"title\": \"The first anyOf schema\",","                \"description\": \"An explanation about the purpose of this instance.\",","                \"default\": {},","                \"required\": [","                    \"org\",","                    \"testId\",","                    \"quiz\",","                    \"qapairs\",","                    \"_id\",","                    \"createdAt\",","                    \"group\"","                ],","                \"properties\": {","                    \"org\": {","                        \"type\": \"string\",","                        \"title\": \"The org schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"testId\": {","                        \"type\": \"string\",","                        \"title\": \"The testId schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"quiz\": {","                        \"type\": \"string\",","                        \"title\": \"The quiz schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"qapairs\": {","                        \"type\": \"array\",","                        \"title\": \"The qapairs schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": [],","                        \"additionalItems\": true,","                        \"items\": {","                            \"anyOf\": [","                                {","                                    \"type\": \"object\",","                                    \"title\": \"The first anyOf schema\",","                                    \"description\": \"An explanation about the purpose of this instance.\",","                                    \"default\": {},","                                    \"required\": [","                                        \"question\",","                                        \"type_of_question\",","                                        \"selectedIndices\",","                                        \"required\",","                                        \"option\"","                                    ],","                                    \"properties\": {","                                        \"question\": {","                                            \"type\": \"string\",","                                            \"title\": \"The question schema\",","                                            \"description\": \"An explanation about the purpose of this instance.\",","                                            \"default\": \"\",","                                            \"examples\": [","                                                \"Sample question for testing\"","                                            ]","                                        },","                                        \"answer\": {","                                            \"type\": \"string\",","                                            \"title\": \"The answer schema\",","                                            \"description\": \"An explanation about the purpose of this instance.\",","                                            \"default\": \"\"","                                        },","                                        \"type_of_question\": {","                                            \"type\": \"string\",","                                            \"title\": \"The type_of_question schema\",","                                            \"description\": \"An explanation about the purpose of this instance.\",","                                            \"default\": \"\"","                                        },","                                        \"selectedIndices\": {","                                            \"type\": \"array\",","                                            \"title\": \"The selectedIndices schema\",","                                            \"description\": \"An explanation about the purpose of this instance.\",","                                            \"default\": [],","                                            \"additionalItems\": true,","                                        },","                                        \"required\": {","                                            \"type\": \"boolean\",","                                            \"title\": \"The required schema\",","                                            \"description\": \"An explanation about the purpose of this instance.\",","                                            \"default\": false","                                        },","                                        \"option\": {","                                            \"type\": \"array\",","                                            \"title\": \"The option schema\",","                                            \"description\": \"An explanation about the purpose of this instance.\",","                                            \"default\": [],","                                            \"additionalItems\": true","                                        }","                                    },","                                    \"additionalProperties\": true","                                }","                            ]","                        }","                    },","                    \"_id\": {","                        \"type\": \"string\",","                        \"title\": \"The _id schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"createdAt\": {","                        \"type\": \"string\",","                        \"title\": \"The createdAt schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\",","                    },","                    \"group\": {","                        \"type\": \"string\",","                        \"title\": \"The group schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    }","                },","                \"additionalProperties\": true","            }","        ]","    }","}","","pm.test(\"Status test\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Schema Test\", function () {","    pm.response.to.have.jsonSchema(schema);","});"],"type":"text/javascript","id":"5a0e0f1d-cf3f-4e70-ae31-51421294743c"}}],"id":"1858d8f9-f18f-42e1-9f12-7139fc3cd7dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{org-api-key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecreateproblems.com/ats/wecp/tests/:testId/feedbacks","description":"<p>GET request to fetch all the feedbacks from candidate in a test.</p>\n","urlObject":{"protocol":"https","path":["ats","wecp","tests",":testId","feedbacks"],"host":["api","wecreateproblems","com"],"query":[],"variable":[{"id":"6d7899a5-95dd-4290-a399-40890e6171b5","type":"any","value":"6bf2587f-5746-4edb-be9f-729406741655","key":"testId"}]}},"response":[{"id":"52d20c7b-be37-4bbf-827b-a234e903c646","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/tests/:testId/feedbacks","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","tests",":testId","feedbacks"],"variable":[{"key":"testId","value":"6bf2587f-5746-4edb-be9f-729406741655"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:02:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"808"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"8c78a5e9-df6d-437e-84df-b28340ed2616"},{"key":"x-amz-apigw-id","value":"btChaHjFhcwFqLw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-637517a2-7727078d0378ba101ec4f8fb;Sampled=0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"org\": \"apiTesting\",\n        \"qapairs\": [\n            {\n                \"question\": \"Sample feedback for API testing\",\n                \"answer\": \"Sample answer in the feedback question.\",\n                \"type_of_question\": \"text\",\n                \"selectedIndices\": [],\n                \"required\": false,\n                \"option\": []\n            }\n        ],\n        \"_id\": \"2239ad52-2243-4deb-a79e-d7f63178306a\",\n        \"createdAt\": \"2020-10-09T18:55:57.191Z\",\n        \"group\": 479fc649-143f-4e54-8d8b-65ecb4349583,\n        \"testId\": 6bf2587f-5746-4edb-be9f-729406741655,\n        \"quiz\": 49f2136b-0758-47c3-b9df-75cdec4b6ea3\n    },\n    {\n        \"org\": \"apiTesting\",\n        \"qapairs\": [\n            {\n                \"question\": \"Sample feedback for API testing\",\n                \"type_of_question\": \"text\",\n                \"selectedIndices\": [],\n                \"required\": false,\n                \"option\": []\n            }\n        ],\n        \"_id\": \"9d4b0602-24a9-4e3a-a681-70ece9b0da05\",\n        \"createdAt\": \"2022-06-06T09:28:58.678Z\",\n        \"group\": 479fc649-143f-4e54-8d8b-65ecb4349583,\n        \"testId\": 6bf2587f-5746-4edb-be9f-729406741655,\n        \"quiz\": 49f2136b-0758-47c3-b9df-75cdec4b6ea3\n    }\n]"},{"id":"349279e6-fc44-4938-ac29-ddfe35b54dfa","name":"Invalid test ID","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/tests/:testId/feedbacks","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","tests",":testId","feedbacks"],"variable":[{"key":"testId","value":"invalid-test-id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:01:59 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"118"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"0ed9d146-f24d-44fd-8b5a-1c3e424e9ee1"},{"key":"x-amz-apigw-id","value":"btCdOFr9hcwFlVg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-63751787-3dbe156d2fa7292e3fa2b1a7;Sampled=0"}],"cookie":[],"responseTime":null,"body":"\"Test is not associated with the organization\""}],"_postman_id":"1858d8f9-f18f-42e1-9f12-7139fc3cd7dc"},{"name":"List Interviews","event":[{"listen":"test","script":{"exec":["schema = {","    \"type\": \"array\",","    \"title\": \"The root schema\",","    \"description\": \"The root schema comprises the entire JSON document.\",","    \"additionalItems\": false,","    \"items\": {","        \"anyOf\":[{","            \"type\": \"object\",","            \"title\": \"The question schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": {},","            \"required\": [","                \"interviewId\",","                \"public\",","                \"owner\",","                \"name\",","                \"active\",","                \"duration\",","                \"createdAt\",","                \"updatedAt\",","                \"redirectUrl\",","            ],","            \"properties\": {","                \"testId\": {","                    \"type\": \"string\",","                    \"title\": \"The public schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": [],","                },","                \"public\": {","                    \"type\": \"boolean\",","                    \"title\": \"The public schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": [],","                },","                \"owner\": {","                    \"type\": \"string\",","                    \"title\": \"The owner schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": [],","                },","                \"name\": {","                    \"type\": \"string\",","                    \"title\": \"The name schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": [],","                },","                \"active\": {","                    \"type\": \"boolean\",","                    \"title\": \"The active schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": [],","                },","                \"duration\": {","                    \"type\": \"number\",","                    \"title\": \"The active schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": [],","                },","                \"createdAt\": {","                    \"type\": \"string\",","                    \"title\": \"The createdAt schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": [],","                },","                \"updatedAt\": {","                    \"type\": \"string\",","                    \"title\": \"The updatedAt schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": [],","                },","                \"redirectUrl\": {","                    \"type\": \"string\",","                    \"title\": \"The redirectUrl schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": [],","                },","            },","            \"additionalProperties\": true","        }]","    }","}","","pm.test(\"Status test\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Schema Test\", function () {","    pm.response.to.have.jsonSchema(schema);","});"],"type":"text/javascript","id":"d0c7714f-6e25-47de-8103-14c2544acf36"}}],"id":"7b5c2893-ae57-46a7-a732-918fa7ee5375","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{org-api-key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecreateproblems.com/ats/wecp/listInterviews?groupId=479fc649-143f-4e54-8d8b-65ecb4349583","description":"<p>GET request to fetch all the interview IDs associated with the specified group.</p>\n","urlObject":{"protocol":"https","path":["ats","wecp","listInterviews"],"host":["api","wecreateproblems","com"],"query":[{"key":"groupId","value":"479fc649-143f-4e54-8d8b-65ecb4349583"}],"variable":[]}},"response":[{"id":"ef410c7d-dec8-40db-9f34-e98208c6d5c7","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":"https://api.wecreateproblems.com/ats/wecp/listInterviews"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:05:27 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"79"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"e07afbc9-7e33-4b5a-bfba-1ade1442fc0b"},{"key":"x-amz-apigw-id","value":"btC9tH9MBcwFYrg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-63751857-1d6262fe56a9feb5517eb421;Sampled=0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"interviewId\": \"ce9e389d-10f6-4688-9d25-a8024150ced6\",\n        \"public\": false,\n        \"owner\":  cypress,\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-02T18:32:09.894Z\",\n        \"updatedAt\": \"2023-03-02T18:32:09.894Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"2222e9fb-e79b-45dd-9d28-547b37f46dd3\",\n        \"public\": false,\n        \"owner\": cypress,\n        \"name\": \"Sample Interview - 2\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-02-23T18:31:30.148Z\",\n        \"updatedAt\": \"2023-02-23T18:31:30.148Z\",\n        \"redirectUrl\": \"/\"\n    },"},{"id":"e9e194b9-5ce4-47ab-b99c-b3a31156ce54","name":"Filter by Group ID","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/listInterviews?groupId=479fc649-143f-4e54-8d8b-65ecb4349583","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","listInterviews"],"query":[{"key":"groupId","value":"479fc649-143f-4e54-8d8b-65ecb4349583"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:04:56 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"113"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"5a8cf5ec-2c40-4ceb-8f0b-e2d7800d226b"},{"key":"x-amz-apigw-id","value":"btC42HREhcwFbiA="},{"key":"X-Amzn-Trace-Id","value":"Root=1-63751838-6e05543f3111791c357ee079;Sampled=0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"interviewId\": \"73b318f7-08a6-472e-964a-355653213763\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-23T18:30:36.807Z\",\n        \"updatedAt\": \"2023-03-23T18:30:36.807Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"57d0a1c4-0d32-4b66-801e-368d1f27f5d7\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-11T18:32:59.684Z\",\n        \"updatedAt\": \"2023-03-11T18:32:59.684Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"479f06ef-dd85-4062-874d-146f08a2e335\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-14T18:30:32.404Z\",\n        \"updatedAt\": \"2023-03-14T18:30:32.404Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"5d2544f6-cf63-4f82-ae32-9caf8a579bda\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-14T10:26:49.772Z\",\n        \"updatedAt\": \"2023-03-14T10:26:49.772Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"9ae34393-91ba-46f4-8896-2964ba77881a\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-21T18:33:28.643Z\",\n        \"updatedAt\": \"2023-03-21T18:33:28.643Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"e1a25ea9-5597-465e-85a8-121b1030ba00\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-18T18:32:41.703Z\",\n        \"updatedAt\": \"2023-03-18T18:32:41.703Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"7d677a51-b962-4df6-b3f2-78c64b40c33f\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-25T18:32:24.995Z\",\n        \"updatedAt\": \"2023-03-25T18:32:24.995Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"b8bcecf5-fb7e-40da-8287-2d618167bb2b\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-31T18:32:45.056Z\",\n        \"updatedAt\": \"2023-03-31T18:32:45.056Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"d91a2936-50f5-4359-bac0-28180c67405d\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-04-02T18:33:45.461Z\",\n        \"updatedAt\": \"2023-04-02T18:33:45.461Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"e2352e19-6683-4236-a7ff-84acb0b18115\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-30T18:35:17.552Z\",\n        \"updatedAt\": \"2023-03-30T18:35:17.552Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"e5748b31-cfcb-4862-92c8-dda8782be207\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-09T18:30:22.080Z\",\n        \"updatedAt\": \"2023-03-09T18:30:22.080Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"3b56063f-a94e-4125-a919-dfb8bdb1fdb9\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-24T18:30:55.894Z\",\n        \"updatedAt\": \"2023-03-24T18:30:55.894Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"682da229-66c3-4081-91bb-c276d6ca6ba5\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-26T18:34:23.076Z\",\n        \"updatedAt\": \"2023-03-26T18:34:23.076Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"f750be1b-7a47-49c4-865d-4e69e88a6805\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-15T18:30:39.238Z\",\n        \"updatedAt\": \"2023-03-15T18:30:39.238Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"d61626cb-afba-4c7d-ace2-3ec1b999876c\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-04-17T10:12:28.231Z\",\n        \"updatedAt\": \"2023-04-17T10:12:28.231Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"b022633d-0737-413d-81ee-da2ac342e6fa\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-28T18:33:52.405Z\",\n        \"updatedAt\": \"2023-03-28T18:33:52.405Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"90886d84-b69b-4da8-9af7-e056cb1df49f\",\n        \"public\": false,\n        \"owner\": \"admin\",\n        \"name\": \"Tech Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2020-10-09T11:49:39.031Z\",\n        \"updatedAt\": \"2023-02-22T12:42:27.369Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"7bee079b-0d79-4530-a360-533908b18f26\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-04-17T10:35:56.355Z\",\n        \"updatedAt\": \"2023-04-17T10:35:56.355Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"1891a071-0c2e-4ef2-a40d-9964b651673e\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-29T18:31:52.981Z\",\n        \"updatedAt\": \"2023-03-29T18:31:52.981Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"796bffe6-8298-43cf-82da-2dc508c6379e\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-17T18:33:45.752Z\",\n        \"updatedAt\": \"2023-03-17T18:33:45.752Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"a44044ab-f8b9-42e7-944b-f4bab49ef910\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-14T10:24:38.826Z\",\n        \"updatedAt\": \"2023-03-14T10:24:38.826Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"1d55b97d-0651-4414-8b47-a4e4f949f697\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-22T18:35:07.806Z\",\n        \"updatedAt\": \"2023-03-22T18:35:07.806Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"ec8051cf-0540-4819-a64e-37b6fe5fba30\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-16T18:31:37.569Z\",\n        \"updatedAt\": \"2023-03-16T18:31:37.569Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"fa8cf1d8-0506-4184-b450-e8e0b00f6e40\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-19T18:34:35.244Z\",\n        \"updatedAt\": \"2023-03-19T18:34:35.244Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"84ecf3b4-9856-4d10-abe3-005dbc841182\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-14T10:19:37.437Z\",\n        \"updatedAt\": \"2023-03-14T10:19:37.437Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"243872ed-375f-43f4-bcbd-806e53bc481b\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-04-03T18:32:12.489Z\",\n        \"updatedAt\": \"2023-04-03T18:32:12.489Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"62aa3cd4-1a55-43e5-801e-1dc2f88cfe90\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-20T18:33:53.959Z\",\n        \"updatedAt\": \"2023-03-20T18:33:53.959Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"ccda5a78-23a8-4018-a33d-bc95969faacf\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-14T10:23:03.270Z\",\n        \"updatedAt\": \"2023-03-14T10:23:03.270Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"986a69d7-e93a-43dd-92a3-ee078ec56c90\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-04-01T18:35:41.143Z\",\n        \"updatedAt\": \"2023-04-01T18:35:41.143Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"0cc96623-d34d-45b4-b6ba-b4849d4149ab\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-31T18:32:44.404Z\",\n        \"updatedAt\": \"2023-03-31T18:32:44.404Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"fb24ca8c-5d97-4821-8ed2-b51b8258f4ed\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-10T18:32:13.662Z\",\n        \"updatedAt\": \"2023-03-10T18:32:13.662Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"421bc86d-44de-4c5a-aa22-859e27c4f300\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-27T18:32:33.402Z\",\n        \"updatedAt\": \"2023-03-27T18:32:33.402Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"225bff7c-74a5-4de3-bca6-3d7e0461eab7\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-14T10:27:03.781Z\",\n        \"updatedAt\": \"2023-03-14T10:27:03.781Z\",\n        \"redirectUrl\": \"/\"\n    },\n    {\n        \"interviewId\": \"4cef835a-f9f1-4051-b72a-0cba763e4c05\",\n        \"public\": false,\n        \"owner\": \"cypress\",\n        \"name\": \"Sample Interview\",\n        \"active\": true,\n        \"duration\": 3600,\n        \"createdAt\": \"2023-03-14T10:25:05.032Z\",\n        \"updatedAt\": \"2023-03-14T10:25:05.032Z\",\n        \"redirectUrl\": \"/\"\n    }\n]"},{"id":"cca368da-3218-4652-8710-4dcff1e2c667","name":"Invalid Group ID","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/listInterviews?groupId=invalid-group-id","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","listInterviews"],"query":[{"key":"groupId","value":"invalid-group-id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:04:56 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"113"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"5a8cf5ec-2c40-4ceb-8f0b-e2d7800d226b"},{"key":"x-amz-apigw-id","value":"btC42HREhcwFbiA="},{"key":"X-Amzn-Trace-Id","value":"Root=1-63751838-6e05543f3111791c357ee079;Sampled=0"}],"cookie":[],"responseTime":null,"body":"\"Group is not associated with the organization\""}],"_postman_id":"7b5c2893-ae57-46a7-a732-918fa7ee5375"},{"name":"Create Interview","event":[{"listen":"test","script":{"exec":["schema = {","    \"type\": \"object\",","    \"title\": \"The root schema\",","    \"description\": \"The root schema comprises the entire JSON document.\",","    \"required\": [","        \"interviewId\",","        \"public\",","        \"owner\",","        \"name\",","        \"active\",","        \"createdAt\",","        \"updatedAt\",","        \"scorecard\",","        \"redirectUrl\"","    ],","    \"properties\": {","        \"interviewId\": {","            \"type\": \"string\",","            \"title\": \"The interviewId schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"public\": {","            \"type\": \"boolean\",","            \"title\": \"The public schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": false","        },","        \"owner\": {","            \"type\": \"string\",","            \"title\": \"The owner schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"name\": {","            \"type\": \"string\",","            \"title\": \"The name schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"active\": {","            \"type\": \"boolean\",","            \"title\": \"The active schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": false,","        },","        \"createdAt\": {","           \"type\": \"string\",","            \"title\": \"The createdAt schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"updatedAt\": {","            \"type\": \"string\",","            \"title\": \"The updatedAt schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"scorecard\": {","            \"type\": \"array\",","            \"title\": \"The trackSuspiciousActivity schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": []","        },","        \"redirectUrl\": {","            \"type\": \"string\",","            \"title\": \"The redirectUrl schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\",","        }","    },","    \"additionalProperties\": true","}","","pm.test(\"Status test\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Schema Test\", function () {","    pm.response.to.have.jsonSchema(schema);","});"],"type":"text/javascript","id":"0274eece-cdbe-48d1-9511-9809df6659d7"}}],"id":"5b667c56-4281-42b6-9c44-8ebf2b2c5893","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{org-api-key}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"interviewName\": \"Sample Interview\",\n    \"groupId\": \"479fc649-143f-4e54-8d8b-65ecb4349583\",\n    \"recordInterview\": true,\n    \"scorecard\":[\n        {\n            \"question\": \"Technical Skills and Domain Knowledge\",\n            \"required\": true,\n            \"type_of_question\": \"star\"\n        },\n        {\n            \"question\": \"Communication Skills\",\n            \"required\": true,\n            \"type_of_question\": \"star\"\n        },\n        {\n            \"option\": [\n                \"Selected\",\n                \"Rejected\",\n                \"On Hold\"\n            ],\n            \"question\": \"Interview Outcome / Decision\",\n            \"required\": false,\n            \"type_of_question\": \"objective\"\n        },\n        {\n            \"question\": \"Overall observations\",\n            \"required\": false,\n            \"type_of_question\": \"text\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wecreateproblems.com/ats/wecp/createInterview","description":"<p>POST request to create an interview. Pointers for the request body:</p>\n<ul>\n<li>Scorecard is optional in the request body.</li>\n<li>If not mentioned, scorecard in example will be used as default.</li>\n<li>Supported values for <code>type_of_question</code> are <code>\"objective\"</code>| <code>\"multiple\"</code> | <code>\"text\"</code> | <code>\"star\"</code>.</li>\n<li>For <code>\"objective\"</code> and <code>\"multiple\"</code> at least 2 options are required.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["ats","wecp","createInterview"],"host":["api","wecreateproblems","com"],"query":[],"variable":[]}},"response":[{"id":"dd2aa24e-a1cd-4b13-94bb-be84e403ccd9","name":"Success","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"interviewName\": \"Sample Interview\",\n    \"groupId\": \"479fc649-143f-4e54-8d8b-65ecb4349583\",\n    \"recordInterview\": true,\n    \"scorecard\":[\n        {\n            \"question\": \"Technical Skills and Domain Knowledge\",\n            \"required\": true,\n            \"type_of_question\": \"star\"\n        },\n        {\n            \"question\": \"Communication Skills\",\n            \"required\": true,\n            \"type_of_question\": \"star\"\n        },\n        {\n            \"option\": [\n                \"Selected\",\n                \"Rejected\",\n                \"On Hold\"\n            ],\n            \"question\": \"Interview Outcome / Decision\",\n            \"required\": false,\n            \"type_of_question\": \"objective\"\n        },\n        {\n            \"question\": \"Overall observations\",\n            \"required\": false,\n            \"type_of_question\": \"text\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wecreateproblems.com/ats/wecp/createInterview"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:07:34 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"624"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"4658d099-c6fa-4904-9e7e-b92f90118f83"},{"key":"x-amz-apigw-id","value":"btDRgHC_hcwFRRA="},{"key":"X-Amzn-Trace-Id","value":"Root=1-637518d6-182fe353101819f167d7f4c1;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"interviewId\": \"aaee3855-2457-4f71-aaf5-b32e1e403959\",\n    \"public\": false,\n    \"owner\": cypress,\n    \"name\": \"Sample Interview\",\n    \"active\": true,\n    \"createdAt\": \"2022-11-16T17:07:34.276Z\",\n    \"updatedAt\": \"2022-11-16T17:07:34.276Z\",\n    \"redirectUrl\": \"/\",\n    \"scorecard\": [\n        {\n            \"question\": \"Technical Skills and Domain Knowledge\",\n            \"required\": true,\n            \"type_of_question\": \"star\"\n        },\n        {\n            \"question\": \"Communication Skills\",\n            \"required\": true,\n            \"type_of_question\": \"star\"\n        },\n        {\n            \"option\": [\n                \"Selected\",\n                \"Rejected\",\n                \"On Hold\"\n            ],\n            \"question\": \"Interview Outcome / Decision\",\n            \"required\": false,\n            \"type_of_question\": \"objective\"\n        },\n        {\n            \"question\": \"Overall observations\",\n            \"required\": false,\n            \"type_of_question\": \"text\"\n        }\n    ]\n}"},{"id":"6f63ccdb-d483-4cac-aad6-72ede2297474","name":"Invalid BODY","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://api.wecreateproblems.com/ats/wecp/createInterview"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:07:09 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"123"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"7786d38c-77d0-4b8a-a621-9543a46e04b3"},{"key":"x-amz-apigw-id","value":"btDNqHh3hcwFYMA="},{"key":"X-Amzn-Trace-Id","value":"Root=1-637518bd-68902c34564975ad1f1d3c4d;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"errorType\": \"string\",\n    \"errorMessage\": \"Error while creating interview SyntaxError: Unexpected end of JSON input\",\n    \"trace\": []\n}"},{"id":"4312426b-2e50-42a9-aac9-a072aa5f3383","name":"Invalid Group ID","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"interviewName\": \"Sample Interview\",\n    \"scorecard\":[\n        {\n            \"question\": \"Technical Skills and Domain Knowledge\",\n            \"required\": true,\n            \"type_of_question\": \"star\"\n        },\n        {\n            \"question\": \"Communication Skills\",\n            \"required\": true,\n            \"type_of_question\": \"star\"\n        },\n        {\n            \"option\": [\n                \"Selected\",\n                \"Rejected\",\n                \"On Hold\"\n            ],\n            \"question\": \"Interview Outcome / Decision\",\n            \"required\": false,\n            \"type_of_question\": \"objective\"\n        },\n        {\n            \"question\": \"Overall observations\",\n            \"required\": false,\n            \"type_of_question\": \"text\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.wecreateproblems.com/orgs/:orgName/groups/:groupId/interviews/createInterview","protocol":"https","host":["api","wecreateproblems","com"],"path":["orgs",":orgName","groups",":groupId","interviews","createInterview"],"variable":[{"key":"orgName","value":"cypress"},{"key":"groupId","value":"invalid-group-id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:06:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"73"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"97b67b49-7a3b-4200-bcbb-b575d667a5d0"},{"key":"x-amz-apigw-id","value":"btDIQEVrBcwFRhg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-6375189b-6877708c4d6f21d31759bcf4;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"errorType\": \"string\",\n    \"errorMessage\": \"Error: Group Not Found\",\n    \"trace\": []\n}"}],"_postman_id":"5b667c56-4281-42b6-9c44-8ebf2b2c5893"},{"name":"Get Interview details","event":[{"listen":"test","script":{"exec":["schema = {","    \"type\": \"object\",","    \"title\": \"The root schema\",","    \"description\": \"The root schema comprises the entire JSON document.\",","    \"required\": [","        \"public\",","        \"owner\",","        \"name\",","        \"active\",","        \"createdAt\",","        \"updatedAt\",","        \"scorecard\",","        \"redirectUrl\"","    ],","    \"properties\": {","        \"public\": {","            \"type\": \"boolean\",","            \"title\": \"The public schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": false","        },","        \"owner\": {","            \"type\": \"string\",","            \"title\": \"The owner schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"name\": {","            \"type\": \"string\",","            \"title\": \"The name schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"active\": {","            \"type\": \"boolean\",","            \"title\": \"The active schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": false,","        },","        \"createdAt\": {","           \"type\": \"string\",","            \"title\": \"The createdAt schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"updatedAt\": {","            \"type\": \"string\",","            \"title\": \"The updatedAt schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"scorecard\": {","            \"type\": \"array\",","            \"title\": \"The scorecard schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"required\": [","                \"question\",","                \"required\",","                \"type_of_question\",","                \"option\"","            ],","            \"default\": {},","            \"properties\": {","                \"question\": {","                    \"type\": \"string\",","                    \"title\": \"The question schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": \"\"","                },","                \"required\": {","                    \"type\": \"boolean\",","                    \"title\": \"The required schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": false","                },","                \"type_of_question\": {","                    \"type\": \"string\",","                    \"title\": \"The type_of_question schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": \"\"","                },","                \"options\": {","                    \"type\": \"object\",","                    \"title\": \"The options schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": {},","                    \"properties\": {","                        \"anyOf\": {","                            \"type\": \"string\",","                            \"title\": \"The option schema\",","                            \"description\": \"An explanation about the purpose of this instance.\",","                            \"default\": \"\",","                        }","                    }","                },","                \"additionalProperties\": false","                ","            },","            \"additionalProperties\": false","        },","        \"tags\": {","            \"type\": \"array\",","            \"title\": \"The tags schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": [],","            \"additionalItems\": true,","            \"items\": {","                \"anyOf\": [","                    {","                        \"type\": \"string\",","                        \"title\": \"The first anyOf schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    }","                ]","            }","        },","        \"enableAuthentication\": {","            \"type\": \"boolean\",","            \"title\": \"The enableAuthentication schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": false","        },","        \"enableVideoProctoring\": {","            \"type\": \"boolean\",","            \"title\": \"The enableVideoProctoring schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": false","        },","        \"enableFullScreenMode\": {","            \"type\": \"boolean\",","            \"title\": \"The enableFullScreenMode schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": false","        },","        \"trackSuspiciousActivity\": {","            \"type\": \"boolean\",","            \"title\": \"The trackSuspiciousActivity schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": false","        },","        \"redirectUrl\": {","            \"type\": \"string\",","            \"title\": \"The redirectUrl schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\",","        }","    },","    \"additionalProperties\": true","}","","pm.test(\"Status test\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Schema Test\", function () {","    pm.response.to.have.jsonSchema(schema);","});"],"type":"text/javascript","id":"fd668672-139e-40fa-bfcc-20e044e8fc3f"}}],"id":"669b2c2a-2a2b-489a-a3d8-724a091583e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{org-api-key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecreateproblems.com/ats/wecp/interviews/:interviewId","description":"<p>GET request to fetch the details of a particular interview. This includes name, active status, scorecard of the interview.</p>\n","urlObject":{"protocol":"https","path":["ats","wecp","interviews",":interviewId"],"host":["api","wecreateproblems","com"],"query":[],"variable":[{"id":"fd2e2995-5784-42d0-8d4a-5579c669fd84","type":"any","value":"4d5a1f08-fd78-4cf4-8e4e-6dc96e8a8a5a","key":"interviewId"}]}},"response":[{"id":"a8341ba9-a8e8-45c5-b4c7-6461e2459c59","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/interviews/:interviewId","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","interviews",":interviewId"],"variable":[{"key":"interviewId","value":"4d5a1f08-fd78-4cf4-8e4e-6dc96e8a8a5a"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:37:54 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"746"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a8089574-1724-40e8-a2e1-3e0e33efd1a5"},{"key":"x-amz-apigw-id","value":"btHt1EQxhcwFdMA="},{"key":"X-Amzn-Trace-Id","value":"Root=1-63751ff1-64c9b2a47274791c7be9aa4d;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"public\": false,\n    \"owner\": \"admin\",\n    \"name\": \"Tech Interview\",\n    \"active\": true,\n    \"createdAt\": \"2022-11-10T11:06:21.099Z\",\n    \"updatedAt\": \"2022-11-10T11:17:17.853Z\",\n    \"scorecard\": [\n        {\n            \"question\": \"Technical Skills and Domain Knowledge\",\n            \"required\": false,\n            \"type_of_question\": \"star\"\n        },\n        {\n            \"question\": \"Communication Skills\",\n            \"required\": false,\n            \"type_of_question\": \"star\"\n        },\n        {\n            \"question\": \"Interview Outcome / Decision\",\n            \"required\": false,\n            \"type_of_question\": \"objective\",\n            \"option\": [\n                \"Selected\",\n                \"Rejected\",\n                \"On Hold\"\n            ]\n        },\n        {\n            \"question\": \"Overall observations\",\n            \"required\": false,\n            \"type_of_question\": \"text\"\n        },\n        {\n            \"question\": \"Suited role for candidate\",\n            \"required\": false,\n            \"type_of_question\": \"multiple\",\n            \"option\": [\n                \"Testing\",\n                \"Frontend Developer\",\n                \"Backend Developer\",\n                \"Product Management\"\n            ]\n        }\n    ],\n    \"redirectUrl\": \"/\"\n}"},{"id":"fd7a62d3-5c38-45fc-84ea-2c000e7d9225","name":"Invalid Interview ID","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/ats/wecp/interviews/:interviewId","protocol":"https","host":["api","wecreateproblems","com"],"path":["ats","wecp","interviews",":interviewId"],"variable":[{"key":"interviewId","value":"invalid-interview-id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:37:14 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"72"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ac7595b7-1354-48f2-8902-64a8d5de45cb"},{"key":"x-amz-apigw-id","value":"btHnaErXBcwFkPw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-63751fc8-12b9f98d6f68d32157b9108f;Sampled=0"}],"cookie":[],"responseTime":null,"body":"\"Test is not associated with the organization\""}],"_postman_id":"669b2c2a-2a2b-489a-a3d8-724a091583e9"},{"name":"Schedule / Re-schedule Interview for Candidate","event":[{"listen":"test","script":{"exec":["schema = {","    \"type\": \"array\",","    \"title\": \"The root schema\",","    \"description\": \"The root schema comprises the entire JSON document.\",","    \"default\": [],","    \"additionalItems\": true,","    \"items\": {","        \"anyOf\": [","            {","                \"type\": \"object\",","                \"title\": \"The first anyOf schema\",","                \"description\": \"An explanation about the purpose of this instance.\",","                \"default\": {},","                \"required\": [","                    \"_id\",","                    \"user\",","                    \"link\"","                ],","                \"properties\": {","                    \"_id\": {","                        \"type\": \"string\",","                        \"title\": \"The _id schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"user\": {","                        \"type\": \"string\",","                        \"title\": \"The user schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"link\": {","                        \"type\": \"string\",","                        \"title\": \"The link schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"createdAt\": {","                        \"type\": \"string\",","                        \"title\": \"The createdAt schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    }","                },","                \"additionalProperties\": true","            }","        ]","    }","}","","pm.test(\"Status test\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Schema Test\", function () {","    pm.response.to.have.jsonSchema(schema);","});"],"type":"text/javascript","id":"a501afd8-07f4-4feb-be38-6e8a22563e3a"}}],"id":"ac7e08f2-e606-4567-b975-8bdd52b1b6c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{org-api-key}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"sendEmail\": false,\n    \"interviewId\": \"4d5a1f08-fd78-4cf4-8e4e-6dc96e8a8a5a\",\n    \"schedules\": [\n        {\n            \"emailId\": \"sampleEmail+1@wecp.in\",\n            \"interviewDuration\": 30,\n            \"interviewer\": \"admin@wecreateproblems.com\",\n            \"interviewTime\": \"2022-11-10T12:00:00.000Z\"\n        },\n        {\n            \"emailId\": \"sampleEmail+2@wecp.in\",\n            \"interviewDuration\": 30,\n            \"interviewer\": \"admin@wecreateproblems.com\",\n            \"interviewTime\": \"2022-11-10T12:45:00.000Z\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wecreateproblems.com/ats/wecp/scheduleInterviews","description":"<p>POST request to invite candidate for an interview. Interviewer and Candidate can join the interview using the unique link shared in response or the email. Pointers for the request body:</p>\n<ul>\n<li><code>sendEmail</code> can be set false, to avoid triggering a mail form WeCP end.</li>\n<li><code>emailId</code>, <code>interviewer</code>, <code>interviewDuration</code> and <code>interviewTime</code> are required to successfully schedule an interview.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["ats","wecp","scheduleInterviews"],"host":["api","wecreateproblems","com"],"query":[],"variable":[]}},"response":[{"id":"aa9e4b0c-4f62-44dc-8b46-85743ff5d059","name":"Success","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sendEmail\": false,\n    \"schedules\": [\n        {\n            \"emailId\": \"sampleEmail+1@wecp.in\",\n            \"interviewDuration\": 30,\n            \"interviewer\": \"admin@wecreateproblems.com\",\n            \"interviewTime\": \"2022-11-10T12:00:00.000Z\"\n        },\n        {\n            \"emailId\": \"sampleEmail+2@wecp.in\",\n            \"interviewDuration\": 30,\n            \"interviewer\": \"admin@wecreateproblems.com\",\n            \"interviewTime\": \"2022-11-10T12:45:00.000Z\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.wecreateproblems.com/orgs/:orgName/groups/:groupId/interviews/:interviewId/scheduleInterviews","protocol":"https","host":["api","wecreateproblems","com"],"path":["orgs",":orgName","groups",":groupId","interviews",":interviewId","scheduleInterviews"],"variable":[{"key":"orgName","value":"cypress"},{"key":"groupId","value":"479fc649-143f-4e54-8d8b-65ecb4349583"},{"key":"interviewId","value":"4d5a1f08-fd78-4cf4-8e4e-6dc96e8a8a5a"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:42:58 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"561"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"31ef264c-27c5-48ae-92b7-900332fb38b7"},{"key":"x-amz-apigw-id","value":"btIdUFO0BcwFkiQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-63752121-1462543765f342d07f7832e9;Sampled=0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"5722eb13-1604-414f-b9c6-beecf5ebf384\",\n        \"user\": \"sampleEmail+1@wecp.in\",\n        \"interviewDuration\": 30,\n        \"interviewer\": \"admin@wecreateproblems.com\",\n        \"interviewTime\": \"2022-11-10T12:00:00.000Z\",\n        \"link\": \"https://assess.wecreateproblems.com/interviews/5722eb13-1604-414f-b9c6-beecf5ebf384\"\n    },\n    {\n        \"_id\": \"85e86d2d-768b-47b4-8c70-70af7035312b\",\n        \"user\": \"sampleEmail+2@wecp.in\",\n        \"interviewDuration\": 30,\n        \"interviewer\": \"admin@wecreateproblems.com\",\n        \"interviewTime\": \"2022-11-10T12:45:00.000Z\",\n        \"link\": \"https://assess.wecreateproblems.com/interviews/85e86d2d-768b-47b4-8c70-70af7035312b\"\n    }\n]"},{"id":"cdb606c6-12c2-4c8e-bde1-4a706c031f86","name":"Empty Schedule","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sendEmail\": false,\n    \"schedules\": [\n\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.wecreateproblems.com/orgs/:orgName/groups/:groupId/interviews/:interviewId/scheduleInterviews","protocol":"https","host":["api","wecreateproblems","com"],"path":["orgs",":orgName","groups",":groupId","interviews",":interviewId","scheduleInterviews"],"variable":[{"key":"orgName","value":"cypress"},{"key":"groupId","value":"479fc649-143f-4e54-8d8b-65ecb4349583"},{"key":"interviewId","value":"4d5a1f08-fd78-4cf4-8e4e-6dc96e8a8a5a"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:43:24 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"71"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"bab70d5e-7337-41f5-af53-c5a9eb59ec16"},{"key":"x-amz-apigw-id","value":"btIhhE-iBcwFe8Q="},{"key":"X-Amzn-Trace-Id","value":"Root=1-6375213c-255aa94a6aba628714b6fa95;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"errorType\": \"string\",\n    \"errorMessage\": \"No schedule id found\",\n    \"trace\": []\n}"},{"id":"e14baab9-e854-4751-bcab-8a2c494d114b","name":"Invalid Interview ID","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sendEmail\": false,\n    \"schedules\": [\n        {\n            \"emailId\": \"sampleEmail+1@wecp.in\",\n            \"interviewDuration\": 30,\n            \"interviewer\": \"admin@wecreateproblems.com\",\n            \"interviewTime\": \"2022-11-10T12:00:00.000Z\"\n        },\n        {\n            \"emailId\": \"sampleEmail+2@wecp.in\",\n            \"interviewDuration\": 30,\n            \"interviewer\": \"admin@wecreateproblems.com\",\n            \"interviewTime\": \"2022-11-10T12:45:00.000Z\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.wecreateproblems.com/orgs/:orgName/groups/:groupId/interviews/:interviewId/scheduleInterviews","protocol":"https","host":["api","wecreateproblems","com"],"path":["orgs",":orgName","groups",":groupId","interviews",":interviewId","scheduleInterviews"],"variable":[{"key":"orgName","value":"cypress"},{"key":"groupId","value":"479fc649-143f-4e54-8d8b-65ecb4349583"},{"key":"interviewId","value":"invalid-interview-id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:42:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"72"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"5b11a55e-5225-4dc2-b0d3-a8576baa6b53"},{"key":"x-amz-apigw-id","value":"btIWIGaqhcwFhQw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-637520f3-5d1cd37a3b71e9d1276c1085;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"errorType\": \"string\",\n    \"errorMessage\": \"Error: Interview Not Found\",\n    \"trace\": []\n}"}],"_postman_id":"ac7e08f2-e606-4567-b975-8bdd52b1b6c4"},{"name":"Get Scheduled Interviews","event":[{"listen":"test","script":{"exec":["schema = {","    \"type\": \"array\",","    \"title\": \"The root schema\",","    \"description\": \"The root schema comprises the entire JSON document.\",","    \"default\": [],","    \"additionalItems\": true,","    \"items\": {","        \"anyOf\": [","            {","                \"type\": \"object\",","                \"title\": \"The first anyOf schema\",","                \"description\": \"An explanation about the purpose of this instance.\",","                \"default\": {},","                \"required\": [","                    \"_id\",","                    \"createdAt\",","                    \"user\",","                    \"link\",","                    \"interviewTime\",","                    \"interviewer\",","                    \"interviewDuration\"","                ],","                \"properties\": {","                    \"_id\": {","                        \"type\": \"string\",","                        \"title\": \"The _id schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"createdAt\": {","                        \"type\": \"string\",","                        \"title\": \"The createdAt schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"interviewTime\": {","                        \"type\": \"string\",","                        \"title\": \"The interviewTime schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"interviewDuration\": {","                        \"type\": \"number\",","                        \"title\": \"The interviewDuration schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"interviewer\": {","                        \"type\": \"string\",","                        \"title\": \"The interviewer schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"user\": {","                        \"type\": \"string\",","                        \"title\": \"The user schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"link\": {","                        \"type\": \"string\",","                        \"title\": \"The link schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    }","                },","                \"additionalProperties\": true","            }","        ]","    }","}","","pm.test(\"Status test\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Schema Test\", function () {","    pm.response.to.have.jsonSchema(schema);","});",""],"type":"text/javascript","id":"fa158531-c766-44a9-9d68-9b96436e6b82"}}],"id":"a97538a5-1023-4b70-a017-2555edb42ef6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{org-api-key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecreateproblems.com/ats/wecp/interviews/:interviewId/schedules","description":"<p>GET request to fetch the list of scheduled interviews.</p>\n","urlObject":{"protocol":"https","path":["ats","wecp","interviews",":interviewId","schedules"],"host":["api","wecreateproblems","com"],"query":[],"variable":[{"id":"f5c9ae9e-3158-44d4-92c8-4d68345af130","type":"any","value":"4d5a1f08-fd78-4cf4-8e4e-6dc96e8a8a5a","key":"interviewId"}]}},"response":[{"id":"9bdadac8-0878-4728-a762-8411227b99e0","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/orgs/:orgName/groups/:groupId/interviews/:interviewId/schedules","protocol":"https","host":["api","wecreateproblems","com"],"path":["orgs",":orgName","groups",":groupId","interviews",":interviewId","schedules"],"variable":[{"key":"orgName","value":"cypress"},{"key":"groupId","value":"479fc649-143f-4e54-8d8b-65ecb4349583"},{"key":"interviewId","value":"4d5a1f08-fd78-4cf4-8e4e-6dc96e8a8a5a"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:50:27 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"691"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"6263e039-108c-4663-a530-ca4bb062daf1"},{"key":"x-amz-apigw-id","value":"btJjlHRIBcwFhUg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-637522e3-2cbc5056314bb7e935a856d6;Sampled=0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"5722eb13-1604-414f-b9c6-beecf5ebf384\",\n        \"createdAt\": \"2022-11-16T17:49:44.569Z\",\n        \"user\": \"sampleEmail+1@wecp.in\",\n        \"interviewTime\": \"2022-11-10T12:00:00.000Z\",\n        \"updatedAt\": \"2022-11-16T17:49:44.569Z\",\n        \"interviewDuration\": 30,\n        \"interviewer\": \"admin@wecreateproblems.com\",\n        \"link\": \"https://assess.wecreateproblems.com/tests/5722eb13-1604-414f-b9c6-beecf5ebf384/instructions\"\n    },\n    {\n        \"_id\": \"85e86d2d-768b-47b4-8c70-70af7035312b\",\n        \"createdAt\": \"2022-11-16T17:49:44.569Z\",\n        \"user\": \"sampleEmail+2@wecp.in\",\n        \"interviewTime\": \"2022-11-10T12:45:00.000Z\",\n        \"updatedAt\": \"2022-11-16T17:49:44.569Z\",\n        \"interviewDuration\": 30,\n        \"interviewer\": \"admin@wecreateproblems.com\",\n        \"link\": \"https://assess.wecreateproblems.com/tests/85e86d2d-768b-47b4-8c70-70af7035312b/instructions\"\n    }\n]"},{"id":"b286a6e5-37f6-437c-9b5d-3f3a3d245658","name":"Invalid Interview ID","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/orgs/:orgName/groups/:groupId/interviews/:interviewId/schedules","protocol":"https","host":["api","wecreateproblems","com"],"path":["orgs",":orgName","groups",":groupId","interviews",":interviewId","schedules"],"variable":[{"key":"orgName","value":"cypress"},{"key":"groupId","value":"479fc649-143f-4e54-8d8b-65ecb4349583"},{"key":"interviewId","value":"invalid-interview-id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:50:52 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"72"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ac17ee6e-2dbf-465b-a28a-4ed091a962f3"},{"key":"x-amz-apigw-id","value":"btJnfEZ6hcwFjRg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-637522fc-1bad60ec21910fcd2a423091;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"errorType\": \"string\",\n    \"errorMessage\": \"Error: Interview Not Found\",\n    \"trace\": []\n}"}],"_postman_id":"a97538a5-1023-4b70-a017-2555edb42ef6"},{"name":"Get Candidates List for Interviews","event":[{"listen":"test","script":{"exec":["schema = {","    \"type\": \"array\",","    \"title\": \"The root schema\",","    \"description\": \"The root schema comprises the entire JSON document.\",","    \"default\": [],","    \"additionalItems\": false,","    \"items\": {","        \"anyOf\": [","            {","                \"type\": \"object\",","                \"title\": \"The first anyOf schema\",","                \"description\": \"An explanation about the purpose of this instance.\",","                \"default\": {},","                \"required\": [","                    \"candidateId\",","                    \"candidateDetails\",","                    \"startedAt\",","                    \"endedAt\",","                    \"duration\"","                ],","                \"properties\": {","                    \"candidateId\": {","                        \"type\": \"string\",","                        \"title\": \"The candidateId schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"candidateDetails\": {","                        \"type\": \"object\",","                        \"title\": \"The candidateDetails schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": {},","                        \"required\": [","                            \"Email\"","                        ],","                        \"properties\": {","                            \"anyOf\": {","                                \"type\": \"string\",","                                \"title\": \"The User Agent schema\",","                                \"description\": \"An explanation about the purpose of this instance.\",","                                \"default\": \"\"","                            }","                        },","                        \"additionalProperties\": true","                    },","                    \"startedAt\": {","                        \"type\": \"string\",","                        \"title\": \"The startedAt schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"endedAt\": {","                        \"type\": \"boolean\",","                        \"title\": \"The endedAt schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": false","                    },","                    \"duration\": {","                        \"type\": \"string\",","                        \"title\": \"The duration schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    }","                },","                \"additionalProperties\": false","            }","        ]","    }","}","","pm.test(\"Status test\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Schema Test\", function () {","    pm.response.to.have.jsonSchema(schema);","});"],"type":"text/javascript","id":"0839bc29-4863-4903-a247-69cf8a9cb645"}}],"id":"5ffaebb9-c8ec-410d-87b2-c3f50d55b801","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{org-api-key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecreateproblems.com/ats/wecp/interviews/:interviewId/candidates","description":"<p>GET request to fetch the list of interviews conducted.</p>\n","urlObject":{"protocol":"https","path":["ats","wecp","interviews",":interviewId","candidates"],"host":["api","wecreateproblems","com"],"query":[],"variable":[{"id":"7e1e46d3-4bb9-44be-a5b4-c60aab18fabe","type":"any","value":"4d5a1f08-fd78-4cf4-8e4e-6dc96e8a8a5a","key":"interviewId"}]}},"response":[{"id":"07079d04-cdd2-453d-a045-5e7e5d99cd18","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/orgs/:orgName/groups/:groupId/interviews/:interviewId/candidates","protocol":"https","host":["api","wecreateproblems","com"],"path":["orgs",":orgName","groups",":groupId","interviews",":interviewId","candidates"],"variable":[{"key":"orgName","value":"cypress"},{"key":"groupId","value":"479fc649-143f-4e54-8d8b-65ecb4349583"},{"key":"interviewId","value":"4d5a1f08-fd78-4cf4-8e4e-6dc96e8a8a5a"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:52:07 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"229"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"5c4439fa-9f82-4d28-8529-71c0646a1293"},{"key":"x-amz-apigw-id","value":"btJzOExNBcwFt3w="},{"key":"X-Amzn-Trace-Id","value":"Root=1-63752347-2d0e66422cfbbbbc67bbcced;Sampled=0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"candidateId\": \"d62786bc-f63e-428a-836e-1c6540cf2cc6\",\n        \"candidateDetails\": {\n            \"Email\": \"sampleemail+2@wecp.in\",\n            \"Name\": \"Sample User\",\n            \"Interviewer\": \"admin@wecreateproblems.com\"\n        },\n        \"endedAt\": true,\n        \"startedAt\": \"2022-11-10T12:48:08.100Z\",\n        \"duration\": \"2 minutes\"\n    }\n]"},{"id":"481983b4-6d12-4197-8b16-5387d4247370","name":"Invalid Interview ID","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/orgs/:orgName/groups/:groupId/interviews/:interviewId/candidates","protocol":"https","host":["api","wecreateproblems","com"],"path":["orgs",":orgName","groups",":groupId","interviews",":interviewId","candidates"],"variable":[{"key":"orgName","value":"cypress"},{"key":"groupId","value":"479fc649-143f-4e54-8d8b-65ecb4349583"},{"key":"interviewId","value":"invalid-interview-id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:51:38 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"72"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"c026210c-45eb-41f0-b4e3-780460800d09"},{"key":"x-amz-apigw-id","value":"btJuqE7GhcwFXGA="},{"key":"X-Amzn-Trace-Id","value":"Root=1-6375232a-158e45e55130f9d41e25aad3;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"errorType\": \"string\",\n    \"errorMessage\": \"Error: Interview Not Found\",\n    \"trace\": []\n}"}],"_postman_id":"5ffaebb9-c8ec-410d-87b2-c3f50d55b801"},{"name":"Get Interviewed Candidate Details","event":[{"listen":"test","script":{"exec":["schema = {","    \"type\": \"object\",","    \"title\": \"The root schema\",","    \"description\": \"The root schema comprises the entire JSON document.\",","    \"required\": [","        \"candidateId\",","        \"interviewId\",","        \"reportLink\",","        \"startTime\",","        \"finishTime\",","        \"candidateDetails\",","        \"interviewFinished\",","        \"scorecard\",","        \"interviewDuration\",","    ],","    \"properties\": {","        \"candidateId\": {","            \"type\": \"string\",","            \"title\": \"The candidateId schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"interviewId\": {","            \"type\": \"string\",","            \"title\": \"The interviewId schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"reportLink\": {","            \"type\": \"string\",","            \"title\": \"The reportLink schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"startTime\": {","            \"type\": \"string\",","            \"title\": \"The startTime schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"finishTime\": {","            \"type\": \"string\",","            \"title\": \"The finishTime schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"candidateDetails\": {","            \"type\": \"object\",","            \"title\": \"The candidateDetails schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": {},","            \"required\": [","                \"Email\",","                \"Interviewer\"","            ],","            \"properties\": {","                \"anyOf\": {","                    \"type\": \"string\",","                    \"title\": \"The data schema\",","                    \"description\": \"An explanation about the purpose of this instance.\",","                    \"default\": \"\"","                }","            },","            \"additionalProperties\": true","        },","        \"scorecard\": {","            \"type\": \"array\",","            \"title\": \"The scorecard schema\",","            \"additionalItems\": false,","            \"items\": {","                \"anyOf\": [","                    {","                        \"type\": \"object\",","                        \"title\": \"The scorecard schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": {},","                        \"required\": [","                            \"question\",","                            \"type_of_question\",","                            \"option\"","                        ],","                        \"properties\": {","                            \"question\": {","                                \"type\": \"string\",","                                \"title\": \"The question schema\",","                                \"description\": \"An explanation about the purpose of this instance.\",","                                \"default\": \"\"","                            },","                            // \"response\": {","                            //     \"type\": {","                            //         \"oneOf\": [","                            //             {","                            //                 \"type\": \"string\",","                            //                 \"default\": \"\"","                            //             },","                            //             {","                            //                 \"type\": \"array\",","                            //                 \"title\": \"The options schema\",","                            //                 \"description\": \"An explanation about the purpose of this instance.\",","                            //                 \"default\": {},","                            //                 \"properties\": {","                            //                     \"anyOf\": {","                            //                         \"type\": \"string\",","                            //                         \"title\": \"The option schema\",","                            //                         \"description\": \"An explanation about the purpose of this instance.\",","                            //                         \"default\": \"\",","                            //                     }","                            //                 }","                            //             }","                            //         ]","                            //     },","                            //     \"title\": \"The response schema\",","                            //     \"description\": \"An explanation about the purpose of this instance.\",","                            //     \"default\": \"\"","                            // },","                            \"type_of_question\": {","                                \"type\": \"string\",","                                \"title\": \"The type_of_question schema\",","                                \"description\": \"An explanation about the purpose of this instance.\",","                                \"default\": \"\"","                            },","                            \"options\": {","                                \"type\": \"array\",","                                \"title\": \"The options schema\",","                                \"description\": \"An explanation about the purpose of this instance.\",","                                \"default\": {},","                                \"properties\": {","                                    \"anyOf\": {","                                        \"type\": \"string\",","                                        \"title\": \"The option schema\",","                                        \"description\": \"An explanation about the purpose of this instance.\",","                                        \"default\": \"\",","                                    }","                                }","                            },","                            \"additionalProperties\": true","                        }","                    }","                ]","            }","        },","        \"interviewDuration\": {","            \"type\": \"string\",","            \"title\": \"The interviewDuration schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        },","        \"interviewFinished\": {","            \"type\": \"boolean\",","            \"title\": \"The interviewFinished schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": false","        },","        \"joiningStatus\": {","            \"type\": \"string\",","            \"title\": \"The joiningStatus schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        }","    },","    \"additionalProperties\": false","}","","pm.test(\"Status test\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Schema Test\", function () {","    pm.response.to.have.jsonSchema(schema);","});"],"type":"text/javascript","id":"8c0b21b7-f77a-409e-be15-17cfa9a5d036"}}],"id":"186ee4bd-bfd4-4669-b06c-fd1ad8ebc228","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{org-api-key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecreateproblems.com/ats/wecp/candidates/:candidateId","description":"<p>GET request to fetch the complete report/feedback from interviewer of the interview.</p>\n<p>Joining status can be <code>\"Both Joined\"</code> | <code>\"Interviewer Joined\"</code> | <code>\"Candidate Joined\"</code> or <code>\"Nobody Joined\"</code>.</p>\n","urlObject":{"protocol":"https","path":["ats","wecp","candidates",":candidateId"],"host":["api","wecreateproblems","com"],"query":[],"variable":[{"id":"21d8b904-9dc7-4d70-bb6f-eaae7eb516a9","type":"any","value":"c5797bae-d740-4eaf-a826-8f757f8b583e","key":"candidateId"}]}},"response":[{"id":"2e753a01-5de0-4368-a8b5-824a307639e6","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/orgs/:orgName/groups/:groupId/interviews/:interviewId/candidates/:candidateId","protocol":"https","host":["api","wecreateproblems","com"],"path":["orgs",":orgName","groups",":groupId","interviews",":interviewId","candidates",":candidateId"],"variable":[{"key":"orgName","value":"cypress"},{"key":"groupId","value":"479fc649-143f-4e54-8d8b-65ecb4349583"},{"key":"interviewId","value":"4d5a1f08-fd78-4cf4-8e4e-6dc96e8a8a5a"},{"key":"candidateId","value":"c5797bae-d740-4eaf-a826-8f757f8b583e"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:53:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1182"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"e59b7b5b-d113-4818-a2e0-8b3db9deada6"},{"key":"x-amz-apigw-id","value":"btKBGH94hcwFW6g="},{"key":"X-Amzn-Trace-Id","value":"Root=1-637523a0-0f8a163a39f6cc63581cb5a2;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"candidateId\": c5797bae-d740-4eaf-a826-8f757f8b583e,\n    \"interviewId\": 4d5a1f08-fd78-4cf4-8e4e-6dc96e8a8a5a,\n    \"reportLink\": \"https://assess.wecreateproblems.com/interview-reports/c5797bae-d740-4eaf-a826-8f757f8b583e\",\n    \"startTime\": \"2022-11-10T12:48:08.100Z\",\n    \"finishTime\": \"2022-11-10T12:50:17.340Z\",\n    \"candidateDetails\": {\n        \"Email\": {{userEmail}},\n        \"Name\": \"Sample User\",\n        \"Interviewer\": \"admin\"\n    },\n    \"interviewFinished\": true,\n    \"scorecard\": [\n        {\n            \"option\": [],\n            \"question\": \"Technical Skills and Domain Knowledge\",\n            \"type_of_question\": \"star\",\n            \"response\": \"4 out of 5\"\n        },\n        {\n            \"option\": [],\n            \"question\": \"Communication Skills\",\n            \"type_of_question\": \"star\",\n            \"response\": \"4.5 out of 5\"\n        },\n        {\n            \"option\": [\n                \"Selected\",\n                \"Rejected\",\n                \"On Hold\"\n            ],\n            \"question\": \"Interview Outcome / Decision\",\n            \"type_of_question\": \"objective\",\n            \"response\": \"Selected\"\n        },\n        {\n            \"option\": [],\n            \"question\": \"Overall observations\",\n            \"type_of_question\": \"text\",\n            \"response\": \"{{ A lot of good things about candidate }}\"\n        },\n        {\n            \"option\": [\n                \"Testing\",\n                \"Frontend Developer\",\n                \"Backend Developer\",\n                \"Product Management\"\n            ],\n            \"question\": \"Suited role for candidate\",\n            \"type_of_question\": \"multiple\",\n            \"response\": [\n                \"Frontend Developer\",\n                \"Backend Developer\"\n            ]\n        }\n    ],\n    \"joiningStatus\": \"Both Joined\",\n    \"interviewDuration\": \"2 minutes\"\n}"},{"id":"9cd66552-efc9-4616-8094-2fcac6796a37","name":"Invalid Interview ID","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/orgs/:orgName/groups/:groupId/interviews/:interviewId/candidates/:candidateId","protocol":"https","host":["api","wecreateproblems","com"],"path":["orgs",":orgName","groups",":groupId","interviews",":interviewId","candidates",":candidateId"],"variable":[{"key":"orgName","value":"cypress"},{"key":"groupId","value":"479fc649-143f-4e54-8d8b-65ecb4349583"},{"key":"interviewId","value":"4d5a1f08-fd78-4cf4-8e4e-6dc96e8a8a5a"},{"key":"candidateId","value":"invalid-candidate-id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:53:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"66"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"6ab7be02-e0fa-4d25-a255-864e5069d2b7"},{"key":"x-amz-apigw-id","value":"btJ9gFYxBcwFRww="},{"key":"X-Amzn-Trace-Id","value":"Root=1-63752389-2065fc5044e053f022c944fa;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"errorType\": \"string\",\n    \"errorMessage\": \"No report found\",\n    \"trace\": []\n}"}],"_postman_id":"186ee4bd-bfd4-4669-b06c-fd1ad8ebc228"},{"name":"Get Interviewed Candidate Recording","event":[{"listen":"test","script":{"exec":["schema = {","    \"type\": \"object\",","    \"title\": \"The root schema\",","    \"description\": \"The root schema comprises the entire JSON document.\",","    \"required\": [","        \"downloadLink\",","    ],","    \"properties\": {","        \"downloadLink\": {","            \"type\": \"string\",","            \"title\": \"The downloadLink schema\",","            \"description\": \"An explanation about the purpose of this instance.\",","            \"default\": \"\"","        }","    },","    \"additionalProperties\": false","}","","pm.test(\"Status test\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Schema Test\", function () {","    pm.response.to.have.jsonSchema(schema);","});","","// pm.test(\"Response time is less than 200ms\", function () {","//     pm.expect(pm.response.responseTime).to.be.below(200);","// });"],"type":"text/javascript","id":"33d1f808-65a7-4063-acab-ba9579092cb3"}}],"id":"a345730e-45d2-41a0-959b-2ad4cc42cbf6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{org-api-key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecreateproblems.com/ats/wecp/candidates/:candidateId/recording","description":"<p>GET request to fetch the download link for the recording of the interview.</p>\n","urlObject":{"protocol":"https","path":["ats","wecp","candidates",":candidateId","recording"],"host":["api","wecreateproblems","com"],"query":[],"variable":[{"id":"ac8a5229-3b09-467b-9e54-1488da7a013f","type":"any","value":"c5797bae-d740-4eaf-a826-8f757f8b583e","key":"candidateId"}]}},"response":[{"id":"ffb0f16c-c62c-477b-adfc-8df8a76c21c8","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/orgs/:orgName/groups/:groupId/interviews/:interviewId/candidates/:candidateId/recording","protocol":"https","host":["api","wecreateproblems","com"],"path":["orgs",":orgName","groups",":groupId","interviews",":interviewId","candidates",":candidateId","recording"],"variable":[{"key":"orgName","value":"cypress"},{"key":"groupId","value":"479fc649-143f-4e54-8d8b-65ecb4349583"},{"key":"interviewId","value":"4d5a1f08-fd78-4cf4-8e4e-6dc96e8a8a5a"},{"key":"candidateId","value":"c5797bae-d740-4eaf-a826-8f757f8b583e"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:53:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1182"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"e59b7b5b-d113-4818-a2e0-8b3db9deada6"},{"key":"x-amz-apigw-id","value":"btKBGH94hcwFW6g="},{"key":"X-Amzn-Trace-Id","value":"Root=1-637523a0-0f8a163a39f6cc63581cb5a2;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"downloadLink\": \"https://wecp-interview-recording.s3.ap-south-1.amazonaws.com/recordings/c5797bae-d740-4eaf-a826-8f757f8b583e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKGS64SDBHBPQQVQ%2F20230105%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20230105T104229Z&X-Amz-Expires=900&X-Amz-Signature=83474e7620a7628719f3bb136d834ac072c8f6844aeb13e187a84c80973906c9&X-Amz-SignedHeaders=host\"\n}"},{"id":"f5002a64-dbff-46f5-a915-007c8a6dd517","name":"Invalid Interview ID","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/orgs/:orgName/groups/:groupId/interviews/:interviewId/candidates/:candidateId/recording","protocol":"https","host":["api","wecreateproblems","com"],"path":["orgs",":orgName","groups",":groupId","interviews",":interviewId","candidates",":candidateId","recording"],"variable":[{"key":"orgName","value":"cypress"},{"key":"groupId","value":"479fc649-143f-4e54-8d8b-65ecb4349583"},{"key":"interviewId","value":"4d5a1f08-fd78-4cf4-8e4e-6dc96e8a8a5a"},{"key":"candidateId","value":"invalid-candidate-id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:53:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"66"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"6ab7be02-e0fa-4d25-a255-864e5069d2b7"},{"key":"x-amz-apigw-id","value":"btJ9gFYxBcwFRww="},{"key":"X-Amzn-Trace-Id","value":"Root=1-63752389-2065fc5044e053f022c944fa;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"errorType\": \"string\",\n    \"errorMessage\": \"Cannot find recording of interview with id: invalid-candidate-id\",\n    \"trace\": []\n}"}],"_postman_id":"a345730e-45d2-41a0-959b-2ad4cc42cbf6"},{"name":"Get Feedback of a Interview","event":[{"listen":"test","script":{"exec":["schema = {","    \"type\": \"array\",","    \"title\": \"The root schema\",","    \"description\": \"The root schema comprises the entire JSON document.\",","    \"default\": [],","    \"additionalItems\": true,","    \"items\": {","        \"anyOf\": [","            {","                \"type\": \"object\",","                \"title\": \"The first anyOf schema\",","                \"description\": \"An explanation about the purpose of this instance.\",","                \"default\": {},","                \"required\": [","                    \"org\",","                    \"resultId\",","                    \"interviewId\",","                    \"qapairs\",","                    \"_id\",","                    \"createdAt\",","                    \"group\"","                ],","                \"properties\": {","                    \"org\": {","                        \"type\": \"string\",","                        \"title\": \"The org schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"resultId\": {","                        \"type\": \"string\",","                        \"title\": \"The resultId schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"interviewId\": {","                        \"type\": \"string\",","                        \"title\": \"The interviewId schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"qapairs\": {","                        \"type\": \"array\",","                        \"title\": \"The qapairs schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": [],","                        \"additionalItems\": true,","                        \"items\": {","                            \"anyOf\": [","                                {","                                    \"type\": \"object\",","                                    \"title\": \"The first anyOf schema\",","                                    \"description\": \"An explanation about the purpose of this instance.\",","                                    \"default\": {},","                                    \"required\": [","                                        \"question\",","                                        \"type_of_question\",","                                        \"selectedIndices\",","                                        \"required\",","                                        \"option\"","                                    ],","                                    \"properties\": {","                                        \"question\": {","                                            \"type\": \"string\",","                                            \"title\": \"The question schema\",","                                            \"description\": \"An explanation about the purpose of this instance.\",","                                            \"default\": \"\",","                                            \"examples\": [","                                                \"Sample question for testing\"","                                            ]","                                        },","                                        \"answer\": {","                                            \"type\": \"string\",","                                            \"title\": \"The answer schema\",","                                            \"description\": \"An explanation about the purpose of this instance.\",","                                            \"default\": \"\"","                                        },","                                        \"type_of_question\": {","                                            \"type\": \"string\",","                                            \"title\": \"The type_of_question schema\",","                                            \"description\": \"An explanation about the purpose of this instance.\",","                                            \"default\": \"\"","                                        },","                                        \"selectedIndices\": {","                                            \"type\": \"array\",","                                            \"title\": \"The selectedIndices schema\",","                                            \"description\": \"An explanation about the purpose of this instance.\",","                                            \"default\": [],","                                            \"additionalItems\": true,","                                        },","                                        \"required\": {","                                            \"type\": \"boolean\",","                                            \"title\": \"The required schema\",","                                            \"description\": \"An explanation about the purpose of this instance.\",","                                            \"default\": false","                                        },","                                        \"option\": {","                                            \"type\": \"array\",","                                            \"title\": \"The option schema\",","                                            \"description\": \"An explanation about the purpose of this instance.\",","                                            \"default\": [],","                                            \"additionalItems\": true","                                        }","                                    },","                                    \"additionalProperties\": true","                                }","                            ]","                        }","                    },","                    \"_id\": {","                        \"type\": \"string\",","                        \"title\": \"The _id schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    },","                    \"createdAt\": {","                        \"type\": \"string\",","                        \"title\": \"The createdAt schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\",","                    },","                    \"group\": {","                        \"type\": \"string\",","                        \"title\": \"The group schema\",","                        \"description\": \"An explanation about the purpose of this instance.\",","                        \"default\": \"\"","                    }","                },","                \"additionalProperties\": true","            }","        ]","    }","}","","pm.test(\"Status test\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Schema Test\", function () {","    pm.response.to.have.jsonSchema(schema);","});"],"type":"text/javascript","id":"fdc09d95-044b-4e4a-8f04-05183423ed36"}}],"id":"ea4a4575-ed18-4ae0-a339-6f9005d090a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{org-api-key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecreateproblems.com/ats/wecp/interviews/:interviewId/feedbacks","description":"<p>GET request to fetch all the feedbacks from candidate in a interveiw.</p>\n","urlObject":{"protocol":"https","path":["ats","wecp","interviews",":interviewId","feedbacks"],"host":["api","wecreateproblems","com"],"query":[],"variable":[{"id":"0c6a4d54-9059-412e-ade3-c6ee519b4f5a","type":"any","value":"4d5a1f08-fd78-4cf4-8e4e-6dc96e8a8a5a","key":"interviewId"}]}},"response":[{"id":"7dbbccab-b161-4d2a-97a2-3e6deff266f6","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/orgs/:orgName/groups/:groupId/interviews/:interviewId/getFeedbacks","protocol":"https","host":["api","wecreateproblems","com"],"path":["orgs",":orgName","groups",":groupId","interviews",":interviewId","getFeedbacks"],"variable":[{"key":"orgName","value":"cypress"},{"key":"groupId","value":"479fc649-143f-4e54-8d8b-65ecb4349583"},{"key":"interviewId","value":"4d5a1f08-fd78-4cf4-8e4e-6dc96e8a8a5a"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:54:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"647"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"3e5cd0fc-13c1-4536-be92-69b11c486d31"},{"key":"x-amz-apigw-id","value":"btKFzH-3hcwFrqA="},{"key":"X-Amzn-Trace-Id","value":"Root=1-637523be-266f19975cab05a80ac5078e;Sampled=0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"org\": \"apiTesting\",\n        \"qapairs\": [\n            {\n                \"question\": \"How was your interview experience?\",\n                \"type_of_question\": \"objective\",\n                \"selectedIndices\": [\n                    false,\n                    true,\n                    false,\n                    false\n                ],\n                \"required\": false,\n                \"option\": [\n                    \"Excellent\",\n                    \"Good\",\n                    \"Average\",\n                    \"Poor\"\n                ]\n            },\n            {\n                \"question\": \"Do you want to provide any additional feedback?\",\n                \"answer\": \"{{ Few good things about the interviewer }}\",\n                \"type_of_question\": \"text\",\n                \"selectedIndices\": [],\n                \"required\": false,\n                \"option\": []\n            }\n        ],\n        \"_id\": \"e49c1a6e-36ed-45da-bd62-5d07f539ce95\",\n        \"createdAt\": \"2022-11-10T12:50:47.303Z\",\n        \"group\": 479fc649-143f-4e54-8d8b-65ecb4349583,\n        \"resultId\": c5797bae-d740-4eaf-a826-8f757f8b583e,\n        \"interviewId\": 4d5a1f08-fd78-4cf4-8e4e-6dc96e8a8a5a\n    }\n]"},{"id":"5ca00676-87c1-4cd0-a1be-cb6942995619","name":"Invalid Interview ID","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{org-api-key}}","type":"text"}],"url":{"raw":"https://api.wecreateproblems.com/orgs/:orgName/groups/:groupId/interviews/:interviewId/getFeedbacks","protocol":"https","host":["api","wecreateproblems","com"],"path":["orgs",":orgName","groups",":groupId","interviews",":interviewId","getFeedbacks"],"variable":[{"key":"orgName","value":"cypress"},{"key":"groupId","value":"479fc649-143f-4e54-8d8b-65ecb4349583"},{"key":"interviewId","value":"invalid-interview-id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Nov 2022 17:54:24 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"72"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"aec625a5-d5d7-469e-bc41-4f6848d0274c"},{"key":"x-amz-apigw-id","value":"btKIjHf7BcwFo1w="},{"key":"X-Amzn-Trace-Id","value":"Root=1-637523d0-3b8ae53535533d1525b47ad0;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"errorType\": \"string\",\n    \"errorMessage\": \"Error: Interview Not Found\",\n    \"trace\": []\n}"}],"_postman_id":"ea4a4575-ed18-4ae0-a339-6f9005d090a8"},{"name":"[WebHook] Start Test","id":"148be767-cdad-4679-9f5c-1159ef123d96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"{{custom-header-key}}","value":"{{custom-header-value}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"org\": cypress,\n    \"groupId\": 479fc649-143f-4e54-8d8b-65ecb4349583,\n    \"testId\": 6bf2587f-5746-4edb-be9f-729406741655,\n    \"userId\": {{username}},\n    \"resultId\": 49f2136b-0758-47c3-b9df-75cdec4b6ea3\n}"},"url":"https://6aaf8fbeeccb6728effc7666ab587954.m.pipedream.net","urlObject":{"host":["https://6aaf8fbeeccb6728effc7666ab587954.m.pipedream.net"],"query":[],"variable":[]}},"response":[],"_postman_id":"148be767-cdad-4679-9f5c-1159ef123d96"},{"name":"[WebHook] Start Interview","id":"02781351-273a-4e8b-b83d-00ca93026c40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"{{custom-header-key}}","value":"{{custom-header-value}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"org\": cypress,\n    \"groupId\": 479fc649-143f-4e54-8d8b-65ecb4349583,\n    \"interviewId\": 4d5a1f08-fd78-4cf4-8e4e-6dc96e8a8a5a,\n    \"userId\": {{username}},\n    \"resultId\": c5797bae-d740-4eaf-a826-8f757f8b583e,\n    \"joiningStatus\": \"Candidate Joined\" // \"Interview Joined\"\n}"},"url":"https://6aaf8fbeeccb6728effc7666ab587954.m.pipedream.net","urlObject":{"host":["https://6aaf8fbeeccb6728effc7666ab587954.m.pipedream.net"],"query":[],"variable":[]}},"response":[],"_postman_id":"02781351-273a-4e8b-b83d-00ca93026c40"},{"name":"[WebHook] Finish Test","id":"63941720-8ce9-4cbf-ba51-978194c911af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"{{custom-header-key}}","value":"{{custom-header-value}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"candidateId\": 49f2136b-0758-47c3-b9df-75cdec4b6ea3,\n    \"programmingLanguagesUsed\": [\n        \"V8JS\",\n        \"PY3\",\n        \"CPP11\"\n    ],\n    \"finishTime\": \"2020-10-09T18:53:34.557Z\",\n    \"candidateDetails\": {\n        \"Email\": {{userEmail}},\n        \"Name\": \"Sample User\",\n        \"IP address\": \"111.118.244.221\",\n        \"User Agent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36\"\n    },\n    \"score\": 250,\n    \"questionWiseScore\": {\n        \"HWYC1ipzcrRqbYalMvEQLHqPUyef49UT\": {\n            \"score\": 0,\n            \"_id\": \"bc8d27c6-4d07-4617-87e5-25c1c958f41b\",\n            \"type\": \"answer\",\n            \"timeSpent\": 21568,\n            \"status\": true,\n            \"totalAttempts\": 1\n        },\n        \"3ZAkYwSdjIrtsK84V7IeciHRtqmHh1cj\": {\n            \"score\": 3,\n            \"_id\": \"d5ffec3a-0665-487a-b77a-68135be7747d\",\n            \"type\": \"answer\",\n            \"timeSpent\": 4438,\n            \"status\": true,\n            \"totalAttempts\": 1\n        },\n        \"ZERgXWiN0pVgpTOZK0Akl5VvaiAQG3JJ\": {\n            \"score\": 75,\n            \"timeSpent\": 0,\n            \"totalAttempts\": 2,\n            \"_id\": \"08c38bb0-c90b-46ed-8cb4-c71fc5effcad\",\n            \"type\": \"submission\",\n            \"status\": true,\n            \"testcasesPassed\": 9\n        },\n        \"jotIP91MQvlOUaZW2h5WRDUjeMPBTIqt\": {\n            \"score\": 10,\n            \"timeSpent\": 150122,\n            \"totalAttempts\": 1,\n            \"_id\": \"d12314eb-ccb5-4e71-86c4-4ac746df3e9d\",\n            \"type\": \"submission\",\n            \"status\": true,\n            \"testcasesPassed\": 1\n        },\n        \"bCAQpimaQLKIv5sK721CyQ1Uj8AePnai\": {\n            \"score\": 3,\n            \"_id\": \"152101e8-caca-4dea-a6e5-91dba59b983c\",\n            \"type\": \"answer\",\n            \"timeSpent\": 5570,\n            \"status\": true,\n            \"totalAttempts\": 2\n        },\n        \"IGCqtkqAnnMLyLBw1J25CLR0IInnEkNw\": {\n            \"score\": 3,\n            \"_id\": \"71a2ebf9-c57d-49b5-b48e-e8f85f1f3ca6\",\n            \"type\": \"answer\",\n            \"timeSpent\": 0,\n            \"status\": true,\n            \"totalAttempts\": 1\n        },\n        \"8M9c0QduECNJlJARRzBVnNxByO1t8nND\": {\n            \"score\": 50,\n            \"timeSpent\": 0,\n            \"totalAttempts\": 1,\n            \"_id\": \"b99ab1a3-f338-4b24-8b78-3a35f2a784dc\",\n            \"type\": \"submission\",\n            \"status\": false,\n            \"testcasesPassed\": 5\n        },\n        \"Uht43jOi2GQai7yWr2g4iK89550Xo5qC\": {\n            \"score\": 0,\n            \"_id\": \"21373200-b0a0-401f-85e9-1b9c07364e52\",\n            \"type\": \"answer\",\n            \"timeSpent\": 0,\n            \"status\": true,\n            \"totalAttempts\": 1\n        },\n        \"JMAOOGyYcOgbew3f3hGOjX7h3FwEL7a0\": {\n            \"score\": 0,\n            \"_id\": \"6fb6994b-c89e-4af9-9061-2df570e54ecf\",\n            \"type\": \"answer\",\n            \"timeSpent\": 5495,\n            \"status\": false,\n            \"totalAttempts\": 1\n        },\n        \"GPlL4Mn63e0FmVyTEF1PGjWvDwX9WzAY\": {\n            \"score\": 3,\n            \"_id\": \"66fbb759-3afb-49a5-9ec2-c9b7aa5179ae\",\n            \"type\": \"answer\",\n            \"timeSpent\": 0,\n            \"status\": true,\n            \"totalAttempts\": 3\n        },\n        \"yeUZJpnupwpnKZIZWJPDSuS2sKnozaWE\": {\n            \"score\": 0,\n            \"_id\": \"f69e555d-5c99-4ea5-9270-db051fbd10a7\",\n            \"type\": \"answer\",\n            \"timeSpent\": 0,\n            \"status\": false,\n            \"totalAttempts\": 1\n        },\n        \"ttS3TJg0hvgLETC6WoyVD7oUauChWrmy\": {\n            \"score\": 0,\n            \"timeSpent\": 154447,\n            \"totalAttempts\": 1,\n            \"_id\": \"315bfe11-41c8-4165-b5f2-da0215c62cda\",\n            \"type\": \"submission\",\n            \"status\": true,\n            \"testcasesPassed\": 0\n        },\n        \"JUiBEhHlPkH3uwpQJK8XuA9jIawjzOpA\": {\n            \"score\": 0,\n            \"_id\": \"71c51337-c23c-4bd1-a9dc-a3ed255743a0\",\n            \"type\": \"answer\",\n            \"timeSpent\": 8124,\n            \"status\": true,\n            \"totalAttempts\": 3\n        },\n        \"xV9iNBBHNnOBJFrCa3P0OwgB3G3nLW0R\": {\n            \"score\": 3,\n            \"_id\": \"b1d107a1-6d85-4f4c-a3a6-5dd052303f78\",\n            \"type\": \"answer\",\n            \"timeSpent\": 9918,\n            \"status\": true,\n            \"totalAttempts\": 1\n        },\n        \"boPFJyGOpPwyzd4orIZOqRgItCk3hHKC\": {\n            \"score\": 0,\n            \"_id\": \"377ce20d-a5da-4b46-8be2-eaaed6212d4c\",\n            \"type\": \"answer\",\n            \"timeSpent\": 4342,\n            \"status\": false,\n            \"totalAttempts\": 1\n        },\n        \"Ome0OjE0unoQCw5NT7tk127Ah67BKoKs\": {\n            \"score\": 0,\n            \"_id\": \"0f1993b6-253f-4438-9dae-de9b8adc721c\",\n            \"type\": \"answer\",\n            \"timeSpent\": 0,\n            \"status\": false,\n            \"totalAttempts\": 1\n        }\n    },\n    \"testStartTime\": \"2020-10-09T18:47:06.121Z\",\n    \"testFinished\": true,\n    \"testDuration\": \"6 minutes\",\n    \"quizId\": 6bf2587f-5746-4edb-be9f-729406741655,\n    \"reportLink\": \"https://assess.wecreateproblems.com/reports/49f2136b-0758-47c3-b9df-75cdec4b6ea3\",\n    \"retry\": 1,\n    \"finished\": true,\n    \"proctoringData\": {\n        \"pasteContent\": 0,\n        \"fullScreenViolation\": 0,\n        \"multipleFaces\": 0,\n        \"tabChanged\": 0,\n        \"copyContent\": 0,\n        \"noFaceDetected\": 0,\n        \"onlineTime\": 0,\n        \"timeOffWindow\": 0\n    },\n    \"closed\": 2\n}"},"url":"https://6aaf8fbeeccb6728effc7666ab587954.m.pipedream.net","urlObject":{"host":["https://6aaf8fbeeccb6728effc7666ab587954.m.pipedream.net"],"query":[],"variable":[]}},"response":[],"_postman_id":"63941720-8ce9-4cbf-ba51-978194c911af"},{"name":"[WebHook] Finish Interview","id":"27d62fd1-3442-4c79-97e1-500c6d7abb06","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"{{custom-header-key}}","value":"{{custom-header-value}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"candidateId\": c5797bae-d740-4eaf-a826-8f757f8b583e,\n    \"interviewId\": 4d5a1f08-fd78-4cf4-8e4e-6dc96e8a8a5a,\n    \"reportLink\": \"https://assess.wecreateproblems.com/interview-reports/c5797bae-d740-4eaf-a826-8f757f8b583e\",\n    \"startTime\": \"2022-11-10T12:48:08.100Z\",\n    \"finishTime\": \"2022-11-10T12:50:17.340Z\",\n    \"candidateDetails\": {\n        \"Email\": {{userEmail}},\n        \"Name\": \"Sample User\",\n        \"Interviewer\": \"admin\"\n    },\n    \"interviewFinished\": true,\n    \"scorecard\": [\n        {\n            \"option\": [],\n            \"question\": \"Technical Skills and Domain Knowledge\",\n            \"type_of_question\": \"star\",\n            \"response\": \"4 out of 5\"\n        },\n        {\n            \"option\": [],\n            \"question\": \"Communication Skills\",\n            \"type_of_question\": \"star\",\n            \"response\": \"4.5 out of 5\"\n        },\n        {\n            \"option\": [\n                \"Selected\",\n                \"Rejected\",\n                \"On Hold\"\n            ],\n            \"question\": \"Interview Outcome / Decision\",\n            \"type_of_question\": \"objective\",\n            \"response\": \"Selected\"\n        },\n        {\n            \"option\": [],\n            \"question\": \"Overall observations\",\n            \"type_of_question\": \"text\",\n            \"response\": \"{{ A lot of good things about candidate }}\"\n        },\n        {\n            \"option\": [\n                \"Testing\",\n                \"Frontend Developer\",\n                \"Backend Developer\",\n                \"Product Management\"\n            ],\n            \"question\": \"Suited role for candidate\",\n            \"type_of_question\": \"multiple\",\n            \"response\": [\n                \"Frontend Developer\",\n                \"Backend Developer\"\n            ]\n        }\n    ],\n    \"joiningStatus\": \"Both Joined\",\n    \"interviewDuration\": \"2 minutes\"\n}"},"url":"https://6aaf8fbeeccb6728effc7666ab587954.m.pipedream.net","urlObject":{"host":["https://6aaf8fbeeccb6728effc7666ab587954.m.pipedream.net"],"query":[],"variable":[]}},"response":[],"_postman_id":"27d62fd1-3442-4c79-97e1-500c6d7abb06"}],"event":[{"listen":"prerequest","script":{"id":"880fc9f8-7dda-4591-b30e-3a528f04a2ac","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"cb9208e9-5c0e-4b44-9ea1-c09db1255d40","type":"text/javascript","exec":[""]}}],"variable":[{"key":"ats","value":"ats/wecp","type":"string"},{"key":"org-name","value":"cypress","type":"string"},{"key":"group-id","value":"479fc649-143f-4e54-8d8b-65ecb4349583","type":"string"},{"key":"candidate-test-id","value":"49f2136b-0758-47c3-b9df-75cdec4b6ea3","type":"string"},{"key":"test-id","value":"6bf2587f-5746-4edb-be9f-729406741655","type":"string"},{"key":"candidate-interview-id","value":"c5797bae-d740-4eaf-a826-8f757f8b583e","type":"string"},{"key":"interview-id","value":"4d5a1f08-fd78-4cf4-8e4e-6dc96e8a8a5a","type":"string"},{"key":"webhook-start-test","value":"https://6aaf8fbeeccb6728effc7666ab587954.m.pipedream.net","type":"string"},{"key":"webhook-finish-test","value":"https://6aaf8fbeeccb6728effc7666ab587954.m.pipedream.net","type":"string"},{"key":"invalid-API-key","value":"invalid-API-key","type":"string"},{"key":"invalid-group-id","value":"invalid-group-id","type":"string"},{"key":"invalid-test-id","value":"invalid-test-id","type":"string"},{"key":"invalid-interview-id","value":"invalid-interview-id","type":"string"},{"key":"invalid-username","value":"invalid-username","type":"string"},{"key":"invalid-candidate-id","value":"invalid-candidate-id","type":"string"}]}