{"info":{"_postman_id":"0b416d0c-baa8-4592-af23-1a1f40e5f594","name":"CA2","description":"<html><head></head><body><p>API Dokumentation for CA2 opgaven</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"13817901","collectionId":"0b416d0c-baa8-4592-af23-1a1f40e5f594","publishedId":"Tz5wXafa","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-03-22T12:36:52.000Z"},"item":[{"name":"Get person by ID","id":"fd4cf639-3cbd-435d-9d42-59c9c733310c","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true,"accept-encoding":true}},"request":{"method":"GET","header":[],"url":"http://localhost:8080/ca2/api/person/6","description":"<p>Get a person object by ID</p>\n","urlObject":{"protocol":"http","port":"8080","path":["ca2","api","person","6"],"host":["localhost"],"query":[{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[{"id":"513341e5-3b17-4859-8dc3-9ba71c3dec3a","name":"Get person by ID","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/ca2/api/person/6","protocol":"http","host":["localhost"],"port":"8080","path":["ca2","api","person","6"],"query":[{"key":"","value":null,"type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"748"},{"key":"Date","value":"Thu, 25 Mar 2021 11:23:42 GMT"},{"key":"Keep-Alive","value":"timeout=20"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 6,\n    \"email\": \"Izaiah.Daniel@hotmail.com\",\n    \"firstName\": \"Floy\",\n    \"lastName\": \"Maggio\",\n    \"phones\": [\n        {\n            \"number\": 13595995,\n            \"description\": null\n        }\n    ],\n    \"hobbies\": [\n        {\n            \"id\": 6,\n            \"name\": \"Human Security Assistant\",\n            \"description\": \"Customer\"\n        },\n        {\n            \"id\": 26,\n            \"name\": \"purple\",\n            \"description\": null\n        },\n        {\n            \"id\": 27,\n            \"name\": \"azure\",\n            \"description\": null\n        },\n        {\n            \"id\": 28,\n            \"name\": \"gold\",\n            \"description\": null\n        }\n    ],\n    \"address\": {\n        \"id\": 6,\n        \"street\": \"7339 Ebert Ramp\",\n        \"additionalInfo\": \"Seamless multi-state paradigm\",\n        \"cityInfo\": {\n            \"id\": 7,\n            \"zipCode\": \"553\",\n            \"city\": \"Ortizberg\"\n        }\n    }\n}"}],"_postman_id":"fd4cf639-3cbd-435d-9d42-59c9c733310c"},{"name":"Create person","event":[{"listen":"prerequest","script":{"id":"7ac6ffb7-d141-43e3-b4dc-5588d34e7c10","exec":["pm.globals.set('randomNumber', Math.floor(Math.random(11111111) * 99999999));"],"type":"text/javascript"}}],"id":"911bc17f-bb4b-44a5-a52e-16a466c70096","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"Ian.Marvin@yahoo.com\",\n    \"firstName\": \"Meredith\",\n    \"lastName\": \"Larkin\",\n    \"phones\": [{\n        \"number\": {{randomNumber}}\n    }],  \n    \"address\": {\n        \"street\": \"31118 Larkin Springs\",\n        \"additionalInfo\": \"Right-sized upward-trending throughput\",\n        \"cityInfo\": {\n            \"zipCode\": \"455\",\n            \"city\": \"McKenzieshire\"\n        }\n    },\n    \"hobbies\": [\n        {\n            \"name\": \"Direct Solutions Orchestrator\",\n            \"description\": \"International\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.codergram.me/ca2/api/person/","urlObject":{"protocol":"https","path":["ca2","api","person",""],"host":["api","codergram","me"],"query":[],"variable":[]}},"response":[{"id":"bbe70567-fcab-497f-8876-5aa3f778cecd","name":"Create person with details","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"Bell35@gmail.com\",\n    \"firstName\": \"Karianne\",\n    \"lastName\": \"Marks\",\n    \"phones\": [{\n        \"number\": {{randomNumber}}\n    }],  \n    \"address\": {\n        \"street\": \"63160 Goodwin Ports\",\n        \"additionalInfo\": \"Diverse human-resource strategy\",\n        \"cityInfo\": {\n            \"zipCode\": \"51\",\n            \"city\": \"Torpbury\"\n        }\n    },\n    \"hobbies\": [\n        {\n            \"name\": \"Dynamic Interactions Director\",\n            \"description\": \"Regional\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/ca2/api/person/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"358"},{"key":"Date","value":"Thu, 25 Mar 2021 11:24:24 GMT"},{"key":"Keep-Alive","value":"timeout=20"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"address\": {\n        \"additionalInfo\": \"Automated human-resource middleware\",\n        \"cityInfo\": {\n            \"city\": \"South Leonchester\",\n            \"id\": 9,\n            \"zipCode\": \"585\"\n        },\n        \"id\": 8,\n        \"street\": \"0090 Tevin Forks\"\n    },\n    \"email\": \"Berniece.Hudson40@gmail.com\",\n    \"firstName\": \"Elvis\",\n    \"hobbies\": [\n        {\n            \"description\": \"Dynamic\",\n            \"id\": 30,\n            \"name\": \"Investor Directives Developer\"\n        }\n    ],\n    \"lastName\": \"Ryan\",\n    \"phones\": [\n        {\n            \"number\": 42486362\n        }\n    ]\n}"}],"_postman_id":"911bc17f-bb4b-44a5-a52e-16a466c70096"},{"name":"Update person","event":[{"listen":"prerequest","script":{"id":"9505fb73-a5cd-44c2-afcb-08f408a85d35","exec":["pm.globals.set('randomNumber', Math.floor(Math.random(11111111) * 99999999));"],"type":"text/javascript"}}],"id":"75e694ec-d5f8-40e1-9cdf-ba8dd361a384","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"John\",\n    \"lastName\": \"Nielsen\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/ca2/api/person/2","urlObject":{"protocol":"http","port":"8080","path":["ca2","api","person","2"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"ec966f55-e906-49f2-80cc-efa87df5c9ee","name":"Update persons hobby","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"hobbies\": [\n        {\n            \"name\": \"turquoise\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/ca2/api/person/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"419"},{"key":"Date","value":"Thu, 25 Mar 2021 11:20:05 GMT"},{"key":"Keep-Alive","value":"timeout=20"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"address\": {\n        \"additionalInfo\": \"Seamless multi-state paradigm\",\n        \"cityInfo\": {\n            \"city\": \"Ortizberg\",\n            \"id\": 7,\n            \"zipCode\": \"553\"\n        },\n        \"id\": 6,\n        \"street\": \"7339 Ebert Ramp\"\n    },\n    \"email\": \"Izaiah.Daniel@hotmail.com\",\n    \"firstName\": \"Floy\",\n    \"hobbies\": [\n        {\n            \"description\": \"Customer\",\n            \"id\": 6,\n            \"name\": \"Human Security Assistant\"\n        },\n        {\n            \"id\": 27,\n            \"name\": \"azure\"\n        },\n        {\n            \"id\": 28,\n            \"name\": \"gold\"\n        },\n        {\n            \"id\": 26,\n            \"name\": \"purple\"\n        }\n    ],\n    \"id\": 6,\n    \"lastName\": \"Maggio\",\n    \"phones\": [\n        {\n            \"number\": 13595995\n        }\n    ]\n}"},{"id":"7712d1e0-c47c-4f82-9b10-42b1f131be00","name":"Update persons name","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"John\",\n    \"lastName\": \"Nielsen\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/ca2/api/person/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"430"},{"key":"Date","value":"Thu, 25 Mar 2021 11:26:23 GMT"},{"key":"Keep-Alive","value":"timeout=20"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"address\": {\n        \"additionalInfo\": \"User-friendly 6th generation product\",\n        \"cityInfo\": {\n            \"city\": \"West Brandtfort\",\n            \"id\": 2,\n            \"zipCode\": \"54\"\n        },\n        \"id\": 2,\n        \"street\": \"273 Mack Island\"\n    },\n    \"email\": \"Columbus.Bode@hotmail.com\",\n    \"firstName\": \"John\",\n    \"hobbies\": [\n        {\n            \"description\": \"Product\",\n            \"id\": 1,\n            \"name\": \"Regional Interactions Supervisor\"\n        },\n        {\n            \"description\": \"Investor\",\n            \"id\": 2,\n            \"name\": \"Internal Web Consultant\"\n        }\n    ],\n    \"id\": 2,\n    \"lastName\": \"Nielsen\",\n    \"phones\": [\n        {\n            \"number\": 1245336\n        }\n    ]\n}"}],"_postman_id":"75e694ec-d5f8-40e1-9cdf-ba8dd361a384"},{"name":"Delete person","event":[{"listen":"prerequest","script":{"id":"4e77e644-57d6-411a-8ce0-6c1b0ed94400","exec":[""],"type":"text/javascript"}}],"id":"832f6161-494b-4ca7-839f-897754b8e19d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8080/ca2/api/person/6","urlObject":{"protocol":"http","port":"8080","path":["ca2","api","person","6"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"c3ab5b51-3f95-42dc-9a35-f2278c00bfcb","name":"Delete person","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:8080/ca2/api/person/6"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"17"},{"key":"Date","value":"Thu, 25 Mar 2021 11:26:40 GMT"},{"key":"Keep-Alive","value":"timeout=20"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": \"true\"\n}"}],"_postman_id":"832f6161-494b-4ca7-839f-897754b8e19d"},{"name":"Check API status","id":"eb5db058-81a1-4ae1-b00f-7745c1266385","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/ca2/api/","description":"<p>Check if API is alive</p>\n","urlObject":{"protocol":"http","port":"8080","path":["ca2","api",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"9439c37c-9706-4846-8e55-1ff11beb89a3","name":"Check API status","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/ca2/api/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"20"},{"key":"Date","value":"Thu, 25 Mar 2021 11:26:55 GMT"},{"key":"Keep-Alive","value":"timeout=20"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"I am alive\"\n}"}],"_postman_id":"eb5db058-81a1-4ae1-b00f-7745c1266385"},{"name":"Get list of ZIP codes","id":"edb65cb7-dd3c-4f1c-9232-5b5e98a70ff5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/ca2/api/zip/all","urlObject":{"protocol":"http","port":"8080","path":["ca2","api","zip","all"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"67563aa7-bc34-45a7-9e68-59786946ab42","name":"Get list of ZIP codes","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/ca2/api/zip/all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"511"},{"key":"Date","value":"Thu, 25 Mar 2021 11:27:17 GMT"},{"key":"Keep-Alive","value":"timeout=20"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"zipCode\": \"789\",\n        \"city\": \"Vanceberg\"\n    },\n    {\n        \"id\": 2,\n        \"zipCode\": \"54\",\n        \"city\": \"West Brandtfort\"\n    },\n    {\n        \"id\": 5,\n        \"zipCode\": \"222\",\n        \"city\": \"South Cameronton\"\n    },\n    {\n        \"id\": 6,\n        \"zipCode\": \"163\",\n        \"city\": \"Bernhardburgh\"\n    },\n    {\n        \"id\": 7,\n        \"zipCode\": \"553\",\n        \"city\": \"Ortizberg\"\n    },\n    {\n        \"id\": 8,\n        \"zipCode\": \"693\",\n        \"city\": \"North Maureenburgh\"\n    },\n    {\n        \"id\": 9,\n        \"zipCode\": \"585\",\n        \"city\": \"South Leonchester\"\n    }\n]"}],"_postman_id":"edb65cb7-dd3c-4f1c-9232-5b5e98a70ff5"},{"name":"Get Persons by Hobby","id":"607c207e-3681-4cfd-a304-2d57a51d0d76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/ca2/api/person/hobby/?hobby=Internal+Web+Consultant","urlObject":{"protocol":"http","port":"8080","path":["ca2","api","person","hobby",""],"host":["localhost"],"query":[{"key":"hobby","value":"Internal+Web+Consultant"}],"variable":[]}},"response":[{"id":"8030fed7-5716-4943-8fb4-193d52e5404d","name":"Get Persons by Hobby","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/ca2/api/person/hobby/?hobby=Internal+Web+Consultant","protocol":"http","host":["localhost"],"port":"8080","path":["ca2","api","person","hobby",""],"query":[{"key":"hobby","value":"Internal+Web+Consultant"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1275"},{"key":"Date","value":"Thu, 25 Mar 2021 11:27:29 GMT"},{"key":"Keep-Alive","value":"timeout=20"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"email\": \"hans@nielson.dk\",\n        \"firstName\": \"Hans\",\n        \"lastName\": \"Nielson\",\n        \"phones\": [\n            {\n                \"number\": 13956063,\n                \"description\": null\n            }\n        ],\n        \"hobbies\": [\n            {\n                \"id\": 2,\n                \"name\": \"Internal Web Consultant\",\n                \"description\": \"Investor\"\n            }\n        ],\n        \"address\": {\n            \"id\": 1,\n            \"street\": \"96027 Gwen Tunnel\",\n            \"additionalInfo\": \"Streamlined bottom-line software\",\n            \"cityInfo\": {\n                \"id\": 1,\n                \"zipCode\": \"789\",\n                \"city\": \"Vanceberg\"\n            }\n        }\n    },\n    {\n        \"id\": 2,\n        \"email\": \"Columbus.Bode@hotmail.com\",\n        \"firstName\": \"John\",\n        \"lastName\": \"Nielsen\",\n        \"phones\": [\n            {\n                \"number\": 1245336,\n                \"description\": null\n            }\n        ],\n        \"hobbies\": [\n            {\n                \"id\": 1,\n                \"name\": \"Regional Interactions Supervisor\",\n                \"description\": \"Product\"\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Internal Web Consultant\",\n                \"description\": \"Investor\"\n            }\n        ],\n        \"address\": {\n            \"id\": 2,\n            \"street\": \"273 Mack Island\",\n            \"additionalInfo\": \"User-friendly 6th generation product\",\n            \"cityInfo\": {\n                \"id\": 2,\n                \"zipCode\": \"54\",\n                \"city\": \"West Brandtfort\"\n            }\n        }\n    }\n]"}],"_postman_id":"607c207e-3681-4cfd-a304-2d57a51d0d76"},{"name":"Get Persons by Zip","id":"451fd2bb-9926-4cfd-ae22-50dd577a02b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/ca2/api/person/zip/?zip=789","urlObject":{"protocol":"http","port":"8080","path":["ca2","api","person","zip",""],"host":["localhost"],"query":[{"key":"zip","value":"789"}],"variable":[]}},"response":[{"id":"4a2fd7f3-3c49-4bdf-b0f6-e1696057fe51","name":"Get Persons by Zip","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/ca2/api/person/zip/?zip=789","protocol":"http","host":["localhost"],"port":"8080","path":["ca2","api","person","zip",""],"query":[{"key":"zip","value":"789"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"571"},{"key":"Date","value":"Thu, 25 Mar 2021 11:27:38 GMT"},{"key":"Keep-Alive","value":"timeout=20"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"email\": \"hans@nielson.dk\",\n        \"firstName\": \"Hans\",\n        \"lastName\": \"Nielson\",\n        \"phones\": [\n            {\n                \"number\": 13956063,\n                \"description\": null\n            }\n        ],\n        \"hobbies\": [\n            {\n                \"id\": 2,\n                \"name\": \"Internal Web Consultant\",\n                \"description\": \"Investor\"\n            }\n        ],\n        \"address\": {\n            \"id\": 1,\n            \"street\": \"96027 Gwen Tunnel\",\n            \"additionalInfo\": \"Streamlined bottom-line software\",\n            \"cityInfo\": {\n                \"id\": 1,\n                \"zipCode\": \"789\",\n                \"city\": \"Vanceberg\"\n            }\n        }\n    }\n]"}],"_postman_id":"451fd2bb-9926-4cfd-ae22-50dd577a02b9"},{"name":"Count persons with specified hobby","id":"e179fc94-f29e-4021-9561-5870762eec0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/ca2/api/count/hobby/persons?hobby=Internal Web Consultant","urlObject":{"protocol":"http","port":"8080","path":["ca2","api","count","hobby","persons"],"host":["localhost"],"query":[{"key":"hobby","value":"Internal Web Consultant"}],"variable":[]}},"response":[{"id":"004a7227-6e90-4b74-831e-5ee8fc6995ce","name":"Count persons with specified hobby","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:8080/ca2/api/count/hobby/persons?hobby=Internal Web Consultant","protocol":"http","host":["localhost"],"port":"8080","path":["ca2","api","count","hobby","persons"],"query":[{"key":"hobby","value":"Internal Web Consultant"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1"},{"key":"Date","value":"Thu, 25 Mar 2021 11:27:49 GMT"},{"key":"Keep-Alive","value":"timeout=20"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"2"}],"_postman_id":"e179fc94-f29e-4021-9561-5870762eec0b"},{"name":"Count persons in database","id":"1d594c6b-4bd6-44ed-8bc9-68f13f14fb64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/ca2/api/count/persons","urlObject":{"protocol":"http","port":"8080","path":["ca2","api","count","persons"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d6f08d46-1ef3-467d-885c-ea1a017c54cf","name":"Count persons in database","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/ca2/api/count/persons"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1"},{"key":"Date","value":"Thu, 25 Mar 2021 11:27:57 GMT"},{"key":"Keep-Alive","value":"timeout=20"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"5"}],"_postman_id":"1d594c6b-4bd6-44ed-8bc9-68f13f14fb64"},{"name":"Get all persons","id":"eacabf54-c984-4e0f-ae49-e006c6dfa6e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/ca2/api/persons","urlObject":{"protocol":"http","port":"8080","path":["ca2","api","persons"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"6869bb38-504d-4636-91f0-a51ba0949f82","name":"Get all persons","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/ca2/api/person/all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"3176"},{"key":"Date","value":"Thu, 25 Mar 2021 12:54:48 GMT"},{"key":"Keep-Alive","value":"timeout=20"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"email\": \"hans@nielson.dk\",\n        \"firstName\": \"Hans\",\n        \"lastName\": \"Nielson\",\n        \"phones\": [\n            {\n                \"number\": 13956063,\n                \"description\": null\n            }\n        ],\n        \"hobbies\": [\n            {\n                \"id\": 2,\n                \"name\": \"Internal Web Consultant\",\n                \"description\": \"Investor\"\n            }\n        ],\n        \"address\": {\n            \"id\": 1,\n            \"street\": \"96027 Gwen Tunnel\",\n            \"additionalInfo\": \"Streamlined bottom-line software\",\n            \"cityInfo\": {\n                \"id\": 1,\n                \"zipCode\": \"789\",\n                \"city\": \"Vanceberg\"\n            }\n        }\n    },\n    {\n        \"id\": 2,\n        \"email\": \"Columbus.Bode@hotmail.com\",\n        \"firstName\": \"John\",\n        \"lastName\": \"Nielsen\",\n        \"phones\": [\n            {\n                \"number\": 1245336,\n                \"description\": null\n            }\n        ],\n        \"hobbies\": [\n            {\n                \"id\": 1,\n                \"name\": \"Regional Interactions Supervisor\",\n                \"description\": \"Product\"\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Internal Web Consultant\",\n                \"description\": \"Investor\"\n            }\n        ],\n        \"address\": {\n            \"id\": 2,\n            \"street\": \"273 Mack Island\",\n            \"additionalInfo\": \"User-friendly 6th generation product\",\n            \"cityInfo\": {\n                \"id\": 2,\n                \"zipCode\": \"54\",\n                \"city\": \"West Brandtfort\"\n            }\n        }\n    },\n    {\n        \"id\": 2,\n        \"email\": \"Columbus.Bode@hotmail.com\",\n        \"firstName\": \"John\",\n        \"lastName\": \"Nielsen\",\n        \"phones\": [\n            {\n                \"number\": 1245336,\n                \"description\": null\n            }\n        ],\n        \"hobbies\": [\n            {\n                \"id\": 1,\n                \"name\": \"Regional Interactions Supervisor\",\n                \"description\": \"Product\"\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Internal Web Consultant\",\n                \"description\": \"Investor\"\n            }\n        ],\n        \"address\": {\n            \"id\": 2,\n            \"street\": \"273 Mack Island\",\n            \"additionalInfo\": \"User-friendly 6th generation product\",\n            \"cityInfo\": {\n                \"id\": 2,\n                \"zipCode\": \"54\",\n                \"city\": \"West Brandtfort\"\n            }\n        }\n    },\n    {\n        \"id\": 7,\n        \"email\": \"Jaylon_Tillman78@yahoo.com\",\n        \"firstName\": \"Drew\",\n        \"lastName\": \"Herzog\",\n        \"phones\": [\n            {\n                \"number\": 97191781,\n                \"description\": null\n            }\n        ],\n        \"hobbies\": [\n            {\n                \"id\": 24,\n                \"name\": \"Investor Response Architect\",\n                \"description\": \"National\"\n            }\n        ],\n        \"address\": {\n            \"id\": 7,\n            \"street\": \"25176 Coleman Drive\",\n            \"additionalInfo\": \"Progressive next generation methodology\",\n            \"cityInfo\": {\n                \"id\": 8,\n                \"zipCode\": \"693\",\n                \"city\": \"North Maureenburgh\"\n            }\n        }\n    },\n    {\n        \"id\": 8,\n        \"email\": \"Berniece.Hudson40@gmail.com\",\n        \"firstName\": \"Elvis\",\n        \"lastName\": \"Ryan\",\n        \"phones\": [\n            {\n                \"number\": 42486362,\n                \"description\": null\n            }\n        ],\n        \"hobbies\": [\n            {\n                \"id\": 30,\n                \"name\": \"Investor Directives Developer\",\n                \"description\": \"Dynamic\"\n            }\n        ],\n        \"address\": {\n            \"id\": 8,\n            \"street\": \"0090 Tevin Forks\",\n            \"additionalInfo\": \"Automated human-resource middleware\",\n            \"cityInfo\": {\n                \"id\": 9,\n                \"zipCode\": \"585\",\n                \"city\": \"South Leonchester\"\n            }\n        }\n    }\n]"},{"id":"b9ee6e32-c0d2-4235-af1b-5ce45fe28bc6","name":"Get all persons","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/ca2/api/persons"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"3176"},{"key":"Date","value":"Thu, 25 Mar 2021 13:03:35 GMT"},{"key":"Keep-Alive","value":"timeout=20"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"email\": \"hans@nielson.dk\",\n        \"firstName\": \"Hans\",\n        \"lastName\": \"Nielson\",\n        \"phones\": [\n            {\n                \"number\": 13956063,\n                \"description\": null\n            }\n        ],\n        \"hobbies\": [\n            {\n                \"id\": 2,\n                \"name\": \"Internal Web Consultant\",\n                \"description\": \"Investor\"\n            }\n        ],\n        \"address\": {\n            \"id\": 1,\n            \"street\": \"96027 Gwen Tunnel\",\n            \"additionalInfo\": \"Streamlined bottom-line software\",\n            \"cityInfo\": {\n                \"id\": 1,\n                \"zipCode\": \"789\",\n                \"city\": \"Vanceberg\"\n            }\n        }\n    },\n    {\n        \"id\": 2,\n        \"email\": \"Columbus.Bode@hotmail.com\",\n        \"firstName\": \"John\",\n        \"lastName\": \"Nielsen\",\n        \"phones\": [\n            {\n                \"number\": 1245336,\n                \"description\": null\n            }\n        ],\n        \"hobbies\": [\n            {\n                \"id\": 1,\n                \"name\": \"Regional Interactions Supervisor\",\n                \"description\": \"Product\"\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Internal Web Consultant\",\n                \"description\": \"Investor\"\n            }\n        ],\n        \"address\": {\n            \"id\": 2,\n            \"street\": \"273 Mack Island\",\n            \"additionalInfo\": \"User-friendly 6th generation product\",\n            \"cityInfo\": {\n                \"id\": 2,\n                \"zipCode\": \"54\",\n                \"city\": \"West Brandtfort\"\n            }\n        }\n    },\n    {\n        \"id\": 2,\n        \"email\": \"Columbus.Bode@hotmail.com\",\n        \"firstName\": \"John\",\n        \"lastName\": \"Nielsen\",\n        \"phones\": [\n            {\n                \"number\": 1245336,\n                \"description\": null\n            }\n        ],\n        \"hobbies\": [\n            {\n                \"id\": 1,\n                \"name\": \"Regional Interactions Supervisor\",\n                \"description\": \"Product\"\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Internal Web Consultant\",\n                \"description\": \"Investor\"\n            }\n        ],\n        \"address\": {\n            \"id\": 2,\n            \"street\": \"273 Mack Island\",\n            \"additionalInfo\": \"User-friendly 6th generation product\",\n            \"cityInfo\": {\n                \"id\": 2,\n                \"zipCode\": \"54\",\n                \"city\": \"West Brandtfort\"\n            }\n        }\n    },\n    {\n        \"id\": 7,\n        \"email\": \"Jaylon_Tillman78@yahoo.com\",\n        \"firstName\": \"Drew\",\n        \"lastName\": \"Herzog\",\n        \"phones\": [\n            {\n                \"number\": 97191781,\n                \"description\": null\n            }\n        ],\n        \"hobbies\": [\n            {\n                \"id\": 24,\n                \"name\": \"Investor Response Architect\",\n                \"description\": \"National\"\n            }\n        ],\n        \"address\": {\n            \"id\": 7,\n            \"street\": \"25176 Coleman Drive\",\n            \"additionalInfo\": \"Progressive next generation methodology\",\n            \"cityInfo\": {\n                \"id\": 8,\n                \"zipCode\": \"693\",\n                \"city\": \"North Maureenburgh\"\n            }\n        }\n    },\n    {\n        \"id\": 8,\n        \"email\": \"Berniece.Hudson40@gmail.com\",\n        \"firstName\": \"Elvis\",\n        \"lastName\": \"Ryan\",\n        \"phones\": [\n            {\n                \"number\": 42486362,\n                \"description\": null\n            }\n        ],\n        \"hobbies\": [\n            {\n                \"id\": 30,\n                \"name\": \"Investor Directives Developer\",\n                \"description\": \"Dynamic\"\n            }\n        ],\n        \"address\": {\n            \"id\": 8,\n            \"street\": \"0090 Tevin Forks\",\n            \"additionalInfo\": \"Automated human-resource middleware\",\n            \"cityInfo\": {\n                \"id\": 9,\n                \"zipCode\": \"585\",\n                \"city\": \"South Leonchester\"\n            }\n        }\n    }\n]"}],"_postman_id":"eacabf54-c984-4e0f-ae49-e006c6dfa6e0"}]}