{"info":{"_postman_id":"a92f1a4b-1805-43bc-892c-79a0988ea6e7","name":"EIM_AND_JIRA_SIM","description":"<html><head></head><body><p>These are APIS which will help Extract data , Update data , Insert data in EIM Portal through NodeJS backend</p>\n<p>Hosted NodeJs Backend : <a href=\"https://eim-and-jira-sim-back.vercel.app/\">https://eim-and-jira-sim-back.vercel.app</a><br>Github Repo Link : <a href=\"https://github.com/Adidem23/EIM_AND_JIRA_SIM\">https://github.com/Adidem23/EIM_AND_JIRA_SIM</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"23821977","collectionId":"a92f1a4b-1805-43bc-892c-79a0988ea6e7","publishedId":"2sAXjJ6Z3d","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-08-28T13:54:03.000Z"},"item":[{"name":"Inserting_Records","id":"8ede3a06-7ede-4ad7-811f-e658af5780b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n   \"appID\":131003,\r\n    \"issueID\":131020,\r\n    \"issueType\":\"Hardware\",\r\n    \"summary\":\"Deminsing Software\",\r\n    \"technologyType\":\"Database\",\r\n    \"technologyVersion\":\"Provision v1\",\r\n    \"obsolateDate\":\"2024-08-28T12:00:00Z\",\r\n    \"issueRemediationDate\":\"2024-08-28T12:00:00Z\",\r\n        \"hardwareDetails\":{\r\n            \"CPU\":\"12 Core\"\r\n        },\r\n        \"softwareDetails\":{\r\n            \"CPU\":\"12 Core\"\r\n        },\r\n        \"department\":\"GDT\",\r\n        \"servers\":[\"GDB34\",\"GDB39\"],\r\n        \"ipAddress\":\"123.4.5.7\",\r\n        \"serverRole\":\"DataCenter\",\r\n        \"environment\":\"DEV\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://eim-and-jira-sim-back.vercel.app/AddRecord","description":"<p>This is API Requet which will add data entry in Mongodb Atlas Backend with JSON Body</p>\n","urlObject":{"protocol":"https","path":["AddRecord"],"host":["eim-and-jira-sim-back","vercel","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"8ede3a06-7ede-4ad7-811f-e658af5780b9"},{"name":"Updating_Records","id":"8c118efa-9f47-45d1-954a-3c2a7aff3365","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n   \"appID\":131003,\r\n    \"issueID\":131020,\r\n    \"issueType\":\"Software\",\r\n    \"summary\":\"Deminsing Software\",\r\n    \"technologyType\":\"Database\",\r\n    \"technologyVersion\":\"Provision v1\",\r\n    \"obsolateDate\":\"2024-08-28T12:00:00Z\",\r\n    \"issueRemediationDate\":\"2024-08-28T12:00:00Z\",\r\n        \"hardwareDetails\":{\r\n            \"CPU\":\"16 Core\"\r\n        },\r\n        \"softwareDetails\":{\r\n            \"CPU\":\"12 Core\"\r\n        },\r\n        \"department\":\"GDTSSP\",\r\n        \"servers\":[\"GDB34\",\"GDB39\",\"GDB456\"],\r\n        \"ipAddress\":\"123.4.5.7\",\r\n        \"serverRole\":\"DataCenter\",\r\n        \"environment\":\"DEV\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://eim-and-jira-sim-back.vercel.app/UpdateRecord","description":"<p>This is API Requet which will update data entry in Mongodb Atlas Backend with JSON Body</p>\n","urlObject":{"protocol":"https","path":["UpdateRecord"],"host":["eim-and-jira-sim-back","vercel","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"8c118efa-9f47-45d1-954a-3c2a7aff3365"},{"name":"AllHardwareIssuesLength","id":"a531115f-6703-4aba-81e5-2ddd4b62ea77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://eim-and-jira-sim-back.vercel.app/TotalHardwareIssuesLength","description":"<p>This API endpoint will return Length of All Hardware Issues</p>\n","urlObject":{"protocol":"https","path":["TotalHardwareIssuesLength"],"host":["eim-and-jira-sim-back","vercel","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"a531115f-6703-4aba-81e5-2ddd4b62ea77"},{"name":"AllHardwareIssues","event":[{"listen":"test","script":{"id":"e5ae2270-a4c4-440b-9729-396ccbbd42b2","exec":["var template = `\r","<style type=\"text/css\">\r","    .tftable {font-size:14px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}\r","    .tftable th {font-size:18px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;text-align:left;}\r","    .tftable tr {background-color:#ffffff;}\r","    .tftable td {font-size:14px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}\r","    .tftable tr:hover {background-color:#e0ffff;}\r","</style>\r","\r","<table class=\"tftable\" border=\"1\">\r","    <tr>\r","        <th>Issue ID</th>\r","        <th>Summary</th>\r","        <th>Department</th>\r","        <th>IP Address</th>\r","    </tr>\r","    \r","    {{#each response}}\r","        <tr>\r","            <td>{{issueID}}</td>\r","            <td>{{summary}}</td>\r","            <td>{{department}}</td>\r","            <td>{{ipAddress}}</td>\r","        </tr>\r","    {{/each}}\r","</table>\r","`;\r","\r","function constructVisualizerPayload() {\r","    return { response: pm.response.json() }\r","}\r","\r","pm.visualizer.set(template, constructVisualizerPayload());"],"type":"text/javascript","packages":{}}}],"id":"15e7dbbb-8375-4af0-827c-2c333b0d8e78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://eim-and-jira-sim-back.vercel.app/AllHardwareIssues","description":"<p>This API Endpoint will return all Hardware Entries in Database</p>\n","urlObject":{"protocol":"https","path":["AllHardwareIssues"],"host":["eim-and-jira-sim-back","vercel","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"15e7dbbb-8375-4af0-827c-2c333b0d8e78"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}],"variable":[{"id":"530bbdd9-38d3-441e-92dc-61f171c18dc2","key":"id","value":"1"},{"id":"57b5ecc1-1ffd-4eb5-a9a4-fa78c5251c5d","key":"base_url","value":"https://postman-rest-api-learner.glitch.me/"}]}