{"info":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"3496981","collectionId":"6360a9c3-f554-49c1-852c-cf95939e4d7b","publishedId":"TVCjwkn4","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-10-06T22:08:49.000Z"},"item":[{"name":"Auth","item":[{"name":"/api/auth/login","event":[{"listen":"test","script":{"id":"0da1e5cf-b81a-4f29-893f-e43bde329b9c","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = pm.response.json();","","pm.test(\"Status is success\", function () {","    pm.expect(jsonData.status).to.eql(\"success\");","});","","pm.test(\"Message is should contain\", function () {","    pm.expect(jsonData.message).to.eql(\"Login Success\");","});","","// set global login token, so we can auto-login","pm.globals.set(\"jwt\", jsonData.data);"],"type":"text/javascript"}}],"id":"fc9b7719-6453-49d6-90e4-63567d10e256","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"identity","value":"admintest","description":"<p>User to authenticate with</p>\n","type":"text"},{"key":"password","value":"c0v@l3nt","description":"<p>Password to authenticate with</p>\n","type":"text"}]},"url":"localhost/api/auth/login","urlObject":{"path":["api","auth","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"e8ad3d45-fa11-438c-ae3b-187258a8bc1c","name":"/api/auth/login","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"Username","value":"testuser","description":"User to authenticate with","type":"text"},{"key":"Password","value":"insecure","description":"Password to authenticate with","type":"text"}]},"url":"localhost/api/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 06 Oct 2020 22:04:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"207"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MDIyODEwOTMsInVzZXJfaWQiOjEsInVzZXJuYW1lIjoidGVzdHVzZXIifQ.mbPeKVLaKGPpLWaX8WIEXWZtxh1ZolimDRhSad0kHE4\",\n    \"message\": \"Login Success\",\n    \"status\": \"success\"\n}"}],"_postman_id":"fc9b7719-6453-49d6-90e4-63567d10e256"},{"name":"/api/auth/register","id":"9c421254-7a18-46ce-9cf4-730d2b6987c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"Username","value":"testuser2","description":"<p>User's name to register</p>\n","type":"text"},{"key":"Password","value":"notsecure","description":"<p>Validated Password to authenticate with</p>\n","type":"text"},{"key":"FirstName","value":"Test","description":"<p>User's First Name</p>\n","type":"text"},{"key":"LastName","value":"User","description":"<p>Users Last Name</p>\n","type":"text"},{"key":"email","value":"test@user.com","type":"text"}]},"url":"localhost/api/auth/register","urlObject":{"path":["api","auth","register"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"87e81dfc-8484-4302-b28c-3684760796fe","name":"/api/auth/register","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"Username","value":"testuser2","description":"User's name to register","type":"text"},{"key":"Password","value":"notsecure","description":"Validated Password to authenticate with","type":"text"},{"key":"FirstName","value":"Test","description":"User's First Name","type":"text"},{"key":"LastName","value":"User","description":"Users Last Name","type":"text"},{"key":"email","value":"test@user.com","type":"text"}]},"url":"localhost/api/auth/register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 06 Oct 2020 22:05:34 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"242"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 0,\n        \"firstname\": \"Test\",\n        \"lastname\": \"User\",\n        \"username\": \"testuser2\",\n        \"email\": \"test@user.com\",\n        \"Phone\": \"\",\n        \"Created\": \"0001-01-01T00:00:00Z\",\n        \"Deleted\": false,\n        \"EmailVerified\": false,\n        \"Locked\": false\n    },\n    \"message\": \"Created user\",\n    \"status\": \"success\"\n}"}],"_postman_id":"9c421254-7a18-46ce-9cf4-730d2b6987c8"},{"name":"/api/auth/self","event":[{"listen":"test","script":{"id":"8393e466-f770-4377-8420-06c29e5a11c2","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = pm.response.json();","","pm.test(\"JSON status\", function () {","    pm.expect(jsonData.status).to.eql(\"success\");","});","","pm.test(\"JSON message\", function () {","    pm.expect(jsonData.message).to.eql(\"Retrieved Self\");","});","","pm.test(\"User data matches expectations\", function () {","    pm.expect(jsonData.data.username).to.eql(pm.environment.get('username'));","});"],"type":"text/javascript"}}],"id":"f5ea4d31-e51c-446a-9f78-f3ee1fb40129","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost/api/auth/self","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","auth","self"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d949c28e-7041-47a3-8343-1c96fd92571c","name":"/api/auth/self","originalRequest":{"method":"GET","header":[],"url":"localhost/api/auth/self"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 06 Oct 2020 22:05:50 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"235"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1,\n        \"firstname\": \"Test\",\n        \"lastname\": \"User\",\n        \"username\": \"testuser\",\n        \"email\": \"\",\n        \"Phone\": \"\",\n        \"Created\": \"2020-09-08T00:47:42-07:00\",\n        \"Deleted\": false,\n        \"EmailVerified\": false,\n        \"Locked\": false\n    },\n    \"message\": \"retrieved self\",\n    \"status\": \"success\"\n}"}],"_postman_id":"f5ea4d31-e51c-446a-9f78-f3ee1fb40129"}],"id":"52359eb0-d42f-413c-96d4-6dfeeb5d4c3e","_postman_id":"52359eb0-d42f-413c-96d4-6dfeeb5d4c3e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}}},{"name":"Category","item":[{"name":"/api/category","event":[{"listen":"test","script":{"id":"663ef3bd-a4e9-48f0-b9bf-0df56acded89","exec":["var jsonData = pm.response.json();","","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"JSON status\", function () {","    pm.expect(jsonData.status).to.eql(\"success\");","});","","pm.test(\"JSON message\", function () {","    pm.expect(jsonData.message).to.eql(\"Created Category\");","});","pm.collectionVariables.set(\"LAST_POST_CATEGORY_ID\", jsonData.data.ID);"],"type":"text/javascript"}}],"id":"8a1f2cee-a9af-4de6-8c55-c7859638ff80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"ID","value":"3","type":"text","disabled":true},{"key":"Title","value":"Test lol","type":"text"},{"key":"Description","value":"A test category; again... anotha one","type":"text"}]},"url":"localhost/api/category","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","category"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"73bcc76d-e88e-4895-9e11-2166b18c6ab6","name":"/api/category","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"ID","value":"3","type":"text","disabled":true},{"key":"Title","value":"Test lol","type":"text"},{"key":"Description","value":"A test category; again... anotha one","type":"text"}]},"url":"localhost/api/category"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 06 Oct 2020 22:02:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 6,\n        \"Title\": \"Test lol\",\n        \"Description\": \"A test category; again... anotha one\"\n    },\n    \"message\": \"Added new Category\",\n    \"status\": \"success\"\n}"}],"_postman_id":"8a1f2cee-a9af-4de6-8c55-c7859638ff80"},{"name":"/api/category","event":[{"listen":"test","script":{"id":"c2785721-9dcb-46ec-b4ef-b2c3bbc4c3eb","exec":["var jsonData = pm.response.json();","","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Returned Correct ID\", function () {","    pm.expect(jsonData.data.ID).to.eql(pm.collectionVariables.get(\"LAST_POST_CATEGORY_ID\"));","});","","pm.test(\"JSON status\", function () {","    pm.expect(jsonData.status).to.eql(\"success\");","});","","pm.test(\"JSON message\", function () {","    pm.expect(jsonData.message).to.eql(\"Updated Category\");","});"],"type":"text/javascript"}}],"id":"43eaf567-c64d-4aec-b2cb-a27bb70e2fb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"localhost/api/category","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","category"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"669ae75c-ec96-4c61-b044-0bb0032ee425","name":"/api/category","originalRequest":{"method":"PUT","header":[],"url":"localhost/api/category"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 6,\n        \"Title\": \"Test lol\",\n        \"Description\": \"A test category; again... anotha one\"\n    },\n    \"message\": \"Updated Category\",\n    \"status\": \"success\"\n}"}],"_postman_id":"43eaf567-c64d-4aec-b2cb-a27bb70e2fb6"},{"name":"/api/category","event":[{"listen":"test","script":{"id":"4bce665f-3aa6-4414-80ce-3cc515f5f7b5","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = pm.response.json();","","pm.test(\"JSON status\", function () {","    pm.expect(jsonData.status).to.eql(\"success\");","});","","pm.test(\"JSON message\", function () {","    pm.expect(jsonData.message).to.eql(\"Retrieved Categories\");","});"],"type":"text/javascript"}}],"id":"7faad292-4661-4b3a-ad83-8f813b080cd9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost/api/category","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","category"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"90e43063-a528-4aff-9154-c003060872bf","name":"/api/category","originalRequest":{"method":"GET","header":[],"url":"localhost/api/category"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 06 Oct 2020 22:04:31 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"108"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"ID\": 1,\n            \"Title\": \"Test\",\n            \"Description\": \"A test category\"\n        },\n        {\n            \"ID\": 3,\n            \"Title\": \"Test 2\",\n            \"Description\": \"A test category; again...\"\n        },\n        {\n            \"ID\": 4,\n            \"Title\": \"Test 2?\",\n            \"Description\": \"A test category; again... anotha one\"\n        },\n        {\n            \"ID\": 6,\n            \"Title\": \"Test lol\",\n            \"Description\": \"A test category; again... anotha one\"\n        }\n    ],\n    \"message\": \"queried Categories\",\n    \"status\": \"success\"\n}"}],"_postman_id":"7faad292-4661-4b3a-ad83-8f813b080cd9"},{"name":"/api/category/:id","event":[{"listen":"test","script":{"id":"1ea0ae1a-b8ca-467f-bac8-3870be829309","exec":["var jsonData = pm.response.json();","","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Returned Correct ID\", function () {","    pm.expect(jsonData.data.ID).to.eql(pm.collectionVariables.get(\"LAST_POST_CATEGORY_ID\"));","});","","pm.test(\"JSON status\", function () {","    pm.expect(jsonData.status).to.eql(\"success\");","});","","pm.test(\"JSON message\", function () {","    pm.expect(jsonData.message).to.eql(\"Retrieved Category\");","});"],"type":"text/javascript"}}],"id":"78c70f65-e75d-425b-a02f-81b7ad03a0fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost/api/category/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","category",":id"],"host":["localhost"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"112ac76b-6b3e-44ed-8133-bb4f48d8d96e","name":"/api/category/1","originalRequest":{"method":"GET","header":[],"url":"localhost/api/category/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 06 Oct 2020 22:04:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"114"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1,\n        \"Title\": \"Test\",\n        \"Description\": \"A test category\"\n    },\n    \"message\": \"queried categories\",\n    \"status\": \"success\"\n}"}],"_postman_id":"78c70f65-e75d-425b-a02f-81b7ad03a0fb"}],"id":"9f731fa8-0d2a-43e9-95ea-4811a6c60014","_postman_id":"9f731fa8-0d2a-43e9-95ea-4811a6c60014","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}}},{"name":"User","item":[{"name":"/api/user","id":"6ae41a0f-00a5-4f63-8ea3-5ee8d6214ae6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost/api/user","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","user"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6ae41a0f-00a5-4f63-8ea3-5ee8d6214ae6"},{"name":"/api/user/:id","id":"afeadbd5-72f5-48b2-b5b7-70f0970e7385","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost/api/user/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","user",":id"],"host":["localhost"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"afeadbd5-72f5-48b2-b5b7-70f0970e7385"},{"name":"/api/user/:id","id":"b42fb46f-b13c-476f-84cf-a96cfa5a6f16","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"localhost/api/user/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","user",":id"],"host":["localhost"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"b42fb46f-b13c-476f-84cf-a96cfa5a6f16"},{"name":"/api/user/:id","id":"6a4ec2ce-a856-43b2-b461-7c425a274a01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"firstname","value":"Test","type":"text"},{"key":"lastname","value":"User","type":"text"},{"key":"username","value":"testuser","type":"text"},{"key":"email","value":"test@user.com","type":"text"}]},"url":"localhost/api/user/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","user",":id"],"host":["localhost"],"query":[],"variable":[{"type":"string","value":"1","key":"id"}]}},"response":[],"_postman_id":"6a4ec2ce-a856-43b2-b461-7c425a274a01"}],"id":"60baedd7-3c1a-40d4-969d-445f00ea6f26","_postman_id":"60baedd7-3c1a-40d4-969d-445f00ea6f26","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}}},{"name":"Status","item":[{"name":"/api/status","event":[{"listen":"test","script":{"id":"e7b69dc8-4acb-4926-b253-29f702d10ce8","exec":["var jsonData = pm.response.json();","","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"JSON status\", function () {","    pm.expect(jsonData.status).to.eql(\"success\");","});","","pm.test(\"JSON message\", function () {","    pm.expect(jsonData.message).to.eql(\"Created Status\");","});","pm.collectionVariables.set(\"LAST_POST_STATUS_ID\", jsonData.data.ID);"],"type":"text/javascript"}}],"id":"daab6193-b5ab-4d16-badb-db288221992c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"title","value":"New","description":"<p>Status Title</p>\n","type":"text"},{"key":"description","value":"Fresh ticket, has not been sorted or responded to","description":"<p>Status Description</p>\n","type":"text"}]},"url":"localhost/api/status","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","status"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"3d9f0eb2-287d-48f6-99f0-b0fbdd1c1a0a","name":"/api/status","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"title","value":"","description":"Status Title","type":"text"},{"key":"description","value":"","description":"Status Description","type":"text"}]},"url":"localhost/api/status"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1,\n        \"title\": \"New\",\n        \"description\": \"Ticket is new, has no response or acknowledgement\"\n    },\n    \"message\": \"Created Status\",\n    \"status\": \"success\"\n}"}],"_postman_id":"daab6193-b5ab-4d16-badb-db288221992c"},{"name":"/api/status","event":[{"listen":"test","script":{"id":"65fd6b46-5ce1-43f6-8f68-77b98ae44375","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = pm.response.json();","","pm.test(\"JSON status\", function () {","    pm.expect(jsonData.status).to.eql(\"success\");","});","","pm.test(\"JSON message\", function () {","    pm.expect(jsonData.message).to.eql(\"Retrieved Statuses\");","});"],"type":"text/javascript"}}],"id":"7f74e130-34bc-4789-95eb-b716cd4355bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost/api/status?page&count","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","status"],"host":["localhost"],"query":[{"description":{"content":"<p>Pagination</p>\n","type":"text/plain"},"key":"page","value":null},{"description":{"content":"<p>Number of responses</p>\n","type":"text/plain"},"key":"count","value":null}],"variable":[]}},"response":[{"id":"6fe13a7f-9f0e-495e-bf90-866c526b8b7a","name":"/api/status","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"title","value":"","description":"Status Title","type":"text"},{"key":"description","value":"","description":"Status Description","type":"text"}]},"url":"localhost/api/status"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"ID\": 1,\n            \"title\": \"New\",\n            \"description\": \"Ticket is new, has no response or acknowledgement\"\n        }\n    ],\n    \"message\": \"Retrieved Status\",\n    \"status\": \"success\"\n}"}],"_postman_id":"7f74e130-34bc-4789-95eb-b716cd4355bf"},{"name":"/api/status","id":"246ac9e5-eb22-4cfb-a333-92a0d7911a98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"Title","value":"","description":"<p>Status Title</p>\n","type":"text"},{"key":"Description","value":"","description":"<p>Status Description</p>\n","type":"text"}]},"url":"localhost/api/status/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","status",":id"],"host":["localhost"],"query":[],"variable":[{"description":{"content":"<p>Status ID to edit</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"22856067-b0a8-45c5-a1a7-3db6daa621f5","name":"/api/status","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"title","value":"","description":"Status Title","type":"text"},{"key":"description","value":"","description":"Status Description","type":"text"}]},"url":"localhost/api/status"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1,\n        \"title\": \"New\",\n        \"description\": \"Ticket is new, has no response or acknowledgement\"\n    },\n    \"message\": \"Updated Status\",\n    \"status\": \"success\"\n}"}],"_postman_id":"246ac9e5-eb22-4cfb-a333-92a0d7911a98"},{"name":"/api/status:id","event":[{"listen":"test","script":{"id":"513900e9-4a43-416e-8976-763448eb6a8b","exec":["var jsonData = pm.response.json();","","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Returned Correct ID\", function () {","    pm.expect(jsonData.data.ID).to.eql(pm.collectionVariables.get(\"LAST_POST_STATUS_ID\"));","});","","pm.test(\"JSON status\", function () {","    pm.expect(jsonData.status).to.eql(\"success\");","});","","pm.test(\"JSON message\", function () {","    pm.expect(jsonData.message).to.eql(\"Retrieved Status\");","});"],"type":"text/javascript"}}],"id":"5d3ad7fc-3af0-435d-a3cc-d959cd819561","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"Title","value":"","description":"<p>Status Title</p>\n","type":"text"},{"key":"Description","value":"","description":"<p>Status Description</p>\n","type":"text"}]},"url":"localhost/api/status/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","status",":id"],"host":["localhost"],"query":[],"variable":[{"description":{"content":"<p>Status ID to edit</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"a104bad8-25b6-49ab-a5ce-9c4682ca0359","name":"/api/status","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"title","value":"","description":"Status Title","type":"text"},{"key":"description","value":"","description":"Status Description","type":"text"}]},"url":"localhost/api/status"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1,\n        \"title\": \"New\",\n        \"description\": \"Ticket is new, has no response or acknowledgement\"\n    },\n    \"message\": \"Retrieved Status\",\n    \"status\": \"success\"\n}"}],"_postman_id":"5d3ad7fc-3af0-435d-a3cc-d959cd819561"}],"id":"cd312a1a-df20-4fd6-b41e-6b530ad377e4","_postman_id":"cd312a1a-df20-4fd6-b41e-6b530ad377e4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}}},{"name":"Queue","item":[{"name":"/api/queue","event":[{"listen":"test","script":{"id":"b0256cf3-7697-4105-978a-da684c9964b5","exec":["var jsonData = pm.response.json();","","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"JSON status\", function () {","    pm.expect(jsonData.status).to.eql(\"success\");","});","","pm.test(\"JSON message\", function () {","    pm.expect(jsonData.message).to.eql(\"Created Queue\");","});","pm.collectionVariables.set(\"LAST_POST_QUEUE_ID\", jsonData.data.ID);"],"type":"text/javascript"}}],"id":"9929e24f-6f0f-4a15-be21-a492198e41bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"Title","value":"Main","description":"<p>Queue Name</p>\n","type":"text"},{"key":"Description","value":"Main Queue","description":"<p>Queue Description</p>\n","type":"text"}]},"url":"localhost/api/queue","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","queue"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"4cc47ed9-9857-4d1c-9547-924f560a45c3","name":"/api/queue","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"Title","value":"","description":"Queue Name","type":"text"},{"key":"Description","value":"","description":"Queue Description","type":"text"}]},"url":"localhost/api/queue"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1,\n        \"Title\": \"Critical\",\n        \"Description\": \"Items that are of immediate concern.\"\n    },\n    \"message\": \"Created Queue\",\n    \"status\": \"success\"\n}"},{"id":"f354eae4-df51-4347-863f-e518ade49213","name":"/api/queue","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"Title","value":"Main","description":"Queue Name","type":"text"},{"key":"Description","value":"Main Queue","description":"Queue Description","type":"text"}]},"url":"localhost/api/queue"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 09 Oct 2020 22:43:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"104"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1,\n        \"Title\": \"Main\",\n        \"Description\": \"Main Queue\"\n    },\n    \"message\": \"Created Queue\",\n    \"status\": \"success\"\n}"}],"_postman_id":"9929e24f-6f0f-4a15-be21-a492198e41bb"},{"name":"/api/queue/:id","event":[{"listen":"test","script":{"id":"420b0bc2-5acf-459c-987f-d486601f5f30","exec":["var jsonData = pm.response.json();","","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Returned Correct ID\", function () {","    pm.expect(jsonData.data.ID).to.eql(pm.collectionVariables.get(\"LAST_POST_QUEUE_ID\"));","});","","pm.test(\"JSON status\", function () {","    pm.expect(jsonData.status).to.eql(\"success\");","});","","pm.test(\"JSON message\", function () {","    pm.expect(jsonData.message).to.eql(\"Retrieved Queue\");","});"],"type":"text/javascript"}}],"id":"8ca189ff-4ae5-414e-9581-22e5974aea50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost/api/queue/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","queue",":id"],"host":["localhost"],"query":[],"variable":[{"description":{"content":"<p>Queue ID to retrieve</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"1319f5ab-0ad1-4303-bcdd-0159b23381d5","name":"/api/queue/:id","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost/api/queue/:id","host":["localhost"],"path":["api","queue",":id"],"variable":[{"description":"Queue ID to retrieve","key":"id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1,\n        \"Title\": \"Critical\",\n        \"Description\": \"Items that are of immediate concern.\"\n    },\n    \"message\": \"Retrieved Queue\",\n    \"status\": \"success\"\n}"}],"_postman_id":"8ca189ff-4ae5-414e-9581-22e5974aea50"},{"name":"/api/queue","event":[{"listen":"test","script":{"id":"99da66f9-6ed7-4e1a-af85-26b963fd0633","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = pm.response.json();","","pm.test(\"JSON status\", function () {","    pm.expect(jsonData.status).to.eql(\"success\");","});","","pm.test(\"JSON message\", function () {","    pm.expect(jsonData.message).to.eql(\"Retrieved Queues\");","});"],"type":"text/javascript"}}],"id":"75a204e8-1f9d-4a9c-bc7d-2fac8ead18e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost/api/queue","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","queue"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"65d24adf-36a7-427d-93fb-c863c1e1aa76","name":"/api/queue","originalRequest":{"method":"GET","header":[],"url":"localhost/api/queue"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 09 Oct 2020 22:45:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"109"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"ID\": 1,\n            \"Title\": \"Main\",\n            \"Description\": \"Main Queue\"\n        }\n    ],\n    \"message\": \"Retrieved Queues\",\n    \"status\": \"success\"\n}"},{"id":"d28faf09-d56e-4e91-9b09-8c84dbe38b12","name":"/api/queue","originalRequest":{"method":"GET","header":[],"url":"localhost/api/queue"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"ID\": 1,\n            \"Title\": \"Critical\",\n            \"Description\": \"Items that are of immediate concern.\"\n        }\n    ],\n    \"message\": \"Retrieved Queues\",\n    \"status\": \"success\"\n}"}],"_postman_id":"75a204e8-1f9d-4a9c-bc7d-2fac8ead18e4"},{"name":"/api/queue","id":"1ae028a5-9775-413d-9828-59b5d8d0a643","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"title","value":"","description":"<p>Queue name</p>\n","type":"text"},{"key":"description","value":"","description":"<p>Queue description</p>\n","type":"text"}]},"url":"localhost/api/queue/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","queue",":id"],"host":["localhost"],"query":[],"variable":[{"description":{"content":"<p>Queue to update</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"c616695a-5468-4591-9af0-e1dd2cdbcc7f","name":"/api/queue","originalRequest":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"title","value":"","description":"Queue name","type":"text"},{"key":"description","value":"","description":"Queue description","type":"text"}]},"url":{"raw":"localhost/api/queue/:id","host":["localhost"],"path":["api","queue",":id"],"variable":[{"key":"id","value":"","description":"Queue to update"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1,\n        \"Title\": \"Critical\",\n        \"Description\": \"Items that are of immediate concern.\"\n    },\n    \"message\": \"Updated Queue\",\n    \"status\": \"success\"\n}"}],"_postman_id":"1ae028a5-9775-413d-9828-59b5d8d0a643"},{"name":"/api/queue","id":"5a7d4062-9514-47e9-b961-689ad27e47fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"localhost/api/queue/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","queue",":id"],"host":["localhost"],"query":[],"variable":[{"description":{"content":"<p>Queue to delete</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"5a7d4062-9514-47e9-b961-689ad27e47fa"},{"name":"/api/queue/ticket/:id","id":"4e5e51f9-5218-4108-8b67-babce9fb099c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost/api/queue/ticket/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","queue","ticket",":id"],"host":["localhost"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"4e5e51f9-5218-4108-8b67-babce9fb099c"}],"id":"1db94371-082a-416c-aaf6-7e0f77f0075c","_postman_id":"1db94371-082a-416c-aaf6-7e0f77f0075c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}}},{"name":"SLA","item":[{"name":"/api/sla","id":"a23aef5e-e2ed-4a67-b78f-5687803d2f90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"Title","value":"Free Tier","description":"<p>SLA Title</p>\n","type":"text"},{"key":"Description","value":"72 hour initial response; 21 day resolution","description":"<p>SLA Description</p>\n","type":"text"},{"key":"Weight","value":"1","description":"<p>SLA Weight</p>\n","type":"text"}]},"url":"localhost/api/sla","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","sla"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"b020678d-64c0-417b-a1c5-9b99143c78ff","name":"/api/sla","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"Title","value":"","description":"SLA Title","type":"text"},{"key":"Description","value":"","description":"SLA Description","type":"text"},{"key":"Weight","value":"","description":"SLA Weight","type":"text"}]},"url":"localhost/api/sla"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1,\n        \"Title\": \"Free Tier\",\n        \"Description\": \"72 hour response, resolution 14 days.\",\n        \"Weight\": 4.5\n    },\n    \"message\": \"Created SLA\",\n    \"status\": \"success\"\n}"},{"id":"f478a588-e50c-4b20-bd9a-bc3dae167f92","name":"/api/sla","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"Title","value":"Free Tier","description":"SLA Title","type":"text"},{"key":"Description","value":"72 hour initial response; 21 day resolution","description":"SLA Description","type":"text"},{"key":"Weight","value":"1","description":"SLA Weight","type":"text"}]},"url":"localhost/api/sla"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 09 Oct 2020 23:05:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"153"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1,\n        \"Title\": \"Free Tier\",\n        \"Description\": \"72 hour initial response; 21 day resolution\",\n        \"Weight\": \"1\"\n    },\n    \"message\": \"Created SLA\",\n    \"status\": \"success\"\n}"}],"_postman_id":"a23aef5e-e2ed-4a67-b78f-5687803d2f90"},{"name":"/api/sla/:id","id":"8f157f3c-faa3-469c-9310-b4670d70b96f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost/api/sla/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","sla",":id"],"host":["localhost"],"query":[],"variable":[{"description":{"content":"<p>SLA to retrieve</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"99c64676-0d50-4681-b890-dcfc83b86b3e","name":"/api/sla/:id","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost/api/sla/:id","host":["localhost"],"path":["api","sla",":id"],"variable":[{"key":"id","value":"","description":"SLA to retrieve"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1,\n        \"Title\": \"Free Tier\",\n        \"Description\": \"72 hour response, resolution 14 days.\",\n        \"Weight\": 4.5\n    },\n    \"message\": \"Retrieved SLA\",\n    \"status\": \"success\"\n}"}],"_postman_id":"8f157f3c-faa3-469c-9310-b4670d70b96f"},{"name":"/api/sla","id":"b9f8ae8b-ee27-4108-affb-beba0277cc48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost/api/sla?page&count&all","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","sla"],"host":["localhost"],"query":[{"description":{"content":"<p>Pagination</p>\n","type":"text/plain"},"key":"page","value":null},{"description":{"content":"<p>Number of items to retrieve</p>\n","type":"text/plain"},"key":"count","value":null},{"description":{"content":"<p>Get all?</p>\n","type":"text/plain"},"key":"all","value":null}],"variable":[]}},"response":[{"id":"efc22290-b755-488a-babd-bfba777f5aaf","name":"/api/sla","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost/api/sla?page&count&all","host":["localhost"],"path":["api","sla"],"query":[{"key":"page","value":null,"description":"Pagination"},{"key":"count","value":null,"description":"Number of items to retrieve"},{"key":"all","value":null,"description":"Get all?"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"ID\": 1,\n            \"Title\": \"Free Tier\",\n            \"Description\": \"72 hour response, resolution 14 days.\",\n            \"Weight\": 4.5\n        }\n    ],\n    \"message\": \"Retrieved SLAs\",\n    \"status\": \"success\"\n}"}],"_postman_id":"b9f8ae8b-ee27-4108-affb-beba0277cc48"},{"name":"/api/sla/:id","id":"eee7fd4a-cb99-41b3-b1ef-454f8ae8d397","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"title","value":"","description":"<p>SLA title</p>\n","type":"text"},{"key":"description","value":"","description":"<p>SLA description</p>\n","type":"text"},{"key":"weight","value":"","description":"<p>SLA weight</p>\n","type":"text"}]},"url":"localhost/api/sla/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","sla",":id"],"host":["localhost"],"query":[],"variable":[{"description":{"content":"<p>SLA to edit</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"eee7fd4a-cb99-41b3-b1ef-454f8ae8d397"}],"id":"0435ed8e-1aaf-4159-8f5b-2071443d67ea","_postman_id":"0435ed8e-1aaf-4159-8f5b-2071443d67ea","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}}},{"name":"Ticket","item":[{"name":"/api/ticket","id":"291be5d2-9d36-4cdf-8798-52445031b95a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"subject","value":"Test","description":"<p>Ticket Subject</p>\n","type":"text"},{"key":"body","value":"Hello World","description":"<p>Ticket Request Contents</p>\n","type":"text"},{"key":"categoryid","value":"1","description":"<p>ID of the category to put the ticket in</p>\n","type":"text"},{"key":"affected_person_id","value":"1","description":"<p>Person this ticket is created on behalf of.  Optional, defaults to self.</p>\n","type":"text","disabled":true},{"key":"queueid","value":"1","description":"<p>Which queue should this be placed in?</p>\n","type":"text"},{"key":"slaid","value":"1","description":"<p>Which SLA does this fit into?</p>\n","type":"text"},{"key":"statusid","value":"1","description":"<p>Status?</p>\n","type":"text"}]},"url":"localhost/api/ticket/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","ticket",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"af89c322-93cd-480a-838d-79db27286d0e","name":"/api/ticket","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"subject","value":"Test","description":"Ticket Subject","type":"text"},{"key":"body","value":"Hello World","description":"Ticket Request Contents","type":"text"},{"key":"categoryid","value":"1","description":"ID of the category to put the ticket in","type":"text"},{"key":"affected_person_id","value":"1","description":"Person this ticket is created on behalf of.  Optional, defaults to self.","type":"text","disabled":true},{"key":"queueid","value":"1","description":"Which queue should this be placed in?","type":"text"},{"key":"slaid","value":"1","description":"Which SLA does this fit into?","type":"text"}]},"url":"localhost/api/ticket/"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 09 Oct 2020 23:05:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"263"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"Number\": 1452,\n        \"Message\": \"Cannot add or update a child row: a foreign key constraint fails (`ticketing`.`tickets`, CONSTRAINT `fk_tickets_status` FOREIGN KEY (`status_id`) REFERENCES `statuses` (`id`))\"\n    },\n    \"message\": \"Error creating Ticket\",\n    \"status\": \"error\"\n}"},{"id":"d792eb32-b777-4b74-b870-4836bf594952","name":"/api/ticket","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"subject","value":"","description":"Ticket Subject","type":"text"},{"key":"body","value":"","description":"Ticket Request Contents","type":"text"},{"key":"category","value":"","description":"Category ID","type":"text"}]},"url":"localhost/api/ticket/"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1,\n        \"Subject\": \"Locked out of email :(\",\n        \"Body\": \"Help me, I'm locked out of my email!  **PLEASE HELP**\",\n        \"StatusID\": 1,\n        \"SlaID\": 1,\n        \"QueueID\": 1,\n        \"AffectedPersonID\": 1,\n        \"OwnerID\": 1\n    },\n    \"message\": \"Created Ticket\",\n    \"status\": \"success\"\n}"}],"_postman_id":"291be5d2-9d36-4cdf-8798-52445031b95a"},{"name":"/api/ticket","id":"d8274cbe-d83b-4e6f-8797-b37fc2d65d95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"subject","value":"","description":"<p>Ticket Subject</p>\n","type":"text"},{"key":"body","value":"","description":"<p>Ticket Request Contents</p>\n","type":"text"},{"key":"category","value":"","description":"<p>Category ID</p>\n","type":"text"}]},"url":"localhost/api/ticket/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","ticket",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"a89128eb-9bc6-4415-b9c3-287df9d54834","name":"/api/ticket","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"subject","value":"","description":"Ticket Subject","type":"text"},{"key":"body","value":"","description":"Ticket Request Contents","type":"text"},{"key":"category","value":"","description":"Category ID","type":"text"}]},"url":"localhost/api/ticket/"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1,\n        \"Subject\": \"Locked out of email :(\",\n        \"Body\": \"Help me, I'm locked out of my email!  **PLEASE HELP**\",\n        \"StatusID\": 1,\n        \"SlaID\": 1,\n        \"QueueID\": 1,\n        \"AffectedPersonID\": 1,\n        \"OwnerID\": 1\n    },\n    \"message\": \"Created Ticket\",\n    \"status\": \"success\"\n}"}],"_postman_id":"d8274cbe-d83b-4e6f-8797-b37fc2d65d95"},{"name":"/api/ticket/:id","id":"bb813af6-28ac-4e6d-8d59-0e0ea6875d3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>Ticket to retrieve</p>\n","key":"id","type":"text","value":""}]},"url":"localhost/api/ticket/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","ticket",":id"],"host":["localhost"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"2acc46d5-80a6-45b3-b3c0-e7c8eb946edb","name":"/api/ticket","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"subject","value":"","description":"Ticket Subject","type":"text"},{"key":"body","value":"","description":"Ticket Request Contents","type":"text"},{"key":"category","value":"","description":"Category ID","type":"text"}]},"url":"localhost/api/ticket/"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1,\n        \"Subject\": \"Locked out of email :(\",\n        \"Body\": \"Help me, I'm locked out of my email!  **PLEASE HELP**\",\n        \"StatusID\": 1,\n        \"SlaID\": 1,\n        \"QueueID\": 1,\n        \"AffectedPersonID\": 1,\n        \"OwnerID\": 1\n    },\n    \"message\": \"Created Ticket\",\n    \"status\": \"success\"\n}"}],"_postman_id":"bb813af6-28ac-4e6d-8d59-0e0ea6875d3f"},{"name":"/api/ticket","id":"bbd4b86d-a57b-48d2-9844-2d0196432168","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"localhost/api/ticket/?page=1&count=30","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","ticket",""],"host":["localhost"],"query":[{"description":{"content":"<p>Pagination</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Number of results per response</p>\n","type":"text/plain"},"key":"count","value":"30"}],"variable":[]}},"response":[{"id":"b4ba6d39-a832-40ec-a2d4-d0bead8f737f","name":"/api/ticket","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"subject","value":"","description":"Ticket Subject","type":"text"},{"key":"body","value":"","description":"Ticket Request Contents","type":"text"},{"key":"category","value":"","description":"Category ID","type":"text"}]},"url":"localhost/api/ticket/"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"ID\": 1,\n            \"Subject\": \"Locked out of email :(\",\n            \"Body\": \"Help me, I'm locked out of my email!  **PLEASE HELP**\",\n            \"StatusID\": 1,\n            \"SlaID\": 1,\n            \"QueueID\": 1,\n            \"AffectedPersonID\": 1,\n            \"OwnerID\": 1\n        }\n    ],\n    \"message\": \"Retrieved Tickets\",\n    \"status\": \"success\"\n}"}],"_postman_id":"bbd4b86d-a57b-48d2-9844-2d0196432168"},{"name":"/api/ticket/status/:id","id":"95dd03fd-332d-4dc6-8f1b-4bf6f2d7ff0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"statusid","value":"","description":"<p>Status ID to set</p>\n","type":"text"}]},"url":"localhost/api/ticket/status/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","ticket","status",":id"],"host":["localhost"],"query":[],"variable":[{"description":{"content":"<p>ID of ticket's status to update</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"33f109a9-7c60-46a1-955e-0dabe55369a7","name":"/api/ticket/status/:id","originalRequest":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"statusid","value":"","description":"Status ID to set","type":"text"}]},"url":{"raw":"localhost/api/ticket/status/:id","host":["localhost"],"path":["api","ticket","status",":id"],"variable":[{"key":"id","value":"","description":"ID of ticket's status to update"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1,\n        \"Subject\": \"Locked out of email :(\",\n        \"Body\": \"Help me, I'm locked out of my email!  **PLEASE HELP**\",\n        \"StatusID\": 1,\n        \"SlaID\": 1,\n        \"QueueID\": 1,\n        \"AffectedPersonID\": 1,\n        \"OwnerID\": 1\n    },\n    \"message\": \"Updated Ticket Status\",\n    \"status\": \"success\"\n}"}],"_postman_id":"95dd03fd-332d-4dc6-8f1b-4bf6f2d7ff0b"},{"name":"/api/ticket/queue/:id","id":"868f6cfc-86be-4101-80c7-0b26b2b5897d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"queueid","value":"","description":"<p>Queue to move ticket to</p>\n","type":"text"}]},"url":"localhost/api/ticket/queue/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","ticket","queue",":id"],"host":["localhost"],"query":[],"variable":[{"description":{"content":"<p>Ticket to Update</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"baa63418-e02f-4199-a2cc-b2cedd49fedd","name":"/api/ticket/queue/:id","originalRequest":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"queueid","value":"","description":"Queue to move ticket to","type":"text"}]},"url":{"raw":"localhost/api/ticket/queue/:id","host":["localhost"],"path":["api","ticket","queue",":id"],"variable":[{"key":"id","value":"","description":"Ticket to Update"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1,\n        \"Subject\": \"Locked out of email :(\",\n        \"Body\": \"Help me, I'm locked out of my email!  **PLEASE HELP**\",\n        \"StatusID\": 1,\n        \"SlaID\": 1,\n        \"QueueID\": 1,\n        \"AffectedPersonID\": 1,\n        \"OwnerID\": 1\n    },\n    \"message\": \"Updated Ticket Queue\",\n    \"status\": \"success\"\n}"}],"_postman_id":"868f6cfc-86be-4101-80c7-0b26b2b5897d"},{"name":"/api/ticket/sla/:id","id":"2ca300f8-12cc-4efb-aa4d-dc8e5c84dc0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"slaid","value":"","description":"<p>SLA to move ticket to</p>\n","type":"text"}]},"url":"localhost/api/ticket/sla/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","ticket","sla",":id"],"host":["localhost"],"query":[],"variable":[{"description":{"content":"<p>Ticket to update SLA for</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"08c1e55e-2312-4cf8-8bc6-999323a5677c","name":"/api/ticket/sla/:id","originalRequest":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"slaid","value":"","description":"SLA to move ticket to","type":"text"}]},"url":{"raw":"localhost/api/ticket/sla/:id","host":["localhost"],"path":["api","ticket","sla",":id"],"variable":[{"key":"id","value":"","description":"Ticket to update SLA for"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1,\n        \"Subject\": \"Locked out of email :(\",\n        \"Body\": \"Help me, I'm locked out of my email!  **PLEASE HELP**\",\n        \"StatusID\": 1,\n        \"SlaID\": 1,\n        \"QueueID\": 1,\n        \"AffectedPersonID\": 1,\n        \"OwnerID\": 1\n    },\n    \"message\": \"Updated Ticket SLA\",\n    \"status\": \"success\"\n}"}],"_postman_id":"2ca300f8-12cc-4efb-aa4d-dc8e5c84dc0d"}],"id":"2da8ce35-62e2-45ca-ae42-d98ddd1c2b8f","_postman_id":"2da8ce35-62e2-45ca-ae42-d98ddd1c2b8f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}}},{"name":"Reply","item":[{"name":"/api/reply","id":"b3867632-359f-451b-9082-799d6c972407","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"ticketid","value":"","type":"text","description":"<p>Ticket to reply to</p>\n"},{"key":"Body","value":"","type":"text","description":"<p>Reply contents</p>\n"},{"key":"Internal","value":"","type":"text","description":"<p>Is it only for technicians?</p>\n"}]},"url":"localhost/api/reply/:ticket","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","reply",":ticket"],"host":["localhost"],"query":[],"variable":[{"type":"string","value":"17","key":"ticket"}]}},"response":[{"id":"07ed770f-fbc3-4e21-bc71-fbf870235197","name":"/api/reply","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"ticketid","value":"","type":"text","description":"Ticket to reply to"},{"key":"Body","value":"","type":"text","description":"Reply contents"},{"key":"Internal","value":"","type":"text","description":"Is it only for technicians?"}]},"url":"localhost/api/reply"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1,\n        \"Personid\": 1,\n        \"TicketID\": 1,\n        \"Body\": \"Sally Sells Sea Shells By The Sea Shore\",\n        \"Deleted\": false,\n        \"Internal\": false\n    },\n    \"message\": \"Created Reply\",\n    \"status\": \"success\"\n}"}],"_postman_id":"b3867632-359f-451b-9082-799d6c972407"},{"name":"/api/reply/","id":"b08e05db-6ddc-46c9-8a6f-f8f9c7f25ac7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost/api/reply/:ticketid?page&count","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","reply",":ticketid"],"host":["localhost"],"query":[{"description":{"content":"<p>Pagination</p>\n","type":"text/plain"},"key":"page","value":null},{"description":{"content":"<p>How many replies per page</p>\n","type":"text/plain"},"key":"count","value":null}],"variable":[{"description":{"content":"<p>Ticket ID to filter for</p>\n","type":"text/plain"},"type":"string","value":"","key":"ticketid"}]}},"response":[{"id":"8f08a1b6-aaf6-4101-a63c-e5a66088ceae","name":"/api/reply/","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost/api/reply/:ticketid?page&count","host":["localhost"],"path":["api","reply",":ticketid"],"query":[{"key":"page","value":null,"description":"Pagination"},{"key":"count","value":null,"description":"How many replies per page"}],"variable":[{"key":"ticketid","value":"","description":"Ticket ID to filter for"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"ID\": 1,\n            \"Personid\": 1,\n            \"TicketID\": 1,\n            \"Body\": \"Sally Sells Sea Shells By The Sea Shore\",\n            \"Deleted\": false,\n            \"Internal\": false\n        }\n    ],\n    \"message\": \"Retrieved Replies\",\n    \"status\": \"success\"\n}"}],"_postman_id":"b08e05db-6ddc-46c9-8a6f-f8f9c7f25ac7"},{"name":"/api/reply/:id","id":"6ecc25b8-79e4-466f-9a08-6e1041133192","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost/api/reply/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","reply",":id"],"host":["localhost"],"query":[],"variable":[{"description":{"content":"<p>Reply to get</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"78373c4e-15cb-41b5-bb9e-dbc775c8e7f9","name":"/api/reply/:id","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost/api/reply/:id","host":["localhost"],"path":["api","reply",":id"],"variable":[{"key":"id","value":"","description":"Reply to get"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1,\n        \"Personid\": 1,\n        \"TicketID\": 1,\n        \"Body\": \"Sally Sells Sea Shells By The Sea Shore\",\n        \"Deleted\": false,\n        \"Internal\": false\n    },\n    \"message\": \"Retrieved Reply\",\n    \"status\": \"success\"\n}"}],"_postman_id":"6ecc25b8-79e4-466f-9a08-6e1041133192"},{"name":"/api/reply","id":"45e1b40b-8ea2-44e5-a64a-3559c4d9e06b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"Body","value":"","description":"<p>Reply contents</p>\n","type":"text"},{"key":"Internal","value":"","description":"<p>Is reply for technicians only</p>\n","type":"text"}]},"url":"localhost/api/reply/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","reply",":id"],"host":["localhost"],"query":[],"variable":[{"description":{"content":"<p>Reply to update</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"275a33c0-fd97-4aa4-9c68-0f011d980dd8","name":"/api/reply","originalRequest":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"Body","value":"","description":"Reply contents","type":"text"},{"key":"Internal","value":"","description":"Is reply for technicians only","type":"text"}]},"url":{"raw":"localhost/api/reply/:id","host":["localhost"],"path":["api","reply",":id"],"variable":[{"key":"id","value":"","description":"Reply to update"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1,\n        \"Personid\": 1,\n        \"TicketID\": 1,\n        \"Body\": \"Sally Sells Sea Shells By The Sea Shore\",\n        \"Deleted\": false,\n        \"Internal\": false\n    },\n    \"message\": \"Updated Reply\",\n    \"status\": \"success\"\n}"}],"_postman_id":"45e1b40b-8ea2-44e5-a64a-3559c4d9e06b"},{"name":"/api/reply/ticket/:id","id":"14eb91e8-ec1f-4f38-a12f-89de223bec2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"ticketid","value":"","description":"<p>Ticket to move reply to</p>\n","type":"text"}]},"url":"localhost/api/reply/ticket/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}},"urlObject":{"path":["api","reply","ticket",":id"],"host":["localhost"],"query":[],"variable":[{"description":{"content":"<p>Reply ID to move</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"0bfd2cea-50ff-44a8-8ad0-2eced06ba62c","name":"/api/reply/ticket/:id","originalRequest":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"ticketid","value":"","description":"Ticket to move reply to","type":"text"}]},"url":{"raw":"localhost/api/reply/ticket/:id","host":["localhost"],"path":["api","reply","ticket",":id"],"variable":[{"key":"id","value":"","description":"Reply ID to move"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ID\": 1,\n        \"Personid\": 1,\n        \"TicketID\": 1,\n        \"Body\": \"Sally Sells Sea Shells By The Sea Shore\",\n        \"Deleted\": false,\n        \"Internal\": false\n    },\n    \"message\": \"Moved Reply\",\n    \"status\": \"success\"\n}"}],"_postman_id":"14eb91e8-ec1f-4f38-a12f-89de223bec2f"}],"id":"53824c9d-db7f-426a-bce9-13cf7ecc515e","event":[{"listen":"prerequest","script":{"id":"7c68f382-a4eb-4718-a31c-0519df52faeb","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"bd173ebb-62a2-41c4-b41a-3b54fb688d28","type":"text/javascript","exec":[""]}}],"_postman_id":"53824c9d-db7f-426a-bce9-13cf7ecc515e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}}},{"name":"Admin","item":[],"id":"d513aedf-4d65-48e9-969d-1103ec86b6e5","event":[{"listen":"prerequest","script":{"id":"1a96e88c-88d1-45c7-bf65-cc49a9ac85fb","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ca2e8625-9519-4918-8f6d-759d728f1852","type":"text/javascript","exec":[""]}}],"_postman_id":"d513aedf-4d65-48e9-969d-1103ec86b6e5","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":true,"source":{"_postman_id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","id":"6360a9c3-f554-49c1-852c-cf95939e4d7b","name":"Hydrogen","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]}},"event":[{"listen":"prerequest","script":{"id":"2a15acae-875d-4bb3-9c68-51e1fa9bc7dd","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"443eb925-54c7-426a-a4f5-49e0a8e9fe4c","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"localhost"},{"key":"port","value":"8085"},{"key":"username","value":"admintest"},{"key":"password","value":"c0v@l3nt"},{"key":"LAST_POST_CATEGORY_ID","value":"1"},{"key":"LAST_POST_CATEGORY_ID","value":""},{"key":"LAST_POST_SLA_ID","value":""},{"key":"LAST_POST_STATUS_ID","value":""},{"key":"LAST_POST_QUEUE_ID","value":""}]}