{"info":{"_postman_id":"898215f7-4907-4e20-a7aa-eff3182cc188","name":"GoodAccess Customer","description":"<html><head></head><body><p>This collection serves as documentation for GoodAccess customers who want to use the API to manage and retrieve data about their team.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"29070402","collectionId":"898215f7-4907-4e20-a7aa-eff3182cc188","publishedId":"2sA3sAiTwM","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-08-21T08:56:44.000Z"},"item":[{"name":"Google","item":[{"name":"Sync User","id":"d615269f-e30c-4129-929a-b79cf7143883","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"d615269f-e30c-4129-929a-b79cf7143883"}],"id":"26aa2a8a-33d7-4bcc-987d-95c333af22f1","_postman_id":"26aa2a8a-33d7-4bcc-987d-95c333af22f1","description":""},{"name":"Integrations","item":[{"name":"Gateways","item":[{"name":"Read All Gateways","event":[{"listen":"test","script":{"id":"38548678-c40b-4eb1-9af6-e24894d8872a","exec":["pm.test(\"Response status code is 200\", function () {","  pm.response.to.have.status(200);","});","","pm.test(\"Response has the required fields\", function () {","  const responseData = pm.response.json();","  ","  pm.expect(responseData).to.be.an('array');","  responseData.forEach(function(gateway) {","    pm.expect(gateway).to.include.all.keys('id', 'created_at', 'name', 'hostname', 'location', 'ip', 'status');","    ","    // Set the first gateway's id to the environment variable \"gateway_id\"","    pm.environment.set(\"gateway_id\", gateway.id);","    return false; // to exit the loop after the first iteration","  });","});",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"33c1cc1c-6241-4a7a-9f5e-d6b4f4e7e377","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/gateways","urlObject":{"path":["api","v1","gateways"],"host":["{{goodaccess_integration_api_base}}"],"query":[],"variable":[]}},"response":[{"id":"97e26e18-f8e3-4ea5-bf69-426777300622","name":"Read All Gateways","originalRequest":{"method":"GET","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/gateways"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 08 Aug 2024 08:20:39 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"99db5a81-d652-4c19-a61a-54df989678f6\",\n    \"created_at\": \"2024-05-02 13:31:37\",\n    \"name\": \"US Gateway #1\",\n    \"hostname\": \"75-us-190-d866o.accessgate.cloud\",\n    \"location\": \"San Francisco, United States\",\n    \"ip\": \"120.10.10.13\",\n    \"status\": \"up\"\n  }\n]"}],"_postman_id":"33c1cc1c-6241-4a7a-9f5e-d6b4f4e7e377"},{"name":"Read Gateway","event":[{"listen":"test","script":{"id":"b6fda239-bcb4-4199-afb7-5617c570e0fd","exec":["pm.test(\"Response status code is 200\", function () {","    pm.response.to.have.status(200);","});","","","pm.test(\"Response time is within an acceptable range\", function () {","  pm.expect(pm.response.responseTime).to.be.below(1000);","});","","","pm.test(\"Response has the required fields\", function () {","    const responseData = pm.response.json();","    ","    pm.expect(responseData).to.be.an('object');","    pm.expect(responseData).to.have.property('id');","    pm.expect(responseData).to.have.property('created_at');","    pm.expect(responseData).to.have.property('name');","    pm.expect(responseData).to.have.property('hostname');","    pm.expect(responseData).to.have.property('location');","    pm.expect(responseData).to.have.property('ip');","    pm.expect(responseData).to.have.property('status');","});","","","pm.test(\"Id is a non-empty string\", function () {","    const responseData = pm.response.json();","    ","    pm.expect(responseData).to.be.an('object');","    pm.expect(responseData.id).to.be.a('string').and.to.have.lengthOf.at.least(1, \"Id should be a non-empty string\");","});","","","pm.test(\"Hostname is a non-empty string\", function () {","  const responseData = pm.response.json();","","  pm.expect(responseData).to.be.an('object');","  pm.expect(responseData.hostname).to.exist.and.to.be.a('string').and.to.have.lengthOf.at.least(1, \"Hostname should not be empty\");","});",""],"type":"text/javascript","packages":{}}}],"id":"c8020722-921b-4e1a-81e7-d8dd8bca34b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseURL}}/api/v1/gateway/{{gateway_id}}","urlObject":{"path":["api","v1","gateway","{{gateway_id}}"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"d8022bdf-44dc-47af-9aa1-615079371de7","name":"200 Read Gateway","originalRequest":{"method":"GET","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/gateway/99db5a81-d652-4c19-a61a-54df989678f6"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"99db5a81-d652-4c19-a61a-54df989678f6\",\n    \"created_at\": \"2024-05-02 13:31:37\",\n    \"name\": \"US Gateway #1\",\n    \"hostname\": \"75-us-190-d866o.accessgate.cloud\",\n    \"location\": \"San Francisco, United States\",\n    \"ip\": \"120.10.10.13\",\n    \"status\": \"up\"\n}"},{"id":"d3f70599-f2af-477d-beba-640c097795cf","name":"404 Read Gateway","originalRequest":{"method":"GET","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/gateway/<gateway_id>"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"not_found\",\n    \"error_description\": \"Gateway with uuid 8e4a413c-7f7b-4925-9b9b-e22c3f65f2a0 not found\"\n}"}],"_postman_id":"c8020722-921b-4e1a-81e7-d8dd8bca34b0"}],"id":"607fde3d-e8eb-4a55-ba0f-03d0580b1263","_postman_id":"607fde3d-e8eb-4a55-ba0f-03d0580b1263","description":""},{"name":"Systems","item":[{"name":"Read All Systems","event":[{"listen":"test","script":{"type":"text/javascript","exec":["const responseData = pm.response.json();","const uuidRegex = /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/;","const urlRegex = /^https?:\\/\\/.+/;","","// Status code validation","pm.test(\"Response status code is 200\", function () {","    pm.response.to.have.status(200);","});","","// Response time validation","pm.test(\"Response time is less than 2000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","// Response is an array","pm.test(\"Response is an array\", function () {","    pm.expect(responseData).to.be.an('array');","});","","// Array is not empty","pm.test(\"Response array is not empty\", function () {","    pm.expect(responseData.length).to.be.above(0);","});","","// Validate no duplicate system IDs","pm.test(\"No duplicate system IDs in response\", function () {","    const ids = responseData.map(system => system.id);","    const uniqueIds = [...new Set(ids)];","    pm.expect(ids.length).to.equal(uniqueIds.length, \"Duplicate system IDs found\");","});","","// Validate each system in the array","pm.test(\"Each system contains all required fields\", function () {","    responseData.forEach(function(system, index) {","        pm.expect(system, `System at index ${index}`).to.have.property('id');","        pm.expect(system, `System at index ${index}`).to.have.property('name');","        pm.expect(system, `System at index ${index}`).to.have.property('icon');","        pm.expect(system, `System at index ${index}`).to.have.property('is_valid');","        pm.expect(system, `System at index ${index}`).to.have.property('is_isolated');","        pm.expect(system, `System at index ${index}`).to.have.property('services');","        pm.expect(system, `System at index ${index}`).to.have.property('host');","        pm.expect(system, `System at index ${index}`).to.have.property('uri');","        pm.expect(system, `System at index ${index}`).to.have.property('access_cards');","        pm.expect(system, `System at index ${index}`).to.have.property('groups');","    });","});","","// Data type validations for each system","pm.test(\"Field 'id' is a string for all systems\", function () {","    responseData.forEach(function(system, index) {","        pm.expect(system.id, `System id at index ${index}`).to.be.a('string');","    });","});","","pm.test(\"Field 'name' is a string for all systems\", function () {","    responseData.forEach(function(system, index) {","        pm.expect(system.name, `System name at index ${index}`).to.be.a('string');","    });","});","","pm.test(\"Field 'icon' is a string for all systems\", function () {","    responseData.forEach(function(system, index) {","        pm.expect(system.icon, `System icon at index ${index}`).to.be.a('string');","    });","});","","pm.test(\"Field 'is_valid' is a number for all systems\", function () {","    responseData.forEach(function(system, index) {","        pm.expect(system.is_valid, `System is_valid at index ${index}`).to.be.a('number');","    });","});","","pm.test(\"Field 'is_isolated' is a number for all systems\", function () {","    responseData.forEach(function(system, index) {","        pm.expect(system.is_isolated, `System is_isolated at index ${index}`).to.be.a('number');","    });","});","","pm.test(\"Field 'services' is an array for all systems\", function () {","    responseData.forEach(function(system, index) {","        pm.expect(system.services, `System services at index ${index}`).to.be.an('array');","    });","});","","pm.test(\"Field 'host' is a string for all systems\", function () {","    responseData.forEach(function(system, index) {","        pm.expect(system.host, `System host at index ${index}`).to.be.a('string');","    });","});","","pm.test(\"Field 'uri' is a string for all systems\", function () {","    responseData.forEach(function(system, index) {","        pm.expect(system.uri, `System uri at index ${index}`).to.be.a('string');","    });","});","","pm.test(\"Field 'access_cards' is an array for all systems\", function () {","    responseData.forEach(function(system, index) {","        pm.expect(system.access_cards, `System access_cards at index ${index}`).to.be.an('array');","    });","});","","pm.test(\"Field 'groups' is an array for all systems\", function () {","    responseData.forEach(function(system, index) {","        pm.expect(system.groups, `System groups at index ${index}`).to.be.an('array');","    });","});","","// UUID format validation for all system ids","pm.test(\"Field 'id' has valid UUID format for all systems\", function () {","    responseData.forEach(function(system, index) {","        pm.expect(system.id, `System id at index ${index}`).to.match(uuidRegex);","    });","});","","// Services array structure validation for all systems","pm.test(\"Services array has valid structure for all systems\", function () {","    responseData.forEach(function(system, systemIndex) {","        system.services.forEach(function(service, serviceIndex) {","            pm.expect(service, `Service at system ${systemIndex}, service ${serviceIndex}`).to.have.property('id');","            pm.expect(service, `Service at system ${systemIndex}, service ${serviceIndex}`).to.have.property('name');","            pm.expect(service, `Service at system ${systemIndex}, service ${serviceIndex}`).to.have.property('port');","            pm.expect(service, `Service at system ${systemIndex}, service ${serviceIndex}`).to.have.property('protocol');","            ","            pm.expect(service.id, `Service id at system ${systemIndex}, service ${serviceIndex}`).to.be.a('string');","            pm.expect(service.name, `Service name at system ${systemIndex}, service ${serviceIndex}`).to.be.a('string');","            pm.expect(service.port, `Service port at system ${systemIndex}, service ${serviceIndex}`).to.be.a('string');","            pm.expect(service.protocol, `Service protocol at system ${systemIndex}, service ${serviceIndex}`).to.be.a('string');","            ","            // Validate service id is UUID","            pm.expect(service.id, `Service id at system ${systemIndex}, service ${serviceIndex}`).to.match(uuidRegex);","        });","    });","});"]}}],"id":"b3946714-f44d-487a-aad7-c62b188b6630","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseURL}}/api/v1/systems","urlObject":{"path":["api","v1","systems"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"6280c378-cc10-47ab-871c-8ac3f1660bc1","name":"200 Read All Systems","originalRequest":{"method":"GET","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/systems"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"412345eee-d1f1-1234-1ab1-123bee1234f12\",\n        \"name\": \"EXAMPLE-SYSTEM\",\n        \"icon\": \"https://example.com\",\n        \"is_valid\": 1,\n        \"custom_port\": \"8080\",\n        \"host\": \"https://example.com\",\n        \"uri\": \"https://example.com\",\n        \"access_cards\": []\n    }\n]"}],"_postman_id":"b3946714-f44d-487a-aad7-c62b188b6630"},{"name":"Create System All Types","event":[{"listen":"test","script":{"type":"text/javascript","exec":["// ============================================","// Create System All Types - Advanced Test Suite","// ============================================","","const response = pm.response.json();","const statusCode = pm.response.code;","const uuidPattern = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/i;","","// ---- Response Time Validation ----","pm.test(\"Response time is less than 2000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","// ---- Content-Type Header Validation ----","pm.test(\"Content-Type header is application/json\", function () {","    const contentType = pm.response.headers.get(\"Content-Type\");","    pm.expect(contentType).to.include(\"application/json\");","});","","// ---- Response is valid JSON ----","pm.test(\"Response is valid JSON\", function () {","    pm.response.to.be.json;","});","","// ---- Success Scenario (200) ----","if (statusCode === 200) {","    pm.test(\"Status code is 200 for successful creation\", function () {","        pm.response.to.have.status(200);","    });","","    pm.test(\"Response has 'created_id' property\", function () {","        pm.expect(response).to.have.property('created_id');","    });","","    pm.test(\"Response has 'message' property\", function () {","        pm.expect(response).to.have.property('message');","    });","","    pm.test(\"'created_id' is a valid UUID format\", function () {","        pm.expect(response.created_id).to.match(uuidPattern);","    });","","    pm.test(\"'created_id' is a string\", function () {","        pm.expect(response.created_id).to.be.a('string');","    });","","    pm.test(\"'message' is a string\", function () {","        pm.expect(response.message).to.be.a('string');","    });","","    pm.test(\"Message equals 'System created successfully'\", function () {","        pm.expect(response.message).to.equal(\"System created successfully\");","    });","","    // Store created_id for subsequent requests","    if (response.created_id) {","        pm.environment.set(\"system_id\", response.created_id);","        console.log(\"Stored system_id in environment: \" + response.created_id);","    }","}","","// ---- Conflict Scenario (409) ----","if (statusCode === 409) {","    pm.test(\"Status code is 409 for conflict (system already exists)\", function () {","        pm.response.to.have.status(409);","    });","","    pm.test(\"Error response has 'error' property\", function () {","        pm.expect(response).to.have.property('error');","    });","","    pm.test(\"Error response has 'error_description' property\", function () {","        pm.expect(response).to.have.property('error_description');","    });","","    pm.test(\"'error' is a string\", function () {","        pm.expect(response.error).to.be.a('string');","    });","","    pm.test(\"'error_description' is a string\", function () {","        pm.expect(response.error_description).to.be.a('string');","    });","","    pm.test(\"Error value is 'already_exists'\", function () {","        pm.expect(response.error).to.equal(\"already_exists\");","    });","","    pm.test(\"Error description contains relevant information\", function () {","        pm.expect(response.error_description).to.include(\"already exists\");","    });","}","","// ---- Validate status code is either 200 or 409 ----","pm.test(\"Status code is either 200 (created) or 409 (conflict)\", function () {","    pm.expect(statusCode).to.be.oneOf([200, 409]);","});"]}}],"id":"26d2d2a5-05e8-4cad-86fd-43beb44d7202","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"GoodAccess-General\",\r\n    \"host\": \"https://general.com\",\r\n    \"uri\": \"https://general.com\",\r\n    \"services\": [\r\n        {\r\n            \"port\": \"2022\",\r\n            \"protocol\": \"TCP\",\r\n            \"type\": \"Custom\"\r\n        },\r\n        {\r\n            \"port\": \"443\",\r\n            \"protocol\": \"TCP\",\r\n            \"type\": \"HTTPS\"\r\n        },\r\n        {\r\n            \"port\": \"80\",\r\n            \"protocol\": \"TCP\",\r\n            \"type\": \"HTTP\"\r\n        },\r\n        {\r\n            \"port\": \"22\",\r\n            \"protocol\": \"TCP\",\r\n            \"type\": \"SSH\"\r\n        },\r\n        {\r\n            \"port\": \"3389\",\r\n            \"protocol\": \"TCP\",\r\n            \"type\": \"RDP\"\r\n        },\r\n        {\r\n            \"port\": \"5900\",\r\n            \"protocol\": \"TCP\",\r\n            \"type\": \"VNC\"\r\n        },\r\n        {\r\n            \"port\": \"21\",\r\n            \"protocol\": \"TCP\",\r\n            \"type\": \"FTP\"\r\n        },\r\n        {\r\n            \"port\": \"22\",\r\n            \"protocol\": \"TCP\",\r\n            \"type\": \"SFTP\"\r\n        },\r\n        {\r\n            \"port\": \"445\",\r\n            \"protocol\": \"TCP\",\r\n            \"type\": \"SMB\"\r\n        },\r\n        {\r\n            \"port\": \"25\",\r\n            \"protocol\": \"TCP\",\r\n            \"type\": \"SMTP\"\r\n        },\r\n        {\r\n            \"port\": \"465\",\r\n            \"protocol\": \"TCP\",\r\n            \"type\": \"SMTPS\"\r\n        },\r\n        {\r\n            \"port\": \"110\",\r\n            \"protocol\": \"TCP\",\r\n            \"type\": \"POP3\"\r\n        },\r\n        {\r\n            \"port\": \"995\",\r\n            \"protocol\": \"TCP\",\r\n            \"type\": \"POP3S\"\r\n        },\r\n        {\r\n            \"port\": \"587\",\r\n            \"protocol\": \"TCP\",\r\n            \"type\": \"Submission\"\r\n        },\r\n        {\r\n            \"port\": \"143\",\r\n            \"protocol\": \"TCP\",\r\n            \"type\": \"IMAP\"\r\n        },\r\n        {\r\n            \"port\": \"3306\",\r\n            \"protocol\": \"TCP\",\r\n            \"type\": \"MySQL\"\r\n        },\r\n        {\r\n            \"port\": \"5432\",\r\n            \"protocol\": \"TCP\",\r\n            \"type\": \"PostgreSQL\"\r\n        },\r\n        {\r\n            \"port\": \"53\",\r\n            \"protocol\": \"UDP\",\r\n            \"type\": \"DNS\"\r\n        },\r\n        {\r\n            \"port\": \"993\",\r\n            \"protocol\": \"TCP\",\r\n            \"type\": \"IMAPS\"\r\n        },\r\n        {\r\n            \"port\": \"636\",\r\n            \"protocol\": \"TCP\",\r\n            \"type\": \"LDAPS\"\r\n        },\r\n        {\r\n            \"port\": \"23\",\r\n            \"protocol\": \"TCP\",\r\n            \"type\": \"Telnet\"\r\n        },\r\n        {\r\n            \"port\": \"161\",\r\n            \"protocol\": \"UDP\",\r\n            \"type\": \"SNMP\"\r\n        },\r\n        {\r\n            \"port\": \"123\",\r\n            \"protocol\": \"UDP\",\r\n            \"type\": \"NTP\"\r\n        },\r\n        {\r\n            \"port\": \"389\",\r\n            \"protocol\": \"TCP\",\r\n            \"type\": \"LDAP\"\r\n        },\r\n        {\r\n            \"port\": \"5060\",\r\n            \"protocol\": \"UDP\",\r\n            \"type\": \"SIP\"\r\n        },\r\n        {\r\n            \"port\": \"119\",\r\n            \"protocol\": \"TCP\",\r\n            \"type\": \"NNTP\"\r\n        },\r\n        {\r\n            \"port\": \"69\",\r\n            \"protocol\": \"UDP\",\r\n            \"type\": \"TFTP\"\r\n        },\r\n        {\r\n            \"port\": \"9418\",\r\n            \"protocol\": \"TCP\",\r\n            \"type\": \"Git\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"18b08a39-00aa-4760-85fe-619ff9a46e26","name":"200 Create System","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"buri-system-put","type":"text"},{"key":"port","value":"8080","type":"text"},{"key":"host","value":"www.godoaccess.com","type":"text"},{"key":"uri","value":"test","type":"text"},{"key":"","value":"","type":"text","disabled":true}]},"url":"{{goodaccess_integration_api_base}}/api/v1/system"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"created_id\": \"4514960a-2b6d-46a2-9c22-c02cc727abb7\",\n    \"message\": \"System created successfully\"\n}"},{"id":"4ac0def6-c813-4d8e-9515-7b7f25a4ddd6","name":"409 Create System","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"buri-system-put","type":"text"},{"key":"port","value":"8080","type":"text"},{"key":"host","value":"www.godoaccess.com","type":"text"},{"key":"uri","value":"test","type":"text"},{"key":"","value":"","type":"text","disabled":true}]},"url":"{{goodaccess_integration_api_base}}/api/v1/system"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"already_exists\",\n  \"error_description\": \"System with name <example> already exists in the team\"\n}"}],"_postman_id":"26d2d2a5-05e8-4cad-86fd-43beb44d7202"},{"name":"Read System","event":[{"listen":"test","script":{"type":"text/javascript","exec":["const responseData = pm.response.json();","const uuidRegex = /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/;","const urlRegex = /^https?:\\/\\/.+/;","","// Status code validation","pm.test(\"Response status code is 200\", function () {","    pm.response.to.have.status(200);","});","","// Response time validation","pm.test(\"Response time is less than 2000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","// Complete response schema validation - required fields exist","pm.test(\"Response contains all required fields\", function () {","    pm.expect(responseData).to.have.property('id');","    pm.expect(responseData).to.have.property('icon');","    pm.expect(responseData).to.have.property('name');","    pm.expect(responseData).to.have.property('is_valid');","    pm.expect(responseData).to.have.property('is_isolated');","    pm.expect(responseData).to.have.property('services');","    pm.expect(responseData).to.have.property('host');","    pm.expect(responseData).to.have.property('uri');","    pm.expect(responseData).to.have.property('access_cards');","    pm.expect(responseData).to.have.property('groups');","});","","// Data type validations","pm.test(\"Field 'id' is a string\", function () {","    pm.expect(responseData.id).to.be.a('string');","});","","pm.test(\"Field 'icon' is a string\", function () {","    pm.expect(responseData.icon).to.be.a('string');","});","","pm.test(\"Field 'name' is a string\", function () {","    pm.expect(responseData.name).to.be.a('string');","});","","pm.test(\"Field 'is_valid' is a number\", function () {","    pm.expect(responseData.is_valid).to.be.a('number');","});","","pm.test(\"Field 'is_isolated' is a number\", function () {","    pm.expect(responseData.is_isolated).to.be.a('number');","});","","pm.test(\"Field 'services' is an array\", function () {","    pm.expect(responseData.services).to.be.an('array');","});","","pm.test(\"Field 'host' is a string\", function () {","    pm.expect(responseData.host).to.be.a('string');","});","","pm.test(\"Field 'uri' is a string\", function () {","    pm.expect(responseData.uri).to.be.a('string');","});","","pm.test(\"Field 'access_cards' is an array\", function () {","    pm.expect(responseData.access_cards).to.be.an('array');","});","","pm.test(\"Field 'groups' is an array\", function () {","    pm.expect(responseData.groups).to.be.an('array');","});","","// UUID format validation for id","pm.test(\"Field 'id' has valid UUID format\", function () {","    pm.expect(responseData.id).to.match(uuidRegex);","});","","// URL format validations","pm.test(\"Field 'icon' has valid URL format\", function () {","    pm.expect(responseData.icon).to.match(urlRegex);","});","","pm.test(\"Field 'host' is a valid hostname or URL\", function () {","    pm.expect(responseData.host).to.be.a('string').and.to.have.lengthOf.at.least(1);","});","","pm.test(\"Field 'uri' has valid URL format\", function () {","    pm.expect(responseData.uri).to.match(urlRegex);","});","","// Services array structure validation","pm.test(\"Services array has valid structure\", function () {","    responseData.services.forEach(function(service, index) {","        pm.expect(service, `Service at index ${index}`).to.have.property('id');","        pm.expect(service, `Service at index ${index}`).to.have.property('name');","        pm.expect(service, `Service at index ${index}`).to.have.property('port');","        pm.expect(service, `Service at index ${index}`).to.have.property('protocol');","        ","        pm.expect(service.id, `Service id at index ${index}`).to.be.a('string');","        pm.expect(service.name, `Service name at index ${index}`).to.be.a('string');","        pm.expect(service.port, `Service port at index ${index}`).to.be.a('string');","        pm.expect(service.protocol, `Service protocol at index ${index}`).to.be.a('string');","        ","        // Validate service id is UUID","        pm.expect(service.id, `Service id at index ${index}`).to.match(uuidRegex);","    });","});","","// Verify system id matches stored variable","pm.test(\"System id matches the stored system_id variable\", function () {","    const storedSystemId = pm.environment.get(\"system_id\") || pm.collectionVariables.get(\"system_id\");","    if (storedSystemId) {","        pm.expect(responseData.id).to.equal(storedSystemId);","    } else {","        console.log(\"No system_id variable found to compare\");","    }","});"]}}],"id":"1412d68a-146a-4ae6-be10-0fc2acb77a9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseURL}}/api/v1/system/{{system_id}}","urlObject":{"path":["api","v1","system","{{system_id}}"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"98c901dd-77ed-470c-86e0-b7dafe42f609","name":"200 Read System","originalRequest":{"method":"GET","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/system/735df4b6-c4da-4fb6-9581-89c91fe866bf"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"69f25acc-7eb8-494b-bb64-7671b5726e2d\",\n    \"created_at\": \"2024-08-15 10:48:44\",\n    \"name\": \"GoodAccess System\",\n    \"is_valid\": true,\n    \"port\": \"8080\",\n    \"host\": \"goodaccess.com\",\n    \"uri\": \"https://goodaccess.com\"\n}"},{"id":"e57a809e-3532-482d-a119-da97d78559d1","name":"404 Read System","originalRequest":{"method":"GET","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/system/735df4b6-c4da-4fb6-9581-89c91fe866bf"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"not_found\",\n    \"error_description\": \"System with id \\\"735df4b6-c4da-4fb6-9581-89c91fe866bf\\\" not found\"\n}"}],"_postman_id":"1412d68a-146a-4ae6-be10-0fc2acb77a9e"},{"name":"Update System","event":[{"listen":"test","script":{"type":"text/javascript","exec":["// ============================================","// Update System - Advanced Test Suite","// ============================================","","const response = pm.response.json();","const statusCode = pm.response.code;","","// ---- Response Time Validation ----","pm.test(\"Response time is less than 5000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(5000);","});","","// ---- Content-Type Header Validation ----","pm.test(\"Content-Type header is application/json\", function () {","    const contentType = pm.response.headers.get(\"Content-Type\");","    pm.expect(contentType).to.include(\"application/json\");","});","","// ---- Response is valid JSON ----","pm.test(\"Response is valid JSON\", function () {","    pm.response.to.be.json;","});","","// ---- Success Scenario (200) ----","if (statusCode === 200) {","    pm.test(\"Status code is 200 for successful update\", function () {","        pm.response.to.have.status(200);","    });","","    pm.test(\"Response has 'message' property\", function () {","        pm.expect(response).to.have.property('message');","    });","","    pm.test(\"'message' is a string\", function () {","        pm.expect(response.message).to.be.a('string');","    });","","    pm.test(\"Message equals 'System updated successfully'\", function () {","        pm.expect(response.message).to.equal(\"System updated successfully\");","    });","}","","// ---- Bad Request Scenario (400) ----","if (statusCode === 400) {","    pm.test(\"Status code is 400 for bad request\", function () {","        pm.response.to.have.status(400);","    });","","    pm.test(\"Error response has 'error' property\", function () {","        pm.expect(response).to.have.property('error');","    });","","    pm.test(\"Error response has 'error_description' property\", function () {","        pm.expect(response).to.have.property('error_description');","    });","","    pm.test(\"'error' is a string\", function () {","        pm.expect(response.error).to.be.a('string');","    });","","    pm.test(\"'error_description' is a string\", function () {","        pm.expect(response.error_description).to.be.a('string');","    });","}","","// ---- Not Found Scenario (404) ----","if (statusCode === 404) {","    pm.test(\"Status code is 404 for system not found\", function () {","        pm.response.to.have.status(404);","    });","","    pm.test(\"Error response has 'error' property\", function () {","        pm.expect(response).to.have.property('error');","    });","","    pm.test(\"Error response has 'error_description' property\", function () {","        pm.expect(response).to.have.property('error_description');","    });","","    pm.test(\"'error' indicates not found\", function () {","        pm.expect(response.error.toLowerCase()).to.include(\"not_found\");","    });","}","","// ---- Validate status code is one of expected values ----","pm.test(\"Status code is one of expected values (200, 400, 404)\", function () {","    pm.expect(statusCode).to.be.oneOf([200, 400, 404]);","});"]}}],"id":"a6d705d6-a032-4204-9284-2d530b073e76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"GoodAccess ADV EDITED with API\",\n    \"host\": \"https://adv-edited.com\",\n    \"uri\": \"https://adv-edited.com\",\n    \"port\": 22,\n    \"protocol\": \"TCP\",\n    \"services\": [\n        {\n            \"port\": \"1\",\n            \"protocol\": \"UDP\",\n            \"type\": \"HTTP\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system/{{system_id}}","urlObject":{"path":["api","v1","system","{{system_id}}"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"e9d79b9d-9bcd-4265-80d0-3e5914e510bc","name":"200 Update System","originalRequest":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"example_system","type":"text"},{"key":"port","value":"","type":"text","disabled":true},{"key":"host","value":"","type":"text","disabled":true},{"key":"uri","value":"","type":"text","disabled":true}]},"url":"{{goodaccess_integration_api_base}}/api/v1/system/<system_id>"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n\"message\": \"System updated successfully\"\n}"}],"_postman_id":"a6d705d6-a032-4204-9284-2d530b073e76"},{"name":"Read System After Update","event":[{"listen":"test","script":{"id":"a19ae46b-fbaf-451e-aa15-9ba369e77e81","exec":["// ============================================","// Read System After Update - Advanced Test Suite","// ============================================","","const response = pm.response.json();","const uuidPattern = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/i;","const urlPattern = /^https?:\\/\\/.+/i;","","// Expected updated values from the Update System request","const expectedName = \"GoodAccess ADV EDITED with API\";","const expectedHost = \"adv-edited.com\";","const expectedUri = \"https://adv-edited.com\";","const expectedPort = 22;","const expectedProtocol = \"TCP\";","const expectedServicePort = \"1\";","const expectedServiceProtocol = \"UDP\";","const expectedServiceType = \"HTTP\";","","// ---- Response Time Validation ----","pm.test(\"Response time is less than 2000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","// ---- Status Code Validation ----","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","// ---- Content-Type Header Validation ----","pm.test(\"Content-Type header is application/json\", function () {","    const contentType = pm.response.headers.get(\"Content-Type\");","    pm.expect(contentType).to.include(\"application/json\");","});","","// ---- Response is valid JSON ----","pm.test(\"Response is valid JSON\", function () {","    pm.response.to.be.json;","});","","// ---- Complete Response Schema Validation ----","pm.test(\"Response has 'id' property\", function () {","    pm.expect(response).to.have.property('id');","});","","pm.test(\"Response has 'icon' property\", function () {","    pm.expect(response).to.have.property('icon');","});","","pm.test(\"Response has 'name' property\", function () {","    pm.expect(response).to.have.property('name');","});","","pm.test(\"Response has 'is_valid' property\", function () {","    pm.expect(response).to.have.property('is_valid');","});","","pm.test(\"Response has 'services' property\", function () {","    pm.expect(response).to.have.property('services');","});","","pm.test(\"Response has 'host' property\", function () {","    pm.expect(response).to.have.property('host');","});","","pm.test(\"Response has 'uri' property\", function () {","    pm.expect(response).to.have.property('uri');","});","","pm.test(\"Response has 'access_cards' property\", function () {","    pm.expect(response).to.have.property('access_cards');","});","","pm.test(\"Response has 'groups' property\", function () {","    pm.expect(response).to.have.property('groups');","});","","// ---- Data Type Validations ----","pm.test(\"'id' is a string with valid UUID format\", function () {","    pm.expect(response.id).to.be.a('string');","    pm.expect(response.id).to.match(uuidPattern);","});","","pm.test(\"'icon' is a string with valid URL format\", function () {","    pm.expect(response.icon).to.be.a('string');","    pm.expect(response.icon).to.match(urlPattern);","});","","pm.test(\"'name' is a string\", function () {","    pm.expect(response.name).to.be.a('string');","});","","pm.test(\"'is_valid' is a number\", function () {","    pm.expect(response.is_valid).to.be.a('number');","});","","pm.test(\"'host' is a string\", function () {","    pm.expect(response.host).to.be.a('string');","});","","pm.test(\"'uri' is a string\", function () {","    pm.expect(response.uri).to.be.a('string');","});","","pm.test(\"'services' is an array\", function () {","    pm.expect(response.services).to.be.an('array');","});","","pm.test(\"'access_cards' is an array\", function () {","    pm.expect(response.access_cards).to.be.an('array');","});","","pm.test(\"'groups' is an array\", function () {","    pm.expect(response.groups).to.be.an('array');","});","","// ---- Verify Updated Values Match Update Request ----","pm.test(\"Name was updated correctly\", function () {","    pm.expect(response.name).to.equal(expectedName);","});","","pm.test(\"Host was updated correctly\", function () {","    pm.expect(response.host).to.equal(expectedHost);","});","","pm.test(\"URI was updated correctly\", function () {","    pm.expect(response.uri).to.equal(expectedUri);","});","","// ---- Verify Services Array Was Updated Correctly ----","pm.test(\"Services array exists and is not empty\", function () {","    pm.expect(response.services).to.exist;","    pm.expect(response.services).to.be.an('array');","});","","pm.test(\"Services array contains the updated service\", function () {","    if (response.services && response.services.length > 0) {","        const updatedService = response.services.find(s => ","            s.port === expectedServicePort && ","            s.protocol.toUpperCase() === expectedServiceProtocol","        );","        pm.expect(updatedService, \"Updated service should exist in services array\").to.exist;","    }","});","","pm.test(\"Each service has required properties (id, name, port, protocol)\", function () {","    if (response.services && response.services.length > 0) {","        response.services.forEach((service, index) => {","            pm.expect(service, `Service at index ${index}`).to.have.property('id');","            pm.expect(service, `Service at index ${index}`).to.have.property('name');","            pm.expect(service, `Service at index ${index}`).to.have.property('port');","            pm.expect(service, `Service at index ${index}`).to.have.property('protocol');","        });","    }","});","","pm.test(\"Each service has correct data types\", function () {","    if (response.services && response.services.length > 0) {","        response.services.forEach((service, index) => {","            pm.expect(service.id, `Service id at index ${index}`).to.be.a('string');","            pm.expect(service.name, `Service name at index ${index}`).to.be.a('string');","            pm.expect(service.port, `Service port at index ${index}`).to.be.a('string');","            pm.expect(service.protocol, `Service protocol at index ${index}`).to.be.a('string');","        });","    }","});","","pm.test(\"Each service id is a valid UUID format\", function () {","    if (response.services && response.services.length > 0) {","        response.services.forEach((service, index) => {","            pm.expect(service.id, `Service id at index ${index}`).to.match(uuidPattern);","        });","    }","});","","// ---- Verify system id matches stored system_id ----","pm.test(\"System id matches the stored system_id\", function () {","    const storedSystemId = pm.environment.get(\"system_id\");","    if (storedSystemId) {","        pm.expect(response.id).to.equal(storedSystemId);","    }","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"81491cd5-8dd2-421a-84ef-d54b445992e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseURL}}/api/v1/system/{{system_id}}","urlObject":{"path":["api","v1","system","{{system_id}}"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"088eee2f-05a7-4cd3-9c6b-19e5206e5823","name":"200 Read System","originalRequest":{"method":"GET","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/system/735df4b6-c4da-4fb6-9581-89c91fe866bf"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"69f25acc-7eb8-494b-bb64-7671b5726e2d\",\n    \"created_at\": \"2024-08-15 10:48:44\",\n    \"name\": \"GoodAccess System\",\n    \"is_valid\": true,\n    \"port\": \"8080\",\n    \"host\": \"goodaccess.com\",\n    \"uri\": \"https://goodaccess.com\"\n}"},{"id":"e36ee646-6bef-4ed5-aeb8-d80870e4cdcf","name":"404 Read System","originalRequest":{"method":"GET","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/system/735df4b6-c4da-4fb6-9581-89c91fe866bf"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"not_found\",\n    \"error_description\": \"System with id \\\"735df4b6-c4da-4fb6-9581-89c91fe866bf\\\" not found\"\n}"}],"_postman_id":"81491cd5-8dd2-421a-84ef-d54b445992e0"},{"name":"Remove System","event":[{"id":"d4fc0164-e48c-4d89-a857-44f885ae029e","listen":"test","script":{"id":"02a2af75-138b-46be-94bb-1b2bfce8b664","exec":["const statusCode = pm.response.code;","","// Response time validation","pm.test(\"Response time is less than 2000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","// Validate response is valid JSON","pm.test(\"Response is valid JSON\", function () {","    pm.response.to.be.json;","});","","// Validate Content-Type header","pm.test(\"Content-Type header is application/json\", function () {","    pm.expect(pm.response.headers.get('Content-Type')).to.include('application/json');","});","","// Status code validation - should be either 200 or 404","pm.test(\"Response status code is 200 or 404\", function () {","    pm.expect(statusCode).to.be.oneOf([200, 404]);","});","","// Conditional tests based on status code","if (statusCode === 200) {","    // Success scenario tests","    pm.test(\"Success: Response status code is 200\", function () {","        pm.response.to.have.status(200);","    });","    ","    pm.test(\"Success: Response contains 'message' field\", function () {","        const responseData = pm.response.json();","        pm.expect(responseData).to.have.property('message');","    });","    ","    pm.test(\"Success: Message equals 'System removed successfully'\", function () {","        const responseData = pm.response.json();","        pm.expect(responseData.message).to.equal(\"System removed successfully\");","    });","    ","    pm.test(\"Success: Response has correct structure\", function () {","        const responseData = pm.response.json();","        pm.expect(responseData).to.be.an('object');","        pm.expect(Object.keys(responseData)).to.include('message');","    });","    ","} else if (statusCode === 404) {","    // Not found scenario tests","    pm.test(\"Not Found: Response status code is 404\", function () {","        pm.response.to.have.status(404);","    });","    ","    pm.test(\"Not Found: Response contains error information\", function () {","        const responseData = pm.response.json();","        pm.expect(responseData).to.be.an('object');","        // Check for common error response fields","        const hasErrorField = responseData.hasOwnProperty('error') || ","                             responseData.hasOwnProperty('message') || ","                             responseData.hasOwnProperty('detail');","        pm.expect(hasErrorField, \"Response should contain error, message, or detail field\").to.be.true;","    });","    ","    pm.test(\"Not Found: Error response is properly structured\", function () {","        const responseData = pm.response.json();","        pm.expect(responseData).to.not.be.empty;","    });","}"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"ec93c29a-f286-4903-9361-1489afdbc5f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system/{{system_id}}","urlObject":{"path":["api","v1","system","{{system_id}}"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"846b8d3f-42dd-4334-9015-11839089be7c","name":"200 Remove System","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"buri-system-put","type":"text"},{"key":"port","value":"","type":"text"},{"key":"host","value":"","type":"text"},{"key":"uri","value":"","type":"text"}]},"url":"{{goodaccess_integration_api_base}}/api/v1/system/d905496b-eb71-41d3-be03-475363ef7056"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"System removed successfully\"\n}"},{"id":"21a6d019-83bc-4cb7-a83b-6deb83c49983","name":"404 Remove System","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"buri-system-put","type":"text"},{"key":"port","value":"","type":"text"},{"key":"host","value":"","type":"text"},{"key":"uri","value":"","type":"text"}]},"url":"{{goodaccess_integration_api_base}}/api/v1/system/<system-id>"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"not_found\",\n    \"error_description\": \"System with uuid <system-id> not found\"\n}"}],"_postman_id":"ec93c29a-f286-4903-9361-1489afdbc5f0"},{"name":"Create System - HTTPS","event":[{"listen":"test","script":{"id":"0f520586-26d9-40d4-bb52-a6edf0a5e8b8","exec":["const response = pm.response.json();\r","\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"b99948e0-5b04-48fc-9aba-fd5f27fb5e38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"GoodAccessHTTPS\",\r\n    \"host\": \"https://httpssystem.com\",\r\n    \"uri\": \"https://httpssystem.com\",\r\n    \"services\": [\r\n        {\r\n            \"port\": \"443\",\r\n            \"protocol\": \"TCP\",\r\n            \"type\": \"HTTPS\"\r\n        },       \r\n        {\r\n            \"port\": \"43\",\r\n            \"protocol\": \"TCP\",\r\n            \"type\": \"HTTPS\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess HTTPS System\",\"host\":\"<a href=\"https://https-system.com%22,%22uri%22:%22https://https-system.com%22,%22services%22:%5B%7B%22port%22:%22443%22,%22protocol%22:%22TCP%22,%22type%22:%22HTTPS%22%7D%5D%7D\">https://https-system.com\",\"uri\":\"https://https-system.com\",\"services\":[{\"port\":\"443\",\"protocol\":\"TCP\",\"type\":\"HTTPS\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b99948e0-5b04-48fc-9aba-fd5f27fb5e38"},{"name":"Create System - HTTP","id":"a8658b97-ceb4-4bd0-baea-1529d8b3109d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"GoodAccess HTTP System\",\"host\":\"https://http-system.com\",\"uri\":\"https://http-system.com\",\"services\":[{\"port\":\"80\",\"protocol\":\"TCP\",\"type\":\"HTTP\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess HTTP System\",\"host\":\"<a href=\"https://http-system.com%22,%22uri%22:%22https://http-system.com%22,%22services%22:%5B%7B%22port%22:%2280%22,%22protocol%22:%22TCP%22,%22type%22:%22HTTP%22%7D%5D%7D\">https://http-system.com\",\"uri\":\"https://http-system.com\",\"services\":[{\"port\":\"80\",\"protocol\":\"TCP\",\"type\":\"HTTP\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a8658b97-ceb4-4bd0-baea-1529d8b3109d"},{"name":"Create System - SSH","event":[{"listen":"test","script":{"id":"bfb17c94-93a8-403c-8894-899e6d96f8a5","exec":["const response = pm.response.json();\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"e43d181d-3302-4d76-b99c-780377611d31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"GoodAccess SSH System\",\"host\":\"https://ssh-system.com\",\"uri\":\"https://ssh-system.com\",\"services\":[{\"port\":\"22\",\"protocol\":\"TCP\",\"type\":\"SSH\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess SSH System\",\"host\":\"<a href=\"https://ssh-system.com%22,%22uri%22:%22https://ssh-system.com%22,%22services%22:%5B%7B%22port%22:%2222%22,%22protocol%22:%22TCP%22,%22type%22:%22SSH%22%7D%5D%7D\">https://ssh-system.com\",\"uri\":\"https://ssh-system.com\",\"services\":[{\"port\":\"22\",\"protocol\":\"TCP\",\"type\":\"SSH\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e43d181d-3302-4d76-b99c-780377611d31"},{"name":"Create System - RDP","event":[{"listen":"test","script":{"id":"6d042c0a-7ea2-40ea-bb50-7a298b6ada1c","exec":["const response = pm.response.json();\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"59980902-4122-46c4-9617-82fcf6eb2e65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"GoodAccess RDP System\",\"host\":\"https://rdp-system.com\",\"uri\":\"https://rdp-system.com\",\"services\":[{\"port\":\"3389\",\"protocol\":\"TCP\",\"type\":\"RDP\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess RDP System\",\"host\":\"<a href=\"https://rdp-system.com%22,%22uri%22:%22https://rdp-system.com%22,%22services%22:%5B%7B%22port%22:%223389%22,%22protocol%22:%22TCP%22,%22type%22:%22RDP%22%7D%5D%7D\">https://rdp-system.com\",\"uri\":\"https://rdp-system.com\",\"services\":[{\"port\":\"3389\",\"protocol\":\"TCP\",\"type\":\"RDP\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"59980902-4122-46c4-9617-82fcf6eb2e65"},{"name":"Create System - VNC","event":[{"listen":"test","script":{"id":"8327480f-d76c-441b-999f-477dd46d1be2","exec":["const response = pm.response.json();\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"3e6a6418-75d5-4083-b1ed-e72fc5e980b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"GoodAccess VNC System\",\"host\":\"https://vnc-system.com\",\"uri\":\"https://vnc-system.com\",\"services\":[{\"port\":\"5900\",\"protocol\":\"TCP\",\"type\":\"VNC\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess VNC System\",\"host\":\"<a href=\"https://vnc-system.com%22,%22uri%22:%22https://vnc-system.com%22,%22services%22:%5B%7B%22port%22:%225900%22,%22protocol%22:%22TCP%22,%22type%22:%22VNC%22%7D%5D%7D\">https://vnc-system.com\",\"uri\":\"https://vnc-system.com\",\"services\":[{\"port\":\"5900\",\"protocol\":\"TCP\",\"type\":\"VNC\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3e6a6418-75d5-4083-b1ed-e72fc5e980b9"},{"name":"Create System - FTP","event":[{"listen":"test","script":{"id":"37e3419f-5dd2-4374-b9f2-6dd0234b6138","exec":["const response = pm.response.json();\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"ec548082-789a-416b-ae82-75ad47f4937c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"GoodAccess FTP System\",\"host\":\"https://ftp-system.com\",\"uri\":\"https://ftp-system.com\",\"services\":[{\"port\":\"21\",\"protocol\":\"TCP\",\"type\":\"FTP\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess FTP System\",\"host\":\"<a href=\"https://ftp-system.com%22,%22uri%22:%22https://ftp-system.com%22,%22services%22:%5B%7B%22port%22:%2221%22,%22protocol%22:%22TCP%22,%22type%22:%22FTP%22%7D%5D%7D\">https://ftp-system.com\",\"uri\":\"https://ftp-system.com\",\"services\":[{\"port\":\"21\",\"protocol\":\"TCP\",\"type\":\"FTP\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ec548082-789a-416b-ae82-75ad47f4937c"},{"name":"Create System - SFTP","event":[{"listen":"test","script":{"id":"71f14f14-ac13-4c88-9f93-be4bbbfdb7b5","exec":["const response = pm.response.json();\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"92fa787e-3c00-4ece-8e86-2388e408b70a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"GoodAccess SFTP System\",\"host\":\"https://sftp-system.com\",\"uri\":\"https://sftp-system.com\",\"services\":[{\"port\":\"22\",\"protocol\":\"TCP\",\"type\":\"SFTP\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess SFTP System\",\"host\":\"<a href=\"https://sftp-system.com%22,%22uri%22:%22https://sftp-system.com%22,%22services%22:%5B%7B%22port%22:%2222%22,%22protocol%22:%22TCP%22,%22type%22:%22SFTP%22%7D%5D%7D\">https://sftp-system.com\",\"uri\":\"https://sftp-system.com\",\"services\":[{\"port\":\"22\",\"protocol\":\"TCP\",\"type\":\"SFTP\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"92fa787e-3c00-4ece-8e86-2388e408b70a"},{"name":"Create System - SMB","event":[{"listen":"test","script":{"id":"b0218b50-ce45-48a3-a262-8055c200a53d","exec":["const response = pm.response.json();\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"5738b79c-a1fa-40c8-8203-894ca019dbe7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"GoodAccess SMB System\",\"host\":\"https://smb-system.com\",\"uri\":\"https://smb-system.com\",\"services\":[{\"port\":\"445\",\"protocol\":\"TCP\",\"type\":\"SMB\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess SMB System\",\"host\":\"<a href=\"https://smb-system.com%22,%22uri%22:%22https://smb-system.com%22,%22services%22:%5B%7B%22port%22:%22445%22,%22protocol%22:%22TCP%22,%22type%22:%22SMB%22%7D%5D%7D\">https://smb-system.com\",\"uri\":\"https://smb-system.com\",\"services\":[{\"port\":\"445\",\"protocol\":\"TCP\",\"type\":\"SMB\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5738b79c-a1fa-40c8-8203-894ca019dbe7"},{"name":"Create System - SMTP","event":[{"listen":"test","script":{"id":"94aa66f8-0977-4f4d-ad3e-778b519ddb97","exec":["const response = pm.response.json();\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"a3bdc50b-2afa-448f-97c5-590cea4f153c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"GoodAccess SMTP System\",\"host\":\"https://smtp-system.com\",\"uri\":\"https://smtp-system.com\",\"services\":[{\"port\":\"25\",\"protocol\":\"TCP\",\"type\":\"SMTP\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess SMTP System\",\"host\":\"<a href=\"https://smtp-system.com%22,%22uri%22:%22https://smtp-system.com%22,%22services%22:%5B%7B%22port%22:%2225%22,%22protocol%22:%22TCP%22,%22type%22:%22SMTP%22%7D%5D%7D\">https://smtp-system.com\",\"uri\":\"https://smtp-system.com\",\"services\":[{\"port\":\"25\",\"protocol\":\"TCP\",\"type\":\"SMTP\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a3bdc50b-2afa-448f-97c5-590cea4f153c"},{"name":"Create System - SMTPS","event":[{"listen":"test","script":{"id":"8196a712-6efd-4d8f-91ff-ebc0d8b78664","exec":["const response = pm.response.json();\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"304ee8c7-610b-44ff-a057-2e62d6c07e21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"GoodAccess SMTPS System\",\"host\":\"https://smtps-system.com\",\"uri\":\"https://smtps-system.com\",\"services\":[{\"port\":\"465\",\"protocol\":\"TCP\",\"type\":\"SMTPS\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess SMTPS System\",\"host\":\"<a href=\"https://smtps-system.com%22,%22uri%22:%22https://smtps-system.com%22,%22services%22:%5B%7B%22port%22:%22465%22,%22protocol%22:%22TCP%22,%22type%22:%22SMTPS%22%7D%5D%7D\">https://smtps-system.com\",\"uri\":\"https://smtps-system.com\",\"services\":[{\"port\":\"465\",\"protocol\":\"TCP\",\"type\":\"SMTPS\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"304ee8c7-610b-44ff-a057-2e62d6c07e21"},{"name":"Create System - POP3","event":[{"listen":"test","script":{"id":"c87037be-eef4-412b-bbf4-8ab275ab53c6","exec":["const response = pm.response.json();\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"d87b3316-de2e-492b-84e9-e5d2fc55575c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"GoodAccess POP3\",\"host\":\"https://pop3-system.com\",\"uri\":\"https://pop3-system.com\",\"services\":[{\"port\":\"110\",\"protocol\":\"TCP\",\"type\":\"POP3\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess advanced 2 API\",\"host\":\"<a href=\"https://advanced2.com%22,%22uri%22:%22https://advanced23.com%22,%22services%22:%5B%7B%22port%22:%22110%22,%22protocol%22:%22TCP%22,%22type%22:%22POP3%22%7D%5D%7D\">https://advanced2.com\",\"uri\":\"https://advanced23.com\",\"services\":[{\"port\":\"110\",\"protocol\":\"TCP\",\"type\":\"POP3\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d87b3316-de2e-492b-84e9-e5d2fc55575c"},{"name":"Create System - POP3S","event":[{"listen":"test","script":{"id":"81fc6af7-c04f-445d-969f-2064d4b7b20b","exec":["const response = pm.response.json();\r","\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r","\r","// Fixed reference to response object\r","pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"fec07631-d05c-4980-b472-d721ac8ef955","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"GoodAccess POP3S\",\"host\":\"https://pop3s.com\",\"uri\":\"https://pop3s.com\",\"services\":[{\"port\":\"995\",\"protocol\":\"TCP\",\"type\":\"POP3S\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess advanced 2 API\",\"host\":\"<a href=\"https://advanced2.com%22,%22uri%22:%22https://advanced23.com%22,%22services%22:%5B%7B%22port%22:%22995%22,%22protocol%22:%22TCP%22,%22type%22:%22POP3S%22%7D%5D%7D\">https://advanced2.com\",\"uri\":\"https://advanced23.com\",\"services\":[{\"port\":\"995\",\"protocol\":\"TCP\",\"type\":\"POP3S\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fec07631-d05c-4980-b472-d721ac8ef955"},{"name":"Create System - Submission","event":[{"listen":"test","script":{"id":"13c965e8-0768-4906-b475-486be5206b29","exec":["const response = pm.response.json();\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"34b0d40c-82d2-40d5-aaf7-4315ffc835ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"Submission-system\",\"host\":\"https://submission-system.com\",\"uri\":\"https://submission-system.com\",\"services\":[{\"port\":\"587\",\"protocol\":\"TCP\",\"type\":\"Submission\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess advanced 2 API\",\"host\":\"<a href=\"https://advanced2.com%22,%22uri%22:%22https://advanced23.com%22,%22services%22:%5B%7B%22port%22:%22587%22,%22protocol%22:%22TCP%22,%22type%22:%22Submission%22%7D%5D%7D\">https://advanced2.com\",\"uri\":\"https://advanced23.com\",\"services\":[{\"port\":\"587\",\"protocol\":\"TCP\",\"type\":\"Submission\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"34b0d40c-82d2-40d5-aaf7-4315ffc835ac"},{"name":"Create System - IMAP","event":[{"listen":"test","script":{"id":"1b9f167e-4b80-4e0a-933e-c1f7a501dcbf","exec":["const response = pm.response.json();\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"9627a5a6-b1ed-41c9-b103-8008056d91ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"IMAP system\",\"host\":\"https://imap.com\",\"uri\":\"https://imap.com\",\"services\":[{\"port\":\"143\",\"protocol\":\"TCP\",\"type\":\"IMAP\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess advanced 2 API\",\"host\":\"<a href=\"https://advanced2.com%22,%22uri%22:%22https://advanced23.com%22,%22services%22:%5B%7B%22port%22:%22143%22,%22protocol%22:%22TCP%22,%22type%22:%22IMAP%22%7D%5D%7D\">https://advanced2.com\",\"uri\":\"https://advanced23.com\",\"services\":[{\"port\":\"143\",\"protocol\":\"TCP\",\"type\":\"IMAP\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9627a5a6-b1ed-41c9-b103-8008056d91ac"},{"name":"Create System - MySQL","event":[{"listen":"test","script":{"id":"7a4fa7f0-1411-453a-a996-39718702e97a","exec":["const response = pm.response.json();\r","\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r","\r","// Fixed reference to response object\r","pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"0af55e22-4d34-4ec4-8393-46bb9e8ecf73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"GoodAccess MySQL\",\"host\":\"https://mysql.com\",\"uri\":\"https://mysql.com\",\"services\":[{\"port\":\"3306\",\"protocol\":\"TCP\",\"type\":\"MySQL\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess advanced 2 API\",\"host\":\"<a href=\"https://advanced2.com%22,%22uri%22:%22https://advanced23.com%22,%22services%22:%5B%7B%22port%22:%223306%22,%22protocol%22:%22TCP%22,%22type%22:%22MySQL%22%7D%5D%7D\">https://advanced2.com\",\"uri\":\"https://advanced23.com\",\"services\":[{\"port\":\"3306\",\"protocol\":\"TCP\",\"type\":\"MySQL\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0af55e22-4d34-4ec4-8393-46bb9e8ecf73"},{"name":"Create System - PostgreSQL","event":[{"listen":"test","script":{"id":"16356a42-536a-47aa-84b6-bf907c9be727","exec":["const response = pm.response.json();\r","\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r","\r","// Fixed reference to response object\r","pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"e267e758-c8da-40e0-a91e-a24aec80b307","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"GoodAccess PostgreSQL\",\"host\":\"https://postgre.com\",\"uri\":\"https://postgre.com\",\"services\":[{\"port\":\"5432\",\"protocol\":\"TCP\",\"type\":\"PostgreSQL\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess advanced 2 API\",\"host\":\"<a href=\"https://advanced2.com%22,%22uri%22:%22https://advanced23.com%22,%22services%22:%5B%7B%22port%22:%225432%22,%22protocol%22:%22TCP%22,%22type%22:%22PostgreSQL%22%7D%5D%7D\">https://advanced2.com\",\"uri\":\"https://advanced23.com\",\"services\":[{\"port\":\"5432\",\"protocol\":\"TCP\",\"type\":\"PostgreSQL\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e267e758-c8da-40e0-a91e-a24aec80b307"},{"name":"Create System - DNS","event":[{"listen":"test","script":{"id":"a8382474-90d9-4a0e-8c68-1338112038c3","exec":["const response = pm.response.json();\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"1c590b96-3bb5-4071-815a-374c1c413932","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"GoodAccess DNS\",\"host\":\"https://dns.com\",\"uri\":\"https://dns.com\",\"services\":[{\"port\":\"53\",\"protocol\":\"UDP\",\"type\":\"DNS\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess advanced 2 API\",\"host\":\"<a href=\"https://advanced2.com%22,%22uri%22:%22https://advanced23.com%22,%22services%22:%5B%7B%22port%22:%2253%22,%22protocol%22:%22UDP%22,%22type%22:%22DNS%22%7D%5D%7D\">https://advanced2.com\",\"uri\":\"https://advanced23.com\",\"services\":[{\"port\":\"53\",\"protocol\":\"UDP\",\"type\":\"DNS\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1c590b96-3bb5-4071-815a-374c1c413932"},{"name":"Create System - IMAPS","event":[{"listen":"test","script":{"id":"3ce03cfa-4dbf-4cf3-b888-9b252789737c","exec":["const response = pm.response.json();\r","\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r","\r","// Fixed reference to response object\r","pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"be8e1954-65c2-4d8e-9bb4-c12308b75d85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"GoodAccess IMAPS\",\"host\":\"https://imaps.com\",\"uri\":\"https://imaps.com\",\"services\":[{\"port\":\"993\",\"protocol\":\"TCP\",\"type\":\"IMAPS\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess advanced 2 API\",\"host\":\"<a href=\"https://advanced2.com%22,%22uri%22:%22https://advanced23.com%22,%22services%22:%5B%7B%22port%22:%22993%22,%22protocol%22:%22TCP%22,%22type%22:%22IMAPS%22%7D%5D%7D\">https://advanced2.com\",\"uri\":\"https://advanced23.com\",\"services\":[{\"port\":\"993\",\"protocol\":\"TCP\",\"type\":\"IMAPS\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"be8e1954-65c2-4d8e-9bb4-c12308b75d85"},{"name":"Create System - LDAPS","event":[{"listen":"test","script":{"id":"a3552a34-6cb1-4400-ad8d-549675495e0d","exec":["const response = pm.response.json();\r","\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r","\r","// Fixed reference to response object\r","pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"2016bf12-361c-4cbf-b0e5-15d1021b5659","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"GoodAccess LDAPS\",\"host\":\"https://ldaps.com\",\"uri\":\"https://ldaps.com\",\"services\":[{\"port\":\"636\",\"protocol\":\"TCP\",\"type\":\"LDAPS\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess advanced 2 API\",\"host\":\"<a href=\"https://advanced2.com%22,%22uri%22:%22https://advanced23.com%22,%22services%22:%5B%7B%22port%22:%22636%22,%22protocol%22:%22TCP%22,%22type%22:%22LDAPS%22%7D%5D%7D\">https://advanced2.com\",\"uri\":\"https://advanced23.com\",\"services\":[{\"port\":\"636\",\"protocol\":\"TCP\",\"type\":\"LDAPS\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2016bf12-361c-4cbf-b0e5-15d1021b5659"},{"name":"Create System - Telnet","event":[{"listen":"test","script":{"id":"8097c5a3-f282-4df6-9a23-ebf8bcb316b4","exec":["const response = pm.response.json();\r","\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r","\r","// Fixed reference to response object\r","pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"28bad2d9-2678-41b6-bbde-211ed5a7b7cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"GoodAccess Telnet\",\"host\":\"https://telnet.com\",\"uri\":\"https://telnet.com\",\"services\":[{\"port\":\"23\",\"protocol\":\"TCP\",\"type\":\"Telnet\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess advanced 2 API\",\"host\":\"<a href=\"https://advanced2.com%22,%22uri%22:%22https://advanced23.com%22,%22services%22:%5B%7B%22port%22:%2223%22,%22protocol%22:%22TCP%22,%22type%22:%22Telnet%22%7D%5D%7D\">https://advanced2.com\",\"uri\":\"https://advanced23.com\",\"services\":[{\"port\":\"23\",\"protocol\":\"TCP\",\"type\":\"Telnet\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"28bad2d9-2678-41b6-bbde-211ed5a7b7cb"},{"name":"Create System - SNMP","event":[{"listen":"test","script":{"id":"627b1040-c275-4108-9035-20d85d85a5e2","exec":["const response = pm.response.json();\r","\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r","\r","// Fixed reference to response object\r","pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"971057b9-713f-4c9c-b6ec-3081892c2964","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"GoodAccess SNMP\",\"host\":\"https://snmp.com\",\"uri\":\"https://snmp.com\",\"services\":[{\"port\":\"161\",\"protocol\":\"UDP\",\"type\":\"SNMP\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess advanced 2 API\",\"host\":\"<a href=\"https://advanced2.com%22,%22uri%22:%22https://advanced23.com%22,%22services%22:%5B%7B%22port%22:%22161%22,%22protocol%22:%22UDP%22,%22type%22:%22SNMP%22%7D%5D%7D\">https://advanced2.com\",\"uri\":\"https://advanced23.com\",\"services\":[{\"port\":\"161\",\"protocol\":\"UDP\",\"type\":\"SNMP\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"971057b9-713f-4c9c-b6ec-3081892c2964"},{"name":"Create System - NTP","event":[{"listen":"test","script":{"id":"5d0340aa-2a34-425b-9d36-3f4d68081a25","exec":["const response = pm.response.json();\r","\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r","\r","// Fixed reference to response object\r","pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"6d059e72-95a9-4e8f-9159-a02256ef2c43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"GoodAccess NTP\",\"host\":\"https://ntp.com\",\"uri\":\"https://ntp.com\",\"services\":[{\"port\":\"123\",\"protocol\":\"UDP\",\"type\":\"NTP\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess advanced 2 API\",\"host\":\"<a href=\"https://advanced2.com%22,%22uri%22:%22https://advanced23.com%22,%22services%22:%5B%7B%22port%22:%22123%22,%22protocol%22:%22UDP%22,%22type%22:%22NTP%22%7D%5D%7D\">https://advanced2.com\",\"uri\":\"https://advanced23.com\",\"services\":[{\"port\":\"123\",\"protocol\":\"UDP\",\"type\":\"NTP\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6d059e72-95a9-4e8f-9159-a02256ef2c43"},{"name":"Create System - LDAP","event":[{"listen":"test","script":{"id":"a3eccd6c-8920-43f8-9e68-ea697fabb13f","exec":["const response = pm.response.json();\r","\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r","\r","// Fixed reference to response object\r","pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"b8b4f38f-c2f8-4ecc-8ba4-5ecf8fbb3663","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"GoodAccess LDAP\",\"host\":\"https://ldap.com\",\"uri\":\"https://ldap.com\",\"services\":[{\"port\":\"389\",\"protocol\":\"TCP\",\"type\":\"LDAP\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess advanced 2 API\",\"host\":\"<a href=\"https://advanced2.com%22,%22uri%22:%22https://advanced23.com%22,%22services%22:%5B%7B%22port%22:%22389%22,%22protocol%22:%22TCP%22,%22type%22:%22LDAP%22%7D%5D%7D\">https://advanced2.com\",\"uri\":\"https://advanced23.com\",\"services\":[{\"port\":\"389\",\"protocol\":\"TCP\",\"type\":\"LDAP\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b8b4f38f-c2f8-4ecc-8ba4-5ecf8fbb3663"},{"name":"Create System - SIP","event":[{"listen":"test","script":{"id":"9b5f65b8-7abe-4078-a259-e2f01de4355a","exec":["const response = pm.response.json();\r","\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r","\r","// Fixed reference to response object\r","pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"b1f0e76d-fb96-4598-a54a-5701aa0ab1cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"GoodAccess SIP\",\"host\":\"https://sip.com\",\"uri\":\"https://sip.com\",\"services\":[{\"port\":\"5060\",\"protocol\":\"TCP\",\"type\":\"SIP\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess advanced 2 API\",\"host\":\"<a href=\"https://advanced2.com%22,%22uri%22:%22https://advanced23.com%22,%22services%22:%5B%7B%22port%22:%225060%22,%22protocol%22:%22TCP%22,%22type%22:%22SIP%22%7D%5D%7D\">https://advanced2.com\",\"uri\":\"https://advanced23.com\",\"services\":[{\"port\":\"5060\",\"protocol\":\"TCP\",\"type\":\"SIP\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b1f0e76d-fb96-4598-a54a-5701aa0ab1cc"},{"name":"Create System - NNTP","event":[{"listen":"test","script":{"id":"6e23c35f-4990-43c5-8c43-8e9b3a8a29fd","exec":["const response = pm.response.json();\r","\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r","\r","// Fixed reference to response object\r","pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"93f5e4c9-5edd-43cc-af35-058c33632bb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"GoodAccess NNTP\",\"host\":\"https://nntp.com\",\"uri\":\"https://nntp.com\",\"services\":[{\"port\":\"119\",\"protocol\":\"TCP\",\"type\":\"NNTP\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess advanced 2 API\",\"host\":\"<a href=\"https://advanced2.com%22,%22uri%22:%22https://advanced23.com%22,%22services%22:%5B%7B%22port%22:%22119%22,%22protocol%22:%22TCP%22,%22type%22:%22NNTP%22%7D%5D%7D\">https://advanced2.com\",\"uri\":\"https://advanced23.com\",\"services\":[{\"port\":\"119\",\"protocol\":\"TCP\",\"type\":\"NNTP\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"93f5e4c9-5edd-43cc-af35-058c33632bb7"},{"name":"Create System - TFTP","event":[{"listen":"test","script":{"id":"399234a1-5a5d-40b6-9e8e-02dc14d40592","exec":["const response = pm.response.json();\r","\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r","\r","// Fixed reference to response object\r","pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"c628b1d9-0ead-48ba-85fc-41e31a395ebf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"GoodAccess TFTP\",\"host\":\"https://tftp.com\",\"uri\":\"https://tftp.com\",\"services\":[{\"port\":\"69\",\"protocol\":\"UDP\",\"type\":\"TFTP\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess advanced 2 API\",\"host\":\"<a href=\"https://advanced2.com%22,%22uri%22:%22https://advanced23.com%22,%22services%22:%5B%7B%22port%22:%2269%22,%22protocol%22:%22UDP%22,%22type%22:%22TFTP%22%7D%5D%7D\">https://advanced2.com\",\"uri\":\"https://advanced23.com\",\"services\":[{\"port\":\"69\",\"protocol\":\"UDP\",\"type\":\"TFTP\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c628b1d9-0ead-48ba-85fc-41e31a395ebf"},{"name":"Create System - Git","event":[{"listen":"test","script":{"id":"9cf766db-14c0-4b35-8916-99903c224af7","exec":["const response = pm.response.json();\r","\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r","\r","// Fixed reference to response object\r","pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"76e685d6-8da1-4a98-b30d-b9f15591bd3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"GoodAccess Git\",\"host\":\"https://git.com\",\"uri\":\"https://git.com\",\"services\":[{\"port\":\"9418\",\"protocol\":\"TCP\",\"type\":\"Git\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess advanced 2 API\",\"host\":\"<a href=\"https://advanced2.com%22,%22uri%22:%22https://advanced23.com%22,%22services%22:%5B%7B%22port%22:%229418%22,%22protocol%22:%22TCP%22,%22type%22:%22Git%22%7D%5D%7D\">https://advanced2.com\",\"uri\":\"https://advanced23.com\",\"services\":[{\"port\":\"9418\",\"protocol\":\"TCP\",\"type\":\"Git\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"76e685d6-8da1-4a98-b30d-b9f15591bd3f"},{"name":"Create System - Custom","event":[{"listen":"test","script":{"id":"c105fd07-3b9e-40d3-bd1a-0e56bda32af3","exec":["const response = pm.response.json();\r","\r","if (response.created_id) {\r","    pm.environment.set(\"system_id\", response.created_id);\r","}\r","\r","// Fixed reference to response object\r","pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"61b0c4d6-e048-4a5a-8c3b-ac6ba2e4a47b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"GoodAccess Custom\",\"host\":\"https://custom-system.com\",\"uri\":\"https://custom-system.com\",\"services\":[{\"port\":\"8080\",\"protocol\":\"TCP\",\"type\":\"Custom\"}]}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system","description":"<p>Generated from cURL: curl --location --request POST '{{baseURL}}/api/v1/system' --header 'Content-Type: application/json' --data-raw '{\"name\":\"GoodAccess advanced 2 API\",\"host\":\"<a href=\"https://advanced2.com%22,%22uri%22:%22https://advanced23.com%22,%22services%22:%5B%7B%22port%22:%228080%22,%22protocol%22:%22TCP%22,%22type%22:%22Custom%22%7D%5D%7D\">https://advanced2.com\",\"uri\":\"https://advanced23.com\",\"services\":[{\"port\":\"8080\",\"protocol\":\"TCP\",\"type\":\"Custom\"}]}</a>'</p>\n","urlObject":{"path":["api","v1","system"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"61b0c4d6-e048-4a5a-8c3b-ac6ba2e4a47b"}],"id":"e35749ae-93d6-468a-900d-02ca26414814","_postman_id":"e35749ae-93d6-468a-900d-02ca26414814","description":""},{"name":"Team Members","item":[{"name":"Read All Team Members","event":[{"listen":"test","script":{"id":"20d198fa-32e4-4613-b603-1c12a6640dac","exec":["pm.test(\"Response status code is 200\", function () {","    pm.response.to.have.status(200);","});","","","pm.test(\"Response time is less than 2000ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(2000);","});","","","pm.test(\"Response has the required fields - id, created_at, avatar, name, username, is_user_blocked, and is_mfa_active\", function () {","    const responseData = pm.response.json();","","    pm.expect(responseData).to.be.an('array');","    responseData.forEach(function (member) {","        pm.expect(member).to.include.all.keys('id', 'created_at', 'avatar', 'name', 'username', 'is_user_blocked', 'is_mfa_active');","    });","});","","","pm.test(\"Id, created_at, and avatar are non-empty strings\", function () {","    const responseData = pm.response.json();","    ","    pm.expect(responseData).to.be.an('array');","    responseData.forEach(function(member) {","        pm.expect(member.id).to.be.a('string').and.to.have.lengthOf.at.least(1, \"Id should not be empty\");","        pm.expect(member.created_at).to.be.a('string').and.to.have.lengthOf.at.least(1, \"Created_at should not be empty\");","        pm.expect(member.avatar).to.be.a('string').and.to.have.lengthOf.at.least(1, \"Avatar should not be empty\");","    });","});","","pm.test(\"Each member's 'name' can be null, and 'username' must be a non-empty string\", function () {","  const responseData = pm.response.json();","  ","  pm.expect(responseData).to.be.an('array');","  responseData.forEach(function(member) {","    // Check that 'name' is either null or a non-empty string","    pm.expect(member.name).to.satisfy(function(value) {","      return value === null || (typeof value === 'string' && value.length > 0);","    }, \"Name should either be a non-empty string or null\");","    ","    // Check that 'username' is a non-empty string","    pm.expect(member.username).to.be.a('string').and.to.have.lengthOf.at.least(1, \"Username should not be empty\");","  });","});",""],"type":"text/javascript","packages":{}}}],"id":"00439fe4-f17f-4020-9b3a-aeca9e8ee547","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/members","urlObject":{"path":["api","v1","members"],"host":["{{goodaccess_integration_api_base}}"],"query":[],"variable":[]}},"response":[{"id":"188cdddd-85a7-4a5d-b86d-78039f7a0ebe","name":"200 Read All Team Members","originalRequest":{"method":"GET","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/members"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"123e1234-aaa1-123b-b1e1-e1aae1af1b12\",\n        \"created_at\": \"2024-04-03 15:10:48\",\n        \"avatar\": \"https://example.com\",\n        \"name\": \"john Doe\",\n        \"username\": \"john-doe-example@example.com\",\n        \"is_user_blocked\": true,\n        \"is_mfa_active\": true\n    }\n]"}],"_postman_id":"00439fe4-f17f-4020-9b3a-aeca9e8ee547"},{"name":"Create Team Member","event":[{"listen":"test","script":{"id":"7a995b7b-f4c9-4ec4-b4fb-c351edf2106a","exec":["const response = pm.response.json();","","pm.test(\"Verify status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Verify response time is less than 3000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(3000);","});","","pm.test(\"Verify response message is a string\", function () {","    const response = pm.response.json();","    pm.expect(response.message).to.exist;","    pm.expect(response.message).to.be.a('string');","    pm.expect(response.message).to.equal(\"Member created successfully\");","});","// Set system_id to environment variable if it exists","if (response.created_id) {","    pm.environment.set(\"member_id\", response.created_id);","}"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"c979cd0f-4485-4ab2-b226-142281dbf2ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Example name API 22\",\n    \"password\": \"strongPassword\"\n}\n","options":{"raw":{"language":"json"}}},"url":"{{goodaccess_integration_api_base}}/api/v1/member","urlObject":{"path":["api","v1","member"],"host":["{{goodaccess_integration_api_base}}"],"query":[],"variable":[]}},"response":[{"id":"02cd1458-9b44-4ef0-88ac-5dbc15e9e47a","name":"200 Create Team Member","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Example"},{"key":"password","value":"ExamplePass1234!"}]},"url":"{{goodaccess_integration_api_base}}/api/v1/member"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"created_id\": \"bdf69b20-5165-4dbc-82da-f4252cac5b8c\",\n    \"message\": \"Member created successfully\"\n}"}],"_postman_id":"c979cd0f-4485-4ab2-b226-142281dbf2ad"},{"name":"Read Team Member","event":[{"listen":"test","script":{"id":"5f8a7b7f-5eab-4050-b8a6-ee0d41e9cee8","exec":["pm.test(\"Response status code is 200\", function () {","  pm.response.to.have.status(200);","});","","","pm.test(\"Response has the required fields\", function () {","    const responseData = pm.response.json();","    ","    pm.expect(responseData).to.be.an('object');","    pm.expect(responseData.id).to.exist;","    pm.expect(responseData.created_at).to.exist;","    pm.expect(responseData.avatar).to.exist;","    pm.expect(responseData.name).to.exist;","    pm.expect(responseData.username).to.exist;","    pm.expect(responseData.is_user_blocked).to.exist;","    pm.expect(responseData.is_mfa_active).to.exist;","});","","","pm.test(\"Avatar is a valid URL format\", function () {","  const responseData = pm.response.json();","  ","  pm.expect(responseData).to.be.an('object');","  pm.expect(responseData.avatar).to.match(/^https?:\\/\\/[\\w.-]+\\.\\w+/);","});","","","pm.test(\"Response time is less than 1000ms\", function () {","  pm.expect(pm.response.responseTime).to.be.below(1000);","});","","","pm.test(\"Is_mfa_active field should be a boolean value\", function () {","    const responseData = pm.response.json();","","    pm.expect(responseData.is_mfa_active).to.be.a('boolean');","});",""],"type":"text/javascript","packages":{}}}],"id":"2f6786b4-9158-4e6c-a2e2-d94fae39913f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseURL}}/api/v1/member/{{member_id}}","urlObject":{"path":["api","v1","member","{{member_id}}"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"99eca1a5-2ee3-42ee-bde5-b524ba5ca8f2","name":"200 Read Team Member","originalRequest":{"method":"GET","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/member/bdf69b20-5165-4dbc-82da-f4252cac5b8c"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"bdf69b20-5165-4dbc-82da-f4252cac5b8c\",\n    \"name\": \"John Doe\",\n    \"email\": \"john.doe@goodaccess.com\",\n    \"avatar_url\": \"bunny.cdn\",\n    \"is_mfa_active\": true,\n    \"is_blocked\": true\n}"},{"id":"ea5e0fc9-a675-438c-b6ee-4df78862b883","name":"404 Read Team Member","originalRequest":{"method":"GET","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/member/<member-id>"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"not_found\",\n    \"error_description\": \"Member with uuid <member-id> not found\"\n}"}],"_postman_id":"2f6786b4-9158-4e6c-a2e2-d94fae39913f"},{"name":"Update Team Member","id":"8a046fe3-885b-442d-92a8-7a62c58c3c2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"EDITED MEMBER API\",\n}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/member/{{member_id}}","urlObject":{"path":["api","v1","member","{{member_id}}"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"04939428-6f5e-4c8b-8cbe-93c6d6ba0fb9","name":"200 Update Team Member","originalRequest":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"novy-put-final","type":"text"}]},"url":"{{goodaccess_integration_api_base}}/api/v1/member/<member-id>"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Member with id <member-id> has been modified.\"\n}"},{"id":"568b565b-5dc0-4796-90c7-74df8c3304fe","name":"404 Update Team Member","originalRequest":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"novy-put-final","type":"text"}]},"url":"{{goodaccess_integration_api_base}}/api/v1/member/<member-id>"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"not_found\",\n    \"error_description\": \"Member with uuid <team_member_id> not found\"\n}"}],"_postman_id":"8a046fe3-885b-442d-92a8-7a62c58c3c2b"},{"name":"Delete Team Member","event":[{"listen":"test","script":{"id":"7297202e-fda5-41a3-93b0-cbbe710166e8","exec":["// ========================================","// 2. DELETE MEMBER TESTS (Enhanced)","// ========================================","// Tests for the DELETE /api/v1/member/{{member_id}} request","const response = pm.response.json();","","pm.test(\"Delete request completed with valid status\", function () {","    // Both 200 (deleted) and 404 (already deleted) are valid","    pm.expect(pm.response.code).to.be.oneOf([200, 404]);","});","","pm.test(\"Response time is acceptable\", function () {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"Response has correct content type\", function () {","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");","});","","pm.test(\"Response is valid JSON\", function () {","    pm.response.to.be.json;","});","","// Conditional testing based on response","if (pm.response.code === 200) {","    pm.test(\"Successful deletion - message confirmed\", function () {","        const response = pm.response.json();","        pm.expect(response).to.have.property('message');","        pm.expect(response.message).to.include(\"has been removed\");","        pm.expect(response.message).to.include(pm.environment.get(\"member_id\"));","    });","    ","    pm.test(\"Successful deletion - no sensitive data leaked\", function () {","        const response = pm.response.json();","        pm.expect(response).to.not.have.property('password');","        pm.expect(response).to.not.have.property('token');","        pm.expect(response).to.not.have.property('secret');","    });","    ","    // Clear member ID after successful deletion","    pm.environment.unset(\"member_id\");","    ","} else if (pm.response.code === 404) {","    pm.test(\"Member already deleted - proper error structure\", function () {","        const response = pm.response.json();","        pm.expect(response).to.have.property('error');","        pm.expect(response).to.have.property('error_description');","        pm.expect(response.error).to.equal('not_found');","    });","    ","    pm.test(\"404 error contains member ID reference\", function () {","        const response = pm.response.json();","        const memberId = pm.environment.get(\"member_id\");","        if (memberId) {","            pm.expect(response.error_description).to.include(memberId);","        }","    });","    ","    // Clear member ID since it doesn't exist anyway","    pm.environment.unset(\"member_id\");","}"],"type":"text/javascript","packages":{}}}],"id":"03053f16-6379-4718-9088-09f0fd6c6653","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{baseURL}}/api/v1/member/{{member_id}}","urlObject":{"path":["api","v1","member","{{member_id}}"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"2920d827-cd1d-4cda-a473-af1775eff8e3","name":"200 Delete Team Member","originalRequest":{"method":"DELETE","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/member/<member-id>"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User with id <member-id> has been removed.\"\n}"}],"_postman_id":"03053f16-6379-4718-9088-09f0fd6c6653"}],"id":"7535f252-a942-4caf-b8ec-4d929b89470c","event":[{"listen":"prerequest","script":{"id":"a9c83880-6e37-4feb-825b-bdc5587b25de","type":"text/javascript","packages":{},"exec":["const ensureMemberExists = function() {","    const memberId = pm.environment.get(\"member_id\");","    ","    if (!memberId) {","        // Create new member if none exists","        const createRequest = {","            url: pm.environment.get(\"goodaccess_integration_api_base\") + \"/api/v1/member\",","            method: 'POST',","            header: {","                'Content-Type': 'application/json',","                'Authorization': 'Bearer ' + pm.environment.get(\"goodaccess_integration_token\")","            },","            body: {","                mode: 'raw',","                raw: JSON.stringify({","                    \"name\": \"Test Member \" + Date.now(),","                    \"password\": \"TestPassword123!\"","                })","            }","        };","        ","        pm.sendRequest(createRequest, function (err, response) {","            if (response.code === 200) {","                const responseData = response.json();","                pm.environment.set(\"member_id\", responseData.created_id);","                console.log(\"Created test member:\", responseData.created_id);","            }","        });","    }","};","","// Only run this for requests that need a member to exist","const requestsNeedingMember = [","    \"Read Team Member\",","    \"Update Team Member\", ","    \"Delete Team Member\"","];","","if (requestsNeedingMember.includes(pm.info.requestName)) {","    ensureMemberExists();","}"]}},{"listen":"test","script":{"id":"5e957164-cc37-4123-9830-ddaea1ad087b","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"7535f252-a942-4caf-b8ec-4d929b89470c","description":""},{"name":"Relation","item":[{"name":"Access Card x System","id":"5d509fb7-31b4-42d1-a920-c4422ea28299","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{baseURL}}/api/v1/relation/access-card/{{access_card_id}}}/system/{{system_id}}","urlObject":{"path":["api","v1","relation","access-card","{{access_card_id}}}","system","{{system_id}}"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"bd38f491-fd06-4476-a47b-15877b9b1541","name":"200 Access Card x System","originalRequest":{"method":"POST","header":[],"url":"{{goodaccess_integration_api_base}}/relation/access-card/{access_card_id}/system/{system_id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Relation created successfully\"\n}"},{"id":"5c02bb47-971d-4650-abb0-e4886f4fd047","name":"404 Access Card x System","originalRequest":{"method":"POST","header":[],"url":"{{goodaccess_integration_api_base}}/relation/access-card/{access_card_id}/system/{system_id}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"not_found\",\n    \"error_description\": \"System with id \\\"8e4a413c-7f7b-4925-9b9b-e22c3f65f2a0\\\" not found\"\n}"},{"id":"7fcef456-fa9d-4096-85b6-8cf4c0db42a8","name":"404 Access Card x System (Access Card not found)","originalRequest":{"method":"POST","header":[],"url":"{{goodaccess_customer_api_base}}/relation/v1/team-members"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"b7be951b-1843-44e7-b098-8e5973229612","name":"409 Access Card x System","originalRequest":{"method":"POST","header":[],"url":"{{goodaccess_integration_api_base}}/relation/access-card/{access_card_id}/system/{system_id}"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"already_exists\",\n    \"error_description\": \"Relation between access card (bfd5346e-5f59-4197-b21b-9e0835fdf575) and system (8e4a413c-7f7b-4925-9b9b-e22c3f65f2a0) already exists\"\n}"}],"_postman_id":"5d509fb7-31b4-42d1-a920-c4422ea28299"},{"name":"Access Card x System","id":"2b27d7cc-f986-46cf-99a1-9ac334b07ab0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"{{baseURL}}/api/v1/relation/access-card/{{access_card_id}}/system/{{system_id}}","urlObject":{"path":["api","v1","relation","access-card","{{access_card_id}}","system","{{system_id}}"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"095f6977-dc33-4061-9d3d-0d618ee604f2","name":"200 Access Card x System","originalRequest":{"method":"POST","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/relation/access-card/1cfb68bc-acbb-4e34-8707-9c912ec60e13/system/d905496b-eb71-41d3-be03-475363ef7056"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Relation removed successfully\"\n}"},{"id":"2a4935aa-5c86-4e05-924a-e1f8897fa19f","name":"404 Access Card x System (System not found)","originalRequest":{"method":"DELETE","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/relation/access-card/1cfb68bc-acbb-4e34-8707-9c912ec60e13/system/8e4a413c-7f7b-4925-9b9b-e22c3f65f2a0"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"not_found\",\n    \"error_description\": \"System with id \\\"8e4a413c-7f7b-4925-9b9b-e22c3f65f2a0\\\" not found\"\n}"},{"id":"022e940a-aefc-42eb-b5aa-a809141531d0","name":"404 Access Card x System (Access Card not found)","originalRequest":{"method":"DELETE","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/relation/access-card/8e4a413c-7f7b-4925-9b9b-e22c3f65f2a0/system/d905496b-eb71-41d3-be03-475363ef7056"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"not_found\",\n    \"error_description\": \"Access Card with id \\\"8e4a413c-7f7b-4925-9b9b-e22c3f65f2a0\\\" not found\"\n}"},{"id":"7a4605de-e3d6-4a32-822c-d50aaf7d9778","name":"404 Access Card x System (Relation not found)","originalRequest":{"method":"DELETE","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/relation/access-card/8e4a413c-7f7b-4925-9b9b-e22c3f65f2a0/system/9asdsdzp9-7f7b-4925-9b9b-e22c3f65f2a0"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"not_found\",\n    \"error_description\": \"Relation between access card ('8e4a413c-7f7b-4925-9b9b-e22c3f65f2a0') and system ('9asdsdzp9-7f7b-4925-9b9b-e22c3f65f2a0') not found\"\n}"}],"_postman_id":"2b27d7cc-f986-46cf-99a1-9ac334b07ab0"},{"name":"Access Card x Member","event":[{"listen":"test","script":{"id":"8a23b767-01d1-426b-b1f1-f51b235b28f8","exec":["var template = `","<style type=\"text/css\">","    .tftable {font-size:14px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}","    .tftable th {font-size:18px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;text-align:left;}","    .tftable tr {background-color:#ffffff;}","    .tftable td {font-size:14px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}","    .tftable tr:hover {background-color:#e0ffff;}","</style>","","<table class=\"tftable\" border=\"1\">","    <tr>","        <th>Error</th>","        <th>Error Description</th>","    </tr>","    <tr>","        <td>{{response.error}}</td>","        <td>{{response.error_description}}</td>","    </tr>","</table>","`;","","function constructVisualizerPayload() {","    return {response: pm.response.json()}","}","","pm.visualizer.set(template, constructVisualizerPayload());"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"b234e720-cad9-43b1-a1f9-d585e9b5d510","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{baseURL}}/api/v1/relation/access-card/{{access_card_id}}/member/{{member_id}}","urlObject":{"path":["api","v1","relation","access-card","{{access_card_id}}","member","{{member_id}}"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"f2ee4548-8a25-4eb7-8983-c59614688502","name":"200 Access Card x Member","originalRequest":{"method":"POST","header":[],"url":"{{goodaccess_integration_api_base}}/v1/relation/access-card/b6ae53a7-aa87-4cc1-89fb-986fad593138/member/8e4a413c-7f7b-4925-9b9b-e22c3f65f2a0"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Relation created successfully\"\n}"},{"id":"584cfb24-61c9-407c-832d-d09e4b743af6","name":"404 Access Card x Member (Team member not found)","originalRequest":{"method":"POST","header":[],"url":"{{goodaccess_customer_api_base}}/v1/relation/access-card/b6ae53a7-aa87-4cc1-89fb-986fad593138/member/8e4a413c-7f7b-4925-9b9b-e22c3f65f2a0"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"not_found\",\n    \"error_description\": \"Team member with id \\\"8e4a413c-7f7b-4925-9b9b-e22c3f65f2a0\\\" not found\"\n}"},{"id":"f329e7f3-2446-4cc5-b692-4ec5dfd8632b","name":"404 Access Card x Member (Access card not found)","originalRequest":{"method":"POST","header":[],"url":"{{goodaccess_integration_api_base}}/v1/relation/access-card/b6ae53a7-aa87-4cc1-89fb-986fad593138/member/8e4a413c-7f7b-4925-9b9b-e22c3f65f2a0"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"not_found\",\n    \"error_description\": \"Access Card with id \\\"b6ae53a7-aa87-4cc1-89fb-986fad593138\\\" not found\"\n}"},{"id":"18429125-053a-4730-8c1b-f593246fb472","name":"409 Access Card x Member","originalRequest":{"method":"POST","header":[],"url":"{{goodaccess_integration_api_base}}/v1/relation/access-card/bfd5346e-5f59-4197-b21b-9e0835fdf575/member/8e4a413c-7f7b-4925-9b9b-e22c3f65f2a0"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"already_exists\",\n    \"error_description\": \"Relation between access card (bfd5346e-5f59-4197-b21b-9e0835fdf575) and member (8e4a413c-7f7b-4925-9b9b-e22c3f65f2a0) already exists\"\n}"}],"_postman_id":"b234e720-cad9-43b1-a1f9-d585e9b5d510"},{"name":"Access Card x Member","id":"85001f58-f5e5-4400-840c-6fb54aa8c378","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{baseURL}}/api/v1/relation/access-card/{{access_card_id}}/member/{{member_id}}","urlObject":{"path":["api","v1","relation","access-card","{{access_card_id}}","member","{{member_id}}"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"ce161948-c655-4eb3-b98a-47bb2a630979","name":"200 Access Card x Member","originalRequest":{"method":"DELETE","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/relation/access-card/1cfb68bc-acbb-4e34-8707-9c912ec60e13/system/d905496b-eb71-41d3-be03-475363ef7056"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Relation removed successfully\"\n}"},{"id":"0af1ea5e-0d9f-4027-8fdc-596c8ca0bbb8","name":"404 Access Card x Member (Team member not found)","originalRequest":{"method":"DELETE","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/relation/access-card/1cfb68bc-acbb-4e34-8707-9c912ec60e13/system/d905496b-eb71-41d3-be03-475363ef7056"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"not_found\",\n    \"error_description\": \"Team member with id \\\"8e4a413c-7f7b-4925-9b9b-e22c3f65f2a0\\\" not found\"\n}"},{"id":"288769f9-e25b-4b91-a0ee-38896e3408b1","name":"404 Access Card x Member (Access card not found)","originalRequest":{"method":"DELETE","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/relation/access-card/1cfb68bc-acbb-4e34-8707-9c912ec60e13/system/d905496b-eb71-41d3-be03-475363ef7056"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"not_found\",\n    \"error_description\": \"Access Card with id \\\"b6ae53a7-aa87-4cc1-89fb-986fad593138\\\" not found\"\n}"},{"id":"b9a663ac-f53b-41c2-a2e7-087054f7eda7","name":"404 Access Card x Member (Relation not found)","originalRequest":{"method":"DELETE","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/relation/access-card/1cfb68bc-acbb-4e34-8707-9c912ec60e13/system/d905496b-eb71-41d3-be03-475363ef7056"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"not_found\",\n    \"error_description\": \"Relation between access card (\\\"8e4a413c-7f7b-4925-9b9b-e22c3f65f2a0\\\") and member (\\\"9asdsdzp9-7f7b-4925-9b9b-e22c3f65f2a0\\\") not found\"\n}"}],"_postman_id":"85001f58-f5e5-4400-840c-6fb54aa8c378"},{"name":"System Group x System","event":[{"listen":"test","script":{"id":"8a23b767-01d1-426b-b1f1-f51b235b28f8","exec":["var template = `","<style type=\"text/css\">","    .tftable {font-size:14px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}","    .tftable th {font-size:18px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;text-align:left;}","    .tftable tr {background-color:#ffffff;}","    .tftable td {font-size:14px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}","    .tftable tr:hover {background-color:#e0ffff;}","</style>","","<table class=\"tftable\" border=\"1\">","    <tr>","        <th>Error</th>","        <th>Error Description</th>","    </tr>","    <tr>","        <td>{{response.error}}</td>","        <td>{{response.error_description}}</td>","    </tr>","</table>","`;","","function constructVisualizerPayload() {","    return {response: pm.response.json()}","}","","pm.visualizer.set(template, constructVisualizerPayload());"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"a55ad840-b27e-425e-8403-840ea483c29a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{baseURL}}/api/v1/relation/system-group/aaeb4bfb-fd80-4aca-84ca-1b95b32b00ad/system/6b7bc264-877f-4cd1-901e-8e4f4f44ffc4","urlObject":{"path":["api","v1","relation","system-group","aaeb4bfb-fd80-4aca-84ca-1b95b32b00ad","system","6b7bc264-877f-4cd1-901e-8e4f4f44ffc4"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a55ad840-b27e-425e-8403-840ea483c29a"},{"name":"System Group x System","id":"06fe4976-c01a-4d05-9412-04b90fa8fe75","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{baseURL}}/api/v1/relation/system-group/<system-group-id>/system/<system-id>","urlObject":{"path":["api","v1","relation","system-group","<system-group-id>","system","<system-id>"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"06fe4976-c01a-4d05-9412-04b90fa8fe75"},{"name":"System Group x Access Card","event":[{"listen":"test","script":{"id":"8a23b767-01d1-426b-b1f1-f51b235b28f8","exec":["var template = `","<style type=\"text/css\">","    .tftable {font-size:14px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}","    .tftable th {font-size:18px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;text-align:left;}","    .tftable tr {background-color:#ffffff;}","    .tftable td {font-size:14px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}","    .tftable tr:hover {background-color:#e0ffff;}","</style>","","<table class=\"tftable\" border=\"1\">","    <tr>","        <th>Error</th>","        <th>Error Description</th>","    </tr>","    <tr>","        <td>{{response.error}}</td>","        <td>{{response.error_description}}</td>","    </tr>","</table>","`;","","function constructVisualizerPayload() {","    return {response: pm.response.json()}","}","","pm.visualizer.set(template, constructVisualizerPayload());"],"type":"text/javascript","packages":{}}}],"id":"f7e10c5d-24a6-4829-8fac-133af699e117","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{baseURL}}/api/v1/relation/system-group/b93ea3ac-7329-4355-b8b0-007bcddce0d/access-card/da552d90-13c0-462e-9e7a-17f4973f6d8e","urlObject":{"path":["api","v1","relation","system-group","b93ea3ac-7329-4355-b8b0-007bcddce0d","access-card","da552d90-13c0-462e-9e7a-17f4973f6d8e"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f7e10c5d-24a6-4829-8fac-133af699e117"},{"name":"System Group x Access Card","id":"db950bd4-9e35-41e3-af3b-6d3a6488b94c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{baseURL}}/api/v1/relation/system-group/<system-group-id>/access-card/<access-card-id>","urlObject":{"path":["api","v1","relation","system-group","<system-group-id>","access-card","<access-card-id>"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"db950bd4-9e35-41e3-af3b-6d3a6488b94c"},{"name":"Group x Member","event":[{"listen":"test","script":{"id":"8a23b767-01d1-426b-b1f1-f51b235b28f8","exec":["var template = `","<style type=\"text/css\">","    .tftable {font-size:14px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}","    .tftable th {font-size:18px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;text-align:left;}","    .tftable tr {background-color:#ffffff;}","    .tftable td {font-size:14px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}","    .tftable tr:hover {background-color:#e0ffff;}","</style>","","<table class=\"tftable\" border=\"1\">","    <tr>","        <th>Error</th>","        <th>Error Description</th>","    </tr>","    <tr>","        <td>{{response.error}}</td>","        <td>{{response.error_description}}</td>","    </tr>","</table>","`;","","function constructVisualizerPayload() {","    return {response: pm.response.json()}","}","","pm.visualizer.set(template, constructVisualizerPayload());"],"type":"text/javascript","packages":{}}}],"id":"5880485d-d39a-4134-87d1-53a1e14fa831","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{baseURL}}/api/v1/relation/group/<group-id>/member/<member-id>","urlObject":{"path":["api","v1","relation","group","<group-id>","member","<member-id>"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5880485d-d39a-4134-87d1-53a1e14fa831"},{"name":"Group x Member","event":[{"listen":"test","script":{"id":"8a23b767-01d1-426b-b1f1-f51b235b28f8","exec":["var template = `","<style type=\"text/css\">","    .tftable {font-size:14px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}","    .tftable th {font-size:18px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;text-align:left;}","    .tftable tr {background-color:#ffffff;}","    .tftable td {font-size:14px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}","    .tftable tr:hover {background-color:#e0ffff;}","</style>","","<table class=\"tftable\" border=\"1\">","    <tr>","        <th>Error</th>","        <th>Error Description</th>","    </tr>","    <tr>","        <td>{{response.error}}</td>","        <td>{{response.error_description}}</td>","    </tr>","</table>","`;","","function constructVisualizerPayload() {","    return {response: pm.response.json()}","}","","pm.visualizer.set(template, constructVisualizerPayload());"],"type":"text/javascript","packages":{}}}],"id":"aa5a42bf-727e-460d-8c54-994abee82dc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{baseURL}}/api/v1/relation/group/<group-id>/member/<member-id>","urlObject":{"path":["api","v1","relation","group","<group-id>","member","<member-id>"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"aa5a42bf-727e-460d-8c54-994abee82dc4"},{"name":"Group x Access Card","event":[{"listen":"test","script":{"id":"8a23b767-01d1-426b-b1f1-f51b235b28f8","exec":["var template = `","<style type=\"text/css\">","    .tftable {font-size:14px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}","    .tftable th {font-size:18px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;text-align:left;}","    .tftable tr {background-color:#ffffff;}","    .tftable td {font-size:14px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}","    .tftable tr:hover {background-color:#e0ffff;}","</style>","","<table class=\"tftable\" border=\"1\">","    <tr>","        <th>Error</th>","        <th>Error Description</th>","    </tr>","    <tr>","        <td>{{response.error}}</td>","        <td>{{response.error_description}}</td>","    </tr>","</table>","`;","","function constructVisualizerPayload() {","    return {response: pm.response.json()}","}","","pm.visualizer.set(template, constructVisualizerPayload());"],"type":"text/javascript","packages":{}}}],"id":"19895229-b3bd-4e6a-827d-1b7c4e744a7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{baseURL}}/api/v1/relation/group/<group-id>/access-card/<access-card>","urlObject":{"path":["api","v1","relation","group","<group-id>","access-card","<access-card>"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"19895229-b3bd-4e6a-827d-1b7c4e744a7b"},{"name":"Group x Access Card","event":[{"listen":"test","script":{"id":"8a23b767-01d1-426b-b1f1-f51b235b28f8","exec":["var template = `","<style type=\"text/css\">","    .tftable {font-size:14px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}","    .tftable th {font-size:18px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;text-align:left;}","    .tftable tr {background-color:#ffffff;}","    .tftable td {font-size:14px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}","    .tftable tr:hover {background-color:#e0ffff;}","</style>","","<table class=\"tftable\" border=\"1\">","    <tr>","        <th>Error</th>","        <th>Error Description</th>","    </tr>","    <tr>","        <td>{{response.error}}</td>","        <td>{{response.error_description}}</td>","    </tr>","</table>","`;","","function constructVisualizerPayload() {","    return {response: pm.response.json()}","}","","pm.visualizer.set(template, constructVisualizerPayload());"],"type":"text/javascript","packages":{}}}],"id":"4fb06688-ef9e-4ff4-8d2a-1b6a4c26e4a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{baseURL}}/api/v1/relation/group/<group-id>/access-card/<access-card>","urlObject":{"path":["api","v1","relation","group","<group-id>","access-card","<access-card>"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4fb06688-ef9e-4ff4-8d2a-1b6a4c26e4a0"}],"id":"c34a5964-c146-4d7e-9c3d-81cb17eb5fa9","_postman_id":"c34a5964-c146-4d7e-9c3d-81cb17eb5fa9","description":""},{"name":"Access Cards","item":[{"name":"Get all access cards","event":[{"listen":"test","script":{"id":"f9468df5-d123-4929-94a2-cf9a23c599fa","exec":[""],"type":"text/javascript","packages":{}}}],"id":"762ba65b-e0f2-4a7f-a0b7-d1c84f6d3bca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseURL}}/api/v1/access-cards","urlObject":{"path":["api","v1","access-cards"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"136a930f-2e7f-4ea8-b31b-f8e592aac43c","name":"200 Get all access cards","originalRequest":{"method":"GET","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/relation/access-cards"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"8e4a413c-7f7b-4925-9b9b-e22c3f65f2a0\",\n        \"name\": \"GoodAccess Access Card\",\n        \"description\": \"Access Card created from GoodAccess Contronl Panel for internal systems\",\n        \"members\": [\n            {\n                \"id\": \"57f25acc-7eb8-494b-bb64-7671b5726e2d\",\n                \"created_at\": \"2024-05-07 10:48:44\",\n                \"team_id\": \"162b441d-6c72-4597-92ea-185af41078cb\",\n                \"avatar_url\": \"router.png\",\n                \"name\": \"GoodAccess User\",\n                \"username\": \"user@goodaccess.com\",\n                \"is_user_blocked\": true,\n                \"is_mfa_active\": false\n            }\n        ],\n        \"systems\": [\n            {\n                \"id\": \"69f25acc-7eb8-494b-bb64-7671b5726e2d\",\n                \"created_at\": \"2024-08-15 10:48:44\",\n                \"name\": \"GoodAccess System\",\n                \"is_valid\": true,\n                \"port\": \"8080\",\n                \"host\": \"goodaccess.com\",\n                \"uri\": \"https://goodaccess.com\"\n            }\n        ]\n    }\n]"}],"_postman_id":"762ba65b-e0f2-4a7f-a0b7-d1c84f6d3bca"},{"name":"Create Access Card","event":[{"listen":"test","script":{"id":"aa669ba4-2f59-4ea6-aae7-1c18e1698c56","exec":["const response = pm.response.json();\r","\r","if (response.created_id) {\r","    pm.environment.set(\"access_card_id\", response.created_id);\r","}"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"821e03ec-1a60-43c3-b0c9-4517528b1efa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"API Test\",\n    \"description\": \"Description\"\n}","options":{"raw":{"language":"json"}}},"url":"{{goodaccess_integration_api_base}}/api/v1/access-card","urlObject":{"path":["api","v1","access-card"],"host":["{{goodaccess_integration_api_base}}"],"query":[],"variable":[]}},"response":[{"id":"bde23c7a-1080-4f29-ba3e-97aeecfff8a6","name":"200 Create Access Card","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goodaccess_integration_api_base}}/api/v1/access-card"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"created_id\": \"4514960a-2b6d-46a2-9c22-c02cc727abb7\",\n  \"message\": \"Access card created successfully\"\n}"},{"id":"944106db-51c7-4893-81df-000cbcdc3706","name":"409 Create Access Card","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goodaccess_integration_api_base}}/api/v1/access-card"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"already_exists\",\n    \"error_description\": \"Access card with name \\\"GoodAccess System\\\" already exists in the team.\"\n}"}],"_postman_id":"821e03ec-1a60-43c3-b0c9-4517528b1efa"},{"name":"Get Single Access Card","id":"044a8caa-4d62-4fa4-947d-98e7671fa37c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/access-card/{{access_card_id}}","urlObject":{"path":["api","v1","access-card","{{access_card_id}}"],"host":["{{goodaccess_integration_api_base}}"],"query":[],"variable":[]}},"response":[{"id":"94474c5e-0acd-4aef-843d-30c8ff05b078","name":"200 Get Single Access Card","originalRequest":{"method":"GET","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/access-card/<access-card-id>"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"8e4a413c-7f7b-4925-9b9b-e22c3f65f2a0\",\n    \"name\": \"GoodAccess Access Card\",\n    \"description\": \"Access Card created from GoodAccess Contronl Panel for internal systems\",\n    \"members\": [\n        {\n            \"id\": \"57f25acc-7eb8-494b-bb64-7671b5726e2d\",\n            \"created_at\": \"2024-05-07 10:48:44\",\n            \"team_id\": \"162b441d-6c72-4597-92ea-185af41078cb\",\n            \"avatar_url\": \"router.png\",\n            \"name\": \"GoodAccess User\",\n            \"username\": \"user@goodaccess.com\",\n            \"is_user_blocked\": true,\n            \"is_mfa_active\": false\n        }\n    ],\n    \"systems\": [\n        {\n            \"id\": \"69f25acc-7eb8-494b-bb64-7671b5726e2d\",\n            \"created_at\": \"2024-08-15 10:48:44\",\n            \"name\": \"GoodAccess System\",\n            \"is_valid\": true,\n            \"port\": \"8080\",\n            \"host\": \"goodaccess.com\",\n            \"uri\": \"https://goodaccess.com\"\n        }\n    ]\n}"},{"id":"9eb894fb-a947-4e78-a6d7-fc55f87c5ba2","name":"404 Get Single Access Card","originalRequest":{"method":"GET","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/access-card/<access-card-id>"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"not_found\",\n    \"error_description\": \"Access card with id \\\"8e4a413c-7f7b-4925-9b9b-e22c3f65f2a0\\\" not found\"\n}"}],"_postman_id":"044a8caa-4d62-4fa4-947d-98e7671fa37c"},{"name":"Update Access Card","id":"d1d67800-dcfd-4b99-ae02-2fce975ebeef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"GoodAccess Access Card EDITED\",\n    \"description\": \"Description\"\n}","options":{"raw":{"language":"json"}}},"url":"{{goodaccess_integration_api_base}}/api/v1/access-card/{{access_card_id}}","urlObject":{"path":["api","v1","access-card","{{access_card_id}}"],"host":["{{goodaccess_integration_api_base}}"],"query":[],"variable":[]}},"response":[{"id":"41d6d36b-d335-4d63-858c-5fd485a74ef5","name":"200 Update Access Card","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Edited Example GoodAccess Access Card\",\n    \"description\": \"Description\"\n}","options":{"raw":{"language":"json"}}},"url":"{{goodaccess_integration_api_base}}/api/v1/access-card/<access_card_id>"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Access card updated successfully\"\n}"}],"_postman_id":"d1d67800-dcfd-4b99-ae02-2fce975ebeef"},{"name":"Remove Access Card","id":"66c1fb8f-eeaf-4014-b581-9c8e45e1f1a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/access-card/{{access_card_id}}","urlObject":{"path":["api","v1","access-card","{{access_card_id}}"],"host":["{{goodaccess_integration_api_base}}"],"query":[],"variable":[]}},"response":[{"id":"9a8fd782-1109-4810-b8ba-8d6cc768f87d","name":"200 Remove Access Card","originalRequest":{"method":"DELETE","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/access-card/<access-card-id>"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User with id <member-id> has been removed.\"\n}"}],"_postman_id":"66c1fb8f-eeaf-4014-b581-9c8e45e1f1a3"}],"id":"3d80114b-1150-4f4f-b262-f56ca9310570","_postman_id":"3d80114b-1150-4f4f-b262-f56ca9310570","description":""},{"name":"Logs","item":[{"name":"Gateway Level Logs","id":"d95aacb7-11e2-4caa-985a-76aab613dfec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"date\":{\n        \"start\": \"2025-01-01 00:00:00\",\n    },\n    \"pagination\":{\n        \"page\": 1,\n        \"limit\": 100\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/gateway-level-logs","urlObject":{"path":["api","v1","gateway-level-logs"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"5bada3a5-483c-4e7f-bbe2-a46fa1c33a19","name":"200 Gateway Level Logs","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"date\":{\n        \"start\": \"<Start of gateway level logs>\",\n        \"end\": \"<End of gateway level logs>\"\n    },\n    \"member_id\":\"<Member ID>\",\n    \"gateway_id\":\"<Gateway ID>\",\n    \"pagination\":{\n        \"page\": \"<PAGE NUMBER>\",\n        \"limit\": \"<LIMIT PER PAGE>\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{goodaccess_integration_api_base}}/api/v1/gateway-level-logs"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"d95aacb7-11e2-4caa-985a-76aab613dfec"},{"name":"System Level Access Logs","id":"c32937f5-ea91-45b4-823e-a438c1c9eb2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"date\":{\n        \"start\": \"<Start of gateway level logs>\",\n        \"end\": \"<End of gateway level logs>\"\n    },\n    \"member_id\":{{member_id}},\n    \"gateway_id\":{{gateway_id}},\n    \"system_id\":{{system_id}},\n    \"pagination\":{\n        \"page\": 1,\n        \"limit\": 100\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system-level-logs","urlObject":{"path":["api","v1","system-level-logs"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c32937f5-ea91-45b4-823e-a438c1c9eb2f"}],"id":"aa518e4a-da3c-445e-a346-c52456f9e7b1","_postman_id":"aa518e4a-da3c-445e-a346-c52456f9e7b1","description":""},{"name":"System Group","item":[{"name":"Read All System Groups","event":[{"listen":"test","script":{"id":"c1081d2d-9008-45e9-935e-160b3a6cab7a","exec":["// Fixing the variable access issue","const response = pm.response.json();","","pm.test(\"Response status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Response time is within an acceptable range\", function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});","","pm.test(\"Response schema includes required fields\", function () {","    const responseData = pm.response.json();","    ","    pm.expect(responseData).to.be.an('array');","    ","    responseData.forEach(function(system) {","        pm.expect(system).to.have.property('id');","        pm.expect(system).to.have.property('name');","        pm.expect(system).to.have.property('icon');","        pm.expect(system).to.have.property('is_valid');","        pm.expect(system).to.have.property('custom_port');","        pm.expect(system).to.have.property('host');","        pm.expect(system).to.have.property('uri');","        pm.expect(system).to.have.property('access_cards');","    });","});","","pm.test(\"Id is a non-empty string\", function () {","    const responseData = pm.response.json();","    responseData.forEach(function(item){","        pm.expect(item.id).to.be.a('string').and.to.have.lengthOf.at.least(1);","    });","});","","pm.test(\"Name is a non-empty string\", function () {","    const responseData = pm.response.json();","    responseData.forEach(function(item){","        pm.expect(item.name).to.be.a('string').and.to.have.lengthOf.at.least(1);","    });","});","","pm.test(\"Is_valid is a boolean\", function () {","    const responseData = pm.response.json();","    responseData.forEach(function(item){","        pm.expect(item.is_valid).to.be.a('boolean');","    });","});","","pm.test(\"Custom_port is a string\", function () {","    const responseData = pm.response.json();","    responseData.forEach(function(item){","        pm.expect(item.custom_port).to.be.a('string');","    });","});","","pm.test(\"Host is a string\", function () {","    const responseData = pm.response.json();","    responseData.forEach(function(item){","        pm.expect(item.host).to.be.a('string');","    });","});","","pm.test(\"Uri is a string\", function () {","    const responseData = pm.response.json();","    responseData.forEach(function(item){","        pm.expect(item.uri).to.be.a('string');","    });","});","","pm.test(\"Access_cards is an array\", function () {","    const responseData = pm.response.json();","    responseData.forEach(function(item){","        pm.expect(item.access_cards).to.be.an('array');","    });","});",""],"type":"text/javascript","packages":{}}}],"id":"c926c394-3287-4010-a4cc-4e1eb2f09b6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseURL}}/api/v1/system-groups","urlObject":{"path":["api","v1","system-groups"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"6821ffe5-7935-4d36-81d2-2e8f027939d4","name":"Read System Groups","originalRequest":{"method":"GET","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/system-groups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Tue, 10 Jun 2025 09:54:40 GMT"},{"key":"server","value":"Apache"},{"key":"cache-control","value":"no-cache, private"},{"key":"x-ratelimit-limit","value":"60"},{"key":"x-ratelimit-remaining","value":"59"},{"key":"access-control-allow-origin","value":"*"},{"key":"vary","value":"Authorization"},{"key":"upgrade","value":"h2,h2c"},{"key":"connection","value":"Upgrade"},{"key":"transfer-encoding","value":"chunked"},{"key":"content-type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"d21fd779-5bec-490b-8811-5aa52ff35f1b\",\n        \"created_at\": \"2025-04-28 11:02:38\",\n        \"name\": \"GoodAccess Example TAG EDITED3\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            },\n            {\n                \"id\": \"e9a6b3f6-47a5-4530-bf6e-e3296ef42cfb\",\n                \"name\": \"TEST\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/12.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [],\n                \"host\": \"seznam.cz\",\n                \"uri\": \"https://seznam.cz\"\n            }\n        ]\n    },\n    {\n        \"id\": \"4181468a-7c16-4343-ab2f-c2571dc9f971\",\n        \"created_at\": \"2025-04-28 11:02:40\",\n        \"name\": \"System Group #2\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"cb485861-bf19-44fe-b3e8-1641493074da\",\n        \"created_at\": \"2025-04-28 11:02:45\",\n        \"name\": \"System Group #3\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"60732f88-2bc8-4d8f-b4a2-2340b1a74938\",\n        \"created_at\": \"2025-04-28 11:02:48\",\n        \"name\": \"System Group #4\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"754cb895-3dbe-4e9e-a087-98b8e257c778\",\n        \"created_at\": \"2025-04-28 11:02:51\",\n        \"name\": \"System Group #5\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"216fd2f4-de36-4062-aa5a-cd1e19a86e93\",\n        \"created_at\": \"2025-04-28 11:02:56\",\n        \"name\": \"System Group #6\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"f44d8998-32b1-4166-b1bf-8518d42f4294\",\n        \"created_at\": \"2025-04-28 11:03:00\",\n        \"name\": \"System Group #7\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"cf9c6197-52e6-4e44-a913-303134e18949\",\n        \"created_at\": \"2025-04-28 11:03:03\",\n        \"name\": \"System Group #8\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"820a1785-3b7a-490b-b136-409d23041d5e\",\n        \"created_at\": \"2025-04-28 11:03:06\",\n        \"name\": \"System Group #9\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"6da321c2-151b-4288-bcf3-4867bc0d37b5\",\n        \"created_at\": \"2025-04-28 11:03:19\",\n        \"name\": \"System Group #13\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"8a2a8bfe-fd0d-415f-99c6-09f2c1b3cc3b\",\n        \"created_at\": \"2025-04-28 11:03:22\",\n        \"name\": \"System Group #14\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"c8ee3873-a0c3-451c-b674-785c32de72d8\",\n        \"created_at\": \"2025-04-28 11:03:25\",\n        \"name\": \"System Group #15\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"ca0d80e4-f4e6-4d0b-98cd-a91fb1b27db0\",\n        \"created_at\": \"2025-04-28 11:04:05\",\n        \"name\": \"System Group #16\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"136ebd1a-9d88-4e5f-8ec6-5e2650f8e596\",\n        \"created_at\": \"2025-04-28 11:04:08\",\n        \"name\": \"System Group #17\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"d14b5f97-ab1d-4566-858d-c50118da82d2\",\n        \"created_at\": \"2025-04-28 11:04:11\",\n        \"name\": \"System Group #18\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"d9ae28b2-fda5-4e01-8466-e86ed532891d\",\n        \"created_at\": \"2025-04-28 11:04:16\",\n        \"name\": \"System Group #19\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"5c806aa3-c395-48c4-a5ee-e475591da3f2\",\n        \"created_at\": \"2025-04-28 11:04:20\",\n        \"name\": \"System Group #20\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"1093fa12-81f2-4cb7-a199-14ec23ac29b6\",\n        \"created_at\": \"2025-04-28 11:04:24\",\n        \"name\": \"System Group #21\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"018ff0b6-04a5-4fd4-aee2-2884f572d60a\",\n        \"created_at\": \"2025-04-28 11:04:27\",\n        \"name\": \"System Group #22\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"191288ae-5b16-47f5-a715-901b69735a52\",\n        \"created_at\": \"2025-04-28 11:04:31\",\n        \"name\": \"System Group #23\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"018663cf-b7b8-4ddf-9bf8-4e4a0fd222eb\",\n        \"created_at\": \"2025-04-28 11:04:35\",\n        \"name\": \"System Group #24\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"5a8a5a41-196c-44c4-aceb-cbc363c54fef\",\n        \"created_at\": \"2025-04-28 11:04:38\",\n        \"name\": \"System Group #25\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"aadffdd0-2474-426e-acdd-da4e49375ae7\",\n        \"created_at\": \"2025-04-28 11:04:41\",\n        \"name\": \"System Group #26\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"a6c574b9-24cf-43b3-9050-498de5b18b82\",\n        \"created_at\": \"2025-04-28 11:04:45\",\n        \"name\": \"System Group #27\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"bc8ffa6d-d4d6-4149-b4df-b529f2155612\",\n        \"created_at\": \"2025-04-28 11:04:49\",\n        \"name\": \"System Group #28\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"d7bab3c1-c505-4cbb-9a8c-4daf4913a4c3\",\n        \"created_at\": \"2025-04-28 11:04:52\",\n        \"name\": \"System Group #29\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"9c4a32b5-05d5-496d-b017-d66ba1b11ae2\",\n        \"created_at\": \"2025-04-28 11:04:56\",\n        \"name\": \"System Group #30\",\n        \"systems\": [\n            {\n                \"id\": \"6a25d79a-32d9-4c72-a869-ec6ed00798c3\",\n                \"name\": \"ADVANCED SYSTEM A\",\n                \"icon\": \"https://goodaccess-storage.b-cdn.net/app-resources/shortcuts/png/19.png\",\n                \"is_valid\": 1,\n                \"custom_port\": null,\n                \"access_cards\": [\n                    {\n                        \"id\": \"7fa589ba-af49-4eb6-abb0-8959066c0a18\",\n                        \"name\": \"Access Card #2\",\n                        \"description\": null\n                    }\n                ],\n                \"host\": \"13.123.23.124\",\n                \"uri\": \"https://13.123.23.124\"\n            }\n        ]\n    },\n    {\n        \"id\": \"2c232d74-3469-4e4c-af65-cab0c36c6cf8\",\n        \"created_at\": \"2025-06-10 09:34:12\",\n        \"name\": \"API Vytvořená grupa\",\n        \"systems\": []\n    },\n    {\n        \"id\": \"8a1445fa-7005-4670-a3cf-57617ab46584\",\n        \"created_at\": \"2025-06-10 10:46:10\",\n        \"name\": \"API Vytvořená grupa2\",\n        \"systems\": []\n    }\n]"}],"_postman_id":"c926c394-3287-4010-a4cc-4e1eb2f09b6a"},{"name":"Create System Group","event":[{"listen":"test","script":{"id":"be6b131b-79d0-4def-8cd6-4b2a8ea6f328","exec":["const response = pm.response.json();","","// Set system_id to environment variable if it exists","","if (response.created_id) {","    pm.environment.set(\"system-group-id\", response.created_id);","}",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"bc3b8746-9223-49b8-81f4-31769691e624","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Example System Group API Test\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system-group","urlObject":{"path":["api","v1","system-group"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"90a929f2-f801-453f-bfc2-c8004bd5076b","name":"Example Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Tag1API223\"\n}","options":{"raw":{"language":"json"}}},"url":"{{goodaccess_integration_api_base}}/api/v1/system-group"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 16 Jul 2025 08:26:03 GMT"},{"key":"server","value":"Apache"},{"key":"cache-control","value":"no-cache, private"},{"key":"x-ratelimit-limit","value":"60"},{"key":"x-ratelimit-remaining","value":"59"},{"key":"access-control-allow-origin","value":"*"},{"key":"vary","value":"Authorization"},{"key":"upgrade","value":"h2,h2c"},{"key":"connection","value":"Upgrade"},{"key":"transfer-encoding","value":"chunked"},{"key":"content-type","value":"application/json"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains;"}],"cookie":[],"responseTime":null,"body":"{\n    \"created_id\": \"041834a1-e9a1-48fc-ad5a-718e291b5938\",\n    \"message\": \"System group created successfully\"\n}"}],"_postman_id":"bc3b8746-9223-49b8-81f4-31769691e624"},{"name":"Read System Group","event":[{"listen":"test","script":{"id":"706aed21-3bca-4dad-b4c7-9ab4232bbaf1","exec":["pm.test(\"Response status code is 200\", function () {","    pm.response.to.have.status(200);","});","","","pm.test(\"Validate the response schema for required fields\", function () {","    const responseData = pm.response.json();","","    pm.expect(responseData).to.be.an('object');","    pm.expect(responseData.id).to.exist;","    pm.expect(responseData.created_at).to.exist;","    pm.expect(responseData.name).to.exist;","    pm.expect(responseData.is_valid).to.exist;","    pm.expect(responseData.port).to.exist;","    pm.expect(responseData.host).to.exist;","    pm.expect(responseData.uri).to.exist;","});","","","pm.test(\"Verify that the 'is_valid' field is a boolean\", function () {","    const responseData = pm.response.json();","    ","    pm.expect(responseData.is_valid).to.be.a('boolean');","});","","","pm.test(\"Presence and format of required headers\", function () {","    const responseData = pm.response.json();","    ","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");","    pm.expect(pm.response.headers.get(\"Cache-Control\")).to.include(\"no-cache\");","    pm.expect(pm.response.headers.get(\"Pragma\")).to.include(\"no-cache\");","});",""],"type":"text/javascript","packages":{}}}],"id":"9da2b15e-90b2-4693-a3e2-2109b2d70bed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseURL}}/api/v1/system-group/{{system-group-id}}","urlObject":{"path":["api","v1","system-group","{{system-group-id}}"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9da2b15e-90b2-4693-a3e2-2109b2d70bed"},{"name":"Update System Group","id":"64681be0-1e7a-4287-b065-9a821158c1f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Example System Group API Test EDITED\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system-group/{{system-group-id}}","urlObject":{"path":["api","v1","system-group","{{system-group-id}}"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"64681be0-1e7a-4287-b065-9a821158c1f3"},{"name":"Remove System Group","id":"4b8ba5ef-f759-4edf-a504-0aaad26d6619","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/system-group/{{system-group-id}}","urlObject":{"path":["api","v1","system-group","{{system-group-id}}"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4b8ba5ef-f759-4edf-a504-0aaad26d6619"}],"id":"af41e8be-c6f5-405b-98d1-8959d4eabc50","_postman_id":"af41e8be-c6f5-405b-98d1-8959d4eabc50","description":""},{"name":"Member Group","item":[{"name":"Read All Groups","event":[{"listen":"test","script":{"id":"c1081d2d-9008-45e9-935e-160b3a6cab7a","exec":["pm.test(\"Response status code is 200\", function () {","    pm.response.to.have.status(200);","});","","","pm.test(\"Response time is within an acceptable range\", function () {","  pm.expect(pm.response.responseTime).to.be.below(1000);","});","","","pm.test(\"Response schema includes required fields\", function () {","  const responseData = pm.response.json();","  ","  pm.expect(responseData).to.be.an('array');","  ","  responseData.forEach(function(system) {","    pm.expect(system).to.have.property('id');","    pm.expect(system).to.have.property('created_at');","    pm.expect(system).to.have.property('name');","  });","});","","","pm.test(\"Id is a non-empty string\", function () {","    const responseData = pm.response.json();","    responseData.forEach(function(item){","        pm.expect(item.id).to.be.a('string').and.to.have.lengthOf.at.least(1);","    });","});","","pm.test(\"Name is a non-empty string\", function () {","    const responseData = pm.response.json();","    responseData.forEach(function(item){","        pm.expect(item.name).to.be.a('string').and.to.have.lengthOf.at.least(1);","    });","});",""],"type":"text/javascript","packages":{}}}],"id":"1ce624f1-2252-4f13-93a4-79decf825f10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseURL}}/api/v1/groups","urlObject":{"path":["api","v1","groups"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1ce624f1-2252-4f13-93a4-79decf825f10"},{"name":"Create Group","event":[{"listen":"test","script":{"id":"20b5f683-6d26-46a1-be9b-87d2dd8d1dfb","exec":["const response = pm.response.json();","","// Set system_id to environment variable if it exists","if (response.created_id) {","    pm.environment.set(\"member_group_id\", response.created_id);","}"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"7075026e-3513-4039-b961-4f8d9f21f8e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"GoodAccess Example Group 22\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/group","urlObject":{"path":["api","v1","group"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7075026e-3513-4039-b961-4f8d9f21f8e9"},{"name":"Read Group","event":[{"listen":"test","script":{"id":"706aed21-3bca-4dad-b4c7-9ab4232bbaf1","exec":["pm.test(\"Response status code is 200\", function () {","    pm.response.to.have.status(200);","});","","","pm.test(\"Validate the response schema for required fields\", function () {","    const responseData = pm.response.json();","","    pm.expect(responseData).to.be.an('object');","    pm.expect(responseData.id).to.exist;","    pm.expect(responseData.created_at).to.exist;","    pm.expect(responseData.name).to.exist;","    pm.expect(responseData.is_valid).to.exist;","    pm.expect(responseData.port).to.exist;","    pm.expect(responseData.host).to.exist;","    pm.expect(responseData.uri).to.exist;","});","","","pm.test(\"Verify that the 'is_valid' field is a boolean\", function () {","    const responseData = pm.response.json();","    ","    pm.expect(responseData.is_valid).to.be.a('boolean');","});","","","pm.test(\"Presence and format of required headers\", function () {","    const responseData = pm.response.json();","    ","    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");","    pm.expect(pm.response.headers.get(\"Cache-Control\")).to.include(\"no-cache\");","    pm.expect(pm.response.headers.get(\"Pragma\")).to.include(\"no-cache\");","});",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"940cde40-45aa-439d-bf22-acd61097eb76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/group/{{member_group_id}}","urlObject":{"path":["api","v1","group","{{member_group_id}}"],"host":["{{goodaccess_integration_api_base}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"940cde40-45aa-439d-bf22-acd61097eb76"},{"name":"Update Group","id":"eea06f81-1899-4198-8b0f-af381bce9b04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"GoodAccess Example API Group EDITED NAME\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/group/{{member_group_id}}","urlObject":{"path":["api","v1","group","{{member_group_id}}"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"eea06f81-1899-4198-8b0f-af381bce9b04"},{"name":"Remove Group","id":"da9e0961-a760-4bf7-8bab-0a79b169246e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/group/{{member_group_id}}","urlObject":{"path":["api","v1","group","{{member_group_id}}"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"da9e0961-a760-4bf7-8bab-0a79b169246e"}],"id":"28b0566d-2c7f-4589-9025-4ede1504643d","_postman_id":"28b0566d-2c7f-4589-9025-4ede1504643d","description":""},{"name":"Devices","item":[{"name":"Read All Devices","event":[{"listen":"test","script":{"id":"b6261dd1-dad4-4fa4-9f8d-ec616b3c9936","exec":["const response = pm.response.json();","","// Set system_id to environment variable if it exists","if (Array.isArray(response) && response.length > 0) {","    pm.environment.set(\"device_id\", response[0].id);","}","","pm.test(\"Response status code is 200\", function () {","    pm.expect(pm.response.code).to.equal(200);","});","","","pm.test(\"Response time is less than 2000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","","pm.test(\"Response is an array with at least one device object\", function () {","    const responseData = pm.response.json();","    ","    pm.expect(responseData).to.be.an('array').that.is.not.empty;","    pm.expect(responseData[0]).to.be.an('object');","});","","","pm.test(\"Each device object contains the required fields\", function () {","    const responseData = pm.response.json();","    ","    pm.expect(responseData).to.be.an('array').that.is.not.empty;","    ","    responseData.forEach(function(device) {","        pm.expect(device).to.be.an('object').that.includes.keys('id', 'created_at', 'status', 'name', 'hostname', 'operating_system');","    });","});",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"344c5ec3-411e-4f19-ad5e-48e36b190b55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseURL}}/api/v1/devices","urlObject":{"path":["api","v1","devices"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"344c5ec3-411e-4f19-ad5e-48e36b190b55"},{"name":"Read Device","id":"21c065e3-51df-43b2-9b23-2b6d9ba963bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseURL}}/api/v1/device/{{device_id}}","urlObject":{"path":["api","v1","device","{{device_id}}"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"21c065e3-51df-43b2-9b23-2b6d9ba963bb"},{"name":"Delete Device","id":"cfacd92d-d9c4-4b8a-a688-bf5ebf49027d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{baseURL}}/api/v1/device/{{device_id}}","urlObject":{"path":["api","v1","device","{{device_id}}"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cfacd92d-d9c4-4b8a-a688-bf5ebf49027d"},{"name":"Rename Device","id":"40eeeb70-0d13-41b2-ac94-016d91f39d9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"is_blocked\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/api/v1/device/{{device_id}}","urlObject":{"path":["api","v1","device","{{device_id}}"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"40eeeb70-0d13-41b2-ac94-016d91f39d9f"}],"id":"72eef307-0948-477a-81f3-0f5cdb7b4d1d","_postman_id":"72eef307-0948-477a-81f3-0f5cdb7b4d1d","description":""},{"name":"Test Connection","id":"e3f05263-e98d-4d4b-8e1a-cd3f1b3cf287","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{goodaccess_integration_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseURL}}/api/test","urlObject":{"path":["api","test"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"7efe7e39-2177-45b8-b9d4-43c1a9129ae3","name":"200 Test Connection","originalRequest":{"method":"GET","header":[],"url":"{{goodaccess_integration_api_base}}/api/v1/test-connection"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Connection has been established successfully.\"\n}"},{"id":"ef206ce4-a82f-4e1f-8c3a-1ad1b66272a5","name":"Test Connection","originalRequest":{"method":"GET","header":[],"url":"{{baseURL}}/api/test"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":[{"key":"date","value":"Fri, 24 Oct 2025 10:22:51 GMT"},{"key":"server","value":"Apache"},{"key":"vary","value":"Authorization"},{"key":"upgrade","value":"h2,h2c"},{"key":"connection","value":"Upgrade"},{"key":"transfer-encoding","value":"chunked"},{"key":"content-type","value":"text/html; charset=UTF-8"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains;"},{"key":"set-cookie","value":"SERVERID=prod-www-02; path=/"}],"cookie":[],"responseTime":null,"body":"<script> Sfdump = window.Sfdump || (function (doc) { doc.documentElement.classList.add('sf-js-enabled'); var rxEsc = /([.*+?^${}()|\\[\\]\\/\\\\])/g, idRx = /\\bsf-dump-\\d+-ref[012]\\w+\\b/, keyHint = 0 <= navigator.platform.toUpperCase().indexOf('MAC') ? 'Cmd' : 'Ctrl', addEventListener = function (e, n, cb) { e.addEventListener(n, cb, false); }; if (!doc.addEventListener) { addEventListener = function (element, eventName, callback) { element.attachEvent('on' + eventName, function (e) { e.preventDefault = function () {e.returnValue = false;}; e.target = e.srcElement; callback(e); }); }; } function toggle(a, recursive) { var s = a.nextSibling || {}, oldClass = s.className, arrow, newClass; if (/\\bsf-dump-compact\\b/.test(oldClass)) { arrow = '&#9660;'; newClass = 'sf-dump-expanded'; } else if (/\\bsf-dump-expanded\\b/.test(oldClass)) { arrow = '&#9654;'; newClass = 'sf-dump-compact'; } else { return false; } if (doc.createEvent && s.dispatchEvent) { var event = doc.createEvent('Event'); event.initEvent('sf-dump-expanded' === newClass ? 'sfbeforedumpexpand' : 'sfbeforedumpcollapse', true, false); s.dispatchEvent(event); } a.lastChild.innerHTML = arrow; s.className = s.className.replace(/\\bsf-dump-(compact|expanded)\\b/, newClass); if (recursive) { try { a = s.querySelectorAll('.'+oldClass); for (s = 0; s < a.length; ++s) { if (-1 == a[s].className.indexOf(newClass)) { a[s].className = newClass; a[s].previousSibling.lastChild.innerHTML = arrow; } } } catch (e) { } } return true; }; function collapse(a, recursive) { var s = a.nextSibling || {}, oldClass = s.className; if (/\\bsf-dump-expanded\\b/.test(oldClass)) { toggle(a, recursive); return true; } return false; }; function expand(a, recursive) { var s = a.nextSibling || {}, oldClass = s.className; if (/\\bsf-dump-compact\\b/.test(oldClass)) { toggle(a, recursive); return true; } return false; }; function collapseAll(root) { var a = root.querySelector('a.sf-dump-toggle'); if (a) { collapse(a, true); expand(a); return true; } return false; } function reveal(node) { var previous, parents = []; while ((node = node.parentNode || {}) && (previous = node.previousSibling) && 'A' === previous.tagName) { parents.push(previous); } if (0 !== parents.length) { parents.forEach(function (parent) { expand(parent); }); return true; } return false; } function highlight(root, activeNode, nodes) { resetHighlightedNodes(root); Array.from(nodes||[]).forEach(function (node) { if (!/\\bsf-dump-highlight\\b/.test(node.className)) { node.className = node.className + ' sf-dump-highlight'; } }); if (!/\\bsf-dump-highlight-active\\b/.test(activeNode.className)) { activeNode.className = activeNode.className + ' sf-dump-highlight-active'; } } function resetHighlightedNodes(root) { Array.from(root.querySelectorAll('.sf-dump-str, .sf-dump-key, .sf-dump-public, .sf-dump-protected, .sf-dump-private')).forEach(function (strNode) { strNode.className = strNode.className.replace(/\\bsf-dump-highlight\\b/, ''); strNode.className = strNode.className.replace(/\\bsf-dump-highlight-active\\b/, ''); }); } return function (root, x) { root = doc.getElementById(root); var indentRx = new RegExp('^('+(root.getAttribute('data-indent-pad') || ' ').replace(rxEsc, '\\\\$1')+')+', 'm'), options = {\"maxDepth\":1,\"maxStringLength\":160,\"fileLinkFormat\":false}, elt = root.getElementsByTagName('A'), len = elt.length, i = 0, s, h, t = []; while (i < len) t.push(elt[i++]); for (i in x) { options[i] = x[i]; } function a(e, f) { addEventListener(root, e, function (e, n) { if ('A' == e.target.tagName) { f(e.target, e); } else if ('A' == e.target.parentNode.tagName) { f(e.target.parentNode, e); } else { n = /\\bsf-dump-ellipsis\\b/.test(e.target.className) ? e.target.parentNode : e.target; if ((n = n.nextElementSibling) && 'A' == n.tagName) { if (!/\\bsf-dump-toggle\\b/.test(n.className)) { n = n.nextElementSibling || n; } f(n, e, true); } } }); }; function isCtrlKey(e) { return e.ctrlKey || e.metaKey; } function xpathString(str) { var parts = str.match(/[^'\"]+|['\"]/g).map(function (part) { if (\"'\" == part) { return '\"\\'\"'; } if ('\"' == part) { return \"'\\\"'\"; } return \"'\" + part + \"'\"; }); return \"concat(\" + parts.join(\",\") + \", '')\"; } function xpathHasClass(className) { return \"contains(concat(' ', normalize-space(@class), ' '), ' \" + className +\" ')\"; } a('mouseover', function (a, e, c) { if (c) { e.target.style.cursor = \"pointer\"; } }); a('click', function (a, e, c) { if (/\\bsf-dump-toggle\\b/.test(a.className)) { e.preventDefault(); if (!toggle(a, isCtrlKey(e))) { var r = doc.getElementById(a.getAttribute('href').slice(1)), s = r.previousSibling, f = r.parentNode, t = a.parentNode; t.replaceChild(r, a); f.replaceChild(a, s); t.insertBefore(s, r); f = f.firstChild.nodeValue.match(indentRx); t = t.firstChild.nodeValue.match(indentRx); if (f && t && f[0] !== t[0]) { r.innerHTML = r.innerHTML.replace(new RegExp('^'+f[0].replace(rxEsc, '\\\\$1'), 'mg'), t[0]); } if (/\\bsf-dump-compact\\b/.test(r.className)) { toggle(s, isCtrlKey(e)); } } if (c) { } else if (doc.getSelection) { try { doc.getSelection().removeAllRanges(); } catch (e) { doc.getSelection().empty(); } } else { doc.selection.empty(); } } else if (/\\bsf-dump-str-toggle\\b/.test(a.className)) { e.preventDefault(); e = a.parentNode.parentNode; e.className = e.className.replace(/\\bsf-dump-str-(expand|collapse)\\b/, a.parentNode.className); } }); elt = root.getElementsByTagName('SAMP'); len = elt.length; i = 0; while (i < len) t.push(elt[i++]); len = t.length; for (i = 0; i < len; ++i) { elt = t[i]; if ('SAMP' == elt.tagName) { a = elt.previousSibling || {}; if ('A' != a.tagName) { a = doc.createElement('A'); a.className = 'sf-dump-ref'; elt.parentNode.insertBefore(a, elt); } else { a.innerHTML += ' '; } a.title = (a.title ? a.title+'\\n[' : '[')+keyHint+'+click] Expand all children'; a.innerHTML += elt.className == 'sf-dump-compact' ? '\n    <span>&#9654;</span>' : '\n    <span>&#9660;</span>'; a.className += ' sf-dump-toggle'; x = 1; if ('sf-dump' != elt.parentNode.className) { x += elt.parentNode.getAttribute('data-depth')/1; } } else if (/\\bsf-dump-ref\\b/.test(elt.className) && (a = elt.getAttribute('href'))) { a = a.slice(1); elt.className += ' sf-dump-hover'; elt.className += ' '+a; if (/[\\[{]$/.test(elt.previousSibling.nodeValue)) { a = a != elt.nextSibling.id && doc.getElementById(a); try { s = a.nextSibling; elt.appendChild(a); s.parentNode.insertBefore(a, s); if (/^[@#]/.test(elt.innerHTML)) { elt.innerHTML += '\n    <span>&#9654;</span>'; } else { elt.innerHTML = '\n    <span>&#9654;</span>'; elt.className = 'sf-dump-ref'; } elt.className += ' sf-dump-toggle'; } catch (e) { if ('&' == elt.innerHTML.charAt(0)) { elt.innerHTML = '&#8230;'; elt.className = 'sf-dump-ref'; } } } } } if (doc.evaluate && Array.from && root.children.length > 1) { root.setAttribute('tabindex', 0); SearchState = function () { this.nodes = []; this.idx = 0; }; SearchState.prototype = { next: function () { if (this.isEmpty()) { return this.current(); } this.idx = this.idx< (this.nodes.length - 1) ? this.idx + 1 : 0; return this.current(); }, previous: function () { if (this.isEmpty()) { return this.current(); } this.idx = this.idx > 0 ? this.idx - 1 : (this.nodes.length - 1); return this.current(); }, isEmpty: function () { return 0 === this.count(); }, current: function () { if (this.isEmpty()) { return null; } return this.nodes[this.idx]; }, reset: function () { this.nodes = []; this.idx = 0; }, count: function () { return this.nodes.length; }, }; function showCurrent(state) { var currentNode = state.current(), currentRect, searchRect; if (currentNode) { reveal(currentNode); highlight(root, currentNode, state.nodes); if ('scrollIntoView' in currentNode) { currentNode.scrollIntoView(true); currentRect = currentNode.getBoundingClientRect(); searchRect = search.getBoundingClientRect(); if (currentRect.top < (searchRect.top + searchRect.height)) { window.scrollBy(0, -(searchRect.top + searchRect.height + 5)); } } } counter.textContent = (state.isEmpty() ? 0 : state.idx + 1) + ' of ' + state.count(); } var search = doc.createElement('div'); search.className = 'sf-dump-search-wrapper sf-dump-search-hidden'; search.innerHTML = ' \n    <input type=\"text\" class=\"sf-dump-search-input\">\n    <span class=\"sf-dump-search-count\">0 of 0<\\/span>\n        <button type=\"button\" class=\"sf-dump-search-input-previous\" tabindex=\"-1\">\n            <svg viewBox=\"0 0 1792 1792\" xmlns=\"http://www.w3.org/2000/svg\">\n                <path d=\"M1683 1331l-166 165q-19 19-45 19t-45-19L896 965l-531 531q-19 19-45 19t-45-19l-166-165q-19-19-19-45.5t19-45.5l742-741q19-19 45-19t45 19l742 741q19 19 19 45.5t-19 45.5z\"\\/><\\/svg><\\/button>\n                <button type=\"button\" class=\"sf-dump-search-input-next\" tabindex=\"-1\">\n                    <svg viewBox=\"0 0 1792 1792\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <path d=\"M1683 808l-742 741q-19 19-45 19t-45-19L109 808q-19-19-19-45.5t19-45.5l166-165q19-19 45-19t45 19l531 531 531-531q19-19 45-19t45 19l166 165q19 19 19 45.5t-19 45.5z\"\\/><\\/svg><\\/button> '; root.insertBefore(search, root.firstChild); var state = new SearchState(); var searchInput = search.querySelector('.sf-dump-search-input'); var counter = search.querySelector('.sf-dump-search-count'); var searchInputTimer = 0; var previousSearchQuery = ''; addEventListener(searchInput, 'keyup', function (e) { var searchQuery = e.target.value; /* Don't perform anything if the pressed key didn't change the query */ if (searchQuery === previousSearchQuery) { return; } previousSearchQuery = searchQuery; clearTimeout(searchInputTimer); searchInputTimer = setTimeout(function () { state.reset(); collapseAll(root); resetHighlightedNodes(root); if ('' === searchQuery) { counter.textContent = '0 of 0'; return; } var classMatches = [ \"sf-dump-str\", \"sf-dump-key\", \"sf-dump-public\", \"sf-dump-protected\", \"sf-dump-private\", ].map(xpathHasClass).join(' or '); var xpathResult = doc.evaluate('.//span[' + classMatches + '][contains(translate(child::text(), ' + xpathString(searchQuery.toUpperCase()) + ', ' + xpathString(searchQuery.toLowerCase()) + '), ' + xpathString(searchQuery.toLowerCase()) + ')]', root, null, XPathResult.ORDERED_NODE_ITERATOR_TYPE, null); while (node = xpathResult.iterateNext()) state.nodes.push(node); showCurrent(state); }, 400); }); Array.from(search.querySelectorAll('.sf-dump-search-input-next, .sf-dump-search-input-previous')).forEach(function (btn) { addEventListener(btn, 'click', function (e) { e.preventDefault(); -1 !== e.target.className.indexOf('next') ? state.next() : state.previous(); searchInput.focus(); collapseAll(root); showCurrent(state); }) }); addEventListener(root, 'keydown', function (e) { var isSearchActive = !/\\bsf-dump-search-hidden\\b/.test(search.className); if ((114 === e.keyCode && !isSearchActive) || (isCtrlKey(e) && 70 === e.keyCode)) { /* F3 or CMD/CTRL + F */ if (70 === e.keyCode && document.activeElement === searchInput) { /* * If CMD/CTRL + F is hit while having focus on search input, * the user probably meant to trigger browser search instead. * Let the browser execute its behavior: */ return; } e.preventDefault(); search.className = search.className.replace(/\\bsf-dump-search-hidden\\b/, ''); searchInput.focus(); } else if (isSearchActive) { if (27 === e.keyCode) { /* ESC key */ search.className += ' sf-dump-search-hidden'; e.preventDefault(); resetHighlightedNodes(root); searchInput.value = ''; } else if ( (isCtrlKey(e) && 71 === e.keyCode) /* CMD/CTRL + G */ || 13 === e.keyCode /* Enter */ || 114 === e.keyCode /* F3 */ ) { e.preventDefault(); e.shiftKey ? state.previous() : state.next(); collapseAll(root); showCurrent(state); } } }); } if (0 >= options.maxStringLength) { return; } try { elt = root.querySelectorAll('.sf-dump-str'); len = elt.length; i = 0; t = []; while (i < len) t.push(elt[i++]); len = t.length; for (i = 0; i < len; ++i) { elt = t[i]; s = elt.innerText || elt.textContent; x = s.length - options.maxStringLength; if (0 < x) { h = elt.innerHTML; elt[elt.innerText ? 'innerText' : 'textContent'] = s.substring(0, options.maxStringLength); elt.className += ' sf-dump-str-collapse'; elt.innerHTML = '\n                        <span class=sf-dump-str-collapse>'+h+'\n                            <a class=\"sf-dump-ref sf-dump-str-toggle\" title=\"Collapse\"> &#9664;</a>\n                        </span>'+ '\n                        <span class=sf-dump-str-expand>'+elt.innerHTML+'\n                            <a class=\"sf-dump-ref sf-dump-str-toggle\" title=\"'+x+' remaining characters\"> &#9654;</a>\n                        </span>'; } } } catch (e) { } }; })(document);\n                    </script>\n                    <style> .sf-js-enabled pre.sf-dump .sf-dump-compact, .sf-js-enabled .sf-dump-str-collapse .sf-dump-str-collapse, .sf-js-enabled .sf-dump-str-expand .sf-dump-str-expand { display: none; } .sf-dump-hover:hover { background-color: #B729D9; color: #FFF !important; border-radius: 2px; } pre.sf-dump { display: block; white-space: pre; padding: 5px; overflow: initial !important; } pre.sf-dump:after { content: \"\"; visibility: hidden; display: block; height: 0; clear: both; } pre.sf-dump .sf-dump-ellipsization { display: inline-flex; } pre.sf-dump a { text-decoration: none; cursor: pointer; border: 0; outline: none; color: inherit; } pre.sf-dump img { max-width: 50em; max-height: 50em; margin: .5em 0 0 0; padding: 0; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAHUlEQVQY02O8zAABilCaiQEN0EeA8QuUcX9g3QEAAjcC5piyhyEAAAAASUVORK5CYII=) #D3D3D3; } pre.sf-dump .sf-dump-ellipsis { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; } pre.sf-dump .sf-dump-ellipsis-tail { flex-shrink: 0; } pre.sf-dump code { display:inline; padding:0; background:none; } .sf-dump-public.sf-dump-highlight, .sf-dump-protected.sf-dump-highlight, .sf-dump-private.sf-dump-highlight, .sf-dump-str.sf-dump-highlight, .sf-dump-key.sf-dump-highlight { background: rgba(111, 172, 204, 0.3); border: 1px solid #7DA0B1; border-radius: 3px; } .sf-dump-public.sf-dump-highlight-active, .sf-dump-protected.sf-dump-highlight-active, .sf-dump-private.sf-dump-highlight-active, .sf-dump-str.sf-dump-highlight-active, .sf-dump-key.sf-dump-highlight-active { background: rgba(253, 175, 0, 0.4); border: 1px solid #ffa500; border-radius: 3px; } pre.sf-dump .sf-dump-search-hidden { display: none !important; } pre.sf-dump .sf-dump-search-wrapper { font-size: 0; white-space: nowrap; margin-bottom: 5px; display: flex; position: -webkit-sticky; position: sticky; top: 5px; } pre.sf-dump .sf-dump-search-wrapper > * { vertical-align: top; box-sizing: border-box; height: 21px; font-weight: normal; border-radius: 0; background: #FFF; color: #757575; border: 1px solid #BBB; } pre.sf-dump .sf-dump-search-wrapper > input.sf-dump-search-input { padding: 3px; height: 21px; font-size: 12px; border-right: none; border-top-left-radius: 3px; border-bottom-left-radius: 3px; color: #000; min-width: 15px; width: 100%; } pre.sf-dump .sf-dump-search-wrapper > .sf-dump-search-input-next, pre.sf-dump .sf-dump-search-wrapper > .sf-dump-search-input-previous { background: #F2F2F2; outline: none; border-left: none; font-size: 0; line-height: 0; } pre.sf-dump .sf-dump-search-wrapper > .sf-dump-search-input-next { border-top-right-radius: 3px; border-bottom-right-radius: 3px; } pre.sf-dump .sf-dump-search-wrapper > .sf-dump-search-input-next > svg, pre.sf-dump .sf-dump-search-wrapper > .sf-dump-search-input-previous > svg { pointer-events: none; width: 12px; height: 12px; } pre.sf-dump .sf-dump-search-wrapper > .sf-dump-search-count { display: inline-block; padding: 0 5px; margin: 0; border-left: none; line-height: 21px; font-size: 12px; }pre.sf-dump, pre.sf-dump .sf-dump-default{background-color:#18171B; color:#FF8400; line-height:1.2em; font:12px Menlo, Monaco, Consolas, monospace; word-wrap: break-word; white-space: pre-wrap; position:relative; z-index:99999; word-break: break-all}pre.sf-dump .sf-dump-num{font-weight:bold; color:#1299DA}pre.sf-dump .sf-dump-const{font-weight:bold}pre.sf-dump .sf-dump-str{font-weight:bold; color:#56DB3A}pre.sf-dump .sf-dump-note{color:#1299DA}pre.sf-dump .sf-dump-ref{color:#A0A0A0}pre.sf-dump .sf-dump-public{color:#FFFFFF}pre.sf-dump .sf-dump-protected{color:#FFFFFF}pre.sf-dump .sf-dump-private{color:#FFFFFF}pre.sf-dump .sf-dump-meta{color:#B729D9}pre.sf-dump .sf-dump-key{color:#56DB3A}pre.sf-dump .sf-dump-index{color:#1299DA}pre.sf-dump .sf-dump-ellipsis{color:#FF8400}pre.sf-dump .sf-dump-ns{user-select:none;}pre.sf-dump .sf-dump-ellipsis-note{color:#1299DA}</style>\n                    <pre class=sf-dump id=sf-dump-1338668376 data-indent-pad=\"  \">\"\n                        <span class=sf-dump-str title=\"11 characters\">debuge test</span>\"\n                        <span style=\"color: #A0A0A0;\"> // app/Http/Controllers/TestController.php:18</span>\n                    </pre>\n                    <script>Sfdump(\"sf-dump-1338668376\")</script>"}],"_postman_id":"e3f05263-e98d-4d4b-8e1a-cd3f1b3cf287"}],"id":"542e9a6d-e053-49e3-bc04-dbab58944311","description":"<p>API Integration enables you to securely connect to the GoodAccess Customer API using a generated token. This allows efficient retrieval of team usage data and simplifies team management through the REST API.</p>\n","_postman_id":"542e9a6d-e053-49e3-bc04-dbab58944311"}],"event":[{"listen":"prerequest","script":{"id":"fc4a2061-b0ad-4ab0-8609-ff95178c201b","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"f71a6ca7-ec2f-454c-8100-f574a9387840","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}]}