{"info":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","description":"<html><head></head><body><p>All of eTRONS APIs documented in one place.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"34328174","collectionId":"89ee0fd8-025e-4e8c-94df-96b04d71143b","publishedId":"2sB3Wjy3XW","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-10-24T01:47:58.000Z"},"item":[{"name":"Workspace Domain","item":[{"name":"core","item":[{"name":"Create Workspace","event":[{"listen":"test","script":{"id":"7a8b6597-51af-4d53-9cbf-f8e04b3151a8","exec":["pm.test(\"Response status code is 200\", function () {\r","    pm.expect(pm.response.code).to.equal(200);\r","});\r","\r","\r","pm.test(\"Response time is less than 200ms\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(200);\r","});\r","\r","\r","pm.test(\"Response has the required fields\", function () {\r","    const responseData = pm.response.json();\r","    \r","    pm.expect(responseData).to.be.an('object');\r","    pm.expect(responseData).to.have.all.keys('workspaceId', 'name', 'location', 'description', 'ownerId', 'createdAt', 'updatedAt');\r","});\r","\r","\r","pm.test(\"Validate that createdAt and updatedAt fields are in a valid date format\", function () {\r","    const responseData = pm.response.json();\r","    \r","    pm.expect(responseData).to.be.an('object');\r","    \r","    const dateFormatRegex = /^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$/;\r","\r","    pm.expect(responseData.createdAt).to.match(dateFormatRegex, \"createdAt is not in a valid date format\");\r","    pm.expect(responseData.updatedAt).to.match(dateFormatRegex, \"updatedAt is not in a valid date format\");\r","});\r","\r","\r","pm.test(\"The name must be a non-empty string\", function () {\r","    const responseData = pm.response.json();\r","    \r","    pm.expect(responseData).to.be.an('object');\r","    pm.expect(responseData.name).to.exist.and.to.be.a('string').and.to.have.lengthOf.at.least(1, \"Value should not be empty\");\r","});\r",""],"type":"text/javascript","packages":{}}}],"id":"fd6ffb42-6f91-48ce-8c8d-04d8ee3a462d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"name\": \"The Workspace\", \"location\": \"Crown St\", \"description\": \"Workspace for design team\"}","options":{"raw":{"language":"json"}}},"url":"{{baseWorkspaceUrl}}","urlObject":{"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fd6ffb42-6f91-48ce-8c8d-04d8ee3a462d"},{"name":"Update Workspace","id":"89a13d13-99de-4b66-a41b-9239eb6b840a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\"name\": \"Bank\", \"location\": \"Crown St\", \"description\": \"Workspace for the bank\"}","options":{"raw":{"language":"json"}}},"url":"{{baseWorkspaceUrl}}/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":[""],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"89a13d13-99de-4b66-a41b-9239eb6b840a"},{"name":"Get Workspace","id":"7e3614ff-2cfa-45f8-9f91-b23b87ebe33e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseWorkspaceUrl}}/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":[""],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7e3614ff-2cfa-45f8-9f91-b23b87ebe33e"},{"name":"Get Workspace By UserId","event":[{"listen":"test","script":{"id":"48a95c92-d3b9-4b00-8609-d3fa77172999","exec":["pm.test(\"Status code is 200\", function () {\r","    pm.expect(pm.response.code).to.equal(200);\r","});\r","\r","pm.test(\"Response time is less than 200ms\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(200);\r","});\r","\r","pm.test(\"Response has Content-Type header\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.exist;\r","});\r","\r","pm.test(\"Response body is a valid JSON\", function () {\r","    pm.expect(() => pm.response.json()).to.not.throw();\r","});\r",""],"type":"text/javascript","packages":{}}}],"id":"f7f4266e-dcba-45e3-87e3-2eec135c52bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseWorkspaceUrl}}/users/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["users",""],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f7f4266e-dcba-45e3-87e3-2eec135c52bf"},{"name":"Transfer Ownership","event":[{"listen":"test","script":{"id":"d0f95c9e-09fb-433f-b58e-6506173a3aae","exec":["pm.test(\"Status code is 200\", function () {\r","    pm.expect(pm.response.code).to.equal(200);\r","});\r","\r","// Validate response structure\r","pm.test(\"Response should be a JSON object\", function () {\r","    pm.expect(pm.response.json()).to.be.an('object');\r","});\r","\r","// Check for specific properties in the response\r","pm.test(\"Response should contain 'success' property\", function () {\r","    const responseJson = pm.response.json();\r","    pm.expect(responseJson).to.have.property('success');\r","});\r","\r","// Check if the 'success' property is true\r","pm.test(\"Success property should be true\", function () {\r","    const responseJson = pm.response.json();\r","    pm.expect(responseJson.success).to.equal(true);\r","});\r",""],"type":"text/javascript","packages":{}}}],"id":"6b04e3e6-8918-46a9-b041-19573e0360ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{baseWorkspaceUrl}}//transfer/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["","transfer",""],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6b04e3e6-8918-46a9-b041-19573e0360ff"},{"name":"Get Default Permissions","id":"110c5657-cefa-4075-843c-480cd14eeafb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseWorkspaceUrl}}/permissions","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["permissions"],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"110c5657-cefa-4075-843c-480cd14eeafb"}],"id":"cc0815c4-e175-43d4-b4ec-004c6d5d50fe","_postman_id":"cc0815c4-e175-43d4-b4ec-004c6d5d50fe","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}}},{"name":"invites","item":[{"name":"Invite User","event":[{"listen":"test","script":{"id":"c9e76479-70d6-49e8-9bb7-0f602fdbd114","exec":["pm.test(\"Response status code is 200\", function () {\r","    pm.expect(pm.response.code).to.equal(200);\r","});\r","\r","pm.test(\"Response time is less than 500ms\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(500);\r","});\r","\r","\r","pm.test(\"Response has a valid JSON schema\", function () {\r","    const responseData = pm.response.json();\r","    \r","    pm.expect(responseData).to.be.an('object');\r","});\r","\r","\r","pm.test(\"Response includes inviteId field\", function () {\r","    const responseData = pm.response.json();\r","    \r","    pm.expect(responseData).to.be.an('object');\r","    pm.expect(responseData).to.have.property('inviteId');\r","});"],"type":"text/javascript","packages":{}}}],"id":"e25f22f5-97c1-40f5-b7a7-13cbad487f03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{ \"email\": \"user2@test.com\", \"roleId\": \"783f2f6a-e94c-422f-8690-36c5c74a9b0b\" }\r\n","options":{"raw":{"language":"json"}}},"url":"{{baseWorkspaceUrl}}//invites","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["","invites"],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e25f22f5-97c1-40f5-b7a7-13cbad487f03"},{"name":"Cancel All Invites For Email","event":[{"listen":"test","script":{"id":"e19c40ce-a73f-453e-ab71-91f5912eb083","exec":["// Test for status code\r","pm.test(\"Status code is 200\", function () {\r","    pm.expect(pm.response.code).to.equal(200);\r","});\r","\r","// Test for response time\r","pm.test(\"Response time is less than 300ms\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(300);\r","});\r","\r","// Test for response body structure\r","pm.test(\"Response body has the correct structure\", function () {\r","    const response = pm.response.json();\r","    pm.expect(response).to.have.property('message');\r","    pm.expect(response.message).to.be.a('string');\r","    pm.expect(response.message).to.equal(\"Invites cancelled\");\r","});\r","\r","// Test for Content-Type header\r","pm.test(\"Content-Type is application/json\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.equal(\"application/json\");\r","});\r",""],"type":"text/javascript","packages":{}}}],"id":"97b20bae-6536-4946-a0a1-3c424072f44d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{baseWorkspaceUrl}}/invites/email","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["invites","email"],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"97b20bae-6536-4946-a0a1-3c424072f44d"},{"name":"Cancel Invite","event":[{"listen":"test","script":{"id":"227ce987-6846-46fa-b21a-97a74d259568","exec":["const response = pm.response.json();\r","\r","// Test for status code\r","pm.test(\"Status code is 200\", function () {\r","    pm.expect(pm.response.code).to.equal(200);\r","});\r","\r","// Test for response structure\r","pm.test(\"Response has message property\", function () {\r","    pm.expect(response).to.have.property(\"message\");\r","});\r","\r","// Test for message property type\r","pm.test(\"Message is a string\", function () {\r","    pm.expect(response.message).to.be.a(\"string\");\r","});\r","\r","// Test for specific message content\r","pm.test(\"Message content is correct\", function () {\r","    pm.expect(response.message).to.equal(\"Invite cancelled\");\r","});\r",""],"type":"text/javascript","packages":{}}}],"id":"565234de-83f5-43f4-9382-fe66983c22b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{baseWorkspaceUrl}}//invites/543545","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["","invites","543545"],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"565234de-83f5-43f4-9382-fe66983c22b2"},{"name":"Get Invite","event":[{"listen":"test","script":{"id":"88c7a848-8e0f-419a-8dda-5f56a0fdf1ae","exec":["const response = pm.response.json();\r","\r","// Test for status code\r","pm.test(\"Status code is 200\", function () {\r","    pm.expect(pm.response.code).to.equal(200);\r","});\r","\r","// Test for response structure and properties\r","pm.test(\"Response should have required properties\", function () {\r","    pm.expect(response).to.have.all.keys('expireAt', 'inviteId', 'status', 'createdAt', 'email', 'roleId', 'type', 'workspaceId');\r","});\r","\r","// Test for data types of properties\r","pm.test(\"Property types are correct\", function () {\r","    pm.expect(response.expireAt).to.be.a('number');\r","    pm.expect(response.inviteId).to.be.a('string');\r","    pm.expect(response.status).to.be.a('string');\r","    pm.expect(response.createdAt).to.be.a('string');\r","    pm.expect(response.email).to.be.a('string');\r","    pm.expect(response.roleId).to.be.a('string');\r","    pm.expect(response.type).to.be.a('string');\r","    pm.expect(response.workspaceId).to.be.a('string');\r","});\r","\r","// Test for response headers\r","pm.test(\"Content-Type header is application/json\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.equal(\"application/json\");\r","});\r",""],"type":"text/javascript","packages":{}}}],"id":"aa54b366-93bb-4316-9aa6-5a431343fae5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseWorkspaceUrl}}//invites/543545","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["","invites","543545"],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"aa54b366-93bb-4316-9aa6-5a431343fae5"},{"name":"Get Sent Invites","event":[{"listen":"test","script":{"id":"c21344ea-bfc3-4a1b-9a54-be2d9bff89fd","exec":["const response = pm.response.json();\r","\r","// Test for status code\r","pm.test(\"Status code is 200\", function () {\r","    pm.expect(pm.response.code).to.equal(200);\r","});\r","\r","// Test for response structure\r","pm.test(\"Response is an array\", function () {\r","    pm.expect(response).to.be.an('array');\r","});\r","\r","// Loop through each invite object in the response array\r","response.forEach((invite) => {\r","    pm.test(\"Invite object has required properties\", function () {\r","        pm.expect(invite).to.have.all.keys('expireAt', 'inviteId', 'status', 'createdAt', 'email', 'roleId', 'type', 'workspaceId');\r","    });\r","\r","    pm.test(\"Invite properties have correct types\", function () {\r","        pm.expect(invite.expireAt).to.be.a('number');\r","        pm.expect(invite.inviteId).to.be.a('string');\r","        pm.expect(invite.status).to.be.a('string');\r","        pm.expect(invite.createdAt).to.be.a('string');\r","        pm.expect(invite.email).to.be.a('string');\r","        pm.expect(invite.roleId).to.be.a('string');\r","        pm.expect(invite.type).to.be.a('string');\r","        pm.expect(invite.workspaceId).to.be.a('string');\r","    });\r","});\r",""],"type":"text/javascript","packages":{}}}],"id":"2aff0769-0faa-451d-8f55-5c7427b3563b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseWorkspaceUrl}}//invites","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["","invites"],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2aff0769-0faa-451d-8f55-5c7427b3563b"}],"id":"91d16b2d-bf0e-47f8-8424-bda9ec804af8","_postman_id":"91d16b2d-bf0e-47f8-8424-bda9ec804af8","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}}},{"name":"roles","item":[{"name":"Create Role","event":[{"listen":"test","script":{"id":"658c31aa-5c4a-472e-ac01-25b05fc195c3","exec":["// Test for status code\r","pm.test(\"Status code is 200\", function () {\r","    pm.expect(pm.response.code).to.equal(200);\r","});\r","\r","// Test for response structure\r","pm.test(\"Response has expected properties\", function () {\r","    const response = pm.response.json();\r","    pm.expect(response).to.have.all.keys(\"workspaceId\", \"roleId\", \"name\", \"permissions\", \"createdAt\", \"updatedAt\");\r","});\r","\r","// Test for data types\r","pm.test(\"Response properties have correct data types\", function () {\r","    const response = pm.response.json();\r","    pm.expect(response.workspaceId).to.be.a('string');\r","    pm.expect(response.roleId).to.be.a('string');\r","    pm.expect(response.name).to.be.a('string');\r","    pm.expect(response.permissions).to.be.an('object');\r","    pm.expect(response.createdAt).to.be.a('string');\r","    pm.expect(response.updatedAt).to.be.a('string');\r","});\r","\r","// Test for Content-Type header\r","pm.test(\"Content-Type is application/json\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\r","});\r",""],"type":"text/javascript","packages":{}}}],"id":"316c1b09-63f9-48d4-85a9-a90a0c38bcca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{ \"name\": \"Test Role\" }","options":{"raw":{"language":"json"}}},"url":"{{baseWorkspaceUrl}}//roles","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["","roles"],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"316c1b09-63f9-48d4-85a9-a90a0c38bcca"},{"name":"Update Role","event":[{"listen":"test","script":{"id":"a2bd0a6f-e65a-4092-9b45-a77b4d3527dd","exec":["// Check if the response status code is 200\r","pm.test(\"Status code is 200\", function () {\r","    pm.expect(pm.response.code).to.equal(200);\r","});\r","\r","// Parse the JSON response\r","const response = pm.response.json();\r","\r","// Test for the presence and type of the 'createdAt' field\r","pm.test(\"Response has 'createdAt' field\", function () {\r","    pm.expect(response.createdAt).to.exist;\r","    pm.expect(response.createdAt).to.be.a('string');\r","});\r","\r","// Test for the presence and type of the 'name' field\r","pm.test(\"Response has 'name' field\", function () {\r","    pm.expect(response.name).to.exist;\r","    pm.expect(response.name).to.be.a('string');\r","});\r","\r","// Test for the presence and type of the 'updatedAt' field\r","pm.test(\"Response has 'updatedAt' field\", function () {\r","    pm.expect(response.updatedAt).to.exist;\r","    pm.expect(response.updatedAt).to.be.a('string');\r","});\r","\r","// Test for the presence and type of the 'permissions' field\r","pm.test(\"Response has 'permissions' field\", function () {\r","    pm.expect(response.permissions).to.exist;\r","    pm.expect(response.permissions).to.be.an('object');\r","});\r","\r","// Test for the presence and type of the 'workspaceId' field\r","pm.test(\"Response has 'workspaceId' field\", function () {\r","    pm.expect(response.workspaceId).to.exist;\r","    pm.expect(response.workspaceId).to.be.a('string');\r","});\r","\r","// Test for the presence and type of the 'roleId' field\r","pm.test(\"Response has 'roleId' field\", function () {\r","    pm.expect(response.roleId).to.exist;\r","    pm.expect(response.roleId).to.be.a('string');\r","});\r",""],"type":"text/javascript","packages":{}}}],"id":"8ed0519b-35cd-4c03-b791-d0f220c7f0c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{ \"name\": \"Test Role 2\", \"permissions\": {} }","options":{"raw":{"language":"json"}}},"url":"{{baseWorkspaceUrl}}//roles/66","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["","roles","66"],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8ed0519b-35cd-4c03-b791-d0f220c7f0c9"},{"name":"Delete Role","id":"e0f33aa5-24e5-4e2b-8b00-f9bcc9005b07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{baseWorkspaceUrl}}//roles/66","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["","roles","66"],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e0f33aa5-24e5-4e2b-8b00-f9bcc9005b07"},{"name":"Get Role","id":"e3cc023a-2fb3-4caf-879c-5eaafea80cb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseWorkspaceUrl}}//roles/66","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["","roles","66"],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e3cc023a-2fb3-4caf-879c-5eaafea80cb6"},{"name":"Get All Roles","id":"2935246b-680b-4d14-8048-17f78e368f1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseWorkspaceUrl}}//roles","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["","roles"],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2935246b-680b-4d14-8048-17f78e368f1d"}],"id":"218360a7-05b3-4b77-82f8-9b2884f6d624","_postman_id":"218360a7-05b3-4b77-82f8-9b2884f6d624","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}}},{"name":"users","item":[{"name":"Add User","id":"05913cc2-7174-4fba-b0bc-0a0846b5516c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{baseWorkspaceUrl}}//users/invites/543545","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["","users","invites","543545"],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"05913cc2-7174-4fba-b0bc-0a0846b5516c"},{"name":"Update User","id":"31498f69-e47b-43e4-9c4a-fc06fb8518fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{baseWorkspaceUrl}}//users/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["","users",""],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"31498f69-e47b-43e4-9c4a-fc06fb8518fc"},{"name":"Get User","id":"1b8059d2-4d05-4c7c-981d-277d359813a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseWorkspaceUrl}}//users/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["","users",""],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1b8059d2-4d05-4c7c-981d-277d359813a5"},{"name":"Get All Users","id":"6447235f-2265-4b38-92cf-8e12a9cca7cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseWorkspaceUrl}}//users","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["","users"],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6447235f-2265-4b38-92cf-8e12a9cca7cb"}],"id":"b0244ef4-62eb-44a1-a391-b82701d68d81","_postman_id":"b0244ef4-62eb-44a1-a391-b82701d68d81","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}}},{"name":"boards","item":[{"name":"Create Board","id":"cf95adc5-0671-4a2d-8276-ed469862e8b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"name\": \"Board 1\", \"isDashboard\": false, \"config\": []}","options":{"raw":{"language":"json"}}},"url":"{{baseWorkspaceUrl}}//boards","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["","boards"],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cf95adc5-0671-4a2d-8276-ed469862e8b3"},{"name":"Update Board","id":"fa22818f-3afb-4857-8995-2d4ed749752b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\"name\": \"Board 1.5\", \"isDashboard\": true, \"config\": [], \"isThumbnailUpdated\": true}","options":{"raw":{"language":"json"}}},"url":"{{baseWorkspaceUrl}}//boards/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["","boards",""],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fa22818f-3afb-4857-8995-2d4ed749752b"},{"name":"Get Board","id":"55f8ed68-acfd-4d3b-9a1c-95dd41872eb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseWorkspaceUrl}}//boards/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["","boards",""],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"55f8ed68-acfd-4d3b-9a1c-95dd41872eb7"},{"name":"Get Boards","id":"5e01d280-1e8c-49e8-a348-117a3e4561ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseWorkspaceUrl}}//boards","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["","boards"],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5e01d280-1e8c-49e8-a348-117a3e4561ed"},{"name":"Delete Board","id":"6ef10c12-9956-4972-842b-acd3744eead5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\"name\": \"Board 1.5\", \"isDashboard\": true, \"config\": []}"},"url":"{{baseWorkspaceUrl}}//boards/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["","boards",""],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6ef10c12-9956-4972-842b-acd3744eead5"}],"id":"908489b4-8ba7-41ad-a4a9-f46418364ab2","_postman_id":"908489b4-8ba7-41ad-a4a9-f46418364ab2","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}}},{"name":"modules","item":[{"name":"Install Module","id":"76f36dd9-5a69-443f-b2de-4ba42bb0be56","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{baseWorkspaceUrl}}//modules/day_book","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["","modules","day_book"],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"76f36dd9-5a69-443f-b2de-4ba42bb0be56"},{"name":"Uninstall Module","id":"742c30a6-1fc6-47b6-8f8f-45b404d969f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{baseWorkspaceUrl}}//modules/day_book","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["","modules","day_book"],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"742c30a6-1fc6-47b6-8f8f-45b404d969f8"},{"name":"Toggle Module","id":"c513301c-28c0-4ffe-ba65-9b809b45fd45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{baseWorkspaceUrl}}//modules/day_book/toggle","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["","modules","day_book","toggle"],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c513301c-28c0-4ffe-ba65-9b809b45fd45"},{"name":"Get Installed Modules","id":"b376f511-743f-4891-a068-480bc8d7e200","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseWorkspaceUrl}}//modules/installed","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["","modules","installed"],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b376f511-743f-4891-a068-480bc8d7e200"},{"name":"Get Uninstalled Modules","id":"8929613c-f267-4538-aa83-a92d039e7f79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseWorkspaceUrl}}//modules/uninstalled","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":["","modules","uninstalled"],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8929613c-f267-4538-aa83-a92d039e7f79"}],"id":"651d1f5a-7c8c-49d6-a15f-e57df0fe48e6","_postman_id":"651d1f5a-7c8c-49d6-a15f-e57df0fe48e6","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}}},{"name":"remover","item":[{"name":"Delete Workspace","event":[{"listen":"test","script":{"id":"94443956-b80d-4ed4-9c8a-254cfa2dc9a0","exec":["pm.test(\"Status code is 200\", function () {\r","    pm.expect(pm.response.code).to.equal(200);\r","});\r","\r","pm.test(\"Response should contain a success message\", function () {\r","    const responseJson = pm.response.json();\r","    pm.expect(responseJson).to.have.property('message');\r","    pm.expect(responseJson.message).to.be.a('string').that.is.not.empty;\r","});\r",""],"type":"text/javascript","packages":{}}}],"id":"98ab7c4d-9acc-4035-a225-b96525fc7e09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{baseWorkspaceUrl}}/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}},"urlObject":{"path":[""],"host":["{{baseWorkspaceUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"98ab7c4d-9acc-4035-a225-b96525fc7e09"}],"id":"7fb594db-0c18-4c7b-8619-50fd783b45f5","_postman_id":"7fb594db-0c18-4c7b-8619-50fd783b45f5","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","name":"Workspace Domain","type":"folder"}}}],"id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"c76d5cb8-6ffc-442d-954a-063166f5af55","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"9d6da04e-b8ce-4b43-9458-3ba8ebadcdef","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"e4d7d1c3-dc9e-404f-955e-a23d092b74e7","description":""},{"name":"User Domain","item":[{"name":"core","item":[{"name":"Update User","id":"eb5235dc-b546-41d2-8e97-98b614845586","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"given_name\": \"Rhys\",\r\n  \"family_name\": \"Cleary\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://fdu8nk6p24.execute-api.ap-southeast-2.amazonaws.com/Prod/user//workspace/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["","workspace",""],"host":["https://fdu8nk6p24.execute-api.ap-southeast-2.amazonaws.com/Prod/user"],"query":[],"variable":[]}},"response":[],"_postman_id":"eb5235dc-b546-41d2-8e97-98b614845586"}],"id":"2b7cf137-953e-4dc4-b609-1e992d2ce800","_postman_id":"2b7cf137-953e-4dc4-b609-1e992d2ce800","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}}},{"name":"invites","item":[{"name":"Get Users Invites","id":"9983be6a-3932-47f3-b6da-25c89d250c0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"9983be6a-3932-47f3-b6da-25c89d250c0d"}],"id":"de336875-25e1-4e45-bc58-94a43ea3a096","_postman_id":"de336875-25e1-4e45-bc58-94a43ea3a096","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}}}],"id":"3b0d5e53-d21f-4c9e-a368-8156db46d7e4","_postman_id":"3b0d5e53-d21f-4c9e-a368-8156db46d7e4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}}},{"name":"Modules","item":[{"name":"Day Book","item":[{"name":"Data Sources","item":[{"name":"Create Remote Data Source","event":[{"listen":"test","script":{"id":"41e25a39-9f77-4d53-95c2-5bc661b30f74","exec":["// Check if the response status code is 200\r","pm.test(\"Status code is 200\", function () {\r","    pm.expect(pm.response.code).to.equal(200);\r","});\r","\r","// Parse the response body\r","const response = pm.response.json();\r","\r","// Validate the response structure\r","pm.test(\"Response has required properties\", function () {\r","    pm.expect(response).to.have.all.keys(\"workspaceId\", \"dataSourceId\", \"status\", \"createdAt\", \"lastUpdate\");\r","});\r","\r","// Validate the types of the properties\r","pm.test(\"Validate property types\", function () {\r","    pm.expect(response.workspaceId).to.be.a('string');\r","    pm.expect(response.dataSourceId).to.be.a('string');\r","    pm.expect(response.status).to.be.a('string');\r","    pm.expect(response.createdAt).to.be.a('string');\r","    pm.expect(response.lastUpdate).to.be.a('string');\r","});\r","\r","// Check that the content-type is application/json\r","pm.test(\"Content-Type is application/json\", function () {\r","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\r","});\r",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"9fe67e88-2456-460a-a217-2fa5ad98d819","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"workspaceId\": \"a00cd77f-4a7e-4a50-bf3d-d3cc95c267e8\", \"name\": \"Data Source 1\", \"sourceType\": \"api\", \"method\": \"extend\", \"expiry\": \"\", \"config\": {\"endpoint\": \"http://mbox.int.micromax.com.au:2900/balances\", \"authType\": \"apiKey\"}, \"secrets\": {\"apiKey\": \"zzcKW4019!y\"}}","options":{"raw":{"language":"json"}}},"url":"{{baseDataSourceURL}}/remote","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["remote"],"host":["{{baseDataSourceURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9fe67e88-2456-460a-a217-2fa5ad98d819"},{"name":"Create Local Data Source","id":"12aa92a5-7ff7-4a6a-bfa7-26863fa01bfd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"workspaceId\": \"d91a2166-d1f1-4c84-ac36-b7b610efb088\", \"name\": \"Data Source 1\", \"sourceType\": \"local-csv\", \"method\": \"extend\", \"expiry\": \"\"}","options":{"raw":{"language":"json"}}},"url":"{{baseDataSourceURL}}/local","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["local"],"host":["{{baseDataSourceURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"12aa92a5-7ff7-4a6a-bfa7-26863fa01bfd"},{"name":"Test Connection","id":"2db269c7-dde3-4fbe-a198-917814edd0a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"sourceType\": \"api\", \"config\": {}, \"secrets\": {}}","options":{"raw":{"language":"json"}}},"url":"{{baseDataSourceURL}}/test-connection","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["test-connection"],"host":["{{baseDataSourceURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2db269c7-dde3-4fbe-a198-917814edd0a8"},{"name":"Remote Preview","id":"dc655038-7545-4812-af24-6c7004c7759b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"sourceType\": \"api\", \"config\": {\"endpoint\": \"https://moray-advanced-thoroughly.ngrok-free.app/items\"}, \"secrets\": {}}","options":{"raw":{"language":"json"}}},"url":"{{baseDataSourceURL}}/preview/remote","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["preview","remote"],"host":["{{baseDataSourceURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dc655038-7545-4812-af24-6c7004c7759b"},{"name":"Update Data Source","id":"633ca1b8-d905-4f61-a678-e598e27b354b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\"workspaceId\": \"dda4d93e-9b74-4744-9ad4-b2802f2562c6\", \"dataSourceId\": \"03de1983-f8fd-45e8-9242-b64cd63f2fb7\", \"name\": \"Data Source Updated 1\", \"sourceType\": \"local-csv\", \"method\": \"extend\", \"expiry\": \"\"}","options":{"raw":{"language":"json"}}},"url":"{{baseDataSourceURL}}/5454","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["5454"],"host":["{{baseDataSourceURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"633ca1b8-d905-4f61-a678-e598e27b354b"},{"name":"Get Data Source","event":[{"listen":"test","script":{"id":"f206ba8a-0921-4cdb-bb45-79f22b061f54","exec":["// Check the response status code\r","pm.test(\"Status code is 200\", function () {\r","    pm.expect(pm.response.code).to.equal(200);\r","});\r","\r","// Parse the response body\r","const response = pm.response.json();\r","\r","// Validate response properties\r","pm.test(\"Response has the necessary properties\", function () {\r","    pm.expect(response).to.have.all.keys(\"createdAt\", \"lastUpdate\", \"workspaceId\", \"status\", \"dataSourceId\", \"dataSourceSecrets\");\r","});\r","\r","// Validate the types of specific properties\r","pm.test(\"Response properties have correct types\", function () {\r","    pm.expect(response.createdAt).to.be.a('string');\r","    pm.expect(response.lastUpdate).to.be.a('string');\r","    pm.expect(response.workspaceId).to.be.a('string');\r","    pm.expect(response.status).to.be.a('string');\r","    pm.expect(response.dataSourceId).to.be.a('string');\r","});\r",""],"type":"text/javascript","packages":{}}}],"id":"9a38c675-4b66-4a6f-ae2c-fe196bb6c8c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseDataSourceURL}}/5454?workspaceId=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["5454"],"host":["{{baseDataSourceURL}}"],"query":[{"key":"workspaceId","value":""}],"variable":[]}},"response":[],"_postman_id":"9a38c675-4b66-4a6f-ae2c-fe196bb6c8c3"},{"name":"Get Data Sources","event":[{"listen":"test","script":{"id":"c0ebb7bb-47b9-4845-ba85-7cbe007dd8af","exec":["const response = pm.response.json();\r","\r","// Test for the status code\r","pm.test(\"Status code is 200\", function () {\r","    pm.expect(pm.response.code).to.equal(200);\r","});\r","\r","// Test for the response structure\r","pm.test(\"Response is an array\", function () {\r","    pm.expect(response).to.be.an(\"array\");\r","});\r","\r","// Loop through each item in the response array\r","response.forEach(item => {\r","    pm.test(\"Each item has the required properties\", function () {\r","        pm.expect(item).to.have.all.keys(\"createdAt\", \"lastUpdate\", \"workspaceId\", \"status\", \"dataSourceId\", \"secrets\");\r","    });\r","\r","    pm.test(\"createdAt and lastUpdate are valid ISO dates\", function () {\r","        pm.expect(new Date(item.createdAt)).to.be.a(\"date\").that.is.not.NaN;\r","        pm.expect(new Date(item.lastUpdate)).to.be.a(\"date\").that.is.not.NaN;\r","    });\r","\r","    pm.test(\"workspaceId and dataSourceId are valid UUIDs\", function () {\r","        const uuidRegex = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;\r","        pm.expect(item.workspaceId).to.match(uuidRegex);\r","        pm.expect(item.dataSourceId).to.match(uuidRegex);\r","    });\r","\r","    pm.test(\"status is 'active'\", function () {\r","        pm.expect(item.status).to.equal(\"active\");\r","    });\r","\r","    pm.test(\"secrets is an object\", function () {\r","        pm.expect(item.secrets).to.be.an(\"object\");\r","    });\r","});\r",""],"type":"text/javascript","packages":{}}}],"id":"4c28e466-5bcd-472f-8ba7-3cbacd85f571","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseDataSourceURL}}?workspaceId=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"host":["{{baseDataSourceURL}}"],"query":[{"key":"workspaceId","value":""}],"variable":[]}},"response":[],"_postman_id":"4c28e466-5bcd-472f-8ba7-3cbacd85f571"},{"name":"Get Upload Url","id":"8e8ff98f-4e79-4b0f-a318-652173ecc0f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseDataSourceURL}}/5454/upload?workspaceId=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["5454","upload"],"host":["{{baseDataSourceURL}}"],"query":[{"key":"workspaceId","value":""}],"variable":[]}},"response":[],"_postman_id":"8e8ff98f-4e79-4b0f-a318-652173ecc0f8"},{"name":"View Data","id":"310e98d7-e84b-4101-8145-47b8357810b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseDataSourceURL}}/5454/view-data?workspaceId=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["5454","view-data"],"host":["{{baseDataSourceURL}}"],"query":[{"key":"workspaceId","value":""}],"variable":[]}},"response":[],"_postman_id":"310e98d7-e84b-4101-8145-47b8357810b5"},{"name":"Remove Data Source","event":[{"listen":"test","script":{"id":"19dc471a-e1da-444a-805f-caa6a7efe355","exec":["pm.test(\"Status code is 200\", function () {\r","    pm.expect(pm.response.code).to.equal(200);\r","});\r","\r","pm.test(\"Response contains success message\", function () {\r","    const response = pm.response.json();\r","    pm.expect(response.message).to.exist;\r","    pm.expect(response.message).to.include(\"success\");\r","});\r",""],"type":"text/javascript","packages":{}}}],"id":"f153bffe-0688-49ab-87eb-ba1c8bef3c4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{baseDataSourceURL}}/5454?workspaceId=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["5454"],"host":["{{baseDataSourceURL}}"],"query":[{"key":"workspaceId","value":""}],"variable":[]}},"response":[],"_postman_id":"f153bffe-0688-49ab-87eb-ba1c8bef3c4e"},{"name":"Update Data","id":"3b1a1d7d-546d-4af1-9872-36bdad4c3b98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\"workspaceId\": \"d91a2166-d1f1-4c84-ac36-b7b610efb088\", \"updates\": [{\"rowId\": \"61b567df-a6c4-4436-875b-cab3440b2c34\", \"timestamp\": \"2025-10-15T00:57:52.574Z\", \"Name\": \"Bob\", \"Age\": 14, \"Height_cm\": 165, \"Weight_kg\": 60, \"Score\": 90}], \"partitionField\": \"timestamp\"}","options":{"raw":{"language":"json"}}},"url":"{{baseDataSourceURL}}/5454/update-data","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["5454","update-data"],"host":["{{baseDataSourceURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3b1a1d7d-546d-4af1-9872-36bdad4c3b98"}],"id":"5100db78-b33f-4faf-b1d8-ca1038c77d72","_postman_id":"5100db78-b33f-4faf-b1d8-ca1038c77d72","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}}},{"name":"Metrics","item":[{"name":"Create Metric","id":"9d775b04-433b-4ac2-8914-a246b3f8eca3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"workspaceId\": \"004f0cab-cee5-47fc-929b-f672c467bd67\", \"name\": \"Metric 5\", \"config\": {\"endpoint\": \"http://mbox.int.micromax.com.au:2900/balances\", \"authType\": \"apiKey\"}}","options":{"raw":{"language":"json"}}},"url":"{{baseMetricURL}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"host":["{{baseMetricURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9d775b04-433b-4ac2-8914-a246b3f8eca3"},{"name":"Delete Metric","id":"a52c1d9a-cade-488d-b39e-f80c8e42a20c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{baseMetricURL}}/{{metricId}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["{{metricId}}"],"host":["{{baseMetricURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a52c1d9a-cade-488d-b39e-f80c8e42a20c"}],"id":"04454244-3f45-4441-955c-93d8b7f53ea2","_postman_id":"04454244-3f45-4441-955c-93d8b7f53ea2","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}}},{"name":"Reports","item":[{"name":"drafts","item":[{"name":"Create Draft","id":"3e1bc8a1-fe5e-433f-8573-ea6c2e2e529e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"workspaceId\": \"d91a2166-d1f1-4c84-ac36-b7b610efb088\", \"name\": \"My Report 1\"}","options":{"raw":{"language":"json"}}},"url":"{{baseReportsUrl}}/drafts","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["drafts"],"host":["{{baseReportsUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3e1bc8a1-fe5e-433f-8573-ea6c2e2e529e"},{"name":"Update Draft","id":"627d7b7b-8a6e-4515-89b2-f88c816ca20f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\"workspaceId\": \"a1d225de-e432-4dd7-8965-0a63a8442b1f\", \"name\": \"My Updated Report 1\", \"isThumbnailUpdated\": true, \"isFileUpdated\": false}","options":{"raw":{"language":"json"}}},"url":"{{baseReportsUrl}}/drafts/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["drafts",""],"host":["{{baseReportsUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"627d7b7b-8a6e-4515-89b2-f88c816ca20f"},{"name":"Get Draft","event":[{"listen":"test","script":{"id":"2a6e3771-bf19-43c9-b394-6f8051ca7436","exec":[""],"type":"text/javascript","packages":{}}}],"id":"4bfbbf68-cd2e-48ae-b9f8-c38290efa5e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseReportsUrl}}/drafts/?workspaceId=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["drafts",""],"host":["{{baseReportsUrl}}"],"query":[{"key":"workspaceId","value":""}],"variable":[]}},"response":[],"_postman_id":"4bfbbf68-cd2e-48ae-b9f8-c38290efa5e8"},{"name":"Get Drafts","event":[{"listen":"test","script":{"id":"bb1f804d-d253-45b2-96fa-d537565ede3f","exec":["pm.test(\"Response status code is 200\", function () {\r","    pm.expect(pm.response.code).to.eql(200);\r","});\r","\r","\r","pm.test(\"Response contains required fields\", function () {\r","    const responseData = pm.response.json();\r","\r","    pm.expect(responseData).to.be.an('array').that.is.not.empty;\r","    \r","    responseData.forEach(function(item) {\r","        pm.expect(item).to.have.all.keys('createdAt', 'createdBy', 'editedBy', 'fileKey', 'lastEdited', 'name', 'thumbnailKey', 'workspaceId', 'draftId', 'fileUrl', 'thumbnailUrl');\r","    });\r","});\r","\r","\r","pm.test(\"CreatedAt is in a valid date format\", function () {\r","    const responseData = pm.response.json();\r","    \r","    pm.expect(responseData).to.be.an('array').that.is.not.empty;\r","    responseData.forEach(draft => {\r","        pm.expect(draft.createdAt).to.exist;\r","        pm.expect(new Date(draft.createdAt).getTime()).to.not.be.NaN;\r","    });\r","});\r","\r","\r","pm.test(\"editedBy is an array and contains valid strings\", function () {\r","    const responseData = pm.response.json();\r","    \r","    pm.expect(responseData).to.be.an('array');\r","    responseData.forEach(function(item) {\r","        pm.expect(item.editedBy).to.be.an('array');\r","        item.editedBy.forEach(function(editedByItem) {\r","            pm.expect(editedByItem).to.be.a('string').that.is.not.empty;\r","        });\r","    });\r","});"],"type":"text/javascript","packages":{}}}],"id":"82106c61-acc7-4d43-a152-36dc56b73a97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseReportsUrl}}/drafts?workspaceId=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["drafts"],"host":["{{baseReportsUrl}}"],"query":[{"key":"workspaceId","value":""}],"variable":[]}},"response":[],"_postman_id":"82106c61-acc7-4d43-a152-36dc56b73a97"},{"name":"Delete Draft","id":"017bf56e-1ad1-4517-bd09-7816b2c3f07b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{baseReportsUrl}}/drafts/?workspaceId=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["drafts",""],"host":["{{baseReportsUrl}}"],"query":[{"key":"workspaceId","value":""}],"variable":[]}},"response":[],"_postman_id":"017bf56e-1ad1-4517-bd09-7816b2c3f07b"}],"id":"3dcdde90-95d4-4520-946c-c098ef85c068","_postman_id":"3dcdde90-95d4-4520-946c-c098ef85c068","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}}},{"name":"templates","item":[{"name":"Create Template","id":"1ba39e76-e7df-4f0b-ab71-6ba665aef0dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"workspaceId\": \"a1d225de-e432-4dd7-8965-0a63a8442b1f\", \"name\": \"My Template\"}","options":{"raw":{"language":"json"}}},"url":"{{baseReportsUrl}}/templates","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["templates"],"host":["{{baseReportsUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1ba39e76-e7df-4f0b-ab71-6ba665aef0dd"},{"name":"Update Template","id":"60fc7833-1693-4b9e-a5d9-cfa2bbc31173","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\"workspaceId\": \"a1d225de-e432-4dd7-8965-0a63a8442b1f\", \"name\": \"My Updated Template\", \"isThumbnailUpdated\": true, \"isFileUpdated\": false}","options":{"raw":{"language":"json"}}},"url":"{{baseReportsUrl}}/templates/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["templates",""],"host":["{{baseReportsUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"60fc7833-1693-4b9e-a5d9-cfa2bbc31173"},{"name":"Get Template","id":"4515a306-500d-4bc1-ae54-053a5e29d32a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseReportsUrl}}/templates/?workspaceId=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["templates",""],"host":["{{baseReportsUrl}}"],"query":[{"key":"workspaceId","value":""}],"variable":[]}},"response":[],"_postman_id":"4515a306-500d-4bc1-ae54-053a5e29d32a"},{"name":"Get Templates","id":"94c9811e-8645-4746-9d94-7f73cc870c67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseReportsUrl}}/templates?workspaceId=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["templates"],"host":["{{baseReportsUrl}}"],"query":[{"key":"workspaceId","value":""}],"variable":[]}},"response":[],"_postman_id":"94c9811e-8645-4746-9d94-7f73cc870c67"},{"name":"Delete Template","id":"6863d72d-21ea-4963-bc96-678004e07e25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{baseReportsUrl}}/templates/?workspaceId=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["templates",""],"host":["{{baseReportsUrl}}"],"query":[{"key":"workspaceId","value":""}],"variable":[]}},"response":[],"_postman_id":"6863d72d-21ea-4963-bc96-678004e07e25"}],"id":"7e177677-7ee5-44a3-b9f3-bc29eafcd466","_postman_id":"7e177677-7ee5-44a3-b9f3-bc29eafcd466","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}}},{"name":"exports","item":[{"name":"Add Export","id":"27ffefc8-58e8-444d-916c-6c804a7975b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"workspaceId\": \"aca9e281-2448-42ee-bdab-b9baae20539a\", \"name\": \"My Export\", \"draftId\": \"9ca29afa-e59f-4aa7-88ec-9e48022f18c3\", \"fileType\": \"pdf\"}","options":{"raw":{"language":"json"}}},"url":"{{baseReportsUrl}}/exports","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["exports"],"host":["{{baseReportsUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"27ffefc8-58e8-444d-916c-6c804a7975b9"},{"name":"Get Export","id":"b9b988fb-f6a6-45f9-97e6-04317e864c7d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseReportsUrl}}/exports/?workspaceId=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["exports",""],"host":["{{baseReportsUrl}}"],"query":[{"key":"workspaceId","value":""}],"variable":[]}},"response":[],"_postman_id":"b9b988fb-f6a6-45f9-97e6-04317e864c7d"},{"name":"Get Exports","id":"f66d1c01-c928-47d7-a374-beae903ba21d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseReportsUrl}}/exports?workspaceId=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["exports"],"host":["{{baseReportsUrl}}"],"query":[{"key":"workspaceId","value":""}],"variable":[]}},"response":[],"_postman_id":"f66d1c01-c928-47d7-a374-beae903ba21d"},{"name":"Get Export Download Url","id":"1ef16098-e377-446c-a021-11502551aace","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseReportsUrl}}/exports//download?workspaceId=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["exports","","download"],"host":["{{baseReportsUrl}}"],"query":[{"key":"workspaceId","value":""}],"variable":[]}},"response":[],"_postman_id":"1ef16098-e377-446c-a021-11502551aace"}],"id":"6c00402a-c1de-4237-94e4-977d2065fcaa","_postman_id":"6c00402a-c1de-4237-94e4-977d2065fcaa","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}}}],"id":"fe8953f3-d2ca-49c9-99db-80d2abaa3245","_postman_id":"fe8953f3-d2ca-49c9-99db-80d2abaa3245","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}}}],"id":"276df452-0502-4347-91f0-8f5c9b1173bb","_postman_id":"276df452-0502-4347-91f0-8f5c9b1173bb","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}}}],"id":"c57fa5b1-54a9-4927-bca9-12eda46d9b9a","_postman_id":"c57fa5b1-54a9-4927-bca9-12eda46d9b9a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}}},{"name":"Audit Domain","item":[{"name":"Get Audit Log","id":"46854ea1-06b2-4407-8a20-3be14d09d026","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseAuditURL}}?workspaceId=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"host":["{{baseAuditURL}}"],"query":[{"key":"workspaceId","value":""}],"variable":[]}},"response":[],"_postman_id":"46854ea1-06b2-4407-8a20-3be14d09d026"},{"name":"Get User Log Download Url","id":"2d164531-08be-42d7-8eca-68742ec011d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseAuditURL}}/audits/download/user?workspaceId=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["audits","download","user"],"host":["{{baseAuditURL}}"],"query":[{"key":"workspaceId","value":""}],"variable":[]}},"response":[],"_postman_id":"2d164531-08be-42d7-8eca-68742ec011d8"},{"name":"Get Workspace Log Download Url","id":"dcf65aa3-46ec-461c-9297-78df39cc1000","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseAuditURL}}/audits/download/workspace?workspaceId=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}},"urlObject":{"path":["audits","download","workspace"],"host":["{{baseAuditURL}}"],"query":[{"key":"workspaceId","value":""}],"variable":[]}},"response":[],"_postman_id":"dcf65aa3-46ec-461c-9297-78df39cc1000"}],"id":"2b3611ab-7cc0-402a-8e49-357ccc698a8b","_postman_id":"2b3611ab-7cc0-402a-8e49-357ccc698a8b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","id":"89ee0fd8-025e-4e8c-94df-96b04d71143b","name":"eTRON","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]}},"event":[{"listen":"prerequest","script":{"id":"c2229e21-4cfa-438d-90ab-a2c3f839a041","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"24fc4ed4-db8f-4176-ac39-10c8ca05fd21","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"workspaceId","value":"","type":"default"},{"key":"userId","value":"","type":"default"},{"key":"email","value":"email","type":"default"},{"key":"inviteId","value":"543545","type":"default"},{"key":"roleId","value":"66","type":"default"},{"key":"moduleKey","value":"day_book","type":"default"},{"key":"baseUserUrl","value":"https://fdu8nk6p24.execute-api.ap-southeast-2.amazonaws.com/Prod/user","type":"default"},{"key":"dataSourceId","value":"5454","type":"default"},{"key":"draftId","value":"","type":"default"},{"key":"templateId","value":"","type":"default"},{"key":"exportId","value":"","type":"default"},{"key":"boardId","value":"","type":"default"}]}