{"info":{"_postman_id":"a2444776-6ff3-4671-97cf-4f17352a9ac4","name":"InterSystems IRIS REST CRUD demo","description":"<html><head></head><body><h1 id=\"introduction\">Introduction</h1>\n<p>It is an example of REST API CRUD application. It does CRUD</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>Basic authentication with standard IRIS base image login and password</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Introduction","slug":"introduction"},{"content":"Authentication","slug":"authentication"}],"owner":"1909443","collectionId":"a2444776-6ff3-4671-97cf-4f17352a9ac4","publishedId":"SzYbxwfi","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-04-04T10:05:22.000Z"},"item":[{"name":"persons","item":[{"name":"{id}","item":[{"name":" GET method to return JSON for a given person id","id":"32e695bb-b707-4274-8fe6-82dfb2713681","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"//localhost:yourport//persons/:id","description":"<p> Return one record fo Sample.Person </p>\n","urlObject":{"path":["persons",":id"],"host":["//localhost:yourport/"],"query":[],"variable":[{"id":"3167fd0a-bfec-48f4-a9e0-5df5f11b8c0d","description":{"content":"","type":"text/plain"},"type":"string","value":"<string>","key":"id"}]}},"response":[{"id":"452c72cc-0b44-4ed9-a783-ab2bfbefbbb2","name":"(Expected Result)","originalRequest":{"method":"GET","header":[],"url":{"raw":"//localhost:yourport//persons/:id","host":["//localhost:yourport/"],"path":["persons",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"d926012a-47b7-4030-98c1-0ed524cc1faf","name":"(Unexpected Error)","originalRequest":{"method":"GET","header":[],"url":{"raw":"//localhost:yourport//persons/:id","host":["//localhost:yourport/"],"path":["persons",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"32e695bb-b707-4274-8fe6-82dfb2713681"},{"name":" Update a person with id","id":"b1211c3e-d332-470f-842b-21303554af30","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"\"<string>\""},"url":"//localhost:yourport//persons/:id","description":"<p> Update a record in Sample.Person with id </p>\n","urlObject":{"path":["persons",":id"],"host":["//localhost:yourport/"],"query":[],"variable":[{"id":"d2886cc7-90f8-41e6-95fc-5ce935cc53e5","description":{"content":"","type":"text/plain"},"type":"string","value":"<string>","key":"id"}]}},"response":[{"id":"5b765531-7a1a-4a19-bfb0-d39a10f70ca9","name":"(Unexpected Error)","originalRequest":{"method":"PUT","header":[],"url":{"raw":"//localhost:yourport//persons/:id","host":["//localhost:yourport/"],"path":["persons",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"cd4cab88-c8e1-473d-9118-d0ffe6b9ab6f","name":"(Expected Result)","originalRequest":{"method":"PUT","header":[],"url":{"raw":"//localhost:yourport//persons/:id","host":["//localhost:yourport/"],"path":["persons",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"b1211c3e-d332-470f-842b-21303554af30"},{"name":" Delete a person with id","id":"9578927f-e919-4901-9d16-d59368218982","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[],"url":"//localhost:yourport//persons/:id","description":"<p> Delete a record with id in Sample.Person </p>\n","urlObject":{"path":["persons",":id"],"host":["//localhost:yourport/"],"query":[],"variable":[{"id":"f6ce64d5-bac0-467c-9a01-ffac5d36d33c","description":{"content":"","type":"text/plain"},"type":"string","value":"<string>","key":"id"}]}},"response":[{"id":"3e207dad-f364-4c6a-8ea5-0c6a1e3151da","name":"(Unexpected Error)","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"//localhost:yourport//persons/:id","host":["//localhost:yourport/"],"path":["persons",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"7274e33c-8a3a-4a79-a43c-5b5d3feee8c9","name":"(Expected Result)","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"//localhost:yourport//persons/:id","host":["//localhost:yourport/"],"path":["persons",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"9578927f-e919-4901-9d16-d59368218982"}],"id":"e598634f-29a2-46c8-849c-239272723acb","_postman_id":"e598634f-29a2-46c8-849c-239272723acb","description":""},{"name":" Create a person","id":"6adba0e0-9f04-48e5-b7db-ef46bafdbc92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"\"<string>\""},"url":"//localhost:yourport//persons/","description":"<p> Creates a new Sample.Person record </p>\n","urlObject":{"path":["persons",""],"host":["//localhost:yourport/"],"query":[],"variable":[]}},"response":[{"id":"2b5de125-11b2-4900-8cd8-5366d2160862","name":"(Unexpected Error)","originalRequest":{"method":"POST","header":[],"url":"//localhost:yourport//persons/"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"b975c23b-eab7-475c-889f-b8cb725fe230","name":"(Expected Result)","originalRequest":{"method":"POST","header":[],"url":"//localhost:yourport//persons/"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"6adba0e0-9f04-48e5-b7db-ef46bafdbc92"},{"name":" Get all records of Person class ","id":"8150f43d-a376-4a31-89cc-8f73d7afcec1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"//localhost:yourport//persons/all","description":"<p> Retreive all the records of Sample.Person </p>\n","urlObject":{"path":["persons","all"],"host":["//localhost:yourport/"],"query":[],"variable":[]}},"response":[{"id":"20230a56-9491-4358-8118-69f5f13b02d7","name":"(Expected Result)","originalRequest":{"method":"GET","header":[],"url":"//localhost:yourport//persons/all"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"b4a76047-66f7-41e0-9c10-49b49c513d48","name":"(Unexpected Error)","originalRequest":{"method":"GET","header":[],"url":"//localhost:yourport//persons/all"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"8150f43d-a376-4a31-89cc-8f73d7afcec1"}],"id":"dc3bde1c-2af2-46d2-a722-96ebce281d5e","_postman_id":"dc3bde1c-2af2-46d2-a722-96ebce281d5e","description":""},{"name":" Server Info ","id":"469ad7a8-6c71-45e7-be13-65976d1e8a1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"//localhost:yourport//","description":"<p> PersonsREST general information </p>\n","urlObject":{"path":[""],"host":["//localhost:yourport/"],"query":[],"variable":[]}},"response":[{"id":"899e6d33-7179-49a2-8f91-44ce261dec0a","name":"(Expected Result)","originalRequest":{"method":"GET","header":[],"url":"//localhost:yourport//"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"faeb58b7-d201-439f-b231-159e3846a3ef","name":"(Unexpected Error)","originalRequest":{"method":"GET","header":[],"url":"//localhost:yourport//"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"469ad7a8-6c71-45e7-be13-65976d1e8a1f"},{"name":" Swagger specs ","id":"8e1d14d6-b314-459f-bc8b-4d994fb72403","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"//localhost:yourport//_spec","urlObject":{"path":["_spec"],"host":["//localhost:yourport/"],"query":[],"variable":[]}},"response":[{"id":"0fe94cad-d256-4dea-9a8a-a4bb13f393bf","name":"(Expected Result)","originalRequest":{"method":"GET","header":[],"url":"//localhost:yourport//_spec"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"db5908e8-d60a-4478-910f-56983b104902","name":"(Unexpected Error)","originalRequest":{"method":"GET","header":[],"url":"//localhost:yourport//_spec"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"8e1d14d6-b314-459f-bc8b-4d994fb72403"}],"variable":[{"id":"baseUrl","key":"baseUrl","value":"//localhost:yourport/","type":"string"}]}