{"info":{"_postman_id":"94a0bb75-09c5-4c40-9db2-1e1924b08711","name":"Mobile APIs","description":"Authorization\n======================================\n\nAltum Connections uses JSON Web Tokens (JWT) to securly transmit information between ProposalCentral and trusted Grant Makers\n---------------------\n\n### What is JSON?\n> JSON Web Token (JWT) is an open standard ([RFC 7519](https://tools.ietf.org/html/rfc7519)) that defines a compact and self-contained way for securely \n> transmitting information between parties as a JSON object. \n\n#### Altum Connections APIs require a valid JSON access token passed as a bearer token in the authorization header of the HTTP request.\n  \n  \n  \n  \n##### To obtain a JSON access token:\n\n1. Call the GetTokenByCredentials with a valid UserLogin and Password\n2. The API will return a token and a userID for use in subsequent API calls\n\n##### JSON access token properties:\n- The JWT Access tokens have an expiration.  Once expired the APIs will respond with a Unauthorized (401) HTTP status code\n- There is a request rate limit associated with the token.  Once the limit is reached, the APIs will respond with a TooManyRequests (429) HTTP status code\n\n\n###### A C# console application is available to demonstrate calling Altum Connections APIs\n\n\nCommon Tests\n======================================\n\n* **Unauthorized Request - Http Status Code: 401**\n\n      This Test will fail, if the response code from the api is 401.\n\n* **Valid Json Response - Http Status Code: 200**\n\n      This Test will fail, if the response code from the api is 200 and the response is not a valid json.\n      \n* **Internal Server Error - Http Status Code: 500**\n\n      This Test will fail, if the response code from the api is 500 and there is no  valid message available in response.\n\n* **Data Not found Error - Http Status Code: 400**\n\n      This Test will fail, if the response code from the api is 400 and there is no valid message available in response.","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"GetApplicationByID","event":[{"listen":"test","script":{"id":"083dc3aa-b619-43c8-8521-67751c1d8786","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"c2c464b3-7125-4d98-a4d7-df6b6f8eea34","exec":["console.log(\"executing pre-request\")\r","console.log('authorization: ' + pm.environment.get(\"authorization\"))\r","console.log('UserLogin: ' + pm.environment.get(\"UserLogin\"))\r","console.log('Password: ' + pm.environment.get(\"Password\"))\r","if(pm.environment.get(\"authorization\") === \"\" || pm.environment.get(\"authorization\") === null)\r","{\r","    console.log(\"authorization not found\")\r","    pm.sendRequest({\r","    url: pm.environment.get(\"CredentialTokenURL\"),\r","    method: 'POST',\r","    header: {\r","        'content-type': 'application/json'\r","    },\r","    body: {\r","        mode: 'raw',\r","        raw: JSON.stringify({ UserLogin:pm.environment.get(\"UserLogin\"),Password:pm.environment.get(\"Password\") })\r","    }\r","}, function (err, res) {\r","  //  if ( err !== null)\r","        console.log(\"err: \" + err)\r","    //if ( res !== null )\r","        console.log(\"res: \" + res.json().token)\r","    pm.request.headers.add({\r","    key: 'Authorization',\r","    value: \"Bearer \" + res.json().token\r","    });\r","    pm.environment.set(\"authorization\", \"Bearer \" + res.json().token);\r","    console.log(res.json().userID);   \r","    pm.environment.set(\"loggedInAPIUserID\", res.json().userID);     \r","    GetUserSubscribedInstitutions();\r","});\r","} else\r","{\r","    console.log(\"authorization found\")\r","\r","    pm.request.headers.add({\r","        key: 'Authorization',\r","        value: pm.environment.get(\"authorization\")\r","    });    \r","    GetUserSubscribedInstitutions();        \r","}\r","\r","function GetUserSubscribedInstitutions()\r","{\r","if(pm.environment.get(\"authorization\") != '' && pm.environment.get(\"authorization\") != null && pm.environment.get(\"loggedInAPIUserID\")!='' && pm.environment.get(\"loggedInAPIUserID\")!= null)\r","{\r","var token=pm.environment.get(\"authorization\");\r","console.log(\"Get SubscribedInstitutionList\" +token);\r","pm.sendRequest({\r","    \r","  url: pm.environment.get(\"hostname\") + \"connections/IO/GetUserSubscribedInstitutions/\"+ pm.environment.get(\"loggedInAPIUserID\"),\r","  method: \"GET\",\r","  timeout: 0,\r","  header: {        \r","        \"Authorization\":  token,\r","        \"Content-Type\": \"application/json\"\r","    },\r","}\r",", function (err, response) {\r","    console.log(response.json());\r","    var subscribedInstitutions='';\r","    for(i = 0; i < response.json().length; i++)\r","        {\r","            subscribedInstitutions = subscribedInstitutions +\"//&//\"+ response.json()[i].name;\r","        }\r","    console.log(subscribedInstitutions);\r","    pm.variables.set(\"subscribedInstitutions\", subscribedInstitutions);\r","});\r","}\r","}"],"type":"text/javascript"}}],"id":"9501727e-4c7e-46c2-92d5-ef3a0dde621b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{hostname}}connections/IO/GetApplicationByID/625438","description":"## Description\n\n>This api returns details of application for the specific proposal ID. If no data is available, 400 response would be returned.\n\n## Parameters\n\n| Parameter | Description                                        | Sample |\n|-------------|----------------------------------------------------|--------------|\n| Application ID  | The proposal Id against which the details are fetched | 6842       |\n\n## Sample Output - Code 200 - Successful Response\n```\n{\n    \"proposalID\": 6842,\n    \"title\": \"Project Title\",\n    \"proposalType\": \"Proposal\",\n    \"grantMakerName\": \"Zee Test Grant Maker\",\n    \"technicalAbstract\": \" Technical Abstract Text\",\n    \"generalAbstract\": \"General Abstract Text\",\n    \"startDate\": 2007-03-01,\n    \"endDate\": 2017-03-01,\n    \"requestedAmount\": 0.0,\n    \"status\": \"In Progress\",\n    \"dueDate\": \"2007-03-01T23:59:59\",\n    \"keywordList\": [\n        {\n            \"keywordListNumber\": 1,\n            \"name\": \"Keyword 1\"\n        },\n        {\n            \"keywordListNumber\": 1,\n            \"name\": \"Keyword 2\"\n        },\n        {\n            \"keywordListNumber\": 1,\n            \"name\": \"Keyword 3\"\n        },\n        {\n            \"keywordListNumber\": 2,\n            \"name\": \"Keyword 17\"\n        }\n    ],\n     \"personnelList\":[\n      {\n         \"userID\":111514,\n         \"firstName\":\"name\",\n         \"middleName\":\"name\",\n         \"lastName\":\"name\",\n         \"suffix\":\"suffix\",\n         \"prefix\":\"prefix\",\n         \"role\":\"role\",\n         \"contactType\":\"Contact\",\n         \"institution\":\"Inst Name\",\n         \"email\":\"email@abc.com\"\n      }\n   ],\n    \"institution\": {\n        \"institutionName\": \"Institution Name\",\n        \"city\": \"1-617-919-2729\",\n        \"state\": \"Boston\",\n        \"country\": \"United States\",\n        \"vendorID\": null\n    }\n}\n```\n## Sample Output - Code 400 - Data Not Found\n```\n{\n    \"title\": \"No data found\",\n    \"status\": 400,\n    \"detail\": \"There is no application found for the id: 6842\",\n    \"instance\": \"/IO/GetApplicationByID/6842\"\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"/IO/GetApplicationByID/6842\"\n}\n```"},"response":[],"_postman_id":"9501727e-4c7e-46c2-92d5-ef3a0dde621b"},{"name":"ValidateMyCritiqueDetails","event":[{"listen":"test","script":{"id":"71d07bf6-c05a-49fe-89e1-1dac5cd0364c","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"746130d5-6996-4e28-ab53-0feb83482218","exec":[""],"type":"text/javascript"}}],"id":"2507e4d5-a559-4da6-b155-42e51556eeb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBUElVc2VySUQiOiI2OTkyMDYiLCJHTUlEIjoiMCIsIkdNTmFtZSI6IlVzZXJMb2dpbiIsImV4cCI6MTYxMDUzOTEwNCwiaXNzIjoiaHR0cHM6Ly9wYy5xYS5hbHR1bS5jb20iLCJhdWQiOiJodHRwczovL3BjLnFhLmFsdHVtLmNvbSJ9.yUWUmG-m_s1d7rqONk6fh8scpKuaRTOnl2cYOUoNSb4"}},"method":"GET","header":[],"url":"{{hostname}}connections/IO/ValidateMyCritiqueDetails/1119054","description":"## Description\n\n>This api returns the Validation message for the critique. It returns both status and validation message(if any). If no data is available, 400 response would be returned.\n\n## Parameters\n\n| Parameter | Description                                        | Sample |\n|-------------|----------------------------------------------------|--------------|\n| Critique ID  | The critique Id against which the details are fetched | 6842       |\n\n## Sample Output - Code 200 - Successful Response\n```\n{\n    \"status\": \"Ready To Submit\",\n    \"errorMessage\": \"\",\n    \"critiqueID\": 0,\n    \"userID\": 0\n}\n\n```\n## Sample Output - Code 400 - Data Not Found\n```\n{\n    \"title\": \"No data found\",\n    \"status\": 400,\n    \"detail\": \"There is no data available for Critique ID : 6842\",\n    \"instance\": \"/IO/ValidateMyCritiqueDetails/6842\"\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"/IO/ValidateMyCritiqueDetails/6842\"\n}\n```"},"response":[],"_postman_id":"2507e4d5-a559-4da6-b155-42e51556eeb6"},{"name":"GetMyCritiqueDetails","event":[{"listen":"test","script":{"id":"a604fb98-384b-4307-b165-ce5cb9a27733","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"a68fd9e1-00be-4000-b051-25e822877411","exec":[""],"type":"text/javascript"}}],"id":"3ad8d8f2-5e44-4e20-950d-1be1f0e93a0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBUElVc2VySUQiOiI2OTkyMDYiLCJHTUlEIjoiMCIsIkdNTmFtZSI6IlVzZXJMb2dpbiIsImV4cCI6MTYxMDUzOTEwNCwiaXNzIjoiaHR0cHM6Ly9wYy5xYS5hbHR1bS5jb20iLCJhdWQiOiJodHRwczovL3BjLnFhLmFsdHVtLmNvbSJ9.yUWUmG-m_s1d7rqONk6fh8scpKuaRTOnl2cYOUoNSb4"}},"method":"GET","header":[],"url":"{{hostname}}connections/IO/GetMyCritiqueDetails/1641180","description":"## Description\n\n>This api returns My Critique details for the specific Critique ID. If no data is available, 400 response would be returned.\n\n## Parameters\n\n| Parameter | Description                                        | Sample |\n|-------------|----------------------------------------------------|--------------|\n| Critique ID  | The critique Id against which the details are fetched | 6842       |\n\n## Sample Output - Code 200 - Successful Response\n```\n{\n    \"committeeScores\": [\n        {\n            \"scoreNumber\": 1.000,\n            \"scoreText\": \"1 Exceptional\"\n        },\n        {\n            \"scoreNumber\": 2.000,\n            \"scoreText\": \"2 Outstanding\"\n        },\n        {\n            \"scoreNumber\": 3.000,\n            \"scoreText\": \"3 Excellent\"\n        },\n        {\n            \"scoreNumber\": 4.000,\n            \"scoreText\": \"4 Very Good\"\n        },\n        {\n            \"scoreNumber\": 5.000,\n            \"scoreText\": \"5 Good\"\n        },\n        {\n            \"scoreNumber\": 6.000,\n            \"scoreText\": \"6 Satisfactory\"\n        },\n        {\n            \"scoreNumber\": 7.000,\n            \"scoreText\": \"7 Fair\"\n        },\n        {\n            \"scoreNumber\": 8.000,\n            \"scoreText\": \"8 Marginal\"\n        },\n        {\n            \"scoreNumber\": 9.000,\n            \"scoreText\": \"9 Poor\"\n        }\n    ],\n    \"questionsDetails\": [\n        {\n            \"templateTextResponse\": \"Required\",\n            \"templateQuestionLabel\": \"Overall Impact\",\n            \"templateQuestionText\": \"Please provide an overall impact score to reflect your assessment of the likelihood of the project to exert a sustained, powerful influence on the research field(s) involved.\",\n            \"templateTextLengthMin\": 1,\n            \"templateTextLengthMax\": 1000,\n            \"templateQuestionWeight\": 5.00,\n            \"critiqueQuestionID\": 1228378,\n            \"critiqueAnswerFinal\": \"Using tardigrades DNA damage suppressor protein (Dsup) mRNA encased in nanoparticles and tested in the buccal mucosa of hamsters using a fractionation scheme of 5-9Gy x 3 (it is assumed that the 3Gy x 10 in the body of the text will not be used), the team proposes early - phase development of a potential method to decrease oral mucositis in treatment of head and neck cancer.xxx\",\n            \"answerScoreFinal\": 4.000\n        },\n        {\n            \"templateTextResponse\": \"Required\",\n            \"templateQuestionLabel\": \"Significance of Research\",\n            \"templateQuestionText\": \"Please score the significance of the proposed work to the research and/or the practice of radiation oncology. Do not consider feasibility in this score.\",\n            \"templateTextLengthMin\": 1,\n            \"templateTextLengthMax\": 1000,\n            \"templateQuestionWeight\": 15.00,\n            \"critiqueQuestionID\": 1228379,\n            \"critiqueAnswerFinal\": \"Decreasing oral mucositis in head and neck cancer patients is of great importance.\",\n            \"answerScoreFinal\": 3.000\n        },\n        {\n            \"templateTextResponse\": \"Required\",\n            \"templateQuestionLabel\": \"Investigator\",\n            \"templateQuestionText\": \"Please score the applicant's strengths as an independent researcher, taking into account previous publications, previous training and experience, and their commitment to the project as reflected in their listed role(s) and % commitment.\",\n            \"templateTextLengthMin\": 1,\n            \"templateTextLengthMax\": 1000,\n            \"templateQuestionWeight\": 25.00,\n            \"critiqueQuestionID\": 1228380,\n            \"critiqueAnswerFinal\": \"the investigator is applying for the Holman pathway and has an excellent track record in the development of this work involved localized delivery of agent via nonoparticles.\",\n            \"answerScoreFinal\": 2.000\n        },\n        {\n            \"templateTextResponse\": \"Required\",\n            \"templateQuestionLabel\": \"Project Plan\",\n            \"templateQuestionText\": \"Please score the level of novelty and innovation of the proposed project, its feasibility of completion, the proposed statistical analyses, and the overall strength of the proposed plan for the project.\",\n            \"templateTextLengthMin\": 1,\n            \"templateTextLengthMax\": 1000,\n            \"templateQuestionWeight\": 30.00,\n            \"critiqueQuestionID\": 1228381,\n            \"critiqueAnswerFinal\": \"This project is novel and innovative. The authors present convincing evidence that microparticle delivery of Dsup mRNA is feasible.\",\n            \"answerScoreFinal\": 4.000\n        },\n        {\n            \"templateTextResponse\": \"Required\",\n            \"templateQuestionLabel\": \"Environment\",\n            \"templateQuestionText\": \"Please score the level of commitment of resources, and time that the applicant's home institution can provide to the proposed project.\",\n            \"templateTextLengthMin\": 1,\n            \"templateTextLengthMax\": 1000,\n            \"templateQuestionWeight\": 15.00,\n            \"critiqueQuestionID\": 1228382,\n            \"critiqueAnswerFinal\": \"MGH/MIT in a resource-rich environment ideally suited for this work.\",\n            \"answerScoreFinal\": 1.000\n        },\n        {\n            \"templateTextResponse\": \"Required\",\n            \"templateQuestionLabel\": \"Mentorship Plan\",\n            \"templateQuestionText\": \"Please score the effort to be taken to help mentor the applicant and increase their potential success as a researcher. In particular, a clear discussion of the mentorship plan is expected to be given in letters of support from chairs/heads of the department.\",\n            \"templateTextLengthMin\": 1,\n            \"templateTextLengthMax\": 1000,\n            \"templateQuestionWeight\": 10.00,\n            \"critiqueQuestionID\": 1228383,\n            \"critiqueAnswerFinal\": \"The clinical team at MGH (Ted Hong, etc) as well as Kathryn Held in Space Medicine, and the team at MIT (Langer lab) would be uniquely situated to mentor the PI.\",\n            \"answerScoreFinal\": 1.000\n        },\n        {\n            \"templateTextResponse\": \"Optional\",\n            \"templateQuestionLabel\": \"Budget\",\n            \"templateQuestionText\": \"Please give feedback on the proposed budget for the project. This score is NOT included in the conglomerate score and your response is optional.\",\n            \"templateTextLengthMin\": 1,\n            \"templateTextLengthMax\": 1000,\n            \"templateQuestionWeight\": 0.00,\n            \"critiqueQuestionID\": 1228384,\n            \"critiqueAnswerFinal\": \"This cannot be assessed.\",\n            \"answerScoreFinal\": 3.000\n        }\n    ],\n    \"fileTypes\": [\n        {\n            \"formatID\": 1,\n            \"formatName\": \"Microsoft Word\",\n            \"formatExt\": \".doc\"\n        },\n        {\n            \"formatID\": 7,\n            \"formatName\": \"Microsoft Word 2007\",\n            \"formatExt\": \".docx\"\n        },\n        {\n            \"formatID\": 6,\n            \"formatName\": \"Adobe Acrobat\",\n            \"formatExt\": \".pdf\"\n        }\n    ],\n   \"critiqueHeader\": {\n        \"proposalGITitle\": \"Delivery of tardigrade mRNA for radioprotection\",\n        \"gmProgramName\": \"ASTRO Resident/Fellows in Radiation Oncology Research Seed Grant\",\n        \"proposalNumber\": \"624172\",\n        \"userId\": 0,\n        \"critiqueID\": 1129949,\n        \"committeeAllowsVoting\": \"Both\",\n        \"applicantName\": \"James Byrne\",\n        \"institutionName\": \"Massachusetts General Hospital (The General Hospital Corp.)\",\n        \"committeeName\": \"ASTRO Resident Seed Grant 2019\",\n        \"critiqueUserRoleText\": \"Reviewer\",\n        \"critiqueScoreFinal\": 8.000,\n        \"critiqueSummary\": \"critique summary\",\n        \"templateCritiqueUploadEnabled\": true,\n        \"templateCritUploadRequired\": true,\n        \"templateCritUploadInstructions\": \"Critique Upload:\",\n        \"critiqueAbsLocInitial\": null,\n        \"critiqueAbsLocFinal\": \"105\\\\CommitteeFiles\\\\12782\\\\CritiqueUploads\\\\RSG20Byrne___624172RF1129949.DOCX\",\n        \"isSeparateVoting\": false,\n        \"critiqueType\": \"Revisions\",\n        \"deadlineDate\": \"01/17/2021 12:00:00 PM\",\n        \"deadlineExtensionDate\": null,\n        \"critiqueSummaryLengthMin\": 1,\n        \"critiqueSummaryLengthMax\": 15000,\n        \"critiqueSummaryLabel\": \"Please add any additional comments (optional).\",\n        \"status\": null,\n        \"templateScoreOption\": \"Required\",\n        \"templateSelectScore\": true,\n        \"templateCritiqueSummaryEnabled\": true,\n        \"templateCritSummaryRequired\": false,\n        \"isEditable\": true\n    },\n    \"critiqueTemplateUploads\": [\n        {\n            \"templateUploadID\": 8408,\n            \"templateUploadSequence\": 1,\n            \"templateUploadAbsLoc\": \"105\\\\TemplateFiles\\\\5655\\\\Instructions\\\\ReviewerTe_5655_8408.DOCX\",\n            \"templateUploadDescription\": \"Reviewer Templates1\"\n        },\n        {\n            \"templateUploadID\": 8409,\n            \"templateUploadSequence\": 2,\n            \"templateUploadAbsLoc\": \"105\\\\TemplateFiles\\\\5655\\\\Instructions\\\\ReviewerTe_5655_8409.PDF\",\n            \"templateUploadDescription\": \"Reviewer Templates2\"\n        },\n        {\n            \"templateUploadID\": 8410,\n            \"templateUploadSequence\": 3,\n            \"templateUploadAbsLoc\": \"105\\\\TemplateFiles\\\\5655\\\\Instructions\\\\ReviewerTe_5655_8410.PDF\",\n            \"templateUploadDescription\": \"Reviewer Templates3\"\n        },\n        {\n            \"templateUploadID\": 8411,\n            \"templateUploadSequence\": 4,\n            \"templateUploadAbsLoc\": \"105\\\\TemplateFiles\\\\5655\\\\Instructions\\\\ReviewerTe_5655_8411.PDF\",\n            \"templateUploadDescription\": \"Reviewer Templates4\"\n        },\n        {\n            \"templateUploadID\": 8412,\n            \"templateUploadSequence\": 5,\n            \"templateUploadAbsLoc\": \"105\\\\TemplateFiles\\\\5655\\\\Instructions\\\\ReviewerTe_5655_8412.PDF\",\n            \"templateUploadDescription\": \"Reviewer Templates5\"\n        }\n    ]\n}\n\n```\n## Sample Output - Code 400 - Data Not Found\n```\n{\n    \"title\": \"No data found\",\n    \"status\": 400,\n    \"detail\": \"There is no data available for Critique ID : 6842\",\n    \"instance\": \"/IO/GetMyCritiqueDetails/6842\"\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"/IO/GetMyCritiqueDetails/6842\"\n}\n```"},"response":[],"_postman_id":"3ad8d8f2-5e44-4e20-950d-1be1f0e93a0f"},{"name":"DownloadCritiqueTemplate","event":[{"listen":"test","script":{"id":"f0d9919c-d369-4b91-8b51-289407cf0826","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"016d4bc5-7880-4cd6-a73c-aca17f6dc485","exec":[""],"type":"text/javascript"}}],"id":"1540f435-587c-4522-b34e-46251096bdba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBUElVc2VySUQiOiI2OTkyMDYiLCJHTUlEIjoiMCIsIkdNTmFtZSI6IlVzZXJMb2dpbiIsImV4cCI6MTYwOTg1OTMzMSwiaXNzIjoiaHR0cHM6Ly9wYy5xYS5hbHR1bS5jb20iLCJhdWQiOiJodHRwczovL3BjLnFhLmFsdHVtLmNvbSJ9.PmLTf1a3PlaI3zVf378fHjfNnsMuDyiKjgEoo13qOgk"}},"method":"GET","header":[],"url":"{{hostname}}connections/IO/DownloadCritiqueTemplate/506789/12782/Admin/123500","description":"## Description\n\n>This api downloads the template document. If no data is available, 400 response would be returned.\n\n## Parameters\n\n| Parameter | Description                                        | Sample |\n|-------------|----------------------------------------------------|--------------|\n| User ID  | The reviewer Id  | 506789       |\n| Committee ID  | The committee id | 12782       |\n| Role  | User Role | Admin       |\n| TemplateUploadID  | Template File Upload ID | 123500       |\n\n## Sample Output - Code 200 - Successful Response\n```\nDownloads file\n```\n## Sample Output - Code 400 - Data Not Found\n```\n{\n    \"title\": \"No data found\",\n    \"status\": 400,\n    \"detail\": \"It appears that you are not authorized to view this file. If you believe that you have received this message in error, please contact ProposalCentral Customer Service.\",\n    \"instance\": \"/IO/DownloadCritiqueTemplate/6842\"\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"/IO/DownloadCritiqueTemplate\"\n}\n```"},"response":[],"_postman_id":"1540f435-587c-4522-b34e-46251096bdba"},{"name":"DownloadConfidentialityStatement","event":[{"listen":"test","script":{"id":"9e9d6527-9b89-4ab6-80c1-6e31ed9fee78","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"ad186f6d-5aa1-404d-b029-77ef57666410","exec":[""],"type":"text/javascript"}}],"id":"d8406640-f8b3-4566-bc54-e7952195979e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBUElVc2VySUQiOiI2NzAyNzciLCJHTUlEIjoiMCIsIkdNTmFtZSI6IlVzZXJMb2dpbiIsImV4cCI6MTYwODIxODM2MSwiaXNzIjoiaHR0cHM6Ly9wYy5xYS5hbHR1bS5jb20iLCJhdWQiOiJodHRwczovL3BjLnFhLmFsdHVtLmNvbSJ9.wKFx6ELdTGPcInE1QwuN5pwe5S7WrLdb7fAnrAMiiO4"}},"method":"GET","header":[],"url":"{{hostname}}connections/IO/DownloadConfidentialityStatement/670280/16310/150/User","description":"## Description\n\n>This api downloads the confidentiality statement. If no data is available, 400 response would be returned.\n\n## Parameters\n\n| Parameter | Description                                        | Sample |\n|-------------|----------------------------------------------------|--------------|\n| User ID  | The reviewer Id  | 506789       |\n| Committee ID  | The committee id | 12782       |\n| GM ID  | The grant maker ID | 105       |\n| Role  | logged in user role | Admin / User      |\n\n## Sample Output - Code 200 - Successful Response\n```\nDownloads file\n```\n## Sample Output - Code 400 - Data Not Found\n```\n{\n    \"title\": \"No data found\",\n    \"status\": 400,\n    \"detail\": \"There is no application found for the id: 6842\",\n    \"instance\": \"/IO/DownloadConfidentialityStatement/6842\"\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"/IO/DownloadConfidentialityStatement/6842\"\n}\n```"},"response":[],"_postman_id":"d8406640-f8b3-4566-bc54-e7952195979e"},{"name":"DownloadCommitteeInstructions","event":[{"listen":"test","script":{"id":"780e08ad-4309-4351-b8e6-1c3fbe53724c","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"f1f979af-a5e6-4cad-9ed5-31dcf7cbcaac","exec":[""],"type":"text/javascript"}}],"id":"9bec203d-1a0a-4d75-9c4c-a2d38c7e6ba3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBUElVc2VySUQiOiI2OTkyMDYiLCJHTUlEIjoiMCIsIkdNTmFtZSI6IlVzZXJMb2dpbiIsImV4cCI6MTYwOTg1OTMzMSwiaXNzIjoiaHR0cHM6Ly9wYy5xYS5hbHR1bS5jb20iLCJhdWQiOiJodHRwczovL3BjLnFhLmFsdHVtLmNvbSJ9.PmLTf1a3PlaI3zVf378fHjfNnsMuDyiKjgEoo13qOgk"}},"method":"GET","header":[],"url":"{{hostname}}connections/IO/DownloadCommitteeInstructions/699206/16669/150/26334/User","description":"## Description\n\n>This api downloads the Instructions document. If no data is available, 400 response would be returned.\n\n## Parameters\n\n| Parameter | Description                                        | Sample |\n|-------------|----------------------------------------------------|--------------|\n| User ID  | The reviewer Id  | 506789       |\n| Committee ID  | The committee id | 12782       |\n| GM ID  | The grant maker ID | 105       |\n| commUploadID  | Instructions File Upload ID | 123500       |\n| Role  | User Role | Admin       |\n\n## Sample Output - Code 200 - Successful Response\n```\nDownloads file\n```\n## Sample Output - Code 400 - Data Not Found\n```\n{\n    \"title\": \"No data found\",\n    \"status\": 400,\n    \"detail\": \"It appears that you are not authorized to view this file. If you believe that you have received this message in error, please contact ProposalCentral Customer Service.\",\n    \"instance\": \"/IO/DownloadConfidentialityStatement/6842\"\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"/IO/DownloadConfidentialityStatement\"\n}\n```"},"response":[],"_postman_id":"9bec203d-1a0a-4d75-9c4c-a2d38c7e6ba3"},{"name":"GetInstitutionUnreadMessagesByIO","event":[{"listen":"prerequest","script":{"id":"17807b01-336f-45b4-8cee-278e218db392","exec":["console.log(\"executing pre-request\")\r","console.log('authorization: ' + pm.environment.get(\"authorization\"))\r","console.log('UserLogin: ' + pm.environment.get(\"UserLogin\"))\r","console.log('Password: ' + pm.environment.get(\"Password\"))\r","if(pm.environment.get(\"authorization\") === \"\" || pm.environment.get(\"authorization\") === null)\r","{\r","    console.log(\"authorization not found\")\r","    pm.sendRequest({\r","    url: pm.environment.get(\"CredentialTokenURL\"),\r","    method: 'POST',\r","    header: {\r","        'content-type': 'application/json'\r","    },\r","    body: {\r","        mode: 'raw',\r","        raw: JSON.stringify({ UserLogin:pm.environment.get(\"UserLogin\"),Password:pm.environment.get(\"Password\") })\r","    }\r","}, function (err, res) {\r","  //  if ( err !== null)\r","        console.log(\"err: \" + err)\r","    //if ( res !== null )\r","        console.log(\"res: \" + res.json().token)\r","    pm.request.headers.add({\r","    key: 'Authorization',\r","    value: \"Bearer \" + res.json().token\r","    });\r","    pm.environment.set(\"authorization\", \"Bearer \" + res.json().token);\r","    console.log(res.json().userID);   \r","    pm.environment.set(\"loggedInAPIUserID\", res.json().userID);     \r","    GetUserSubscribedInstitutions();\r","});\r","} else\r","{\r","    console.log(\"authorization found\")\r","\r","    pm.request.headers.add({\r","        key: 'Authorization',\r","        value: pm.environment.get(\"authorization\")\r","    });    \r","    GetUserSubscribedInstitutions();        \r","}\r","\r","function GetUserSubscribedInstitutions()\r","{\r","if(pm.environment.get(\"authorization\") != '' && pm.environment.get(\"authorization\") != null && pm.environment.get(\"loggedInAPIUserID\")!='' && pm.environment.get(\"loggedInAPIUserID\")!= null)\r","{\r","var token=pm.environment.get(\"authorization\");\r","console.log(\"Get SubscribedInstitutionList\" +token);\r","pm.sendRequest({\r","    \r","  url: pm.environment.get(\"hostname\") + \"connections/IO/GetUserSubscribedInstitutions/\"+ pm.environment.get(\"loggedInAPIUserID\"),\r","  method: \"GET\",\r","  timeout: 0,\r","  header: {        \r","        \"Authorization\":  token,\r","        \"Content-Type\": \"application/json\"\r","    },\r","}\r",", function (err, response) {\r","    console.log(response.json());\r","    var subscribedInstitutions='';\r","    for(i = 0; i < response.json().length; i++)\r","        {\r","            subscribedInstitutions = subscribedInstitutions +\"//&//\"+ response.json()[i].name;\r","        }\r","    console.log(subscribedInstitutions);\r","    pm.variables.set(\"subscribedInstitutions\", subscribedInstitutions);\r","});\r","}\r","}"],"type":"text/javascript"}},{"listen":"test","script":{"id":"25f99c48-c425-4032-9668-37b1bd21d072","exec":[" var jsonData = pm.response.json();\r","//Institution Bleedover check\r","  var subscribedInstitutions = pm.variables.get(\"subscribedInstitutions\");\r","  console.log(subscribedInstitutions);\r","  if (jsonData.items !=null)\r","  {\r","  for(i = 0; i < jsonData.items.length; i++)\r","  {    \r","     if (! subscribedInstitutions.includes(jsonData.items[i].institution))\r","     {\r","       console.log(jsonData.items[i].institution);\r","       tests[\"CheckInsitutionBleedOver\"] = false;\r","       break;\r","     }   \r","       tests[\"CheckInsitutionBleedOver\"] = true;\r","     \r","  }\r","  }\r","  //Check if each page returns correct record\r","if(jsonData.pagingInformation != null && jsonData.pagingInformation.totalItems > 0)\r","{\r","  var totalRecords=jsonData.pagingInformation.totalItems;\r","  var pageNumber=jsonData.pagingInformation.pageNumber;\r","  var pageSize =jsonData.pagingInformation.pageSize;\r","  var expectedCount;\r","\r","  if(totalRecords < pageSize)\r","  {\r","    expectedCount = totalRecords;\r","  }\r","  else\r","  {\r","    if(pageNumber * pageSize > totalRecords)\r","    {\r","    expectedCount = totalRecords - (pageSize *( pageNumber - 1 ) )\r","    }\r","    else\r","    {\r","      expectedCount =pageSize \r","    }\r","  }\r","\r","if(jsonData.items != null)\r","{\r"," if(expectedCount == jsonData.items.length)\r"," {\r","   tests[\"Correct Pagination Size\"] = true\r"," }\r"," else\r"," {\r","   tests[\"Correct Pagination Size\"] = false\r"," } \r","}\r","}"],"type":"text/javascript"}}],"id":"e57bf2f1-cc9e-4ef1-ac0c-576fca591d4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{hostname}}connections/IO/GetInstitutionUnreadMessagesByIO/670282?PageNumber=1&PageSize=100","host":["{{hostname}}connections"],"path":["IO","GetInstitutionUnreadMessagesByIO","670282"],"query":[{"key":"PageNumber","value":"1"},{"key":"PageSize","value":"100"},{"key":"","type":"text","value":"","disabled":true}]},"description":"## Description\n\n>This api returns unread messages of subscribed institution(s) for the specific user ID. If no data is available, 400 response would be returned.\n\n## Parameters\n\n| Parameter | Description                                        | Sample |\n|-------------|----------------------------------------------------|--------------|\n| User ID  | The user Id against which the details are fetched | 458629 |\n\n## Sample Output - Code 200 - Successful Response\n```\n{\n    \"pagingInformation\": {\n        \"totalItems\": 1,\n        \"pageNumber\": 1,\n        \"pageSize\": 100\n    },\n    \"items\": [\n        {\n            \"identifier\": \"674331\",\n            \"grantMaker\": \"Zee Test Grant Maker\",\n            \"program\": \"Very Basic Program\",\n            \"messageType\": \"Message\",\n            \"subject\": \"Deliverables Due\",\n            \"from\": \"pC Support, Auto\",\n            \"messageDate\": \"2019-11-29T04:15:01.177\",\n            \"institution\": \"American University of Central Asia\"\n        }\n    ]\n}\n```\n## Sample Output - Code 400 - Data Not Found\n```\n{\n    \"title\": \"No data found\",\n    \"status\": 400,\n    \"detail\": \"There are no unread messages for your subscribed institution(s).\",\n    \"instance\": \"/IO/GetInstitutionUnreadMessagesByIO/4586290\"\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"/IO/GetInstitutionUnreadMessagesByIO/4580\"\n}\n```"},"response":[],"_postman_id":"e57bf2f1-cc9e-4ef1-ac0c-576fca591d4f"},{"name":"GetDelinquentDeliverablesByIO","event":[{"listen":"test","script":{"id":"40cf28d7-9c24-46fd-bead-40675f827182","exec":[" var jsonData = pm.response.json();\r","//Institution Bleedover check\r","  var subscribedInstitutions = pm.variables.get(\"subscribedInstitutions\");\r","  console.log(subscribedInstitutions);\r","  if (jsonData.items !=null)\r","  {\r","  for(i = 0; i < jsonData.items.length; i++)\r","  {    \r","     if (! subscribedInstitutions.includes(jsonData.items[i].awardeeInstitution))\r","     {\r","       console.log(jsonData.items[i].institution);\r","       tests[\"CheckInsitutionBleedOver\"] = false;\r","       break;\r","     }   \r","       tests[\"CheckInsitutionBleedOver\"] = true;\r","     \r","  }\r","  }\r","  //Check if each page returns correct record\r","if(jsonData.pagingInformation != null && jsonData.pagingInformation.totalItems > 0)\r","{\r","  var totalRecords=jsonData.pagingInformation.totalItems;\r","  var pageNumber=jsonData.pagingInformation.pageNumber;\r","  var pageSize =jsonData.pagingInformation.pageSize;\r","  var expectedCount;\r","\r","  if(totalRecords < pageSize)\r","  {\r","    expectedCount = totalRecords;\r","  }\r","  else\r","  {\r","    if(pageNumber * pageSize > totalRecords)\r","    {\r","    expectedCount = totalRecords - (pageSize *( pageNumber - 1 ) )\r","    }\r","    else\r","    {\r","      expectedCount =pageSize \r","    }\r","  }\r","\r","if(jsonData.items != null)\r","{\r"," if(expectedCount == jsonData.items.length)\r"," {\r","   tests[\"Correct Pagination Size\"] = true\r"," }\r"," else\r"," {\r","   tests[\"Correct Pagination Size\"] = false\r"," } \r","}\r","}"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"5d972e60-cd6d-4def-8079-e6aaaff82953","exec":["console.log(\"executing pre-request\")\r","console.log('authorization: ' + pm.environment.get(\"authorization\"))\r","console.log('UserLogin: ' + pm.environment.get(\"UserLogin\"))\r","console.log('Password: ' + pm.environment.get(\"Password\"))\r","if(pm.environment.get(\"authorization\") === \"\" || pm.environment.get(\"authorization\") === null)\r","{\r","    console.log(\"authorization not found\")\r","    pm.sendRequest({\r","    url: pm.environment.get(\"CredentialTokenURL\"),\r","    method: 'POST',\r","    header: {\r","        'content-type': 'application/json'\r","    },\r","    body: {\r","        mode: 'raw',\r","        raw: JSON.stringify({ UserLogin:pm.environment.get(\"UserLogin\"),Password:pm.environment.get(\"Password\") })\r","    }\r","}, function (err, res) {\r","  //  if ( err !== null)\r","        console.log(\"err: \" + err)\r","    //if ( res !== null )\r","        console.log(\"res: \" + res.json().token)\r","    pm.request.headers.add({\r","    key: 'Authorization',\r","    value: \"Bearer \" + res.json().token\r","    });\r","    pm.environment.set(\"authorization\", \"Bearer \" + res.json().token);\r","    console.log(res.json().userID);   \r","    pm.environment.set(\"loggedInAPIUserID\", res.json().userID);     \r","    GetUserSubscribedInstitutions();\r","});\r","} else\r","{\r","    console.log(\"authorization found\")\r","\r","    pm.request.headers.add({\r","        key: 'Authorization',\r","        value: pm.environment.get(\"authorization\")\r","    });    \r","    GetUserSubscribedInstitutions();        \r","}\r","\r","function GetUserSubscribedInstitutions()\r","{\r","if(pm.environment.get(\"authorization\") != '' && pm.environment.get(\"authorization\") != null && pm.environment.get(\"loggedInAPIUserID\")!='' && pm.environment.get(\"loggedInAPIUserID\")!= null)\r","{\r","var token=pm.environment.get(\"authorization\");\r","console.log(\"Get SubscribedInstitutionList\" +token);\r","pm.sendRequest({\r","    \r","  url: pm.environment.get(\"hostname\") + \"connections/IO/GetUserSubscribedInstitutions/\"+ pm.environment.get(\"loggedInAPIUserID\"),\r","  method: \"GET\",\r","  timeout: 0,\r","  header: {        \r","        \"Authorization\":  token,\r","        \"Content-Type\": \"application/json\"\r","    },\r","}\r",", function (err, response) {\r","    console.log(response.json());\r","    var subscribedInstitutions='';\r","    for(i = 0; i < response.json().length; i++)\r","        {\r","            subscribedInstitutions = subscribedInstitutions +\"//&//\"+ response.json()[i].name;\r","        }\r","    console.log(subscribedInstitutions);\r","    pm.variables.set(\"subscribedInstitutions\", subscribedInstitutions);\r","});\r","}\r","}"],"type":"text/javascript"}}],"id":"8df5a7ea-53a4-4314-bc6d-d0a55975cead","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{hostname}}connections/Awards/GetDelinquentDeliverablesByIO/670282?PageNumber=1&PageSize=100","host":["{{hostname}}connections"],"path":["Awards","GetDelinquentDeliverablesByIO","670282"],"query":[{"key":"","type":"text","value":"","disabled":true},{"key":"PageNumber","value":"1"},{"key":"PageSize","value":"100"}]},"description":"## Description\n\n>This api returns delinquent deliverables of subscribed institution(s) for the specific user ID. If no data is available, 400 response would be returned.\n\n## Parameters\n\n| Parameter | Description                                        | Sample |\n|-------------|----------------------------------------------------|--------------|\n| User ID  | The user Id against which the details are fetched | 458629       |\n\n## Sample Output - Code 200 - Successful Response\n```\n{\n    \"pagingInformation\": {\n        \"totalItems\": 2,\n        \"pageNumber\": 1,\n        \"pageSize\": 100\n    },\n    \"items\": [\n        {\n            \"awardID\": \"722206\",\n            \"grantMaker\": \"Zee Test Grant Maker\",\n            \"program\": \"Very Basic Program\",\n            \"dueDate\": \"2020-03-14T00:00:00\",\n            \"granteeDescription\": \"live, aiswarya\",\n            \"type\": \"Select Score and Questions without score\",\n            \"awardeeInstitution\": \"American University of Central Asia\"\n        },\n        {\n            \"awardID\": \"723214\",\n            \"grantMaker\": \"Zee Test Grant Maker\",\n            \"program\": \"Very Basic Program\",\n            \"dueDate\": \"2020-06-30T00:00:00\",\n            \"granteeDescription\": \"live, aiswarya\",\n            \"type\": \"Custom Form Label Delv\",\n            \"awardeeInstitution\": \"American University of Central Asia\"\n        }\n    ]\n}\n```\n## Sample Output - Code 400 - Data Not Found\n```\n{\n    \"title\": \"No data found\",\n    \"status\": 400,\n    \"detail\": \"There are no delinquent deliverables for your subscribed institution(s).\",\n    \"instance\": \"/Awards/GetDelinquentDeliverablesByIO/458620\"\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"/Awards/GetDelinquentDeliverablesByIO/4580\"\n}\n```"},"response":[],"_postman_id":"8df5a7ea-53a4-4314-bc6d-d0a55975cead"},{"name":"GetApplicationsDueByIO","event":[{"listen":"prerequest","script":{"id":"17807b01-336f-45b4-8cee-278e218db392","exec":["console.log(\"executing pre-request\")\r","console.log('authorization: ' + pm.environment.get(\"authorization\"))\r","console.log('UserLogin: ' + pm.environment.get(\"UserLogin\"))\r","console.log('Password: ' + pm.environment.get(\"Password\"))\r","if(pm.environment.get(\"authorization\") === \"\" || pm.environment.get(\"authorization\") === null)\r","{\r","    console.log(\"authorization not found\")\r","    pm.sendRequest({\r","    url: pm.environment.get(\"CredentialTokenURL\"),\r","    method: 'POST',\r","    header: {\r","        'content-type': 'application/json'\r","    },\r","    body: {\r","        mode: 'raw',\r","        raw: JSON.stringify({ UserLogin:pm.environment.get(\"UserLogin\"),Password:pm.environment.get(\"Password\") })\r","    }\r","}, function (err, res) {\r","  //  if ( err !== null)\r","        console.log(\"err: \" + err)\r","    //if ( res !== null )\r","        console.log(\"res: \" + res.json().token)\r","    pm.request.headers.add({\r","    key: 'Authorization',\r","    value: \"Bearer \" + res.json().token\r","    });\r","    pm.environment.set(\"authorization\", \"Bearer \" + res.json().token);\r","    console.log(res.json().userID);   \r","    pm.environment.set(\"loggedInAPIUserID\", res.json().userID);     \r","    GetUserSubscribedInstitutions();\r","});\r","} else\r","{\r","    console.log(\"authorization found\")\r","\r","    pm.request.headers.add({\r","        key: 'Authorization',\r","        value: pm.environment.get(\"authorization\")\r","    });    \r","    GetUserSubscribedInstitutions();        \r","}\r","\r","function GetUserSubscribedInstitutions()\r","{\r","if(pm.environment.get(\"authorization\") != '' && pm.environment.get(\"authorization\") != null && pm.environment.get(\"loggedInAPIUserID\")!='' && pm.environment.get(\"loggedInAPIUserID\")!= null)\r","{\r","var token=pm.environment.get(\"authorization\");\r","console.log(\"Get SubscribedInstitutionList\" +token);\r","pm.sendRequest({\r","    \r","  url: pm.environment.get(\"hostname\") + \"connections/IO/GetUserSubscribedInstitutions/\"+ pm.environment.get(\"loggedInAPIUserID\"),\r","  method: \"GET\",\r","  timeout: 0,\r","  header: {        \r","        \"Authorization\":  token,\r","        \"Content-Type\": \"application/json\"\r","    },\r","}\r",", function (err, response) {\r","    console.log(response.json());\r","    var subscribedInstitutions='';\r","    for(i = 0; i < response.json().length; i++)\r","        {\r","            subscribedInstitutions = subscribedInstitutions +\"//&//\"+ response.json()[i].name;\r","        }\r","    console.log(subscribedInstitutions);\r","    pm.variables.set(\"subscribedInstitutions\", subscribedInstitutions);\r","});\r","}\r","}"],"type":"text/javascript"}},{"listen":"test","script":{"id":"25f99c48-c425-4032-9668-37b1bd21d072","exec":[" var jsonData = pm.response.json();\r","//Institution Bleedover check\r","  var subscribedInstitutions = pm.variables.get(\"subscribedInstitutions\");\r","  console.log(subscribedInstitutions);\r","  if (jsonData.items !=null)\r","  {\r","  for(i = 0; i < jsonData.items.length; i++)\r","  {    \r","     if (jsonData.items[i].institution != null && ! subscribedInstitutions.includes(jsonData.items[i].institution[\"institutionName\"]))\r","     {\r","       console.log(jsonData.items[i].institution[\"institutionName\"]);\r","       tests[\"CheckInsitutionBleedOver\"] = false;\r","       break;\r","     }   \r","       tests[\"CheckInsitutionBleedOver\"] = true;\r","     \r","  }\r","  }\r","  //Check if each page returns correct record\r","if(jsonData.pagingInformation != null && jsonData.pagingInformation.totalItems > 0)\r","{\r","  var totalRecords=jsonData.pagingInformation.totalItems;\r","  var pageNumber=jsonData.pagingInformation.pageNumber;\r","  var pageSize =jsonData.pagingInformation.pageSize;\r","  var expectedCount;\r","\r","  if(totalRecords < pageSize)\r","  {\r","    expectedCount = totalRecords;\r","  }\r","  else\r","  {\r","    if(pageNumber * pageSize > totalRecords)\r","    {\r","    expectedCount = totalRecords - (pageSize *( pageNumber - 1 ) )\r","    }\r","    else\r","    {\r","      expectedCount =pageSize \r","    }\r","  }\r","\r","if(jsonData.items != null)\r","{\r"," if(expectedCount == jsonData.items.length)\r"," {\r","   tests[\"Correct Pagination Size\"] = true\r"," }\r"," else\r"," {\r","   tests[\"Correct Pagination Size\"] = false\r"," } \r","}\r","}"],"type":"text/javascript"}}],"id":"e6af5050-ff4f-40ea-936b-734cd8bd95b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{hostname}}connections/Application/GetApplicationsDueByIO/670282?PageNumber=1&PageSize=100","host":["{{hostname}}connections"],"path":["Application","GetApplicationsDueByIO","670282"],"query":[{"key":"PageNumber","value":"1"},{"key":"PageSize","value":"100"},{"key":"","type":"text","value":"","disabled":true}]},"description":"## Description\n\n>This api returns applications due in subscribed institution(s) for the specific user ID. If no data is available, 400 response would be returned.\n\n## Parameters\n\n| Parameter | Description                                        | Sample |\n|-------------|----------------------------------------------------|--------------|\n| User ID  | The user Id against which the details are fetched | 458629       |\n\n## Sample Output - Code 200 - Successful Response\n```\n{\n    \"pagingInformation\": {\n        \"totalItems\": 2,\n        \"pageNumber\": 1,\n        \"pageSize\": 100\n    },\n    \"items\": [\n        {\n            \"proposalID\": 630010,\n            \"title\": \"Mobile validation test\",\n            \"piEmail\": \"applicantdeol1@mailinator.com\",\n            \"technicalAbstract\": null,\n            \"generalAbstract\": null,\n            \"startDate\": \"2020-01-01T00:00:00\",\n            \"endDate\": null,\n            \"requestedAmount\": 6000000.00,\n            \"status\": \"In Progress\",\n            \"keywordList\": null,\n            \"personnelList\": null,\n            \"institution\": {\n                \"institutionName\": \"Kerala Educational University\",\n                \"city\": \"Baghdad\",\n                \"state\": \"\",\n                \"country\": \"Iraq\",\n                \"vendorID\": null\n            },\n            \"role\": null,\n            \"dueDate\": \"2020-12-18T00:00:00\",\n            \"proposalType\": \"Proposal\",\n            \"piName\": \"deol, one\",\n            \"grantMakerName\": \"Welch Foundation\",\n            \"gmid\": 150,\n            \"programName\": \"DJM - Welch QB\",\n            \"printSignatureWithAttachmentIncluded\": true,\n            \"signaturesAvailable\": true\n        },\n        {\n            \"proposalID\": 630011,\n            \"title\": \"Mobile test 2\",\n            \"piEmail\": \"applicantdeol2@mailinator.com\",\n            \"technicalAbstract\": null,\n            \"generalAbstract\": null,\n            \"startDate\": \"2020-11-01T00:00:00\",\n            \"endDate\": \"2023-12-31T00:00:00\",\n            \"requestedAmount\": 455000.00,\n            \"status\": \"In Progress\",\n            \"keywordList\": null,\n            \"personnelList\": null,\n            \"institution\": {\n                \"institutionName\": \"Kerala Educational University\",\n                \"city\": \"Baghdad\",\n                \"state\": \"\",\n                \"country\": \"Iraq\",\n                \"vendorID\": null\n            },\n            \"role\": null,\n            \"dueDate\": \"2020-12-18T00:00:00\",\n            \"proposalType\": \"Proposal\",\n            \"piName\": \"deol, two\",\n            \"grantMakerName\": \"Welch Foundation\",\n            \"gmid\": 150,\n            \"programName\": \"DJM - Welch QB\",\n            \"printSignatureWithAttachmentIncluded\": true,\n            \"signaturesAvailable\": true\n        }\n    ]\n}\n```\n## Sample Output - Code 400 - Data Not Found\n```\n{\n    \"title\": \"No data found\",\n    \"status\": 400,\n    \"detail\": \"There are no applications due in your subscribed institution(s)\",\n    \"instance\": \"/Application/GetApplicationsDueByIO/670282\"\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"/Application/GetApplicationsDueByIO/4580\"\n}\n```"},"response":[],"_postman_id":"e6af5050-ff4f-40ea-936b-734cd8bd95b8"},{"name":"GetProposalSignatures","event":[{"listen":"prerequest","script":{"id":"76fb50ed-5677-428c-8103-050a45cdaf2b","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"184a1f8d-71ed-4cda-ab16-455e75134cd4","exec":[""],"type":"text/javascript"}}],"id":"bce44ce6-33ec-47b3-94a1-69d93eb7232c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBUElVc2VySUQiOiI2NzAzMjAiLCJHTUlEIjoiMCIsIkdNTmFtZSI6IlVzZXJMb2dpbiIsImV4cCI6MTYwNDQwODI1MiwiaXNzIjoiaHR0cHM6Ly9wYy5xYS5hbHR1bS5jb20iLCJhdWQiOiJodHRwczovL3BjLnFhLmFsdHVtLmNvbSJ9.Dsvip1nYB4hBDZy--AudBd7GxlHNmhR-3kYGCbtwlBE"}},"method":"GET","header":[],"url":{"raw":"{{hostname}}connections/IO/GetProposalSignatures/670320/272800","host":["{{hostname}}connections"],"path":["IO","GetProposalSignatures","670320","272800"],"query":[{"key":"","type":"text","value":"","disabled":true}]},"description":"## Description\n\n>This api returns signatures for a proposal. If no data is available, 400 response would be returned.\n\n## Parameters\n\n| Parameter | Description                                        | Sample |\n|-------------|----------------------------------------------------|--------------|\n| User ID  | The user Id against which the details are fetched | 378694       |\n| Proposal ID  | The proposal Id against which the details are fetched | 510388       |\n\n## Sample Output - Code 200 - Successful Response\n```\n{\n    \"proposalID\": 510388,\n    \"loggedInUserID\": 378694,\n    \"signatures\": [\n        {\n            \"proposalId\": 0,\n            \"role\": \"Applicant/PI\",\n            \"roleGroup\": \"Applicant/PI\",\n            \"userID\": 378694,\n            \"userName\": \"Darryl Blackburn\",\n            \"signatureText\": \"Test sign on 21st-modified on 3nd nov\",\n            \"signatureId\": 3,\n            \"signatureNumber\": 1,\n            \"signedTime\": \"11/03/2020 12:12:54 PM\",\n            \"signatureType\": \"Text Box\",\n            \"isEditable\": true\n        },\n        {\n            \"proposalId\": 0,\n            \"role\": \"Key Person\",\n            \"roleGroup\": \"Key Personnel\",\n            \"userID\": 707,\n            \"userName\": \"Madhuri Hegde\",\n            \"signatureText\": null,\n            \"signatureId\": 0,\n            \"signatureNumber\": 2,\n            \"signedTime\": null,\n            \"signatureType\": \"Text Box\",\n            \"isEditable\": false\n        },\n        {\n            \"proposalId\": 0,\n            \"role\": \"Department Head\",\n            \"roleGroup\": \"Institution Contact\",\n            \"userID\": 41128,\n            \"userName\": \"Marisa Schasel\",\n            \"signatureText\": null,\n            \"signatureId\": 0,\n            \"signatureNumber\": 3,\n            \"signedTime\": null,\n            \"signatureType\": \"Text Box\",\n            \"isEditable\": false\n        },\n        {\n            \"proposalId\": 0,\n            \"role\": \"Department Head\",\n            \"roleGroup\": \"Institution Contact\",\n            \"userID\": 44587,\n            \"userName\": \"Patrice Carroll\",\n            \"signatureText\": null,\n            \"signatureId\": 0,\n            \"signatureNumber\": 3,\n            \"signedTime\": null,\n            \"signatureType\": \"Text Box\",\n            \"isEditable\": false\n        },\n        {\n            \"proposalId\": 0,\n            \"role\": \"Department Head\",\n            \"roleGroup\": \"Institution Contact\",\n            \"userID\": 222777,\n            \"userName\": \"Kewen Chen\",\n            \"signatureText\": null,\n            \"signatureId\": 0,\n            \"signatureNumber\": 3,\n            \"signedTime\": null,\n            \"signatureType\": \"Text Box\",\n            \"isEditable\": false\n        },\n        {\n            \"proposalId\": 0,\n            \"role\": \"Key Person\",\n            \"roleGroup\": \"Key Personnel\",\n            \"userID\": 707,\n            \"userName\": \"Madhuri Hegde\",\n            \"signatureText\": \"test sign1\",\n            \"signatureId\": 1,\n            \"signatureNumber\": 4,\n            \"signedTime\": \"10/20/2020 12:43:34 PM\",\n            \"signatureType\": \"Text Box\",\n            \"isEditable\": false\n        }\n    ]\n}\n```\n## Sample Output - Code 400 - Data Not Found\n```\n{\n    \"title\": \"No signatures found\",\n    \"status\": 400,\n    \"detail\": \"There are no signatures for the user\",\n    \"instance\": \"/IO/GetProposalSignatures/670320/272800\"\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"/IO/GetProposalSignatures/378694/510388\"\n}\n```"},"response":[],"_postman_id":"bce44ce6-33ec-47b3-94a1-69d93eb7232c"},{"name":"GetGMListForAReviewer","event":[{"listen":"prerequest","script":{"id":"87ce7187-d1ff-448c-8697-dedd0d502354","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"61cdcff8-89cf-4a83-bb52-a65623c6be82","exec":[""],"type":"text/javascript"}}],"id":"b05f4201-45e0-4a32-ad31-5431a4ed824d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBUElVc2VySUQiOiI2NzAzMjAiLCJHTUlEIjoiMCIsIkdNTmFtZSI6IlVzZXJMb2dpbiIsImV4cCI6MTYwNDQwODI1MiwiaXNzIjoiaHR0cHM6Ly9wYy5xYS5hbHR1bS5jb20iLCJhdWQiOiJodHRwczovL3BjLnFhLmFsdHVtLmNvbSJ9.Dsvip1nYB4hBDZy--AudBd7GxlHNmhR-3kYGCbtwlBE"}},"method":"GET","header":[],"url":{"raw":"{{hostname}}connections/IO/GetGMListForAReviewer/120?PageNumber=1&PageSize=100","host":["{{hostname}}connections"],"path":["IO","GetGMListForAReviewer","120"],"query":[{"key":"PageNumber","value":"1"},{"key":"PageSize","value":"100"},{"key":"","type":"text","value":"","disabled":true}]},"description":"## Description\n\n>This api returns GM lists for a reviewer. If no data is available,empty  response would be returned.\n\n## Parameters\n\n| Parameter | Description                                        | Sample |\n|-------------|----------------------------------------------------|--------------|\n| User ID  | The user Id against which the details are fetched | 120       |\n\n\n## Sample Output - Code 200 - Successful Response\n```\n{\n     \"pagingInformation\": {\n        \"totalItems\": 0,\n        \"pageNumber\": 4,\n        \"pageSize\": 100\n    },\n    \"grantMakers\": [\n        {\n            \"gmid\": 19,\n            \"gmName\": \"US Immunodeficiency Network\",\n            \"gmurl\": \"http://www.usidnet.org/\",\n            \"gmGraphicURL\": \"HTTPS://PROPOSALCENTRAL.COM/UPLOADS/GM_19.JPG\"\n        }\n    ]\n}\n```\n## Sample Output - Code 400 - Data Not Found\n```\n{\n    \"title\": \"No Grant makers found\",\n    \"status\": 400,\n    \"detail\": \"There are no Grant makers  for the reviewer\",\n    \"instance\": \"/IO/GetGMListForAReviewer/110\"\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"/IO/GetGMListForAReviewer/120\"\n}\n```"},"response":[],"_postman_id":"b05f4201-45e0-4a32-ad31-5431a4ed824d"},{"name":"GetConfidentialityStatement","event":[{"listen":"prerequest","script":{"id":"2d5ab081-590f-4a4d-83b6-42ce6e7f6b98","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"76d913ad-08f6-49ed-9ea2-2cee2529bfbd","exec":[""],"type":"text/javascript"}}],"id":"9123213a-a39d-43ea-9dc6-fbcd42b91a67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBUElVc2VySUQiOiI2NzAzMjAiLCJHTUlEIjoiMCIsIkdNTmFtZSI6IlVzZXJMb2dpbiIsImV4cCI6MTYwNDQwODI1MiwiaXNzIjoiaHR0cHM6Ly9wYy5xYS5hbHR1bS5jb20iLCJhdWQiOiJodHRwczovL3BjLnFhLmFsdHVtLmNvbSJ9.Dsvip1nYB4hBDZy--AudBd7GxlHNmhR-3kYGCbtwlBE"}},"method":"GET","header":[],"url":{"raw":"{{hostname}}connections/IO/GetConfidentialityStatement/1278000","host":["{{hostname}}connections"],"path":["IO","GetConfidentialityStatement","1278000"],"query":[{"key":"","type":"text","value":"","disabled":true}]},"description":"## Description\n\n>This api returns confidentiality statement for  a committee. If no data is available,empty  response would be returned.\n\n## Parameters\n\n| Parameter | Description                                        | Sample |\n|-------------|----------------------------------------------------|--------------|\n| Committee ID  | The committee id against which the details are fetched | 120       |\n\n\n## Sample Output - Code 200 - Successful Response\n```\n{\n    \"confidentialityStatement\": {\n        \"committeeConfidentialityText\": \"You must review and accept the confidentiality statement for the Ad Hoc Review Committee before reviewing the applications.\",\n        \"committeeConfidentialitySignatureRequired\": true,\n        \"showDownloadConfidentialityStatement\": true,\n        \"isAccepted\": false,\n        \"committeeID\": 0,\n        \"reviewerUserID\": 0,\n        \"userID\": 0,\n        \"remoteHost\": null,\n        \"remoteAddress\": null,\n        \"httpForward\": null,\n        \"action\": null,\n        \"eSignature\": null,\n        \"committeeConfidentialityFileAbsLocation\": \"96\\\\CommitteeFiles\\\\12780\\\\Instructions\\\\ConfStmt12780.pdf\"\n    }\n}\n\n```\n## Sample Output - Code 400 - Data Not Found\n```\n{\n    \"title\": \"No committees found\",\n    \"status\": 400,\n    \"detail\": \"This reviewer is not assigned to any committee\",\n    \"instance\": \"/IO/GetConfidentialityStatement/1278000\"\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\":  \"/IO/GetConfidentialityStatement/1278000\"\n}\n```"},"response":[],"_postman_id":"9123213a-a39d-43ea-9dc6-fbcd42b91a67"},{"name":"GetCommitteeInstructions","event":[{"listen":"prerequest","script":{"id":"65b622ed-1bc0-4c11-b4aa-6d1a18133729","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"c0f1478d-8ef0-4bf8-85e7-9d3b3e51a4eb","exec":[""],"type":"text/javascript"}}],"id":"e7ac1c73-1b70-4f1c-bee1-2e61546c6759","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBUElVc2VySUQiOiI2NzAzMjAiLCJHTUlEIjoiMCIsIkdNTmFtZSI6IlVzZXJMb2dpbiIsImV4cCI6MTYwNDQwODI1MiwiaXNzIjoiaHR0cHM6Ly9wYy5xYS5hbHR1bS5jb20iLCJhdWQiOiJodHRwczovL3BjLnFhLmFsdHVtLmNvbSJ9.Dsvip1nYB4hBDZy--AudBd7GxlHNmhR-3kYGCbtwlBE"}},"method":"GET","header":[],"url":{"raw":"{{hostname}}connections/IO/GetCommitteeInstructions/1278000","host":["{{hostname}}connections"],"path":["IO","GetCommitteeInstructions","1278000"],"query":[{"key":"","type":"text","value":"","disabled":true}]},"description":"## Description\n\n>This api returns instructions for  a committee. If no data is available,empty  response would be returned.\n\n## Parameters\n\n| Parameter | Description                                        | Sample |\n|-------------|----------------------------------------------------|--------------|\n| Committee ID  | The committee id against which the details are fetched | 120       |\n\n\n## Sample Output - Code 200 - Successful Response\n```\n{\n    \"committeeInstructions\": [\n        {\n            \"commUploadID\": 21877,\n            \"commUploadSequenceNumber\": 1,\n            \"commUploadCommID\": 12782,\n            \"commUploadDescription\": \"Test1\",\n            \"commUploadAbsLoc\": \"105\\\\CommitteeFiles\\\\12782\\\\Instructions\\\\Test1_12782_21877.docx\"\n        },\n        {\n            \"commUploadID\": 21878,\n            \"commUploadSequenceNumber\": 2,\n            \"commUploadCommID\": 12782,\n            \"commUploadDescription\": \"Test2\",\n            \"commUploadAbsLoc\": \"105\\\\CommitteeFiles\\\\12782\\\\Instructions\\\\Test2_12782_21878.docx\"\n        }\n    ]\n}\n\n\n```\n## Sample Output - Code 400 - Data Not Found\n```\n{\n    \"title\": \"No committee instructions found\",\n    \"status\": 400,\n    \"detail\": \"This committee is not assigned to any instructions\",\n    \"instance\": \"/IO/GetCommitteeInstructions/12782222\"\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"/IO/GetCommitteeInstructions/12782222\"\n}\n```"},"response":[],"_postman_id":"e7ac1c73-1b70-4f1c-bee1-2e61546c6759"},{"name":"GetInstitutionOfficialsByIO","event":[{"listen":"test","script":{"id":"40cf28d7-9c24-46fd-bead-40675f827182","exec":[" var jsonData = pm.response.json();\r","//Institution Bleedover check\r","  var subscribedInstitutions = pm.variables.get(\"subscribedInstitutions\");\r","  console.log(subscribedInstitutions);\r","  if (jsonData.items !=null)\r","  {\r","  for(i = 0; i < jsonData.items.length; i++)\r","  {    \r","     if (! subscribedInstitutions.includes(jsonData.items[i].institution))\r","     {\r","       console.log(jsonData.items[i].institution);\r","       tests[\"CheckInsitutionBleedOver\"] = false;\r","       break;\r","     }   \r","       tests[\"CheckInsitutionBleedOver\"] = true;\r","     \r","  }\r","  }\r","  //Check if each page returns correct record\r","if(jsonData.pagingInformation != null && jsonData.pagingInformation.totalItems > 0)\r","{\r","  var totalRecords=jsonData.pagingInformation.totalItems;\r","  var pageNumber=jsonData.pagingInformation.pageNumber;\r","  var pageSize =jsonData.pagingInformation.pageSize;\r","  var expectedCount;\r","\r","  if(totalRecords < pageSize)\r","  {\r","    expectedCount = totalRecords;\r","  }\r","  else\r","  {\r","    if(pageNumber * pageSize > totalRecords)\r","    {\r","    expectedCount = totalRecords - (pageSize *( pageNumber - 1 ) )\r","    }\r","    else\r","    {\r","      expectedCount =pageSize \r","    }\r","  }\r","\r","if(jsonData.items != null)\r","{\r"," if(expectedCount == jsonData.items.length)\r"," {\r","   tests[\"Correct Pagination Size\"] = true\r"," }\r"," else\r"," {\r","   tests[\"Correct Pagination Size\"] = false\r"," } \r","}\r","}"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"5d972e60-cd6d-4def-8079-e6aaaff82953","exec":["console.log(\"executing pre-request\")\r","console.log('authorization: ' + pm.environment.get(\"authorization\"))\r","console.log('UserLogin: ' + pm.environment.get(\"UserLogin\"))\r","console.log('Password: ' + pm.environment.get(\"Password\"))\r","if(pm.environment.get(\"authorization\") === \"\" || pm.environment.get(\"authorization\") === null)\r","{\r","    console.log(\"authorization not found\")\r","    pm.sendRequest({\r","    url: pm.environment.get(\"CredentialTokenURL\"),\r","    method: 'POST',\r","    header: {\r","        'content-type': 'application/json'\r","    },\r","    body: {\r","        mode: 'raw',\r","        raw: JSON.stringify({ UserLogin:pm.environment.get(\"UserLogin\"),Password:pm.environment.get(\"Password\") })\r","    }\r","}, function (err, res) {\r","  //  if ( err !== null)\r","        console.log(\"err: \" + err)\r","    //if ( res !== null )\r","        console.log(\"res: \" + res.json().token)\r","    pm.request.headers.add({\r","    key: 'Authorization',\r","    value: \"Bearer \" + res.json().token\r","    });\r","    pm.environment.set(\"authorization\", \"Bearer \" + res.json().token);\r","    console.log(res.json().userID);   \r","    pm.environment.set(\"loggedInAPIUserID\", res.json().userID);     \r","    GetUserSubscribedInstitutions();\r","});\r","} else\r","{\r","    console.log(\"authorization found\")\r","\r","    pm.request.headers.add({\r","        key: 'Authorization',\r","        value: pm.environment.get(\"authorization\")\r","    });    \r","    GetUserSubscribedInstitutions();        \r","}\r","\r","function GetUserSubscribedInstitutions()\r","{\r","if(pm.environment.get(\"authorization\") != '' && pm.environment.get(\"authorization\") != null && pm.environment.get(\"loggedInAPIUserID\")!='' && pm.environment.get(\"loggedInAPIUserID\")!= null)\r","{\r","var token=pm.environment.get(\"authorization\");\r","console.log(\"Get SubscribedInstitutionList\" +token);\r","pm.sendRequest({\r","    \r","  url: pm.environment.get(\"hostname\") + \"connections/IO/GetUserSubscribedInstitutions/\"+ pm.environment.get(\"loggedInAPIUserID\"),\r","  method: \"GET\",\r","  timeout: 0,\r","  header: {        \r","        \"Authorization\":  token,\r","        \"Content-Type\": \"application/json\"\r","    },\r","}\r",", function (err, response) {\r","    console.log(response.json());\r","    var subscribedInstitutions='';\r","    for(i = 0; i < response.json().length; i++)\r","        {\r","            subscribedInstitutions = subscribedInstitutions +\"//&//\"+ response.json()[i].name;\r","        }\r","    console.log(subscribedInstitutions);\r","    pm.variables.set(\"subscribedInstitutions\", subscribedInstitutions);\r","});\r","}\r","}"],"type":"text/javascript"}}],"id":"ae4da17a-15b9-4799-b8dc-51cb9b1653c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{hostname}}connections/IO/GetInstitutionOfficialsByIO/670282?PageNumber=1&PageSize=100","host":["{{hostname}}connections"],"path":["IO","GetInstitutionOfficialsByIO","670282"],"query":[{"key":"","type":"text","value":"","disabled":true},{"key":"PageNumber","value":"1"},{"key":"PageSize","value":"100"}]},"description":"## Description\n\n>This api returns Institution Officials in subscribed institution(s) for the specific user ID. If no data is available, 400 response would be returned.\n\n## Parameters\n\n| Parameter | Description                                        | Sample |\n|-------------|----------------------------------------------------|--------------|\n| User ID  | The user Id against which the details are fetched | 464102       |\n\n## Sample Output - Code 200 - Successful Response\n```\n{\n    \"pagingInformation\": {\n        \"totalItems\": 3,\n        \"pageNumber\": 1,\n        \"pageSize\": 100\n    },\n    \"items\": [\n        {\n            \"name\": \"Brown, Clint\",\n            \"role\": \"Signing Official\",\n            \"institution\": \"Vanderbilt University Medical Center (VUMC)\",\n            \"institutionStatus\": \"Confirmed\"\n        },\n        {\n            \"name\": \"Cotten, Melinda\",\n            \"role\": \"Signing Official\",\n            \"institution\": \"CFF Adult Program Vanderbilt University Medical Center (Nashville, TN)\",\n            \"institutionStatus\": \"Archived\"\n        },\n        {\n            \"name\": \"Yarbrough, Paula\",\n            \"role\": \"Financial Officer\",\n            \"institution\": \"TN - 177/220 - Vanderbilt University Medical Center\",\n            \"institutionStatus\": \"Confirmed\"\n        }\n    ]\n}\n```\n## Sample Output - Code 400 - Data Not Found\n```\n{\n    \"title\": \"No data found\",\n    \"status\": 400,\n    \"detail\": \"There are no Institution Officials in your subscribed institution(s)\",\n    \"instance\": \"/IO/GetInstitutionOfficialsByIO/670282\"\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"/IO/GetInstitutionOfficialsByIO/4641\"\n}\n```"},"response":[],"_postman_id":"ae4da17a-15b9-4799-b8dc-51cb9b1653c3"},{"name":"GetInstitutionDashboardByIO","event":[{"listen":"test","script":{"id":"40cf28d7-9c24-46fd-bead-40675f827182","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"5d972e60-cd6d-4def-8079-e6aaaff82953","exec":["\r","console.log(\"executing pre-request\")\r","console.log('authorization: ' + pm.environment.get(\"authorization\"))\r","console.log('UserLogin: ' + pm.environment.get(\"UserLogin\"))\r","console.log('Password: ' + pm.environment.get(\"Password\"))\r","if(pm.environment.get(\"authorization\") === \"\" || pm.environment.get(\"authorization\") === null)\r","{\r","    console.log(\"authorization not found\")\r","    pm.sendRequest({\r","    url: pm.environment.get(\"CredentialTokenURL\"),\r","    method: 'POST',\r","    header: {\r","        'content-type': 'application/json'\r","    },\r","    body: {\r","        mode: 'raw',\r","        raw: JSON.stringify({ UserLogin:pm.environment.get(\"UserLogin\"),Password:pm.environment.get(\"Password\") })\r","    }\r","}, function (err, res) {\r","  //  if ( err !== null)\r","        console.log(\"err: \" + err)\r","    //if ( res !== null )\r","        console.log(\"res: \" + res.json().token)\r","    pm.request.headers.add({\r","    key: 'Authorization',\r","    value: \"Bearer \" + res.json().token\r","    });\r","    pm.environment.set(\"authorization\", \"Bearer \" + res.json().token);\r","});\r","} else\r","{\r","    console.log(\"authorization found\")\r","    pm.request.headers.add({\r","        key: 'Authorization',\r","        value: pm.environment.get(\"authorization\")\r","    });\r","}"],"type":"text/javascript"}}],"id":"9d9d09cc-d4f8-42c5-b4e9-e99641b3c7b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{hostname}}connections/IO/GetInstitutionDashboardByIO/670282","host":["{{hostname}}connections"],"path":["IO","GetInstitutionDashboardByIO","670282"],"query":[{"key":"","type":"text","value":"","disabled":true}]},"description":"## Description\n\n>This api returns data available in subscribed institution(s) for the specific user ID. If no data is available, 400 response would be returned.\n\n## Parameters\n\n| Parameter | Description                                        | Sample |\n|-------------|----------------------------------------------------|--------------|\n| User ID  | The user Id against which the details are fetched | 458629       |\n\n## Sample Output - Code 200 - Successful Response\n```\n{\n    \"proposalsDueCount\": 1,\n    \"deliverablesCount\": 24,\n    \"unreadMessagesCount\": 11,\n    \"institutionOfficialsCount\": 0\n}\n```\n## Sample Output - Code 400 - Data Not Found\n```\n{\n    \"title\": \"No data found\",\n    \"status\": 400,\n    \"detail\": \"There is no data available for your subscribed institution(s).\",\n    \"instance\": \"/IO/GetInstitutionDashboardByIO/4586\"\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"/IO/GetInstitutionDashboardByIO/4641\"\n}\n```"},"response":[],"_postman_id":"9d9d09cc-d4f8-42c5-b4e9-e99641b3c7b1"},{"name":"GetTokenByCredentials","event":[{"listen":"prerequest","script":{"id":"0b154f03-26ca-4ab0-8df1-9473eb5c60d8","exec":[""],"type":"text/javascript"}}],"id":"4d6adf7d-2e98-46a6-a9ff-91ab6c002ae8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"UserLogin\": \"mobiletest@aol.com\",\n    \"Password\": \"@MobileTest123\"\n}"},"url":"{{hostname}}connections/Authenticate/GetTokenByCredentials","description":"## Description\n\n>This api returns login details for the specific login and password. If no input credentials are available, 400 response would be returned. If the user is unauthorized, 401 would be returned.\n\n## Sample Output - Code 200 - Successful Response\n```\n{\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBUElVc2VySUQiOiIzNzg2OTQiLCJHTUlEIjoiMCIsIkdNTmFtZSI6IlVzZXJMb2dpbiIsImV4cCI6MTU5OTYzNzc0NywiaXNzIjoiaHR0cHM6Ly9sb2NhbGhvc3Q6NDQzNjAvIiwiYXVkIjoiaHR0cHM6Ly9sb2NhbGhvc3Q6NDQzNjAvIn0.o81Llv3ff4XONPg7RqrqDDwPZpzTjzrA1p3sGFd5sDE\",\n    \"userID\": 378694,\n    \"firstName\": \"Darryl\",\n    \"lastName\": \"Blackburn\",\n    \"email\": \"darryl.blackburn@altum.com\",\n    \"role\": \"Admin\",\n    \"reviewAllowed\": true\n}\n```\n## Sample Output - Code 400 - Data Not Found\n```\n{\n    \"title\": \"No credentials found\",\n    \"status\": 400,\n    \"detail\": \"UserLogin / Password is empty.\",\n    \"instance\": \"/Authenticate/GetTokenByCredentials\"\n}\n```\n## Sample Output - Code 401 - Incorrect username or password\n```\n{\n    \"title\": \"Invalid UserLogin / Password\",\n    \"status\": 401,\n    \"detail\": \"Invalid UserLogin / Password\",\n    \"instance\": \"/Authenticate/GetTokenByCredentials\"\n}\n```\n## Sample Output - Code 401 - User Not Found\n```\n{\n    \"title\": \"User Not Found\",\n    \"status\": 401,\n    \"detail\": \"User not found for login darrylb\",\n    \"instance\": \"/Authenticate/GetTokenByCredentials\"\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"/Authenticate/GetTokenByCredentials\"\n}\n```\n"},"response":[],"_postman_id":"4d6adf7d-2e98-46a6-a9ff-91ab6c002ae8"},{"name":"GetApplicationValidations","event":[{"listen":"prerequest","script":{"id":"03a7d7a5-da0b-4485-bf89-791c9aa504eb","exec":["console.log(\"executing pre-request\")\r","console.log('authorization: ' + pm.environment.get(\"authorization\"))\r","console.log('UserLogin: ' + pm.environment.get(\"UserLogin\"))\r","console.log('Password: ' + pm.environment.get(\"Password\"))\r","if(pm.environment.get(\"authorization\") === \"\" || pm.environment.get(\"authorization\") === null)\r","{\r","    console.log(\"authorization not found\")\r","    pm.sendRequest({\r","    url: pm.environment.get(\"CredentialTokenURL\"),\r","    method: 'POST',\r","    header: {\r","        'content-type': 'application/json'\r","    },\r","    body: {\r","        mode: 'raw',\r","        raw: JSON.stringify({ UserLogin:pm.environment.get(\"UserLogin\"),Password:pm.environment.get(\"Password\") })\r","    }\r","}, function (err, res) {\r","  //  if ( err !== null)\r","        console.log(\"err: \" + err)\r","    //if ( res !== null )\r","        console.log(\"res: \" + res.json().token)\r","    pm.request.headers.add({\r","    key: 'Authorization',\r","    value: \"Bearer \" + res.json().token\r","    });\r","    pm.environment.set(\"authorization\", \"Bearer \" + res.json().token);\r","    console.log(res.json().userID);   \r","    pm.environment.set(\"loggedInAPIUserID\", res.json().userID);     \r","    GetUserSubscribedInstitutions();\r","});\r","} else\r","{\r","    console.log(\"authorization found\")\r","\r","    pm.request.headers.add({\r","        key: 'Authorization',\r","        value: pm.environment.get(\"authorization\")\r","    });    \r","    GetUserSubscribedInstitutions();        \r","}\r","\r","function GetUserSubscribedInstitutions()\r","{\r","if(pm.environment.get(\"authorization\") != '' && pm.environment.get(\"authorization\") != null && pm.environment.get(\"loggedInAPIUserID\")!='' && pm.environment.get(\"loggedInAPIUserID\")!= null)\r","{\r","var token=pm.environment.get(\"authorization\");\r","console.log(\"Get SubscribedInstitutionList\" +token);\r","pm.sendRequest({\r","    \r","  url: pm.environment.get(\"hostname\") + \"connections/IO/GetUserSubscribedInstitutions/\"+ pm.environment.get(\"loggedInAPIUserID\"),\r","  method: \"GET\",\r","  timeout: 0,\r","  header: {        \r","        \"Authorization\":  token,\r","        \"Content-Type\": \"application/json\"\r","    },\r","}\r",", function (err, response) {\r","    console.log(response.json());\r","    var subscribedInstitutions='';\r","    for(i = 0; i < response.json().length; i++)\r","        {\r","            subscribedInstitutions = subscribedInstitutions +\"//&//\"+ response.json()[i].name;\r","        }\r","    console.log(subscribedInstitutions);\r","    pm.variables.set(\"subscribedInstitutions\", subscribedInstitutions);\r","});\r","}\r","}"],"type":"text/javascript"}}],"id":"4b4c4c59-f6b6-4777-9a53-ccba50a01c48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{hostname}}connections/IO/GetApplicationValidations/625437","description":"## Description\n\n>This api returns list of validation messages for the specific proposal ID. If no data is available, 400 response would be returned.\n\n## Parameters\n\n| Parameter | Description                                        | Sample |\n|-------------|----------------------------------------------------|--------------|\n| Application ID  | The proposal Id against which the validation messages are fetched | 625437|\n\n## Sample Output - Code 200 - Successful Response\n```\n\n[\n    {\n        \"pageName\": \"Title Page - Main PageErrors \",\n        \"messages\": [\n            \"An entry in Award Number is required.\",\n            \"An entry in List sources: is required.\",\n            \"An entry in Total Amount Requested is required and must be greater than 0.\",\n            \"An entry in Start Date is required.\",\n            \"An entry in End Date is required.\"\n        ]\n    },\n    {\n        \"pageName\": \"Applicant/PI Errors \",\n        \"messages\": [\n            \"An entry in First is required.\",\n            \"An entry in Last is required.\",\n            \"An entry in Highest Degree(s) is required.\",\n            \"An entry in Institution is required.\",\n            \"An entry in Position/Title is required.\",\n            \"An entry in Department is required.\",\n            \"An entry in Street is required.\",\n            \"An entry in E-Mail is required.\",\n            \"An entry in Country is required.\",\n            \"An entry in Work: is required.\",\n            \"An entry in Fax: is required.\",\n            \"An entry in Admission date: is required.\",\n            \"An entry in Justification of PI's eligibility: is required.\"\n        ]\n    },\n    {\n        \"pageName\": \"Key Personnel Errors \",\n        \"messages\": [\n            \"The Role: Co-PI/PD is required but not present.\",\n            \"The Role: PI/PD is required but not present.\"\n        ]\n    },\n    {\n        \"pageName\": \"Letters of Reference Errors \",\n        \"messages\": [\n            \" Number of References (0) provided are less then minimum references (3) required. \"\n        ]\n    },\n   \n    {\n        \"pageName\": \"Outcomes Errors: \",\n        \"messages\": [\n            \"You must enter at least one Outcomes.\"\n        ]\n    },\n    {\n        \"pageName\": \"Budget Summary Errors: \",\n        \"messages\": [\n            \"An entry in Budget Start Date is required.\",\n            \"An entry in Budget End Date is required.\",\n            \"An entry in Budget Amount is required.\"\n        ]\n    },\n    {\n        \"pageName\": \"Other Support Errors:\",\n        \"messages\": [\n            \"You must provide at least one Other Support entry or select the option 'No Other Support to report '.\"\n        ]\n    }\n    \n]\n```\n## Sample Output - Code 400 - Data Not Found\n```\n{\n    \"title\": \"No validation messages found\",\n    \"status\": 400,\n    \"detail\": \"There is no validation messages for this application\",\n    \"instance\": \"/IO/GetApplicationValidations/6254379\"\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"/IO/GetApplicationValidations/6842\"\n}\n```"},"response":[],"_postman_id":"4b4c4c59-f6b6-4777-9a53-ccba50a01c48"},{"name":"SaveProposalSignature","event":[{"listen":"prerequest","script":{"id":"676fc460-a3b2-491f-8a25-66ca5774d8b8","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"8c9ede27-9039-47e2-9e19-8bdacd818d08","exec":[""],"type":"text/javascript"}}],"id":"a0c1afbd-8146-4527-a30e-6e7b588362c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBUElVc2VySUQiOiI2NzAzMjAiLCJHTUlEIjoiMCIsIkdNTmFtZSI6IlVzZXJMb2dpbiIsImV4cCI6MTYwNDQwODI1MiwiaXNzIjoiaHR0cHM6Ly9wYy5xYS5hbHR1bS5jb20iLCJhdWQiOiJodHRwczovL3BjLnFhLmFsdHVtLmNvbSJ9.Dsvip1nYB4hBDZy--AudBd7GxlHNmhR-3kYGCbtwlBE"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n            \"proposalId\": 629987899,\r\n            \"role\": \"Applicant/PI\",           \r\n            \"userID\": 458629,           \r\n            \"signatureText\": \"Test sign on 21st-modified on 3nd nov- dev first attempt\",            \r\n            \"signatureNumber\": 1            \r\n        }"},"url":{"raw":"{{hostname}}connections/IO/SaveProposalSignature","host":["{{hostname}}connections"],"path":["IO","SaveProposalSignature"],"query":[{"key":"","type":"text","value":"","disabled":true}]},"description":"## Description\n\n>This api save the signature with signature text. If the input values like ProposalId is invalid, then the error message is returned. If the input values are valid, then save the data and true is retured.\n\n## Sample data to post : Body (raw text)\n```\n{\n            \"proposalId\": 51038867,\n            \"role\": \"Applicant/PI\",           \n            \"userID\": 378694,           \n            \"signatureText\": \"Test sign on 21st-modified on 3nd nov--third attempt\",            \n            \"signatureNumber\": 1            \n        }\n```\n## Sample Output - Code 200 - Successful Response\n```\ntrue\n```\n## Sample Output - Code 400 - Data Not Found\n```\n{\n    \"title\": \"No Proposal Signature found to update\",\n    \"status\": 400,\n    \"detail\": \"There is no Proposal signature Central payment with the ProposalId:51038867,  Signature Number 1 and Signed UserID 378694 \",\n    \"instance\": \"/IO/SaveProposalSignature\"\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"/IO/SaveProposalSignature\"\n}\n```"},"response":[],"_postman_id":"a0c1afbd-8146-4527-a30e-6e7b588362c2"},{"name":"SaveMyCritiqueStatusAsSubmitted","event":[{"listen":"prerequest","script":{"id":"a47321a5-5676-4706-bd9c-c1892d058591","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"14babdeb-0c2b-4802-a9d1-cda33197f9a3","exec":[""],"type":"text/javascript"}}],"id":"bfe99188-5ebd-4667-be88-51a6fa1df449","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBUElVc2VySUQiOiI2NzAzMjAiLCJHTUlEIjoiMCIsIkdNTmFtZSI6IlVzZXJMb2dpbiIsImV4cCI6MTYwNDQwODI1MiwiaXNzIjoiaHR0cHM6Ly9wYy5xYS5hbHR1bS5jb20iLCJhdWQiOiJodHRwczovL3BjLnFhLmFsdHVtLmNvbSJ9.Dsvip1nYB4hBDZy--AudBd7GxlHNmhR-3kYGCbtwlBE"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{   \r\n    \"critiqueID\": 1119054,\r\n    \"userID\": 506789\r\n}"},"url":{"raw":"{{hostname}}connections/IO/SaveMyCritiqueStatusAsSubmitted","host":["{{hostname}}connections"],"path":["IO","SaveMyCritiqueStatusAsSubmitted"],"query":[{"key":"","type":"text","value":"","disabled":true}]},"description":"## Description\n\n>This api saves the critique as submitted. If the input values like Critique ID is invalid, then the error message is returned. If the input values are valid, then save the data and true is retured.\n\n## Sample data to post : Body (raw text)\n```\n{\n   \n    \"critiqueID\": 1119054,\n    \"userID\": 506789\n}\n```\n## Sample Output - Code 200 - Successful Response\n```\ntrue\n```\n## Sample Output - Code 400 - Data Not Found\n```\n{\n    \"title\": \"No Proposal Signature found to update\",\n    \"status\": 400,\n    \"detail\": \"There is no Critique with the Critiqueid:51038867  and  UserID 378694  \",\n    \"instance\": \"/IO/SaveMyCritiqueStatusAsSubmitted\"\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"/IO/SaveMyCritiqueStatusAsSubmitted\"\n}\n```"},"response":[],"_postman_id":"bfe99188-5ebd-4667-be88-51a6fa1df449"},{"name":"SaveConfidentialityStatementAcceptance","event":[{"listen":"prerequest","script":{"id":"4f2409c1-8e62-4c28-a6d6-d6991fb2da27","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"60ba56bd-c59c-4ed8-9f13-5c5b97a2852c","exec":[""],"type":"text/javascript"}}],"id":"3851826d-4a8f-42f7-8183-a6527021f4ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBUElVc2VySUQiOiI2NzAzMjAiLCJHTUlEIjoiMCIsIkdNTmFtZSI6IlVzZXJMb2dpbiIsImV4cCI6MTYwNDQwODI1MiwiaXNzIjoiaHR0cHM6Ly9wYy5xYS5hbHR1bS5jb20iLCJhdWQiOiJodHRwczovL3BjLnFhLmFsdHVtLmNvbSJ9.Dsvip1nYB4hBDZy--AudBd7GxlHNmhR-3kYGCbtwlBE"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n       \r\n        \"isAccepted\": true,\r\n        \"committeeID\": 12782,\r\n        \"reviewerUserID\":506789,\r\n        \"userID\": 506789,\r\n        \"remoteHost\": \"::1\",\r\n        \"remoteAddress\":\"::1\",\r\n        \"httpForward\": null,\r\n        \"action\": \"Accept\",\r\n        \"eSignature\": \"signtature\"\r\n    }"},"url":{"raw":"{{hostname}}connections/IO/SaveConfidentialityStatementAcceptance","host":["{{hostname}}connections"],"path":["IO","SaveConfidentialityStatementAcceptance"],"query":[{"key":"","type":"text","value":"","disabled":true}]},"description":"## Description\n\n>This api save the confidentiality statement acceptance details. If the input values like committeeid is invalid, then the error message is returned. If the input values are valid, then save the data and true is retured.\n\n## Sample data to post : Body (raw text)\n```\n{\n       \n        \"isAccepted\": true,\n        \"committeeID\": 12782,\n        \"reviewerUserID\":506789,\n        \"userID\": 506789,\n        \"remoteHost\": \"::1\",\n        \"remoteAddress\":\"::1\",\n        \"httpForward\": null,\n        \"action\": \"Accept\",\n        \"eSignature\": \"signtature\"\n    }\n```\n## Sample Output - Code 200 - Successful Response\n```\ntrue\n```\n## Sample Output - Code 400 - Data Not Found\n```\n{\n    \"title\": \"No Confidentiality statement found to update\",\n    \"status\": 400,\n    \"detail\": \"There is no Confidentiality statement with the Committeeid:12782,  and Signed UserID 506789 \",\n    \"instance\": \"/IO/SaveConfidentialityStatementAcceptance\"\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"/IO/SaveConfidentialityStatementAcceptance\"\n}\n```"},"response":[],"_postman_id":"3851826d-4a8f-42f7-8183-a6527021f4ba"},{"name":"SaveMyCritiqueDetails","event":[{"listen":"prerequest","script":{"id":"e5c3840d-62e9-42a4-8858-5891618ce06d","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"3e7f46d0-d7ac-4d70-bc9d-c44db8c54061","exec":[""],"type":"text/javascript"}}],"id":"ac219cab-206a-4025-98f9-0218fc423331","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBUElVc2VySUQiOiI2OTkyMDYiLCJHTUlEIjoiMCIsIkdNTmFtZSI6IlVzZXJMb2dpbiIsImV4cCI6MTYxMDUzOTEwNCwiaXNzIjoiaHR0cHM6Ly9wYy5xYS5hbHR1bS5jb20iLCJhdWQiOiJodHRwczovL3BjLnFhLmFsdHVtLmNvbSJ9.yUWUmG-m_s1d7rqONk6fh8scpKuaRTOnl2cYOUoNSb4"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{    \r\n  \r\n    \"critiqueHeader\": {\r\n    \"critiqueID\": \"1641167\",\r\n     \"committeeAllowsVoting\": \"Both\",\r\n        \"isSeparateVoting\": false,\r\n        \"critiqueType\": \"Revisions\",\r\n         \"critiqueScoreFinal\": 8.000,\r\n        \"critiqueSummary\": \"critique summary\"       \r\n       \r\n    },\r\n    \"questionsDetails\": [\r\n        {\r\n            \r\n           \r\n            \"templateQuestionWeight\": 40.00,\r\n            \"critiqueQuestionID\": 1444344,\r\n            \"templateQuestionSequence\": 1,\r\n            \"critiqueAnswerFinal\": \"Using tardigrades DNA damage suppressor protein (Dsup) mRNA encased in nanoparticles and tested in the buccal mucosa of hamsters using a fractionation scheme of 5-9Gy x 3 (it is assumed that the 3Gy x 10 in the body of the text will not be used), the team proposes early - phase development of a potential method to decrease oral mucositis in treatment of head and neck cancer.xxxccc hello..1\",\r\n            \"answerScoreFinal\": 4.000\r\n        },\r\n        {\r\n            \r\n            \"templateQuestionWeight\": 15.00,\r\n            \"critiqueQuestionID\": 1444345,\r\n            \"templateQuestionSequence\": 2,\r\n            \"critiqueAnswerFinal\": \"Decreasing oral mucositis in head and neck cancer patients is of great importance.g 2\",\r\n            \"answerScoreFinal\": 1.000\r\n        }\r\n    ]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"{{hostname}}connections/IO/SaveMyCritiqueDetails","host":["{{hostname}}connections"],"path":["IO","SaveMyCritiqueDetails"],"query":[{"key":"","type":"text","value":"","disabled":true}]},"description":"## Description\n\n>This api save the Critque score details. If the input values like critiqueid is invalid, then the error message is returned. If the input values are valid, then save the data and true is retured.\n\n## Sample data to post : Body (raw text)\n```\n{    \n  \n    \"critiqueHeader\": {\n\t\"critiqueID\": \"624172\",\n\t \"committeeAllowsVoting\": \"Both\",\n        \"isSeparateVoting\": false,\n        \"critiqueType\": \"Revisions\"  ,\n        \"critiqueScoreFinal\": 8.000,\n        \"critiqueSummary\": \"critique summary\"      \n       \n    },\n    \"questionsDetails\": [\n        {\n            \n           \n            \"templateQuestionWeight\": 5.00,\n            \"critiqueQuestionID\": 1228378,\n            \"templateQuestionSequence\": 1,\n            \"critiqueAnswerFinal\": \"Using tardigrades DNA damage suppressor protein (Dsup) mRNA encased in nanoparticles and tested in the buccal mucosa of hamsters using a fractionation scheme of 5-9Gy x 3 (it is assumed that the 3Gy x 10 in the body of the text will not be used), the team proposes early - phase development of a potential method to decrease oral mucositis in treatment of head and neck cancer.xxxccc hello..1\",\n            \"answerScoreFinal\": 4.000\n        },\n        {\n            \n            \"templateQuestionWeight\": 15.00,\n            \"critiqueQuestionID\": 1228379,\n            \"templateQuestionSequence\": 2,\n            \"critiqueAnswerFinal\": \"Decreasing oral mucositis in head and neck cancer patients is of great importance.g 2\",\n            \"answerScoreFinal\": 3.000\n        }\n    ]\n}\n```\n## Sample Output - Code 200 - Successful Response\n```\ntrue\n```\n## Sample Output - Code 400 - Data Not Found\n```\n{\n    \"title\": \"No Critique found to update\",\n    \"status\": 400,\n    \"detail\": \"There is no Critique with the CritiqueID:12782,  and Signed UserID 506789 \",\n    \"instance\": \"/IO/SaveMyCritiqueDetails\"\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"/IO/SaveMyCritiqueDetails\"\n}\n```"},"response":[],"_postman_id":"ac219cab-206a-4025-98f9-0218fc423331"},{"name":"ReviewMarkAsConflict","event":[{"listen":"prerequest","script":{"id":"68e3517c-d5f5-4012-a665-9e60499707cf","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"424bc785-87f5-44a3-a71d-ac091e4e840b","exec":[""],"type":"text/javascript"}}],"id":"6ae9f3f1-8752-4e96-a93b-acb2d806bc0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBUElVc2VySUQiOiIzNzg2OTQiLCJHTUlEIjoiMCIsIkdNTmFtZSI6IlVzZXJMb2dpbiIsImV4cCI6MTYwOTc2MTM0MywiaXNzIjoiaHR0cHM6Ly9sb2NhbGhvc3Q6NDQzNjAvIiwiYXVkIjoiaHR0cHM6Ly9sb2NhbGhvc3Q6NDQzNjAvIn0.7KS1aiqdT0WZo21A38QfoQkKAhbU3UMiFQeLOpK7hDA"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{     \r\n        \"gMID\" : 47,\r\n        \"committeeID\": 4519,        \r\n        \"userID\": 116728,\r\n        \"proposalID\": 377065    \r\n        \r\n }","options":{"raw":{"language":"json"}}},"url":{"raw":"{{hostname}}connections/IO/ReviewMarkAsConflict","host":["{{hostname}}connections"],"path":["IO","ReviewMarkAsConflict"],"query":[{"key":"","type":"text","value":"","disabled":true}]},"description":"## Description\n\n>This api is used to mark the applications as conflict. If the input values are invalid, then the false message is returned. If the input values are valid, then data is saved and true is returned.\n\n## Sample data to post : Body (raw text)\n```\n{     \n        \"gMID\" : 47,\n        \"committeeID\": 4519,        \n        \"userID\": 116728,\n        \"proposalID\": 377065    \n        \n }\n```\n## Sample Output - Code 200 - Successful Response\n```\ntrue\n```\n## Sample Output - Code 400 - Data Not Found\n```\n{\n    \"title\": \"No Proposal found to mark as conflict\",\n    \"status\": 400,\n    \"detail\": \"There is no proposal found to mark as conflict with Proposal ID: 377065, and Committee ID : 4519\",\n    \"instance\": \"/IO/ReviewMarkAsConflict\"\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"/IO/ReviewMarkAsConflict\"\n}\n```"},"response":[],"_postman_id":"6ae9f3f1-8752-4e96-a93b-acb2d806bc0f"},{"name":"CritiqueUpload","event":[{"listen":"prerequest","script":{"id":"9784f825-fd73-4cac-8436-3136492adcc4","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"fc41c76f-3f9c-4ed6-89e0-e7caa91938a2","exec":[""],"type":"text/javascript"}}],"id":"c2fcb835-3037-4cbe-9cfd-1cca9cb17039","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBUElVc2VySUQiOiIzNzg2OTQiLCJHTUlEIjoiMCIsIkdNTmFtZSI6IlVzZXJMb2dpbiIsImV4cCI6MTYwOTc2MTM0MywiaXNzIjoiaHR0cHM6Ly9sb2NhbGhvc3Q6NDQzNjAvIiwiYXVkIjoiaHR0cHM6Ly9sb2NhbGhvc3Q6NDQzNjAvIn0.7KS1aiqdT0WZo21A38QfoQkKAhbU3UMiFQeLOpK7hDA"}},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"CritiqueFile","type":"file","value":null},{"key":"CritiqueID","value":"1058093","type":"text"},{"key":"UserID","value":"440925","type":"text"}]},"url":{"raw":"{{hostname}}connections/IO/CritiqueUpload","host":["{{hostname}}connections"],"path":["IO","CritiqueUpload"],"query":[{"key":"","type":"text","value":"","disabled":true}]},"description":"## Description\n\n>This api is used to upload the critique file.\n\n## Sample data to post : form-data\n```\nCritiqueFile\nCritiqueID\nUserID\n\n```\n## Sample Output - Code 200 - Successful Response\n```\nFile uploaded successfully\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"/IO/CritiqueUpload\"\n}\n```"},"response":[],"_postman_id":"c2fcb835-3037-4cbe-9cfd-1cca9cb17039"},{"name":"SaveUserFeedback","event":[{"listen":"prerequest","script":{"id":"26903fcc-7db7-411a-9b4b-2545888b95f7","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"a769fc3c-5cd2-4b8f-8f15-d62b79bd2907","exec":[""],"type":"text/javascript"}}],"id":"687d3ac9-d5e0-4ef6-ab42-7ec6d07950ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBUElVc2VySUQiOiIzNzg2OTQiLCJHTUlEIjoiMCIsIkdNTmFtZSI6IlVzZXJMb2dpbiIsImV4cCI6MTYxNDY4MTU1MiwiaXNzIjoiaHR0cHM6Ly9sb2NhbGhvc3Q6NDQzNjAvIiwiYXVkIjoiaHR0cHM6Ly9sb2NhbGhvc3Q6NDQzNjAvIn0.ItKzHzUtVaUY3GOvAS0Ncu-V51oSbWR8JPzRM-f4PRg"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"UserID\": \"378694\",\r\n    \"Feedback\": \"Test feedback\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{hostname}}connections/IO/SaveUserFeedback","host":["{{hostname}}connections"],"path":["IO","SaveUserFeedback"],"query":[{"key":"","type":"text","value":"","disabled":true}]},"description":"## Description\n\n>This api is used to save the user feedback.\n\n## Sample data to post : form-data\n```\n{\n    \"UserID\": \"378694\",\n    \"Feedback\": \"Test\"\n}\n\n```\n## Sample Output - Code 200 - Successful Response\n```\ntrue\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"/IO/SaveUserFeedback\"\n}\n```"},"response":[],"_postman_id":"687d3ac9-d5e0-4ef6-ab42-7ec6d07950ef"},{"name":"SaveSelectScoreTypeVote","event":[{"listen":"prerequest","script":{"id":"c52ba68a-2f45-441d-ac10-9e9ac9271f5b","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"4792b237-11ca-4188-bf7e-598020984e67","exec":[""],"type":"text/javascript"}}],"id":"deb6c13f-c0ce-43ca-91f7-a95a9a0e7e1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBUElVc2VySUQiOiIzNzg2OTQiLCJHTUlEIjoiMCIsIkdNTmFtZSI6IlVzZXJMb2dpbiIsImV4cCI6MTYxNDY4MTU1MiwiaXNzIjoiaHR0cHM6Ly9sb2NhbGhvc3Q6NDQzNjAvIiwiYXVkIjoiaHR0cHM6Ly9sb2NhbGhvc3Q6NDQzNjAvIn0.ItKzHzUtVaUY3GOvAS0Ncu-V51oSbWR8JPzRM-f4PRg"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"ProposalID\": \"378694\",\r\n    \"UserID\": \"140387\",\r\n    \"CommitteeID\": \"4519\",\r\n    \"Score\": \"3.000\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{hostname}}connections/IO/SaveSelectScoreTypeVote","host":["{{hostname}}connections"],"path":["IO","SaveSelectScoreTypeVote"],"query":[{"key":"","type":"text","value":"","disabled":true}]},"description":"## Description\n\n>This api is used to save the select score type voting score.\n\n## Sample data to post : form-data\n```\n{\n    \"ProposalID\": \"377114\",\n    \"UserID\": \"140387\",\n    \"CommitteeID\": \"4519\",\n    \"Score\": \"7.000\"\n}\n\n```\n## Sample Output - Code 200 - Successful Response\n```\ntrue\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"/IO/SaveSelectScoreTypeVote\"\n}\n```"},"response":[],"_postman_id":"deb6c13f-c0ce-43ca-91f7-a95a9a0e7e1d"},{"name":"SaveCalculateScoreTypeVote","event":[{"listen":"prerequest","script":{"id":"53025f82-6e88-4200-88d6-0d024c55a3be","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"ec2d7181-c37d-445c-99b4-008fda45d1e4","exec":[""],"type":"text/javascript"}}],"id":"b51fc4ee-8788-4997-9862-2d16ac5f3a20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBUElVc2VySUQiOiIzNzg2OTQiLCJHTUlEIjoiMCIsIkdNTmFtZSI6IlVzZXJMb2dpbiIsImV4cCI6MTYxOTYwMjY2OCwiaXNzIjoiaHR0cHM6Ly9sb2NhbGhvc3Q6NDQzNjAvIiwiYXVkIjoiaHR0cHM6Ly9sb2NhbGhvc3Q6NDQzNjAvIn0.hpKzMYfb_ipqICGbh1QBgfaGcJUIilySTQFnGak-Q1I"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"ProposalID\": \"377067\",\r\n    \"UserID\": \"140387\",\r\n    \"CommitteeID\": \"4519\",\r\n    \"CritiqueID\":\"0\",\r\n    \"VotingStage\":\"Vote\",\r\n\r\n    \"calculateScoreVoteQuestions\": [\r\n        {\r\n            \"questionSequence\": 1,\r\n            \"questionLabel\": \"Team - this will be changed to more than 20 chars\",\r\n            \"questionText\": \"\",\r\n            \"answerScore\": 1.00,\r\n            \"questionWeight\": 33.33,\r\n            \"questionID\": 0\r\n        },\r\n        {\r\n            \"questionSequence\": 2,\r\n            \"questionLabel\": \"Rapid Response\",\r\n            \"questionText\": \"\",\r\n            \"answerScore\": 2.00,\r\n            \"questionWeight\": 33.33,\r\n            \"questionID\": 0\r\n        },\r\n        {\r\n            \"questionSequence\": 3,\r\n            \"questionLabel\": \"Policy Potential\",\r\n            \"questionText\": \"\",\r\n            \"answerScore\": 4.00,\r\n            \"questionWeight\": 33.34,\r\n            \"questionID\": 0\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{hostname}}/Connections/IO/SaveCalculateScoreTypeVote","host":["{{hostname}}"],"path":["Connections","IO","SaveCalculateScoreTypeVote"],"query":[{"key":"","type":"text","value":"","disabled":true}]},"description":"## Description\n\n>This API is used to save the calculate score type voting score.\n\n## Sample data to post : form-data\n```\n{\n    \"ProposalID\": \"377067\",\n    \"UserID\": \"140387\",\n    \"CommitteeID\": \"4519\",\n    \"CritiqueID\":\"0\",\n    \"VotingStage\":\"Vote\",\n\n    \"calculateScoreVoteQuestions\": [\n        {\n            \"questionSequence\": 1,\n            \"questionLabel\": \"Team - this will be changed to more than 20 chars\",\n            \"questionText\": \"\",\n            \"answerScore\": 1.00,\n            \"questionWeight\": 33.33,\n            \"questionID\": 0\n        },\n        {\n            \"questionSequence\": 2,\n            \"questionLabel\": \"Rapid Response\",\n            \"questionText\": \"\",\n            \"answerScore\": 2.00,\n            \"questionWeight\": 33.33,\n            \"questionID\": 0\n        },\n        {\n            \"questionSequence\": 3,\n            \"questionLabel\": \"Policy Potential\",\n            \"questionText\": \"\",\n            \"answerScore\": 4.00,\n            \"questionWeight\": 33.34,\n            \"questionID\": 0\n        }\n    ]\n}\n\n```\n## Sample Output - Code 200 - Successful Response\n```\ntrue\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"/IO/SaveCalculateScoreTypeVote\"\n}\n```"},"response":[],"_postman_id":"b51fc4ee-8788-4997-9862-2d16ac5f3a20"},{"name":"GetReviewSummaryForAReviewer","event":[{"listen":"prerequest","script":{"id":"2102722b-a6fe-4d45-9737-127d421bc2ad","exec":["console.log(\"executing pre-request\")\r","console.log('authorization: ' + pm.environment.get(\"authorization\"))\r","console.log('UserLogin: ' + pm.environment.get(\"UserLogin\"))\r","console.log('Password: ' + pm.environment.get(\"Password\"))\r","if(pm.environment.get(\"authorization\") === \"\" || pm.environment.get(\"authorization\") === null)\r","{\r","    console.log(\"authorization not found\")\r","    pm.sendRequest({\r","    url: pm.environment.get(\"CredentialTokenURL\"),\r","    method: 'POST',\r","    header: {\r","        'content-type': 'application/json'\r","    },\r","    body: {\r","        mode: 'raw',\r","        raw: JSON.stringify({ UserLogin:pm.environment.get(\"UserLogin\"),Password:pm.environment.get(\"Password\") })\r","    }\r","}, function (err, res) {\r","  //  if ( err !== null)\r","        console.log(\"err: \" + err)\r","    //if ( res !== null )\r","        console.log(\"res: \" + res.json().token)\r","    pm.request.headers.add({\r","    key: 'Authorization',\r","    value: \"Bearer \" + res.json().token\r","    });\r","    pm.environment.set(\"authorization\", \"Bearer \" + res.json().token);\r","    console.log(res.json().userID);   \r","    pm.environment.set(\"loggedInAPIUserID\", res.json().userID);     \r","    GetUserSubscribedInstitutions();\r","});\r","} else\r","{\r","    console.log(\"authorization found\")\r","\r","    pm.request.headers.add({\r","        key: 'Authorization',\r","        value: pm.environment.get(\"authorization\")\r","    });    \r","    GetUserSubscribedInstitutions();        \r","}\r","\r","function GetUserSubscribedInstitutions()\r","{\r","if(pm.environment.get(\"authorization\") != '' && pm.environment.get(\"authorization\") != null && pm.environment.get(\"loggedInAPIUserID\")!='' && pm.environment.get(\"loggedInAPIUserID\")!= null)\r","{\r","var token=pm.environment.get(\"authorization\");\r","console.log(\"Get SubscribedInstitutionList\" +token);\r","pm.sendRequest({\r","    \r","  url: pm.environment.get(\"hostname\") + \"connections/IO/GetUserSubscribedInstitutions/\"+ pm.environment.get(\"loggedInAPIUserID\"),\r","  method: \"GET\",\r","  timeout: 0,\r","  header: {        \r","        \"Authorization\":  token,\r","        \"Content-Type\": \"application/json\"\r","    },\r","}\r",", function (err, response) {\r","    console.log(response.json());\r","    var subscribedInstitutions='';\r","    for(i = 0; i < response.json().length; i++)\r","        {\r","            subscribedInstitutions = subscribedInstitutions +\"//&//\"+ response.json()[i].name;\r","        }\r","    console.log(subscribedInstitutions);\r","    pm.variables.set(\"subscribedInstitutions\", subscribedInstitutions);\r","});\r","}\r","}"],"type":"text/javascript"}}],"id":"5c79c506-8d93-4151-ae3a-6fcdfdc86efc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{hostname}}connections/IO/GetReviewSummaryForAReviewer/47/210052?PageNumber=1&PageSize=100","host":["{{hostname}}connections"],"path":["IO","GetReviewSummaryForAReviewer","47","210052"],"query":[{"key":"PageNumber","value":"1"},{"key":"PageSize","value":"100"}]},"description":"## Description\n\n>This API returns the list of committees and the assigned applications and all applications count of a reviewer. If no data is available, 400 response would be returned.\n\n## Parameters\n\n| Parameter | Description                                        | Sample |\n|-------------|----------------------------------------------------|--------------|\n| GMID  | The GMID against which the committees are fetched | 47 |\n| User ID  | User ID of the reviewer | 210052 |\n\n\n## Sample Output - Code 200 - Successful Response\n```\n\n{\n    \"pagingInformation\": {\n        \"totalItems\": 7,\n        \"pageNumber\": 1,\n        \"pageSize\": 100\n    },\n    \"items\": [\n        {\n            \"committeeID\": 4519,\n            \"committeeName\": \"01_Accept/Decline Committee\",\n            \"committeeAbbreviation\": \"A/D Committee\",\n            \"isConfidentialityPageToshow\": false,\n            \"assignedApplicationsCount\": 4,\n            \"allApplicationsCount\": 10,\n            \"isAllAppTabViewable\": true,\n            \"isAssignedAppTabViewable\": true\n        }\n       \n   \n    ]\n}\n```\n## Sample Output - Code 400 - Data Not Found\n```\n{\n    \"title\": \"No committees assigned\",\n    \"status\": 400,\n    \"detail\": \"This user is not assigned to any committees\",\n    \"instance\": \"/IO/GetReviewSummaryForAReviewer/471/210052\"\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\":\"/IO/GetReviewSummaryForAReviewer/471/210052\"\n}\n```"},"response":[],"_postman_id":"5c79c506-8d93-4151-ae3a-6fcdfdc86efc"},{"name":"GetApplicationsByStatusForACommittee","event":[{"listen":"prerequest","script":{"id":"78539141-87c4-4e6c-87fb-3e814c2d65a3","exec":["console.log(\"executing pre-request\")\r","console.log('authorization: ' + pm.environment.get(\"authorization\"))\r","console.log('UserLogin: ' + pm.environment.get(\"UserLogin\"))\r","console.log('Password: ' + pm.environment.get(\"Password\"))\r","if(pm.environment.get(\"authorization\") === \"\" || pm.environment.get(\"authorization\") === null)\r","{\r","    console.log(\"authorization not found\")\r","    pm.sendRequest({\r","    url: pm.environment.get(\"CredentialTokenURL\"),\r","    method: 'POST',\r","    header: {\r","        'content-type': 'application/json'\r","    },\r","    body: {\r","        mode: 'raw',\r","        raw: JSON.stringify({ UserLogin:pm.environment.get(\"UserLogin\"),Password:pm.environment.get(\"Password\") })\r","    }\r","}, function (err, res) {\r","  //  if ( err !== null)\r","        console.log(\"err: \" + err)\r","    //if ( res !== null )\r","        console.log(\"res: \" + res.json().token)\r","    pm.request.headers.add({\r","    key: 'Authorization',\r","    value: \"Bearer \" + res.json().token\r","    });\r","    pm.environment.set(\"authorization\", \"Bearer \" + res.json().token);\r","    console.log(res.json().userID);   \r","    pm.environment.set(\"loggedInAPIUserID\", res.json().userID);     \r","    GetUserSubscribedInstitutions();\r","});\r","} else\r","{\r","    console.log(\"authorization found\")\r","\r","    pm.request.headers.add({\r","        key: 'Authorization',\r","        value: pm.environment.get(\"authorization\")\r","    });    \r","    GetUserSubscribedInstitutions();        \r","}\r","\r","function GetUserSubscribedInstitutions()\r","{\r","if(pm.environment.get(\"authorization\") != '' && pm.environment.get(\"authorization\") != null && pm.environment.get(\"loggedInAPIUserID\")!='' && pm.environment.get(\"loggedInAPIUserID\")!= null)\r","{\r","var token=pm.environment.get(\"authorization\");\r","console.log(\"Get SubscribedInstitutionList\" +token);\r","pm.sendRequest({\r","    \r","  url: pm.environment.get(\"hostname\") + \"/connections/IO/GetUserSubscribedInstitutions/\"+ pm.environment.get(\"loggedInAPIUserID\"),\r","  method: \"GET\",\r","  timeout: 0,\r","  header: {        \r","        \"Authorization\":  token,\r","        \"Content-Type\": \"application/json\"\r","    },\r","}\r",", function (err, response) {\r","    console.log(response.json());\r","    var subscribedInstitutions='';\r","    for(i = 0; i < response.json().length; i++)\r","        {\r","            subscribedInstitutions = subscribedInstitutions +\"//&//\"+ response.json()[i].name;\r","        }\r","    console.log(subscribedInstitutions);\r","    pm.variables.set(\"subscribedInstitutions\", subscribedInstitutions);\r","});\r","}\r","}"],"type":"text/javascript"}}],"id":"976183ff-ab1b-4c59-b94d-9b16f7f21074","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{hostname}}/connections/IO/GetApplicationsByStatusForACommittee/4519/140387/AllApp?PageNumber=1&PageSize=100","host":["{{hostname}}"],"path":["connections","IO","GetApplicationsByStatusForACommittee","4519","140387","AllApp"],"query":[{"key":"PageNumber","value":"1"},{"key":"PageSize","value":"100"}]},"description":"## Description\n\n>This API returns the list of assigned applications or all applications of a reviewer in a committee. This API also returns the list of conflicted applications and triaged applications. If no data is available, 400 response would be returned.\n\n## Parameters\n\n| Parameter | Description                                        | Sample |\n|-------------|----------------------------------------------------|--------------|\n| Committee ID  | The committee Id against which the proposals are fetched | 4519|\n| User ID  | User ID of the reviewer | 210052|\n| Application Status  | Application Status either 'AssignedApp' or 'AllApp' | AssignedApp|\n\n## Sample Output - Code 200 - Successful Response\n```\n\n{\n    \"pagingInformation\": {\n        \"totalItems\": 18,\n        \"pageNumber\": 1,\n        \"pageSize\": 100\n    },\n    \"mobileApplicationByStatus\": [\n        {\n            \"proposalID\": 377112,\n            \"applicant\": \"Jacob, Aswathy\",\n            \"gmProgramName\": \"1 Budget totals on GI Page\",\n            \"institutionName\": \"AL - 101/101 - University of South Alabama Children's Medical Center\",\n            \"gmProgramAbbreviation\": \"1BGI Pag\",\n            \"proposalGITitle\": \"Aswathy Jacob submitted on 06/01/2015 7.00AM\",\n            \"totalPagingCount\": 18,\n            \"isPDFIconToShow\": true,\n            \"critiqueID\": 1088874,\n            \"isMyCritiqueToShow\": false,\n            \"isPinned\": false,\n            \"isToShowVotingColumn\": true,\n            \"isSelectScoreTypeVoting\": true,\n            \"isVotingCompleted\": false,\n            \"votingScore\": 6.000\n        },\n        {\n            \"proposalID\": 377065,\n            \"applicant\": \"vinay003, van 003\",\n            \"gmProgramName\": \"1 Budget totals on GI Page\",\n            \"institutionName\": \"Biocant - Associação de Transferência de Tecnologia\",\n            \"gmProgramAbbreviation\": \"1BGI Pag\",\n            \"proposalGITitle\": \"Vvinay003 submitted on 06/1/2015 5.00 AM\",\n            \"totalPagingCount\": 18,\n            \"isPDFIconToShow\": true,\n            \"critiqueID\": 1088875,\n            \"isMyCritiqueToShow\": false,\n            \"isPinned\": false,\n            \"isToShowVotingColumn\": true,\n            \"isSelectScoreTypeVoting\": true,\n            \"isVotingCompleted\": false,\n            \"votingScore\": 7.000\n        },\n        {\n            \"proposalID\": 377114,\n            \"applicant\": \"Raj, Ria\",\n            \"gmProgramName\": \"1 Budget Period Totals on BS page\",\n            \"institutionName\": \"20/20 GeneSystems, Inc.\",\n            \"gmProgramAbbreviation\": \"1BPT\",\n            \"proposalGITitle\": \"Ria Raj submitted on 06/01/2015 7.15 AM\",\n            \"totalPagingCount\": 18,\n            \"isPDFIconToShow\": true,\n            \"critiqueID\": 1088876,\n            \"isMyCritiqueToShow\": false,\n            \"isPinned\": false,\n            \"isToShowVotingColumn\": true,\n            \"isSelectScoreTypeVoting\": true,\n            \"isVotingCompleted\": false,\n            \"votingScore\": 7.000\n        },\n        {\n            \"proposalID\": 377110,\n            \"applicant\": \"Naair, Aswathy\",\n            \"gmProgramName\": \"1 Budget Details Page All Fields\",\n            \"institutionName\": \"(GSH) Good Samaritan Hospital - Dayton, OH\",\n            \"gmProgramAbbreviation\": \"1BudDet\",\n            \"proposalGITitle\": \"Aswathy Nair Submitted on 06/01/2015\",\n            \"totalPagingCount\": 18,\n            \"isPDFIconToShow\": true,\n            \"critiqueID\": 0,\n            \"isMyCritiqueToShow\": false,\n            \"isPinned\": false,\n            \"isToShowVotingColumn\": true,\n            \"isSelectScoreTypeVoting\": true,\n            \"isVotingCompleted\": false,\n            \"votingScore\": 0.000\n        },\n        {\n            \"proposalID\": 377063,\n            \"applicant\": \"vinay001, van 001\",\n            \"gmProgramName\": \"1 Budget Details Page All Fields\",\n            \"institutionName\": \"California State University, Fresno Foundation\",\n            \"gmProgramAbbreviation\": \"1BudDet\",\n            \"proposalGITitle\": \"Vinay001, Van001 Submitted on 6/1/2015 4:17:01 AM\",\n            \"totalPagingCount\": 18,\n            \"isPDFIconToShow\": true,\n            \"critiqueID\": 0,\n            \"isMyCritiqueToShow\": false,\n            \"isPinned\": false,\n            \"isToShowVotingColumn\": true,\n            \"isSelectScoreTypeVoting\": true,\n            \"isVotingCompleted\": false,\n            \"votingScore\": 0.000\n        },\n        {\n            \"proposalID\": 377064,\n            \"applicant\": \"vinay002, van 002\",\n            \"gmProgramName\": \"1 Budget Details Page All Fields\",\n            \"institutionName\": null,\n            \"gmProgramAbbreviation\": \"1BudDet\",\n            \"proposalGITitle\": \"vinay002 submitted on 6/1/2015 4:36:45 AM\",\n            \"totalPagingCount\": 18,\n            \"isPDFIconToShow\": true,\n            \"critiqueID\": 0,\n            \"isMyCritiqueToShow\": false,\n            \"isPinned\": false,\n            \"isToShowVotingColumn\": true,\n            \"isSelectScoreTypeVoting\": true,\n            \"isVotingCompleted\": false,\n            \"votingScore\": 0.000\n        }\n        \n        \n    ],\n    \"committeeVotingScores\": [\n        {\n            \"scoreNumber\": 1.000,\n            \"scoreText\": \"1 Exceptional\"\n        },\n        {\n            \"scoreNumber\": 2.000,\n            \"scoreText\": \"2 Outstanding\"\n        },\n        {\n            \"scoreNumber\": 3.000,\n            \"scoreText\": \"3 Excellent\"\n        },\n        {\n            \"scoreNumber\": 4.000,\n            \"scoreText\": \"4 Very Good\"\n        },\n        {\n            \"scoreNumber\": 5.000,\n            \"scoreText\": \"5 Good\"\n        },\n        {\n            \"scoreNumber\": 6.000,\n            \"scoreText\": \"6 Satisfactory\"\n        },\n        {\n            \"scoreNumber\": 7.000,\n            \"scoreText\": \"7 Fair\"\n        },\n        {\n            \"scoreNumber\": 8.000,\n            \"scoreText\": \"8 Marginal\"\n        },\n        {\n            \"scoreNumber\": 9.000,\n            \"scoreText\": \"9 Poor\"\n        }\n    ]\n}\n```\n## Sample Output - Code 400 - Data Not Found\n```\n{\n    \"title\": \"No Proposals assigned\",\n    \"status\": 400,\n    \"detail\": \"There are no proposals assigned to this committee\",\n    \"instance\": \"/IO/GetApplicationsByStatusForACommittee/45191/210052/AllApp\"\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\":\"/IO/GetApplicationsByStatusForACommittee/45191/210052/AllApp\"\n}\n```"},"response":[],"_postman_id":"976183ff-ab1b-4c59-b94d-9b16f7f21074"},{"name":"ReviewerPrintPDF","event":[{"listen":"prerequest","script":{"id":"e04f6ee5-2057-4827-8cd6-420c33b8f26c","exec":["console.log(\"executing pre-request\")\r","console.log('authorization: ' + pm.environment.get(\"authorization\"))\r","console.log('UserLogin: ' + pm.environment.get(\"UserLogin\"))\r","console.log('Password: ' + pm.environment.get(\"Password\"))\r","if(pm.environment.get(\"authorization\") === \"\" || pm.environment.get(\"authorization\") === null)\r","{\r","    console.log(\"authorization not found\")\r","    pm.sendRequest({\r","    url: pm.environment.get(\"CredentialTokenURL\"),\r","    method: 'POST',\r","    header: {\r","        'content-type': 'application/json'\r","    },\r","    body: {\r","        mode: 'raw',\r","        raw: JSON.stringify({ UserLogin:pm.environment.get(\"UserLogin\"),Password:pm.environment.get(\"Password\") })\r","    }\r","}, function (err, res) {\r","  //  if ( err !== null)\r","        console.log(\"err: \" + err)\r","    //if ( res !== null )\r","        console.log(\"res: \" + res.json().token)\r","    pm.request.headers.add({\r","    key: 'Authorization',\r","    value: \"Bearer \" + res.json().token\r","    });\r","    pm.environment.set(\"authorization\", \"Bearer \" + res.json().token);\r","    console.log(res.json().userID);   \r","    pm.environment.set(\"loggedInAPIUserID\", res.json().userID);     \r","    GetUserSubscribedInstitutions();\r","});\r","} else\r","{\r","    console.log(\"authorization found\")\r","\r","    pm.request.headers.add({\r","        key: 'Authorization',\r","        value: pm.environment.get(\"authorization\")\r","    });    \r","    GetUserSubscribedInstitutions();        \r","}\r","\r","function GetUserSubscribedInstitutions()\r","{\r","if(pm.environment.get(\"authorization\") != '' && pm.environment.get(\"authorization\") != null && pm.environment.get(\"loggedInAPIUserID\")!='' && pm.environment.get(\"loggedInAPIUserID\")!= null)\r","{\r","var token=pm.environment.get(\"authorization\");\r","console.log(\"Get SubscribedInstitutionList\" +token);\r","pm.sendRequest({\r","    \r","  url: pm.environment.get(\"hostname\") + \"connections/IO/GetUserSubscribedInstitutions/\"+ pm.environment.get(\"loggedInAPIUserID\"),\r","  method: \"GET\",\r","  timeout: 0,\r","  header: {        \r","        \"Authorization\":  token,\r","        \"Content-Type\": \"application/json\"\r","    },\r","}\r",", function (err, response) {\r","    console.log(response.json());\r","    var subscribedInstitutions='';\r","    for(i = 0; i < response.json().length; i++)\r","        {\r","            subscribedInstitutions = subscribedInstitutions +\"//&//\"+ response.json()[i].name;\r","        }\r","    console.log(subscribedInstitutions);\r","    pm.variables.set(\"subscribedInstitutions\", subscribedInstitutions);\r","});\r","}\r","}"],"type":"text/javascript"}}],"id":"82a21ac6-c12e-4341-896f-b08eca509a83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{hostname}}connections/SinglePrint/ReviewerPrintPDF/219177/210052","description":"## Description\n\n>This api returns application PDF file with attachments for the specific proposal. \n\n## Parameters\n\n| Parameter | Description                                        | Sample |\n|-------------|----------------------------------------------------|--------------|\n| ApplicationID  | The application ID against which the application PDF file is returned | 625438|\n| UserID  | Logged in User ID | 378694|\n\n## Sample Output - Code 200 - Successful Response\n```\nReturns the application Single print PDF file\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\":\"/SinglePrint/ReviewerPrintPDF/625438/378694\"\n}\n```"},"response":[],"_postman_id":"82a21ac6-c12e-4341-896f-b08eca509a83"},{"name":"DownloadCritiqueFile","id":"60c5de46-1fe9-4e35-9bf2-184299395430","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBUElVc2VySUQiOiI0NTg2MjkiLCJHTUlEIjoiMCIsIkdNTmFtZSI6IlVzZXJMb2dpbiIsImV4cCI6MTYxMDYyNzU5MSwiaXNzIjoiaHR0cHM6Ly9wYy5kZXYuYWx0dW0uY29tIiwiYXVkIjoiaHR0cHM6Ly9wYy5kZXYuYWx0dW0uY29tIn0.JZvZcLKqDM_65sUN8UwwtJ92isAXaL3CgfZM_uatUtg"}},"method":"GET","header":[],"url":"{{hostname}}connections/IO/DownloadCritiqueFile/1112238/initial/user/210052/4519/47","description":"## Description\n\n>This api returns the initial or final critique file depends upon the request parameter. \n\n## Parameters\n\n| Parameter | Description                                        | Sample |\n|-------------|----------------------------------------------------|--------------|\n| Critique ID  | The critique id against which the file to download| 1112238       |\n| Critique File Type  | The Critique File Type initial or final | initial       |\n| Role | Role of the logged in user | Admin       |\n| User ID  | The user id against which the details are fetched | 210052       |\n| Committee ID| The Committee ID against which the details are fetched | 4519|\n| GMID  | The GMID against which the details are fetched | 47 |\n\n\n\n## Sample Output - Code 200 - Successful Response\n```\nReturns the critique file\n\n\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\": \"DownloadCritiqueFile/1112238/initial/user/210052/4519/47\"\n}\n```"},"response":[],"_postman_id":"60c5de46-1fe9-4e35-9bf2-184299395430"},{"name":"GetConflictAndTriagedApplications","event":[{"listen":"prerequest","script":{"id":"f299b2ec-a6c8-47e5-a9ba-50561388fd61","exec":["console.log(\"executing pre-request\")\r","console.log('authorization: ' + pm.environment.get(\"authorization\"))\r","console.log('UserLogin: ' + pm.environment.get(\"UserLogin\"))\r","console.log('Password: ' + pm.environment.get(\"Password\"))\r","if(pm.environment.get(\"authorization\") === \"\" || pm.environment.get(\"authorization\") === null)\r","{\r","    console.log(\"authorization not found\")\r","    pm.sendRequest({\r","    url: pm.environment.get(\"CredentialTokenURL\"),\r","    method: 'POST',\r","    header: {\r","        'content-type': 'application/json'\r","    },\r","    body: {\r","        mode: 'raw',\r","        raw: JSON.stringify({ UserLogin:pm.environment.get(\"UserLogin\"),Password:pm.environment.get(\"Password\") })\r","    }\r","}, function (err, res) {\r","  //  if ( err !== null)\r","        console.log(\"err: \" + err)\r","    //if ( res !== null )\r","        console.log(\"res: \" + res.json().token)\r","    pm.request.headers.add({\r","    key: 'Authorization',\r","    value: \"Bearer \" + res.json().token\r","    });\r","    pm.environment.set(\"authorization\", \"Bearer \" + res.json().token);\r","    console.log(res.json().userID);   \r","    pm.environment.set(\"loggedInAPIUserID\", res.json().userID);     \r","    GetUserSubscribedInstitutions();\r","});\r","} else\r","{\r","    console.log(\"authorization found\")\r","\r","    pm.request.headers.add({\r","        key: 'Authorization',\r","        value: pm.environment.get(\"authorization\")\r","    });    \r","    GetUserSubscribedInstitutions();        \r","}\r","\r","function GetUserSubscribedInstitutions()\r","{\r","if(pm.environment.get(\"authorization\") != '' && pm.environment.get(\"authorization\") != null && pm.environment.get(\"loggedInAPIUserID\")!='' && pm.environment.get(\"loggedInAPIUserID\")!= null)\r","{\r","var token=pm.environment.get(\"authorization\");\r","console.log(\"Get SubscribedInstitutionList\" +token);\r","pm.sendRequest({\r","    \r","  url: pm.environment.get(\"hostname\") + \"/connections/IO/GetUserSubscribedInstitutions/\"+ pm.environment.get(\"loggedInAPIUserID\"),\r","  method: \"GET\",\r","  timeout: 0,\r","  header: {        \r","        \"Authorization\":  token,\r","        \"Content-Type\": \"application/json\"\r","    },\r","}\r",", function (err, response) {\r","    console.log(response.json());\r","    var subscribedInstitutions='';\r","    for(i = 0; i < response.json().length; i++)\r","        {\r","            subscribedInstitutions = subscribedInstitutions +\"//&//\"+ response.json()[i].name;\r","        }\r","    console.log(subscribedInstitutions);\r","    pm.variables.set(\"subscribedInstitutions\", subscribedInstitutions);\r","});\r","}\r","}"],"type":"text/javascript"}}],"id":"3ea5f420-382a-4133-8aab-d7c5bd3c2b9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{hostname}}/connections/IO/GetConflictAndTriagedApplications/4519/140387","description":"## Description\n\n>This API returns the list of conflicted and triaged applications in a committee\n\n## Parameters\n\n| Parameter | Description                                        | Sample |\n|-------------|----------------------------------------------------|--------------|\n| CommitteeID  | The committee ID against which the list of conflict and triaged applications are fetched | 4519|\n| UserID  | Logged in User ID | 140387|\n\n## Sample Output - Code 200 - Successful Response\n```\n{\n    \"conflictedApplicationsCount\": 3,\n    \"triagedApplicationsCount\": 0,\n    \"conflictedApplications\": [\n        {\n            \"proposalID\": 215307,\n            \"applicant\": \"Vinay, Vandana\",\n            \"institutionName\": \"Anderson Orthopaedic Research Institute\",\n            \"gmProgramAbbreviation\": \"VBPLOI\",\n            \"proposalGITitle\": \"App 1\"\n        },\n        {\n            \"proposalID\": 229584,\n            \"applicant\": \"Vin, V\",\n            \"institutionName\": \"California Association of the Physically Handicapped\",\n            \"gmProgramAbbreviation\": \"VBPLOI\",\n            \"proposalGITitle\": \"LOI was bypassed correctly and the APP was un-submitted\"\n        },\n        {\n            \"proposalID\": 253348,\n            \"applicant\": \"Vee6, Vee6\",\n            \"institutionName\": \"Johns Hopkins All Children's Hospital, Inc.\",\n            \"gmProgramAbbreviation\": \"VBPLOI\",\n            \"proposalGITitle\": \"LOI for Un-submission\"\n        }\n    ],\n    \"triagedApplications\": []\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\":\"/IO/GetConflictAndTriagedApplications/4519/140387\"\n}\n```\n"},"response":[],"_postman_id":"3ea5f420-382a-4133-8aab-d7c5bd3c2b9f"},{"name":"GetCalculateScoreVotingQuestions","event":[{"listen":"prerequest","script":{"id":"dd57468e-f5cd-48f6-8c17-6a085010bce9","exec":["console.log(\"executing pre-request\")\r","console.log('authorization: ' + pm.environment.get(\"authorization\"))\r","console.log('UserLogin: ' + pm.environment.get(\"UserLogin\"))\r","console.log('Password: ' + pm.environment.get(\"Password\"))\r","if(pm.environment.get(\"authorization\") === \"\" || pm.environment.get(\"authorization\") === null)\r","{\r","    console.log(\"authorization not found\")\r","    pm.sendRequest({\r","    url: pm.environment.get(\"CredentialTokenURL\"),\r","    method: 'POST',\r","    header: {\r","        'content-type': 'application/json'\r","    },\r","    body: {\r","        mode: 'raw',\r","        raw: JSON.stringify({ UserLogin:pm.environment.get(\"UserLogin\"),Password:pm.environment.get(\"Password\") })\r","    }\r","}, function (err, res) {\r","  //  if ( err !== null)\r","        console.log(\"err: \" + err)\r","    //if ( res !== null )\r","        console.log(\"res: \" + res.json().token)\r","    pm.request.headers.add({\r","    key: 'Authorization',\r","    value: \"Bearer \" + res.json().token\r","    });\r","    pm.environment.set(\"authorization\", \"Bearer \" + res.json().token);\r","    console.log(res.json().userID);   \r","    pm.environment.set(\"loggedInAPIUserID\", res.json().userID);     \r","    GetUserSubscribedInstitutions();\r","});\r","} else\r","{\r","    console.log(\"authorization found\")\r","\r","    pm.request.headers.add({\r","        key: 'Authorization',\r","        value: pm.environment.get(\"authorization\")\r","    });    \r","    GetUserSubscribedInstitutions();        \r","}\r","\r","function GetUserSubscribedInstitutions()\r","{\r","if(pm.environment.get(\"authorization\") != '' && pm.environment.get(\"authorization\") != null && pm.environment.get(\"loggedInAPIUserID\")!='' && pm.environment.get(\"loggedInAPIUserID\")!= null)\r","{\r","var token=pm.environment.get(\"authorization\");\r","console.log(\"Get SubscribedInstitutionList\" +token);\r","pm.sendRequest({\r","    \r","  url: pm.environment.get(\"hostname\") + \"/connections/IO/GetUserSubscribedInstitutions/\"+ pm.environment.get(\"loggedInAPIUserID\"),\r","  method: \"GET\",\r","  timeout: 0,\r","  header: {        \r","        \"Authorization\":  token,\r","        \"Content-Type\": \"application/json\"\r","    },\r","}\r",", function (err, response) {\r","    console.log(response.json());\r","    var subscribedInstitutions='';\r","    for(i = 0; i < response.json().length; i++)\r","        {\r","            subscribedInstitutions = subscribedInstitutions +\"//&//\"+ response.json()[i].name;\r","        }\r","    console.log(subscribedInstitutions);\r","    pm.variables.set(\"subscribedInstitutions\", subscribedInstitutions);\r","});\r","}\r","}"],"type":"text/javascript"}}],"id":"9ab65a2b-b3c7-4291-a2a0-33944a1823c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{hostname}}/connections/IO/GetCalculateScoreVotingQuestions/493396 /140387/4519//1088879","description":"## Description\n\n>This API returns the list of questions in voting with score and weight.\n## Parameters\n\n| Parameter | Description                                        | Sample |\n|-------------|----------------------------------------------------|--------------|\n| ProposalID  | Proposal Id| 268198 |\n| UserID  | Logged in User ID | 140387|\n| CommitteeID  | The committee ID against which the list of conflict and triaged applications are fetched | 4519|\n| CritiqueID  | Critique ID | 140387|\n\n\n## Sample Output - Code 200 - Successful Response\n```\n{\n    \"applicantName\": \"Vinay, Vandana\",\n    \"appID\": \"268198 pC ID \",\n    \"averageScore\": 2.000,\n    \"calculateScoreVoteQuestions\": [\n        {\n            \"questionSequence\": 1,\n            \"questionLabel\": \"Team - this will be changed to more than 20 chars\",\n            \"questionText\": \"\",\n            \"answerScore\": 0.00,\n            \"questionWeight\": 33.33,\n            \"questionID\": 0\n        },\n        {\n            \"questionSequence\": 2,\n            \"questionLabel\": \"Rapid Response\",\n            \"questionText\": \"\",\n            \"answerScore\": 0.00,\n            \"questionWeight\": 33.33,\n            \"questionID\": 0\n        },\n        {\n            \"questionSequence\": 3,\n            \"questionLabel\": \"Policy Potential\",\n            \"questionText\": \"\",\n            \"answerScore\": 0.00,\n            \"questionWeight\": 33.34,\n            \"questionID\": 0\n        }\n    ],\n    \"committeeVotingScores\": [\n        {\n            \"scoreNumber\": 1.000,\n            \"scoreText\": \"1 Exceptional\"\n        },\n        {\n            \"scoreNumber\": 2.000,\n            \"scoreText\": \"2 Outstanding\"\n        },\n        {\n            \"scoreNumber\": 3.000,\n            \"scoreText\": \"3 Excellent\"\n        },\n        {\n            \"scoreNumber\": 4.000,\n            \"scoreText\": \"4 Very Good\"\n        },\n        {\n            \"scoreNumber\": 5.000,\n            \"scoreText\": \"5 Good\"\n        },\n        {\n            \"scoreNumber\": 6.000,\n            \"scoreText\": \"6 Satisfactory\"\n        },\n        {\n            \"scoreNumber\": 7.000,\n            \"scoreText\": \"7 Fair\"\n        },\n        {\n            \"scoreNumber\": 8.000,\n            \"scoreText\": \"8 Marginal\"\n        },\n        {\n            \"scoreNumber\": 9.000,\n            \"scoreText\": \"9 Poor\"\n        }\n    ]\n}\n```\n## Sample Output - Code 500 - Internal Server Error\n```\n{\n    \"title\": \"Internal Server Error\",\n    \"status\": 500,\n    \"detail\": \"Please check the logs for details\",\n    \"instance\":\"/IO/GetCalculateScoreVotingQuestions/268198/140387/4519/0\"\n}\n```"},"response":[],"_postman_id":"9ab65a2b-b3c7-4291-a2a0-33944a1823c0"}],"event":[{"listen":"prerequest","script":{"id":"8bd2f4f2-6a1d-4929-94ad-47077461d7b0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"8da7c7c7-83cd-47a2-88f6-54c75d124655","type":"text/javascript","exec":["var responseJSON;","if (responseCode.code === 400|| responseCode.code === 500 ) {","responseJSON = JSON.parse(responseBody);","}","if (responseCode.code === 401) {","    tests['Unauthorized Request'] = false;","}","","","if (responseCode.code === 200) {","    ","    try {","       tests['Valid JSON Response'] = true;","    } catch (e) {","        responseJSON = {};","        tests['Valid JSON Response'] = false;","    }","}","","if(responseCode.code  === 429){","    tests['Request limit exceeded'] = false;","}","","if (responseCode.code === 500) {","    if (responseJSON.title == null || responseJSON.title == \"\") {","        tests['Internal Server Error message'] = false","    } ","    else {","        tests['Internal Server Error message'] = true","    }","}","","if (responseCode.code === 400) {","    if (responseJSON.title == null || responseJSON.title == \"\") {","        tests[' No Records Message'] = false","    }","    else{","          tests['No Records Message'] = true","    }","}"]}}]}