{"info":{"_postman_id":"f6ba87ec-cfab-4d87-9077-f28dda15b93e","name":"TeamForge Baselines REST API Documentation","description":"<html><head></head><body><p>TeamForge Baseline APIs are used to perform all baseline related activities in TeamForge.</p>\n<p>Read <a href=\"https://forge.collab.net/apidoc/#auth\">how to authenticate</a> to know more about authentication and access tokens.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"7877371","collectionId":"f6ba87ec-cfab-4d87-9077-f28dda15b93e","publishedId":"TVetcS9W","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-11-20T21:05:41.000Z"},"item":[{"name":"Getting Started","item":[{"name":"Authenticate User","event":[{"listen":"test","script":{"id":"76bb59be-de77-4fec-9160-0498e3e31cfb","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"AdminToken\", jsonData.token_type + \" \" + jsonData.access_token);","postman.setEnvironmentVariable(\"AdminTokenSoap\", jsonData.access_token);"],"type":"text/javascript"}}],"id":"87ef2f52-3dcb-470c-9354-425fd1ac9bc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"password","type":"text"},{"key":"username","value":"{{userName}}","type":"text"},{"key":"password","value":"{{password}}","type":"text"},{"key":"client_id","value":"api-client","type":"text"},{"key":"scope","value":"urn:ctf:services:ctf urn:ctf:services:svn urn:ctf:services:gerrit urn:ctf:services:soap60","type":"text"}]},"url":"{{HostName}}/sf/auth/token","description":"<p>Authenticates user to access TeamForge</p>\n","urlObject":{"path":["sf","auth","token"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"6ad074ec-865b-4c62-9cbd-3dfcd58fa5a5","name":"Authenticate User","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"password","type":"text"},{"key":"username","value":"{{userName}}","type":"text"},{"key":"password","value":"{{password}}","type":"text"},{"key":"client_id","value":"api-client","type":"text"},{"key":"scope","value":"urn:ctf:services:ctf urn:ctf:services:svn urn:ctf:services:gerrit urn:ctf:services:soap60","type":"text"}]},"url":"{{HostName}}/sf/auth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 20 Oct 2018 06:23:33 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Cache-Control","value":"no-store, max-age=0"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Expires","value":"Sat, 20 Oct 2018 06:23:33 GMT"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Content-Length","value":"436"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"eyJraWQiOiIxIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImF1ZCI6WyJzb2FwNjAiLCJjdGYiLCJzdm4iLCJnZXJyaXQiXSwibmJmIjoxNTQwMDE2NjEzLCJhbXIiOlsidXJuOmN0ZjphbXI6dXB3ZCJdLCJpc3MiOiJ1cm46Y3RmOmlzczp0Zi1pZHAiLCJleHAiOjE1NDAwMjAyMTMsImlhdCI6MTU0MDAxNjYxMywianRpIjoiMWQ3OTZkMjgtNGZjMC00NmU2LTg5MmItM2M3MGJjZDYzNjdjIn0.Vi0NCswXLcuKmOR7wlF21CEE0KG9dIcBGZBWj_KlpRMr3Elxpba8Mv_2nE-SwxjzRfFZeXlMBX6lkm8JhcJy_PsAc8rb_F4HHAfyWKiEMlw38yumdILO6LboHjSeQl2NHur0cFAAC26Uv2l7GAdHMQwv3e9ICMlfHqP_jkkyFSw\",\n    \"token_type\": \"Bearer\"\n}"}],"_postman_id":"87ef2f52-3dcb-470c-9354-425fd1ac9bc6"},{"name":"Create User","event":[{"listen":"prerequest","script":{"id":"b6c33a53-201f-437d-b9ae-7d79e98a861b","exec":["pm.environment.set('apiUserPsw', 'Collabnet1!');",""],"type":"text/javascript"}},{"listen":"test","script":{"id":"4c1f67c6-36d7-489f-a485-61406e98fdf0","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});","","pm.test(\"Response time is less than 1300ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(1300);","});","","var schema = {","  \"username\": \"string\",","  \"email\": \"string\",","  \"fullname\": \"string\",","  \"organization\": \"string\",","  \"superUser\": \"boolean\",","  \"restrictedUser\": \"boolean\",","  \"localUser\": \"boolean\",","  \"licenseTypes\": [","    \"string\"","  ],","  \"locale\": \"string\",","  \"timezone\": \"string\",","  \"password\": \"string\"","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"apiUser\", jsonData.username);","postman.setEnvironmentVariable(\"apiUserID\", jsonData.id);",""],"type":"text/javascript"}}],"id":"0e03d29e-4db7-4b85-9d0e-ef23bbb3d29b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{AdminToken}}"}],"body":{"mode":"raw","raw":"{\r\n  \"username\": \"apiUser\",\r\n  \"email\": \"yoga@mail-qa1.maa.collab.net\",\r\n  \"fullname\": \"apiUser\",\r\n  \"organization\": \"cspl\",\r\n  \"superUser\": true,\r\n  \"restrictedUser\": true,\r\n  \"localUser\": false,\r\n  \"licenseTypes\": [\r\n    \"ALM\", \"BASELINE\"\r\n  ],\r\n  \"locale\": \"EN\",\r\n  \"timezone\": \"\",\r\n  \"password\": \"{{apiUserPsw}}\"\r\n}"},"url":"{{HostName}}/ctfrest/foundation/v1/users","description":"<p>Creates a restricted user. Project permission, baseline permission, and so on can be assigned to this user at a later point in time based on the requirements.</p>\n","urlObject":{"path":["ctfrest","foundation","v1","users"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"9a48e57c-6453-4cd0-98d5-c05cf51a43ba","name":"Create User","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{AdminToken}}"}],"body":{"mode":"raw","raw":"{\r\n  \"username\": \"apiUser\",\r\n  \"email\": \"yoga@mail-qa1.maa.collab.net\",\r\n  \"fullname\": \"apiUser\",\r\n  \"organization\": \"cspl\",\r\n  \"superUser\": true,\r\n  \"restrictedUser\": true,\r\n  \"localUser\": false,\r\n  \"licenseTypes\": [\r\n    \"ALM\", \"BASELINE\"\r\n  ],\r\n  \"locale\": \"EN\",\r\n  \"timezone\": \"\",\r\n  \"password\": \"{{apiUserPsw}}\"\r\n}"},"url":"{{HostName}}/ctfrest/foundation/v1/users"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 20 Oct 2018 06:27:23 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/foundation/v1/users/by-username/apiUser223"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"877"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=9999"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"user\",\n    \"id\": \"user1159\",\n    \"username\": \"apiUser223\",\n    \"email\": \"yoga@mail-qa1.maa.collab.net\",\n    \"alternateEmail1\": null,\n    \"alternateEmail2\": null,\n    \"alternateEmail3\": null,\n    \"fullname\": \"apiUser112\",\n    \"organization\": \"cspl\",\n    \"superUser\": true,\n    \"restrictedUser\": true,\n    \"localUser\": false,\n    \"status\": \"Active\",\n    \"licenseTypes\": [\n        \"BASELINE\",\n        \"ALM\"\n    ],\n    \"lastLogin\": null,\n    \"timezone\": \"Asia/Kolkata\",\n    \"locale\": \"en\",\n    \"_links\": {\n        \"resetPassword\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/foundation/v1/users/by-username/apiUser223/password\",\n            \"method\": \"PATCH\"\n        },\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/foundation/v1/users/by-username/apiUser223\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/foundation/v1/users/by-username/apiUser223\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/foundation/v1/users/by-username/apiUser223\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"0e03d29e-4db7-4b85-9d0e-ef23bbb3d29b"},{"name":"Login as Restricted User","event":[{"listen":"test","script":{"id":"042809b3-44a9-4643-86b0-17e4e8700357","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"Token\", jsonData.token_type + \" \" + jsonData.access_token);","postman.setEnvironmentVariable(\"TokenSoap\", jsonData.access_token);"],"type":"text/javascript"}}],"id":"cf04ab72-7d5f-4800-8277-2fc44205a141","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"password","type":"text"},{"key":"username","value":"{{apiUser}}","type":"text"},{"key":"password","value":"{{apiUserPsw}}","type":"text"},{"key":"client_id","value":"api-client","type":"text"},{"key":"scope","value":"urn:ctf:services:ctf urn:ctf:services:svn urn:ctf:services:gerrit urn:ctf:services:soap60","type":"text"}]},"url":"{{HostName}}/sf/auth/token","description":"<p>Users are logged in as restricted users. These users are assigned with the required permissions such as project permission, baseline permission and so on.</p>\n","urlObject":{"path":["sf","auth","token"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"9d8f0a30-11c5-4b81-ac8a-2ce7bcae857e","name":"Login as Restricted User","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"password","type":"text"},{"key":"username","value":"{{apiUser}}","type":"text"},{"key":"password","value":"{{apiUserPsw}}","type":"text"},{"key":"client_id","value":"api-client","type":"text"},{"key":"scope","value":"urn:ctf:services:ctf urn:ctf:services:svn urn:ctf:services:gerrit urn:ctf:services:soap60","type":"text"}]},"url":"{{HostName}}/sf/auth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Oct 2018 05:02:43 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Cache-Control","value":"no-store, max-age=0"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Expires","value":"Fri, 19 Oct 2018 05:02:43 GMT"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Content-Length","value":"439"},{"key":"Keep-Alive","value":"timeout=15, max=9999"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"eyJraWQiOiIxIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJhcGlVc2VyNTUxIiwiYXVkIjpbInNvYXA2MCIsImN0ZiIsInN2biIsImdlcnJpdCJdLCJuYmYiOjE1Mzk5MjUzNjMsImFtciI6WyJ1cm46Y3RmOmFtcjp1cHdkIl0sImlzcyI6InVybjpjdGY6aXNzOnRmLWlkcCIsImV4cCI6MTUzOTkyODk2MywiaWF0IjoxNTM5OTI1MzYzLCJqdGkiOiI3MGE1YjQxZS03ZDI4LTRhN2EtYTI2My0wYzVjNTdhZjkxNTgifQ.HB8gKoaP18hiUH88mDGWK5EtddBGzH4MTWebP-R4JRDcE3HYFnl7IN29LSL2FIZMeOv3Yu3Pc2VBlRrluljUyK_8KDpUVHOVNH71IMMn4lzHniL1Ap_IXH4mcjrUtey_XS0EsHl17FlvS_vfDpht58utpiKRbpBzJ3c07ejEZYk\",\n    \"token_type\": \"Bearer\"\n}"}],"_postman_id":"cf04ab72-7d5f-4800-8277-2fc44205a141"},{"name":"Create Project","event":[{"listen":"test","script":{"id":"63c7e359-9c34-4e17-9dd4-13ada3bb0521","type":"text/javascript","exec":["pm.test(\"Status code is 201 - Project Created Successfully\", function () {","    pm.response.to.have.status(201);","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});","","var schema = {","  \"name\": \"string\",","  \"title\": \"string\",","  \"description\": \"string\",","  \"templateId\": \"string\",","  \"accessLevel\": \"private\",","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","pm.environment.set(\"projectname\", jsonData.title);","pm.environment.set(\"projectId\", jsonData.id);","","pm.environment.set(\"TrackerCount\", \"1\");"]}},{"listen":"prerequest","script":{"id":"1f16a717-a824-4c11-9d77-0cde8db7ce8a","type":"text/javascript","exec":["pm.environment.set(\"count\", \"1\");"]}}],"id":"503e7ad4-2868-432a-aac2-6a7761e6008f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{AdminToken}}"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"baselineapiprojectwithdataset\",\r\n  \"title\": \"baselineapiprojectwithdataset\",\r\n  \"description\": \"Project created via REST API\",\r\n  \"templateId\": \"\",\r\n  \"accessLevel\": \"private\"\r\n}"},"url":"{{HostName}}/ctfrest/foundation/v1/projects","description":"<p>Creates a new project in TeamForge</p>\n","urlObject":{"path":["ctfrest","foundation","v1","projects"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"5a48c558-247c-44e0-9489-c4a9dadb658a","name":"Create Project","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{AdminToken}}"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"baselineapiprojectwithdataset\",\r\n  \"title\": \"baselineapiprojectwithdataset\",\r\n  \"description\": \"Project created via REST API\",\r\n  \"templateId\": \"\",\r\n  \"accessLevel\": \"private\"\r\n}"},"url":"{{HostName}}/ctfrest/foundation/v1/projects"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 20 Oct 2018 06:28:05 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/foundation/v1/projects/proj1087"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1350"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"100\""},{"key":"Keep-Alive","value":"timeout=15, max=9999"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"project\",\n    \"id\": \"proj1087\",\n    \"createdBy\": \"admin\",\n    \"createdDate\": \"2018-10-20T06:27:57.000+0000\",\n    \"lastModifiedBy\": \"admin\",\n    \"lastModifiedDate\": \"2018-10-20T06:27:57.000+0000\",\n    \"path\": \"projects.baselineapiprojectwithdataset288\",\n    \"title\": \"baselineapiprojectwithdataset904\",\n    \"description\": \"Project created via REST API\",\n    \"parentProjectId\": null,\n    \"hierarchyPath\": null,\n    \"locked\": false,\n    \"templateId\": \"---\",\n    \"accessLevel\": \"private\",\n    \"_links\": {\n        \"unlock\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/foundation/v1/projects/proj1087/lock\",\n            \"method\": \"DELETE\"\n        },\n        \"diskusage\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/foundation/v1/projects/proj1087/diskusage\",\n            \"method\": \"GET\"\n        },\n        \"members\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/foundation/v1/projects/proj1087/members\",\n            \"method\": \"GET\"\n        },\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/foundation/v1/projects/proj1087\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/foundation/v1/projects/proj1087\",\n            \"method\": \"PATCH\"\n        },\n        \"lock\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/foundation/v1/projects/proj1087/lock\",\n            \"method\": \"PUT\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/foundation/v1/proj1087?notify=true&force=false\",\n            \"method\": \"DELETE\"\n        },\n        \"admins\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/foundation/v1/projects/proj1087/admins\",\n            \"method\": \"GET\"\n        }\n    }\n}"}],"_postman_id":"503e7ad4-2868-432a-aac2-6a7761e6008f"},{"name":"Add Users to Project","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","",""],"id":"384157b2-b137-4efd-bba9-4eb4415a456e"}}],"id":"acde408b-2314-4427-8845-1951d4e44a70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{AdminToken}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/foundation/v1/projects/{{projectId}}/{{userName}}","description":"<p>Add selected users to a project</p>\n","urlObject":{"path":["ctfrest","foundation","v1","projects","{{projectId}}","{{userName}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"f739f424-c53d-44f4-bd48-4221ba9fb959","name":"Add Users to Project","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{AdminToken}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/foundation/v1/projects/{{projectId}}/{{userName}}"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sat, 20 Oct 2018 06:28:35 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Length","value":"0"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"acde408b-2314-4427-8845-1951d4e44a70"},{"name":"Add API Users to Project","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","",""],"id":"b4b725b9-aa6d-4ab4-a7a0-271b6c8dfeb3"}}],"id":"386eda66-6ef2-4675-955e-fde4c94e3b85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{AdminToken}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/foundation/v1/projects/{{projectId}}/{{apiUser}}","description":"<p>Add API users to a project</p>\n","urlObject":{"path":["ctfrest","foundation","v1","projects","{{projectId}}","{{apiUser}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"fe3d3891-2123-4031-9a0b-fb51e7874a3e","name":"Add API Users to Project","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{AdminToken}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/foundation/v1/projects/{{projectId}}/{{apiUser}}"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sat, 20 Oct 2018 06:29:10 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Length","value":"0"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"386eda66-6ef2-4675-955e-fde4c94e3b85"},{"name":"Create Project Role","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 201 - Role is created successfully.\", function () {","    pm.response.to.have.status(201);","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});","","pm.test(\"Response time is less than 5000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(5000);","});","","var schema = {","  \"roleType\": \"Global\",","  \"projectId\": \"string\",","  \"title\": \"string\",","  \"description\": \"string\",","  \"preventInheritance\": true,","  \"requestable\": true,","  \"autoGrant\": true","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"roleId\", jsonData.id);","postman.setEnvironmentVariable(\"projectrole\", jsonData.title);"],"id":"cb0905e4-59c9-482e-a8d2-4325bd446917"}}],"id":"7e024d22-19ca-40a8-ae62-912a8dcb145e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{AdminToken}}"}],"body":{"mode":"raw","raw":"{\r\n  \"roleType\": \"Project\",\r\n  \"projectId\": \"{{projectId}}\",\r\n  \"title\": \"projectrole\",\r\n  \"description\": \"Role created via REST API\",\r\n  \"preventInheritance\": true,\r\n  \"requestable\": true,\r\n  \"autoGrant\": true\r\n}"},"url":"{{HostName}}/ctfrest/foundation/v1/projects/{{projectId}}/roles","description":"<p>Creates a new user role in the project</p>\n","urlObject":{"path":["ctfrest","foundation","v1","projects","{{projectId}}","roles"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"71b91405-5dbd-468b-a505-66e64476eb08","name":"Create Project Role","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{AdminToken}}"}],"body":{"mode":"raw","raw":"{\r\n  \"roleType\": \"Project\",\r\n  \"projectId\": \"{{projectId}}\",\r\n  \"title\": \"projectrole\",\r\n  \"description\": \"Role created via REST API\",\r\n  \"preventInheritance\": true,\r\n  \"requestable\": true,\r\n  \"autoGrant\": true\r\n}"},"url":"{{HostName}}/ctfrest/foundation/v1/projects/{{projectId}}/roles"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 20 Oct 2018 06:29:52 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/foundation/v1/roles/role1468"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"530"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"100\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"role\",\n    \"id\": \"role1468\",\n    \"title\": \"projectrole265\",\n    \"description\": \"Role created via REST API\",\n    \"createdInProjectId\": \"proj1087\",\n    \"status\": \"A\",\n    \"roleType\": \"Project\",\n    \"preventInheritance\": true,\n    \"requestable\": true,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/foundation/v1/roles/role1468\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/foundation/v1/roles/role1468\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/foundation/v1/roles/role1468\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"7e024d22-19ca-40a8-ae62-912a8dcb145e"},{"name":"Add Users to Project Role","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 204\", function () {","    pm.response.to.have.status(204);","});","","pm.test(\"Response time is less than 5000ms\", function() {","  pm.expect(pm.response.responseTime).to.be.below(5000);","});"],"id":"1ebb576a-1cbe-4067-8b1c-ac80db51268c"}}],"id":"88072c54-994d-4a48-ae5c-127ebe459d83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{AdminToken}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/foundation/v1/projects/{{projectId}}/roles/{{roleId}}/members/{{userName}}","description":"<p>Add users to the selected project role</p>\n","urlObject":{"path":["ctfrest","foundation","v1","projects","{{projectId}}","roles","{{roleId}}","members","{{userName}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"7c44bb1c-a6b9-440c-a269-d0f5e2bbb336","name":"Add Users to Project Role","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{AdminToken}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/foundation/v1/projects/{{projectId}}/roles/{{roleId}}/members/{{userName}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sat, 20 Oct 2018 06:30:26 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"88072c54-994d-4a48-ae5c-127ebe459d83"},{"name":"Add API Users to ProjectRole","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 204\", function () {","    pm.response.to.have.status(204);","});","","pm.test(\"Response time is less than 5000ms\", function() {","  pm.expect(pm.response.responseTime).to.be.below(5000);","});"],"id":"99489d84-69c4-47b2-8aa5-0d8dbf786d78"}}],"id":"032f969b-22d8-4cdd-84b9-323bc89eb58d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{AdminToken}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/foundation/v1/projects/{{projectId}}/roles/{{roleId}}/members/{{apiUser}}","urlObject":{"path":["ctfrest","foundation","v1","projects","{{projectId}}","roles","{{roleId}}","members","{{apiUser}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"e5ecfc39-9c65-4661-9938-c2f560715701","name":"Add API Users to ProjectRole","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{AdminToken}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/foundation/v1/projects/{{projectId}}/roles/{{roleId}}/members/{{apiUser}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sat, 20 Oct 2018 06:30:48 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"032f969b-22d8-4cdd-84b9-323bc89eb58d"},{"name":"Assign Baseline Admin Permission to Project Role","event":[{"listen":"test","script":{"id":"e098a4df-016d-4895-8785-126105368009","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"]}},{"listen":"prerequest","script":{"id":"7392061e-7387-4ce2-99a6-048816ce3426","type":"text/javascript","exec":["pm.environment.set(\"rel_count\", \"1\");","pm.environment.set(\"count\", \"1\");"]}}],"id":"b787426b-f2fa-4ec2-9cca-6640a681149a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"},{"key":"SoapAction","value":"Required"}],"body":{"mode":"raw","raw":"<soapenv:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://schema.open.collab.net/sfee50/soap60/service\">\r\n   <soapenv:Header/>\r\n   <soapenv:Body>\r\n      <ser:addCluster soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">\r\n         <sessionId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{AdminTokenSoap}}</sessionId>\r\n         <roleId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{roleId}}</roleId>\r\n         <operationCluster xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">baseline_admin</operationCluster>\r\n                <folderId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\"></folderId>\r\n      </ser:addCluster>\r\n   </soapenv:Body>\r\n</soapenv:Envelope>"},"url":"{{HostName}}/ce-soap60/services/RbacApp","description":"<p>Assigns \"Baseline Admin\" permission to selected project role</p>\n","urlObject":{"path":["ce-soap60","services","RbacApp"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"ff48bb59-9c0e-4218-8efa-776975d8a77b","name":"Assign Baseline Admin Permission to Project Role","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"},{"key":"SoapAction","value":"Required"}],"body":{"mode":"raw","raw":"<soapenv:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://schema.open.collab.net/sfee50/soap60/service\">\r\n   <soapenv:Header/>\r\n   <soapenv:Body>\r\n      <ser:addCluster soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">\r\n         <sessionId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{AdminTokenSoap}}</sessionId>\r\n         <roleId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{roleId}}</roleId>\r\n         <operationCluster xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">baseline_admin</operationCluster>\r\n                <folderId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\"></folderId>\r\n      </ser:addCluster>\r\n   </soapenv:Body>\r\n</soapenv:Envelope>"},"url":"{{HostName}}/ce-soap60/services/RbacApp"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"b787426b-f2fa-4ec2-9cca-6640a681149a"},{"name":"Assign View Only Permission to Project Role","event":[{"listen":"test","script":{"id":"b007badc-13a3-47fb-91db-1544bb43541f","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"]}},{"listen":"prerequest","script":{"id":"516b1b54-cd0c-4d2f-897c-fdbe723dfdcd","type":"text/javascript","exec":[""]}}],"id":"44e9474c-2193-455a-8d0a-d0df6df08852","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"},{"key":"SoapAction","value":"Required"}],"body":{"mode":"raw","raw":"<soapenv:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://schema.open.collab.net/sfee50/soap60/service\">\r\n   <soapenv:Header/>\r\n   <soapenv:Body>\r\n      <ser:addCluster soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">\r\n         <sessionId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{AdminTokenSoap}}</sessionId>\r\n         <roleId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{roleId}}</roleId>\r\n         <operationCluster xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">baseline_view</operationCluster>\r\n                <folderId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\"></folderId>\r\n      </ser:addCluster>\r\n   </soapenv:Body>\r\n</soapenv:Envelope>"},"url":"{{HostName}}/ce-soap60/services/RbacApp","description":"<p>Assigns \"View Only\" permission to select project role</p>\n","urlObject":{"path":["ce-soap60","services","RbacApp"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"04867fad-d0c2-4f40-8b6f-8f6c36382bdf","name":"Assign View Only Permission to Project Role","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"},{"key":"SoapAction","value":"Required"}],"body":{"mode":"raw","raw":"<soapenv:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://schema.open.collab.net/sfee50/soap60/service\">\r\n   <soapenv:Header/>\r\n   <soapenv:Body>\r\n      <ser:addCluster soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">\r\n         <sessionId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{AdminTokenSoap}}</sessionId>\r\n         <roleId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{roleId}}</roleId>\r\n         <operationCluster xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">baseline_view</operationCluster>\r\n                <folderId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\"></folderId>\r\n      </ser:addCluster>\r\n   </soapenv:Body>\r\n</soapenv:Envelope>"},"url":"{{HostName}}/ce-soap60/services/RbacApp"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Date","value":"Sun, 21 Oct 2018 09:49:23 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Content-Type","value":"text/xml;charset=utf-8"},{"key":"CtfUserName","value":"admin"},{"key":"Cache-Control","value":"max-age=0"},{"key":"Expires","value":"Sun, 21 Oct 2018 09:49:23 GMT"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Content-Length","value":"233"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n    <soapenv:Body>\n        <ns1:addClusterResponse soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:ns1=\"http://schema.open.collab.net/sfee50/soap60/service\"/>\n    </soapenv:Body>\n</soapenv:Envelope>"},{"id":"405dad5d-d78f-4cda-853c-29fc2792a46e","name":"Assign View Only Permission to Project Role","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"},{"key":"SoapAction","value":"Required"}],"body":{"mode":"raw","raw":"<soapenv:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://schema.open.collab.net/sfee50/soap60/service\">\r\n   <soapenv:Header/>\r\n   <soapenv:Body>\r\n      <ser:addCluster soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">\r\n         <sessionId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{AdminTokenSoap}}</sessionId>\r\n         <roleId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{roleId}}</roleId>\r\n         <operationCluster xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">baseline_view</operationCluster>\r\n                <folderId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\"></folderId>\r\n      </ser:addCluster>\r\n   </soapenv:Body>\r\n</soapenv:Envelope>"},"url":"{{HostName}}/ce-soap60/services/RbacApp"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Date","value":"Sun, 21 Oct 2018 09:49:23 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Content-Type","value":"text/xml;charset=utf-8"},{"key":"CtfUserName","value":"admin"},{"key":"Cache-Control","value":"max-age=0"},{"key":"Expires","value":"Sun, 21 Oct 2018 09:49:23 GMT"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Content-Length","value":"233"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n    <soapenv:Body>\n        <ns1:addClusterResponse soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:ns1=\"http://schema.open.collab.net/sfee50/soap60/service\"/>\n    </soapenv:Body>\n</soapenv:Envelope>"},{"id":"664059f9-d924-419b-94f9-83185b06d2a6","name":"Assign View Only Permission to Project Role","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"},{"key":"SoapAction","value":"Required"}],"body":{"mode":"raw","raw":"<soapenv:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://schema.open.collab.net/sfee50/soap60/service\">\r\n   <soapenv:Header/>\r\n   <soapenv:Body>\r\n      <ser:addCluster soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">\r\n         <sessionId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{AdminTokenSoap}}</sessionId>\r\n         <roleId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{roleId}}</roleId>\r\n         <operationCluster xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">baseline_view</operationCluster>\r\n                <folderId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\"></folderId>\r\n      </ser:addCluster>\r\n   </soapenv:Body>\r\n</soapenv:Envelope>"},"url":"{{HostName}}/ce-soap60/services/RbacApp"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"e86d5e3d-d899-4f14-bcee-3af4c1d6cb6c","name":"Assign View Only Permission to Project Role","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"},{"key":"SoapAction","value":"Required"}],"body":{"mode":"raw","raw":"<soapenv:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://schema.open.collab.net/sfee50/soap60/service\">\r\n   <soapenv:Header/>\r\n   <soapenv:Body>\r\n      <ser:addCluster soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">\r\n         <sessionId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{AdminTokenSoap}}</sessionId>\r\n         <roleId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{roleId}}</roleId>\r\n         <operationCluster xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">baseline_view</operationCluster>\r\n                <folderId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\"></folderId>\r\n      </ser:addCluster>\r\n   </soapenv:Body>\r\n</soapenv:Envelope>"},"url":"{{HostName}}/ce-soap60/services/RbacApp"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Date","value":"Sun, 21 Oct 2018 09:49:23 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Content-Type","value":"text/xml;charset=utf-8"},{"key":"CtfUserName","value":"admin"},{"key":"Cache-Control","value":"max-age=0"},{"key":"Expires","value":"Sun, 21 Oct 2018 09:49:23 GMT"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Content-Length","value":"233"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n    <soapenv:Body>\n        <ns1:addClusterResponse soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:ns1=\"http://schema.open.collab.net/sfee50/soap60/service\"/>\n    </soapenv:Body>\n</soapenv:Envelope>"}],"_postman_id":"44e9474c-2193-455a-8d0a-d0df6df08852"},{"name":"Assign Baseline Review Permission to Project Role","event":[{"listen":"test","script":{"id":"e32c6cc8-9979-47c3-83e8-251b6916bcfd","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"]}},{"listen":"prerequest","script":{"id":"dc60ab78-8b7e-4084-8061-b0cb86701386","type":"text/javascript","exec":[""]}}],"id":"16a78291-9de8-47f9-949e-bf746142b3ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"},{"key":"SoapAction","value":"Required"}],"body":{"mode":"raw","raw":"<soapenv:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://schema.open.collab.net/sfee50/soap60/service\">\r\n   <soapenv:Header/>\r\n   <soapenv:Body>\r\n      <ser:addCluster soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">\r\n         <sessionId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{AdminTokenSoap}}</sessionId>\r\n         <roleId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{roleId}}</roleId>\r\n         <operationCluster xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">baseline_review</operationCluster>\r\n                <folderId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\"></folderId>\r\n      </ser:addCluster>\r\n   </soapenv:Body>\r\n</soapenv:Envelope>"},"url":"{{HostName}}/ce-soap60/services/RbacApp","description":"<p>Assigns \"Baseline Review\" permission to selected project role</p>\n","urlObject":{"path":["ce-soap60","services","RbacApp"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"3dd0ff24-fcfd-4520-a8cd-d69fce1f09e2","name":"Assign Baseline Review Permission to Project Role","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"},{"key":"SoapAction","value":"Required"}],"body":{"mode":"raw","raw":"<soapenv:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://schema.open.collab.net/sfee50/soap60/service\">\r\n   <soapenv:Header/>\r\n   <soapenv:Body>\r\n      <ser:addCluster soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">\r\n         <sessionId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{AdminTokenSoap}}</sessionId>\r\n         <roleId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{roleId}}</roleId>\r\n         <operationCluster xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">baseline_review</operationCluster>\r\n                <folderId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\"></folderId>\r\n      </ser:addCluster>\r\n   </soapenv:Body>\r\n</soapenv:Envelope>"},"url":"{{HostName}}/ce-soap60/services/RbacApp"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Date","value":"Sun, 21 Oct 2018 09:50:48 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Content-Type","value":"text/xml;charset=utf-8"},{"key":"CtfUserName","value":"admin"},{"key":"Cache-Control","value":"max-age=0"},{"key":"Expires","value":"Sun, 21 Oct 2018 09:50:47 GMT"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Content-Length","value":"233"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n    <soapenv:Body>\n        <ns1:addClusterResponse soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:ns1=\"http://schema.open.collab.net/sfee50/soap60/service\"/>\n    </soapenv:Body>\n</soapenv:Envelope>"}],"_postman_id":"16a78291-9de8-47f9-949e-bf746142b3ef"},{"name":"Assign Create/View Baseline Permission to Project Role","event":[{"listen":"test","script":{"id":"41dc522f-c0f5-4c3a-b5f7-d9cdacc5b16f","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"]}},{"listen":"prerequest","script":{"id":"308cb96b-cf85-46e2-aea3-4471a32a9bc9","type":"text/javascript","exec":[""]}}],"id":"ade09263-1d42-4609-af4a-ba670e4f7e12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"},{"key":"SoapAction","value":"Required"}],"body":{"mode":"raw","raw":"<soapenv:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://schema.open.collab.net/sfee50/soap60/service\">\r\n   <soapenv:Header/>\r\n   <soapenv:Body>\r\n      <ser:addCluster soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">\r\n         <sessionId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{AdminTokenSoap}}</sessionId>\r\n         <roleId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{roleId}}</roleId>\r\n         <operationCluster xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">baseline_create</operationCluster>\r\n         <folderId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\"></folderId>\r\n      </ser:addCluster>\r\n   </soapenv:Body>\r\n</soapenv:Envelope>"},"url":"{{HostName}}/ce-soap60/services/RbacApp","description":"<p>Assigns \"Create/View Baseline\" permission to selected project role</p>\n","urlObject":{"path":["ce-soap60","services","RbacApp"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"973acc7d-1a0f-4251-a352-24dd4e5fbe81","name":"Assign Create/View Baseline Permission to Project Role","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"},{"key":"SoapAction","value":"Required"}],"body":{"mode":"raw","raw":"<soapenv:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://schema.open.collab.net/sfee50/soap60/service\">\r\n   <soapenv:Header/>\r\n   <soapenv:Body>\r\n      <ser:addCluster soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">\r\n         <sessionId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{AdminTokenSoap}}</sessionId>\r\n         <roleId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{roleId}}</roleId>\r\n         <operationCluster xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">baseline_create</operationCluster>\r\n         <folderId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\"></folderId>\r\n      </ser:addCluster>\r\n   </soapenv:Body>\r\n</soapenv:Envelope>"},"url":"{{HostName}}/ce-soap60/services/RbacApp"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Date","value":"Sun, 21 Oct 2018 09:51:16 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Content-Type","value":"text/xml;charset=utf-8"},{"key":"CtfUserName","value":"admin"},{"key":"Cache-Control","value":"max-age=0"},{"key":"Expires","value":"Sun, 21 Oct 2018 09:51:16 GMT"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Content-Length","value":"233"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n    <soapenv:Body>\n        <ns1:addClusterResponse soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:ns1=\"http://schema.open.collab.net/sfee50/soap60/service\"/>\n    </soapenv:Body>\n</soapenv:Envelope>"}],"_postman_id":"ade09263-1d42-4609-af4a-ba670e4f7e12"},{"name":"Assign Project Baseline Definition Permission to Project Role","event":[{"listen":"test","script":{"id":"eb14d747-a849-41fb-b6ac-992df89e418e","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"]}},{"listen":"prerequest","script":{"id":"bfef75b0-e54f-4936-81e2-a6a6c7615e39","type":"text/javascript","exec":[""]}}],"id":"7d32ce49-719a-407e-b60e-3e80de3ef838","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"},{"key":"SoapAction","value":"Required"}],"body":{"mode":"raw","raw":"<soapenv:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://schema.open.collab.net/sfee50/soap60/service\">\r\n   <soapenv:Header/>\r\n   <soapenv:Body>\r\n      <ser:addCluster soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">\r\n         <sessionId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{AdminTokenSoap}}</sessionId>\r\n         <roleId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{roleId}}</roleId>\r\n         <operationCluster xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">project_bdef</operationCluster>\r\n                <folderId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\"></folderId>\r\n      </ser:addCluster>\r\n   </soapenv:Body>\r\n</soapenv:Envelope>"},"url":"{{HostName}}/ce-soap60/services/RbacApp","description":"<p>Assigns \"Project Baseline Definition\" permission to selected project role</p>\n","urlObject":{"path":["ce-soap60","services","RbacApp"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"7e258468-0208-4c8d-b9f0-2d260129a409","name":"Assign Project Baseline Definition Permission to Project Role","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"},{"key":"SoapAction","value":"Required"}],"body":{"mode":"raw","raw":"<soapenv:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://schema.open.collab.net/sfee50/soap60/service\">\r\n   <soapenv:Header/>\r\n   <soapenv:Body>\r\n      <ser:addCluster soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">\r\n         <sessionId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{AdminTokenSoap}}</sessionId>\r\n         <roleId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{roleId}}</roleId>\r\n         <operationCluster xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">project_bdef</operationCluster>\r\n                <folderId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\"></folderId>\r\n      </ser:addCluster>\r\n   </soapenv:Body>\r\n</soapenv:Envelope>"},"url":"{{HostName}}/ce-soap60/services/RbacApp"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Date","value":"Sun, 21 Oct 2018 09:51:59 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Content-Type","value":"text/xml;charset=utf-8"},{"key":"CtfUserName","value":"admin"},{"key":"Cache-Control","value":"max-age=0"},{"key":"Expires","value":"Sun, 21 Oct 2018 09:51:59 GMT"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Content-Length","value":"233"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n    <soapenv:Body>\n        <ns1:addClusterResponse soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:ns1=\"http://schema.open.collab.net/sfee50/soap60/service\"/>\n    </soapenv:Body>\n</soapenv:Envelope>"}],"_postman_id":"7d32ce49-719a-407e-b60e-3e80de3ef838"},{"name":"Assign Create Project Baseline Permission to Project Role","event":[{"listen":"test","script":{"id":"97be1f71-24cd-4005-b09f-2fa0e26b806a","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"]}},{"listen":"prerequest","script":{"id":"d41bd922-c9d4-45b4-8be9-3e7a8fe9050e","type":"text/javascript","exec":[""]}}],"id":"f486c9a3-3a0e-4efd-bd2c-e037493f6aa4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"},{"key":"SoapAction","value":"Required"}],"body":{"mode":"raw","raw":"<soapenv:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://schema.open.collab.net/sfee50/soap60/service\">\r\n   <soapenv:Header/>\r\n   <soapenv:Body>\r\n      <ser:addCluster soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">\r\n         <sessionId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{AdminTokenSoap}}</sessionId>\r\n         <roleId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{roleId}}</roleId>\r\n         <operationCluster xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">project_baseline</operationCluster>\r\n                <folderId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\"></folderId>\r\n      </ser:addCluster>\r\n   </soapenv:Body>\r\n</soapenv:Envelope>"},"url":"{{HostName}}/ce-soap60/services/RbacApp","description":"<p>Assigns \"Create Project Baseline\" permission to selected project role</p>\n","urlObject":{"path":["ce-soap60","services","RbacApp"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"f4fd9e39-8996-4369-81a5-0e0dfe48bc36","name":"Assign Create Project Baseline Permission to Project Role","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"},{"key":"SoapAction","value":"Required"}],"body":{"mode":"raw","raw":"<soapenv:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://schema.open.collab.net/sfee50/soap60/service\">\r\n   <soapenv:Header/>\r\n   <soapenv:Body>\r\n      <ser:addCluster soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">\r\n         <sessionId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{AdminTokenSoap}}</sessionId>\r\n         <roleId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{roleId}}</roleId>\r\n         <operationCluster xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">project_baseline</operationCluster>\r\n                <folderId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\"></folderId>\r\n      </ser:addCluster>\r\n   </soapenv:Body>\r\n</soapenv:Envelope>"},"url":"{{HostName}}/ce-soap60/services/RbacApp"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Date","value":"Sun, 21 Oct 2018 09:52:39 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Content-Type","value":"text/xml;charset=utf-8"},{"key":"CtfUserName","value":"admin"},{"key":"Cache-Control","value":"max-age=0"},{"key":"Expires","value":"Sun, 21 Oct 2018 09:52:39 GMT"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Content-Length","value":"233"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n    <soapenv:Body>\n        <ns1:addClusterResponse soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:ns1=\"http://schema.open.collab.net/sfee50/soap60/service\"/>\n    </soapenv:Body>\n</soapenv:Envelope>"}],"_postman_id":"f486c9a3-3a0e-4efd-bd2c-e037493f6aa4"},{"name":"Create Package","event":[{"listen":"test","script":{"id":"73f61e0b-2729-4b5f-b45c-9a79433fd72e","type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","   ","    pm.environment.set(\"PackageID\",jsonData.id);","    ","if(postman.getEnvironmentVariable(\"count\") <= 2){","     pm.environment.set(\"PackageID\"+Number(postman.getEnvironmentVariable(\"count\"))+\"\", jsonData.id);","    pm.environment.set(\"PackageTitle\"+Number(postman.getEnvironmentVariable(\"count\"))+\"\", jsonData.title);","    postman.setEnvironmentVariable(\"count\",Number(postman.getEnvironmentVariable(\"count\"))+1);","    postman.setNextRequest(\"CreateRelease\");","}","else","{","    postman.setNextRequest(\"UploadFileForFRS\");","}","","tests[\"Successfully Created the Package\"] = responseCode.code === 201;",""]}},{"listen":"prerequest","script":{"id":"babba4af-3f62-48f6-a394-44d5632b05e8","type":"text/javascript","exec":["pm.environment.set(\"rel_count\", \"1\");"]}}],"id":"e189a8ed-b9ff-465b-a7cb-d1d383f7785a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Package\",\r\n  \"description\": \"Package created via REST API\",\r\n  \"published\": true\r\n}"},"url":"{{HostName}}/ctfrest/frs/v1/projects/{{projectId}}/packages","description":"<p>Creates a new package folder</p>\n","urlObject":{"path":["ctfrest","frs","v1","projects","{{projectId}}","packages"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"6dc56e60-9e09-4526-bc3e-06271edcab1b","name":"Create Package","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Package\",\r\n  \"description\": \"Package created via REST API\",\r\n  \"published\": true\r\n}"},"url":"{{HostName}}/ctfrest/frs/v1/projects/{{projectId}}/packages"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 09:54:07 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/frs/v1/packages/pkg1112"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"729"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"100\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetPackageEntity\",\n    \"id\": \"pkg1112\",\n    \"title\": \"Package266\",\n    \"description\": \"Package created via REST API\",\n    \"parentFolderId\": \"FrsApp2182\",\n    \"projectId\": \"proj1088\",\n    \"path\": \"projects.baselineapiprojectwithdataset677/frs.package266\",\n    \"createdBy\": \"apiUser342\",\n    \"createdDate\": \"2018-10-21T09:54:07.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"lastModifiedDate\": \"2018-10-21T09:54:07.000+0000\",\n    \"published\": true,\n    \"downloaded\": 0,\n    \"version\": 100,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/frs/v1/packages/pkg1112\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/frs/v1/packages/pkg1112\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/frs/v1/packages/pkg1112\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"e189a8ed-b9ff-465b-a7cb-d1d383f7785a"},{"name":"Create Release","event":[{"listen":"test","script":{"id":"d4c09c57-c0ef-4655-912d-7e4ec4dba178","type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","var i;","","if(postman.getEnvironmentVariable(\"rel_count\") <= 2){","      pm.environment.set(\"ReleaseID\"+Number(postman.getEnvironmentVariable(\"rel_count\"))+\"\", jsonData.id);","    pm.environment.set(\"ReleaseTitle\"+Number(postman.getEnvironmentVariable(\"rel_count\"))+\"\", jsonData.title);","    postman.setEnvironmentVariable(\"rel_count\",Number(postman.getEnvironmentVariable(\"rel_count\"))+1);","    postman.setNextRequest(\"CreateRelease\");","}","else","{","    postman.setNextRequest(\"CreatePackage\");","}","","","tests[\"Successfully Created the Release\"] = responseCode.code === 201;","",""]}},{"listen":"prerequest","script":{"id":"3685e858-4c7f-486e-afa4-a47d5988f97a","type":"text/javascript","exec":["pm.environment.set(\"Tagcount\", \"1\");"]}}],"id":"fe9721e1-1a85-4176-bf32-e5154b66172d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Release\",\r\n  \"description\": \"Release created via REST API\",\r\n  \"status\": \"active\",\r\n  \"maturity\": \"Prototype\"\r\n}"},"url":"{{HostName}}/ctfrest/frs/v1/packages/{{PackageID}}/releases","description":"<p>Creates a new release folder</p>\n","urlObject":{"path":["ctfrest","frs","v1","packages","{{PackageID}}","releases"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"6dc1b1eb-fe46-46d3-9746-b843843f97df","name":"Create Release","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Release\",\r\n  \"description\": \"Release created via REST API\",\r\n  \"status\": \"active\",\r\n  \"maturity\": \"Prototype\"\r\n}"},"url":"{{HostName}}/ctfrest/frs/v1/packages/{{PackageID}}/releases"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 09:54:49 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/frs/v1/releases/rel1147"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"759"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"100\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetReleaseEntity\",\n    \"id\": \"rel1147\",\n    \"title\": \"Release15\",\n    \"description\": \"Release created via REST API\",\n    \"status\": \"active\",\n    \"maturity\": \"Prototype\",\n    \"parentFolderId\": \"pkg1112\",\n    \"projectId\": \"proj1088\",\n    \"path\": \"projects.baselineapiprojectwithdataset677/frs.package266.release15\",\n    \"createdBy\": \"apiUser342\",\n    \"createdDate\": \"2018-10-21T09:54:48.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"lastModifiedDate\": \"2018-10-21T09:54:48.000+0000\",\n    \"downloaded\": 0,\n    \"version\": 100,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/frs/v1/releases/rel1147\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/frs/v1/releases/rel1147\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/frs/v1/releases/rel1147\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"fe9721e1-1a85-4176-bf32-e5154b66172d"},{"name":"Upload Release File","event":[{"listen":"test","script":{"id":"4ce47449-fa07-4c2a-9b19-022f2d0b4d57","type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","pm.environment.set(\"Frs_guid\", jsonData.guid);","","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"]}},{"listen":"prerequest","script":{"id":"7ee99444-32e4-45fd-9797-9271e2a00726","type":"text/javascript","exec":[""]}}],"id":"561cb262-ff6f-49ad-bb2e-b04405e5b148","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"formdata","formdata":[{"key":"file","value":"","type":"file"}]},"url":"{{HostName}}/ctfrest/filestorage/v1/files","description":"<p>Uploads files specific to a release</p>\n","urlObject":{"path":["ctfrest","filestorage","v1","files"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"7f9c2ecf-b72d-41e9-a55d-b0a3044f8a6d","name":"Upload Release File","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":[]}]},"url":"{{HostName}}/ctfrest/filestorage/v1/files"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 09:57:26 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"prefix\": null,\n    \"guid\": \"guid29e431a5c44e4111500633bf\"\n}"}],"_postman_id":"561cb262-ff6f-49ad-bb2e-b04405e5b148"},{"name":"Create File in Release","event":[{"listen":"test","script":{"id":"98697bc9-4f04-4005-8fb9-eb28c5b71182","type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","pm.environment.set(\"frs_id\", jsonData.id);","","","pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});"]}},{"listen":"prerequest","script":{"id":"3dfeaad2-989d-4cc3-a339-360be68d4ddd","type":"text/javascript","exec":[""]}}],"id":"1773d18b-64dc-437b-991e-4b0533138bf8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"fileName\": \"Lighthouse.jpg\",\r\n  \"mimeType\": \"image/jpeg\",\r\n  \"fileId\": \"{{Frs_guid}}\"\r\n}"},"url":"{{HostName}}/ctfrest/frs/v1/releases/{{ReleaseID1}}/files","description":"<p>Creates a new file in selected release folder</p>\n","urlObject":{"path":["ctfrest","frs","v1","releases","{{ReleaseID1}}","files"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"146455a0-1a7b-41e3-8490-5a7d008904c8","name":"Create File in Release","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"fileName\": \"Lighthouse.jpg\",\r\n  \"mimeType\": \"image/jpeg\",\r\n  \"fileId\": \"{{Frs_guid}}\"\r\n}"},"url":"{{HostName}}/ctfrest/frs/v1/releases/{{ReleaseID1}}/files"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 09:58:53 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/frs/v1/files/frs1054"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"753"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"100\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetFileEntity\",\n    \"id\": \"frs1054\",\n    \"title\": \"Lighthouse.jpg\",\n    \"name\": \"frs1054\",\n    \"description\": null,\n    \"filename\": \"Lighthouse.jpg\",\n    \"mimeType\": \"image/jpeg\",\n    \"status\": \"active\",\n    \"contentKey\": \"fjlc2bf099dd290195727006342d\",\n    \"projectId\": \"proj1088\",\n    \"planningFolderId\": null,\n    \"teamId\": null,\n    \"path\": \"projects.baselineapiprojectwithdataset677/frs.package582.release140/frs1054\",\n    \"size\": 13159,\n    \"lightWeight\": false,\n    \"createdBy\": \"apiUser342\",\n    \"createdDate\": \"2018-10-21T09:58:53.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"lastModifiedDate\": \"2018-10-21T09:58:53.000+0000\",\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/frs/v1/files/frs1054\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/frs/v1/files/frs1054\",\n            \"method\": \"DELETE\"\n        }\n    },\n    \"version\": 100\n}"}],"_postman_id":"1773d18b-64dc-437b-991e-4b0533138bf8"},{"name":"Create Tag","event":[{"listen":"test","script":{"id":"1957b555-e21d-41d0-9df7-634c631c9a60","type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","//pm.environment.set(\"tag_id\", jsonData.id);","","tests[\"Successfully Created the Release\"] = responseCode.code === 201;","","if(postman.getEnvironmentVariable(\"Tagcount\") < 5){","    pm.environment.set(\"tag_id\"+postman.getEnvironmentVariable(\"Tagcount\")+\"\", jsonData.id);","    postman.setEnvironmentVariable(\"Tagcount\",Number(postman.getEnvironmentVariable(\"Tagcount\"))+1);","    postman.setNextRequest(\"CreateTag\");","}","else","{","    postman.setNextRequest(\"CreateTrackerUnits\");","}"]}},{"listen":"prerequest","script":{"id":"4ee6ea94-f040-4719-b6fc-d286261c7b2f","type":"text/javascript","exec":[""]}}],"id":"289334c7-65dd-4c8c-a651-33eca1193eb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Tag1\",\r\n  \"description\": \"Regression Tag\"\r\n}"},"url":"{{HostName}}/ctfrest/tags/v1/projects/{{projectId}}/tags","description":"<p>Creates a new tag</p>\n","urlObject":{"path":["ctfrest","tags","v1","projects","{{projectId}}","tags"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"7809c3b0-5adb-484d-90fe-b224a795c931","name":"Create Tag","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Tag1\",\r\n  \"description\": \"Regression Tag\"\r\n}"},"url":"{{HostName}}/ctfrest/tags/v1/projects/{{projectId}}/tags"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 09:59:36 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/tags/v1/tags/tag1093"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"583"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"99\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"tag\",\n    \"projectId\": \"proj1088\",\n    \"id\": \"tag1093\",\n    \"name\": \"Tag1994\",\n    \"description\": \"Regression Tag\",\n    \"dateCreated\": \"2018-10-21T09:59:36.881+0000\",\n    \"dateLastModified\": \"2018-10-21T09:59:36.881+0000\",\n    \"createdById\": \"user1161\",\n    \"lastModifiedById\": \"user1161\",\n    \"version\": 99,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tags/v1/tags/tag1093\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tags/v1/tags/tag1093?$If-Match=W%2F%2299%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tags/v1/tags/tag1093\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"289334c7-65dd-4c8c-a651-33eca1193eb4"},{"name":"Create Tracker Units","event":[{"listen":"prerequest","script":{"id":"ea063311-0ae2-4e23-acad-96fa22b080b6","type":"text/javascript","exec":["pm.environment.set(\"TrackerCount\", \"0\");"]}},{"listen":"test","script":{"id":"5358a980-4095-467d-a660-ed9c76de4d94","type":"text/javascript","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","var jsonData = JSON.parse(responseBody);"," pm.environment.set(\"TrackerUnitName\", jsonData.name);"," pm.environment.set(\"TrackerUnitId\", jsonData.id);"," "]}}],"id":"8e08785d-57a5-4bcd-b83c-35e9ffcd6156","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"TrackerUnit\",\r\n  \"multiplier\": \"2\",\r\n  \"baseUnit\": \"Hours\"\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/projects/{{projectId}}/trackerunit","description":"<p>Creates the units to be used for the Tracker fields</p>\n","urlObject":{"path":["ctfrest","tracker","v1","projects","{{projectId}}","trackerunit"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"d68d4840-0ece-4eb8-b199-2dfbfb5161f2","name":"Create Tracker Units","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"TrackerUnit\",\r\n  \"multiplier\": \"2\",\r\n  \"baseUnit\": \"Hours\"\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/projects/{{projectId}}/trackerunit"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:00:53 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/tracker/v1/projects/proj1088/trackerunit"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"262"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetTrackerUnitEntity\",\n    \"id\": \"tknt1071\",\n    \"name\": \"TrackerUnit373\",\n    \"projectId\": \"proj1088\",\n    \"baseUnit\": \"tknt1070\",\n    \"multiplier\": 2,\n    \"displayOrder\": 1,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/projects/proj1088/trackerunit\"\n        }\n    }\n}"}],"_postman_id":"8e08785d-57a5-4bcd-b83c-35e9ffcd6156"},{"name":"Create Tracker","event":[{"listen":"prerequest","script":{"id":"68357485-e016-425b-9dbf-f545a79b0a75","type":"text/javascript","exec":["pm.environment.set(\"ArtifactCount\", \"0\");"]}},{"listen":"test","script":{"id":"b13cae35-c191-480a-b358-c5eb840f2c77","type":"text/javascript","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","var jsonData = JSON.parse(responseBody);"," pm.environment.set(\"TrackerID\", jsonData.trackerId);"," ","if(postman.getEnvironmentVariable(\"TrackerCount\") < 3){","    postman.setEnvironmentVariable(\"TrackerCount\",Number(postman.getEnvironmentVariable(\"TrackerCount\"))+1);","    postman.setNextRequest(\"CreateArtifactInTracker\");","}","else","{","    postman.setNextRequest(\"CreateTrackerTextFF\");","}"]}}],"id":"26756e08-2b0a-4e5a-aad6-aeaaa6a775a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Tracker\",\r\n  \"title\": \"Tracker\",\r\n  \"description\": \"Tracker created via Rest API\",\r\n  \"icon\": \"icon_23.png\",\r\n  \"trackerUnitId\": \"{{TrackerUnitId}}\",\r\n  \"autosumForeignChildren\": false\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/projects/{{projectId}}/trackers","description":"<p>Creates a new Tracker in the project</p>\n","urlObject":{"path":["ctfrest","tracker","v1","projects","{{projectId}}","trackers"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"813c14b4-f71d-4a73-8f87-d178d5b1ac49","name":"Create Tracker","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Tracker\",\r\n  \"title\": \"Tracker\",\r\n  \"description\": \"Tracker created via Rest API\",\r\n  \"icon\": \"icon_23.png\",\r\n  \"trackerUnitId\": \"{{TrackerUnitId}}\",\r\n  \"autosumForeignChildren\": false\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/projects/{{projectId}}/trackers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:03:12 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/tracker/v1/trackers/tracker1189"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1028"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"104\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"tracker\",\n    \"title\": \"Tracker78\",\n    \"description\": \"Tracker created via Rest API\",\n    \"icon\": \"icon_23.png\",\n    \"trackerUnitId\": \"tknt1071\",\n    \"autosumForeignChildren\": false,\n    \"projectId\": \"proj1088\",\n    \"path\": \"projects.baselineapiprojectwithdataset677/tracker.tracker967\",\n    \"parentFolderId\": \"TrackerApp2190\",\n    \"createdBy\": \"apiUser342\",\n    \"modifiedBy\": \"apiUser342\",\n    \"modifiedDate\": \"2018-10-21T10:03:12.000+0000\",\n    \"version\": 104,\n    \"_links\": {\n        \"clone\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/trackers/tracker1189/clone\",\n            \"method\": \"POST\"\n        },\n        \"icon\": {\n            \"href\": \"https://teamforge.collab.net/sf-images/tracker/icons/icon_23.png\"\n        },\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/trackers/tracker1189\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/trackers/tracker1189?$If-Match=W%2F%221%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/trackers/tracker1189\",\n            \"method\": \"DELETE\"\n        }\n    },\n    \"trackerId\": \"tracker1189\",\n    \"createdDate\": \"2018-10-21T10:03:11.000+0000\"\n}"}],"_postman_id":"26756e08-2b0a-4e5a-aad6-aeaaa6a775a0"},{"name":"Create Artifact in Tracker","event":[{"listen":"test","script":{"id":"33e7fddf-6ce6-4ccf-b7cc-9ff752ba3744","type":"text/javascript","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","if(postman.getEnvironmentVariable(\"ArtifactCount\") < 4){","    postman.setEnvironmentVariable(\"ArtifactCount\",Number(postman.getEnvironmentVariable(\"ArtifactCount\"))+1);","    postman.setNextRequest(\"CreateArtifactInTracker\");","}","else","{","    postman.setNextRequest(\"CreateTracker\");","}"]}}],"id":"0eb374d2-f320-4a29-9db1-30d23ffb8495","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Test Artifact\",\r\n  \"description\": \"Test Artifact\",\r\n  \"category\":\"\",\r\n  \"group\": \"\",\r\n  \"status\": \"Open\",\r\n  \"customer\": \"\",\r\n  \"priority\": 3,\r\n  \"estimatedEffort\": 20,\r\n  \"remainingEffort\": 10,\r\n  \"autoSumming\": false,\r\n  \"points\": 10,\r\n  \"autoSummingPoints\": false,\r\n  \"assignedTo\": \"\",\r\n  \"tagIds\": [\r\n    \"{{tag_id2}}\", \"{{tag_id3}}\"\r\n  ]\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/trackers/{{TrackerID}}/artifacts","description":"<p>Creates a new artifact in selected Tracker</p>\n","urlObject":{"path":["ctfrest","tracker","v1","trackers","{{TrackerID}}","artifacts"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"9aa9bf69-c33b-4376-ac2a-5da4bb101e3e","name":"Create Artifact in Tracker","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Test Artifact\",\r\n  \"description\": \"Test Artifact\",\r\n  \"category\":\"\",\r\n  \"group\": \"\",\r\n  \"status\": \"Open\",\r\n  \"customer\": \"\",\r\n  \"priority\": 3,\r\n  \"estimatedEffort\": 20,\r\n  \"remainingEffort\": 10,\r\n  \"autoSumming\": false,\r\n  \"points\": 10,\r\n  \"autoSummingPoints\": false,\r\n  \"assignedTo\": \"\",\r\n  \"tagIds\": [\r\n    \"{{tag_id2}}\", \"{{tag_id3}}\"\r\n  ]\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/trackers/{{TrackerID}}/artifacts"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:02:25 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts/artf1828"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1174"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"100\""},{"key":"Keep-Alive","value":"timeout=15, max=9999"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetArtifactEntity\",\n    \"id\": \"artf1828\",\n    \"title\": \"Test Artifact645\",\n    \"description\": \"Test Artifact\",\n    \"projectId\": \"proj1088\",\n    \"path\": \"projects.baselineapiprojectwithdataset677/tracker.tracker162/artf1828\",\n    \"folderId\": \"tracker1188\",\n    \"category\": \"\",\n    \"group\": \"\",\n    \"status\": \"Open\",\n    \"statusClass\": \"Open\",\n    \"customer\": \"\",\n    \"priority\": 3,\n    \"estimatedEffort\": 20,\n    \"actualEffort\": 0,\n    \"remainingEffort\": 10,\n    \"autoSumming\": false,\n    \"points\": 10,\n    \"autoSummingPoints\": false,\n    \"closeDate\": null,\n    \"assignedTo\": \"nobody\",\n    \"teamId\": null,\n    \"planningFolderId\": null,\n    \"tagIds\": [\n        \"tag1095\",\n        \"tag1094\"\n    ],\n    \"reportedReleasePath\": null,\n    \"reportedReleaseId\": null,\n    \"resolvedReleasePath\": null,\n    \"resolvedReleaseId\": null,\n    \"flexFields\": [],\n    \"lastModifiedBy\": \"apiUser342\",\n    \"createdBy\": \"apiUser342\",\n    \"lastModifiedDate\": \"2018-10-21T10:02:24.000+0000\",\n    \"createdDate\": \"2018-10-21T10:02:24.000+0000\",\n    \"version\": 100,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts/artf1828\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts/artf1828?$If-Match=W%2F%22100%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts/artf1828\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"},{"id":"9d2b1ae7-8371-4e71-8c84-957f54ba8e9d","name":"Create Artifact in Tracker","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Test Artifact\",\r\n  \"description\": \"Test Artifact\",\r\n  \"category\":\"\",\r\n  \"group\": \"\",\r\n  \"status\": \"Open\",\r\n  \"customer\": \"\",\r\n  \"priority\": 3,\r\n  \"estimatedEffort\": 20,\r\n  \"remainingEffort\": 10,\r\n  \"autoSumming\": false,\r\n  \"points\": 10,\r\n  \"autoSummingPoints\": false,\r\n  \"assignedTo\": \"\",\r\n  \"tagIds\": [\r\n    \"{{tag_id2}}\", \"{{tag_id3}}\"\r\n  ]\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/trackers/{{TrackerID}}/artifacts"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:02:25 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts/artf1828"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1174"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"100\""},{"key":"Keep-Alive","value":"timeout=15, max=9999"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetArtifactEntity\",\n    \"id\": \"artf1828\",\n    \"title\": \"Test Artifact645\",\n    \"description\": \"Test Artifact\",\n    \"projectId\": \"proj1088\",\n    \"path\": \"projects.baselineapiprojectwithdataset677/tracker.tracker162/artf1828\",\n    \"folderId\": \"tracker1188\",\n    \"category\": \"\",\n    \"group\": \"\",\n    \"status\": \"Open\",\n    \"statusClass\": \"Open\",\n    \"customer\": \"\",\n    \"priority\": 3,\n    \"estimatedEffort\": 20,\n    \"actualEffort\": 0,\n    \"remainingEffort\": 10,\n    \"autoSumming\": false,\n    \"points\": 10,\n    \"autoSummingPoints\": false,\n    \"closeDate\": null,\n    \"assignedTo\": \"nobody\",\n    \"teamId\": null,\n    \"planningFolderId\": null,\n    \"tagIds\": [\n        \"tag1095\",\n        \"tag1094\"\n    ],\n    \"reportedReleasePath\": null,\n    \"reportedReleaseId\": null,\n    \"resolvedReleasePath\": null,\n    \"resolvedReleaseId\": null,\n    \"flexFields\": [],\n    \"lastModifiedBy\": \"apiUser342\",\n    \"createdBy\": \"apiUser342\",\n    \"lastModifiedDate\": \"2018-10-21T10:02:24.000+0000\",\n    \"createdDate\": \"2018-10-21T10:02:24.000+0000\",\n    \"version\": 100,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts/artf1828\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts/artf1828?$If-Match=W%2F%22100%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts/artf1828\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"0eb374d2-f320-4a29-9db1-30d23ffb8495"},{"name":"Create Text Flex Field in Tracker","event":[{"listen":"test","script":{"id":"210f163f-2ab4-4502-ae0e-6a8c5aa38f26","type":"text/javascript","exec":["tests[\"Successfully created Text Filed in a Tracker\"] = responseCode.code === 201;","","var jsonData=JSON.parse(responseBody);","pm.environment.set(\"TextFldID\", jsonData.id);"]}},{"listen":"prerequest","script":{"id":"ef8b61e9-eccf-4974-a9e5-5a509c3fe8e4","type":"text/javascript","exec":["var randomVal = (Math.random()*1000);","var FldName = \"Text Field\"+(Math.round(randomVal));","pm.environment.set(\"TextFldName\", FldName);"]}}],"id":"f58bfb25-5577-4211-9ac7-7bc74c3aa03b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"{{TextFldName}}\",\r\n  \"fieldDisplayType\": \"TEXT\",\r\n  \"displaySize\": 10,\r\n  \"displayLines\": 10,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"d\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"helpText\": \"I'm a Text Field\",\r\n  \"pattern\": \"\\\\w\",\r\n  \"defaultUsers\": [\r\n    \"string\"\r\n  ],\r\n  \"defaultTextValue\": \"\",\r\n  \"userFilter\": \"user_proj_member\"\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/trackers/{{TrackerID}}/fields","description":"<p>Creates a text flex field for a specific tracker</p>\n","urlObject":{"path":["ctfrest","tracker","v1","trackers","{{TrackerID}}","fields"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"2780cf09-26e5-4fa9-ac9c-a3083e7a6af4","name":"Create Text Flex Field in Tracker","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"{{TextFldName}}\",\r\n  \"fieldDisplayType\": \"TEXT\",\r\n  \"displaySize\": 10,\r\n  \"displayLines\": 10,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"d\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"helpText\": \"I'm a Text Field\",\r\n  \"pattern\": \"\\\\w\",\r\n  \"defaultUsers\": [\r\n    \"string\"\r\n  ],\r\n  \"defaultTextValue\": \"\",\r\n  \"userFilter\": \"user_proj_member\"\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/trackers/{{TrackerID}}/fields"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:04:52 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4758"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"879"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"0\""},{"key":"Keep-Alive","value":"timeout=15, max=9988"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetFieldEntity\",\n    \"id\": \"fild4758\",\n    \"name\": \"Text Field918\",\n    \"folderId\": \"tracker1192\",\n    \"memberName\": \"text0\",\n    \"valueType\": \"String\",\n    \"displaySize\": 10,\n    \"displayLines\": 10,\n    \"displayType\": \"TEXT\",\n    \"isRequired\": false,\n    \"isDisabled\": false,\n    \"isHiddenOnCreate\": false,\n    \"fieldValues\": {\n        \"_type\": \"collection\",\n        \"items\": [],\n        \"paged\": false\n    },\n    \"defaultTextValue\": \"\",\n    \"helpText\": \"I'm a Text Field\",\n    \"pattern\": \"\\\\w\",\n    \"dateCreated\": \"2018-10-21T10:04:52.000+0000\",\n    \"createdBy\": \"apiUser342\",\n    \"dateLastModified\": \"2018-10-21T10:04:52.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"version\": 0,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4758\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4758?$If-Match=W%2F%220%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4758\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"f58bfb25-5577-4211-9ac7-7bc74c3aa03b"},{"name":"Create Single-select Flex Field in Tracker","event":[{"listen":"test","script":{"id":"58d202c0-9258-4007-b297-9b5d73c6b402","type":"text/javascript","exec":["var jsonData=JSON.parse(responseBody);","pm.environment.set(\"TkrSSFldID\", jsonData.id);","pm.environment.set(\"TkrSSFldVal1ID\", jsonData.fieldValues.items[0].id);","pm.environment.set(\"TkrSSFldVal2ID\", jsonData.fieldValues.items[1].id);","pm.environment.set(\"TkrSSFldVal3ID\", jsonData.fieldValues.items[2].id);","pm.environment.set(\"TkrSSFldValue1\", jsonData.fieldValues.items[0].value);","pm.environment.set(\"TkrSSFldValue2\", jsonData.fieldValues.items[1].value);","pm.environment.set(\"TkrSSFldValue3\", jsonData.fieldValues.items[2].value);","","tests[\"Successfully created Single Select Field in a Tracker\"] = responseCode.code === 201;"]}},{"listen":"prerequest","script":{"id":"6e78a75d-b1a2-451a-9b90-6e3224021725","type":"text/javascript","exec":["var randomVal = (Math.random()*1000);","","var SSFldName = \"Single Select\"+(Math.round(randomVal));","pm.environment.set(\"SSFldName\", SSFldName);"]}}],"id":"75feedbb-15d7-48e9-8994-6e5079d2b973","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"{{SSFldName}}\",\r\n  \"fieldDisplayType\": \"DROPDOWN\",\r\n  \"displaySize\": 10,\r\n  \"displayLines\": 10,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue1\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue2\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue3\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"helpText\": \"I'm a Single Select Field\",\r\n  \"pattern\": \"\\\\w\",\r\n  \"defaultUsers\": [\r\n    \"string\"\r\n  ],\r\n  \"userFilter\": \"user_proj_member\"\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/trackers/{{TrackerID}}/fields","description":"<p>Creates a single-select flex field for a specific tracker</p>\n","urlObject":{"path":["ctfrest","tracker","v1","trackers","{{TrackerID}}","fields"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"7fc5c35d-e939-4751-b8ec-84d328b0a952","name":"Create Single-select Flex Field in Tracker","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"{{SSFldName}}\",\r\n  \"fieldDisplayType\": \"DROPDOWN\",\r\n  \"displaySize\": 10,\r\n  \"displayLines\": 10,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue1\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue2\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue3\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"helpText\": \"I'm a Single Select Field\",\r\n  \"pattern\": \"\\\\w\",\r\n  \"defaultUsers\": [\r\n    \"string\"\r\n  ],\r\n  \"userFilter\": \"user_proj_member\"\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/trackers/{{TrackerID}}/fields"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:05:43 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4759"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1404"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"0\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetFieldEntity\",\n    \"id\": \"fild4759\",\n    \"name\": \"Single Select931\",\n    \"folderId\": \"tracker1192\",\n    \"memberName\": \"fv0\",\n    \"valueType\": \"String\",\n    \"displaySize\": 1,\n    \"displayLines\": 1,\n    \"displayType\": \"DROPDOWN\",\n    \"isRequired\": false,\n    \"isDisabled\": false,\n    \"isHiddenOnCreate\": false,\n    \"fieldValues\": {\n        \"_type\": \"collection\",\n        \"items\": [\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7053\",\n                \"value\": \"SSValue1\",\n                \"valueClass\": null,\n                \"isDefault\": false,\n                \"displayOrder\": 1,\n                \"dependentValues\": null\n            },\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7054\",\n                \"value\": \"SSValue2\",\n                \"valueClass\": null,\n                \"isDefault\": false,\n                \"displayOrder\": 2,\n                \"dependentValues\": null\n            },\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7055\",\n                \"value\": \"SSValue3\",\n                \"valueClass\": null,\n                \"isDefault\": false,\n                \"displayOrder\": 3,\n                \"dependentValues\": null\n            }\n        ],\n        \"paged\": false\n    },\n    \"helpText\": \"I'm a Single Select Field\",\n    \"dateCreated\": \"2018-10-21T10:05:43.000+0000\",\n    \"createdBy\": \"apiUser342\",\n    \"dateLastModified\": \"2018-10-21T10:05:43.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"version\": 0,\n    \"_links\": {\n        \"createChild\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/tracker1192/children\",\n            \"method\": \"POST\"\n        },\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4759\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4759?$If-Match=W%2F%220%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4759\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"75feedbb-15d7-48e9-8994-6e5079d2b973"},{"name":"Create Child Single-select Flex Field","event":[{"listen":"test","script":{"id":"e21e2c2c-dbd1-47a3-a9d2-c9cc3b626d4a","type":"text/javascript","exec":["var jsonData=JSON.parse(responseBody);","pm.environment.set(\"TkrCSSFldID\", jsonData.id);","pm.environment.set(\"CSSFF_Val1ID\", jsonData.fieldValues.items[0].value);","pm.environment.set(\"CSSFF_Val2ID\", jsonData.fieldValues.items[0].value);","","tests[\"Successfully created Child Single Select Field in a Tracker\"] = responseCode.code === 201;"]}},{"listen":"prerequest","script":{"id":"5a22c466-5b53-48fa-995e-bdad2b6f9fdf","type":"text/javascript","exec":["var randomVal = (Math.random()*1000);","","var FldName = \"ChildSingleSelect\"+(Math.round(randomVal));","pm.environment.set(\"CSSFldName\", FldName);"]}}],"id":"35606cc9-8de2-41ba-9ac6-fc179e480e5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{  \r\n   \"fieldName\":\"{{CSSFldName}}\",\r\n   \"fieldValues\":[  \r\n      \"CSSVal1\",\r\n      \"CSSVal2\"\r\n   ],\r\n   \"childParentFieldValues\":{  \r\n      \"CSSVal1\":[  \r\n         \"{{TkrSSFldVal1ID}}\"\r\n      ],\r\n      \"CSSVal2\":[  \r\n         \"{{TkrSSFldVal1ID}}\"\r\n      ]\r\n   },\r\n   \"helpText\":\"I'm a child single select field\"\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/fields/{{TkrSSFldID}}/children","description":"<p>Creates a child single-select flex field for a specific Tracker</p>\n","urlObject":{"path":["ctfrest","tracker","v1","fields","{{TkrSSFldID}}","children"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"917733ee-e582-4f08-b66a-8bd923055373","name":"Create Child Single-select Flex Field","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{  \r\n   \"fieldName\":\"{{CSSFldName}}\",\r\n   \"fieldValues\":[  \r\n      \"CSSVal1\",\r\n      \"CSSVal2\"\r\n   ],\r\n   \"childParentFieldValues\":{  \r\n      \"CSSVal1\":[  \r\n         \"{{TkrSSFldVal1ID}}\"\r\n      ],\r\n      \"CSSVal2\":[  \r\n         \"{{TkrSSFldVal1ID}}\"\r\n      ]\r\n   },\r\n   \"helpText\":\"I'm a child single select field\"\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/fields/{{TkrSSFldID}}/children"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:06:16 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4760"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1310"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"W/\"0\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetFieldEntity\",\n    \"id\": \"fild4760\",\n    \"name\": \"ChildSingleSelect526\",\n    \"folderId\": \"tracker1192\",\n    \"memberName\": \"fv1\",\n    \"valueType\": \"String\",\n    \"displaySize\": 1,\n    \"displayLines\": 1,\n    \"displayType\": \"DROPDOWN\",\n    \"parentField\": \"fild4759\",\n    \"isRequired\": false,\n    \"isDisabled\": false,\n    \"isHiddenOnCreate\": false,\n    \"fieldValues\": {\n        \"_type\": \"collection\",\n        \"items\": [\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7057\",\n                \"value\": \"CSSVal1\",\n                \"valueClass\": null,\n                \"isDefault\": false,\n                \"displayOrder\": 1,\n                \"dependentValues\": [\n                    \"fldv7053\"\n                ]\n            },\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7058\",\n                \"value\": \"CSSVal2\",\n                \"valueClass\": null,\n                \"isDefault\": false,\n                \"displayOrder\": 2,\n                \"dependentValues\": [\n                    \"fldv7053\"\n                ]\n            }\n        ],\n        \"paged\": false\n    },\n    \"helpText\": \"I'm a child single select field\",\n    \"dateCreated\": \"2018-10-21T10:06:16.000+0000\",\n    \"createdBy\": \"apiUser342\",\n    \"dateLastModified\": \"2018-10-21T10:06:16.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"version\": 0,\n    \"_links\": {\n        \"createChild\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/tracker1192/children\",\n            \"method\": \"POST\"\n        },\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4760\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4760?$If-Match=W%2F%220%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4760\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"35606cc9-8de2-41ba-9ac6-fc179e480e5b"},{"name":"Create Multi-select Flex Field in Tracker","event":[{"listen":"test","script":{"id":"db27dc46-3d3f-410f-91b8-985203087a27","type":"text/javascript","exec":["var jsonData=JSON.parse(responseBody);","pm.environment.set(\"MSFF_ID\", jsonData.id);","pm.environment.set(\"MSFF_Val1ID\", jsonData.fieldValues.items[0].id);","pm.environment.set(\"MSFF_Val2ID\", jsonData.fieldValues.items[1].id);","pm.environment.set(\"MSFF_Val3ID\", jsonData.fieldValues.items[2].id);","pm.environment.set(\"MSFF_Value1\", jsonData.fieldValues.items[0].value);","pm.environment.set(\"MSFF_Value2\", jsonData.fieldValues.items[1].value);","pm.environment.set(\"MSFF_Value3\", jsonData.fieldValues.items[2].value);","","tests[\"Successfully created Multi-Select Field in a Tracker\"] = responseCode.code === 201;"]}},{"listen":"prerequest","script":{"id":"f284ab1c-6c35-4903-9956-52ee678ba1f5","type":"text/javascript","exec":["var randomVal = (Math.random()*1000);","","var FldName = \"Multi Select\"+(Math.round(randomVal));","pm.environment.set(\"MSFldName\", FldName);"]}}],"id":"ae941b20-8efa-4110-954c-333200c145fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"{{MSFldName}}\",\r\n  \"fieldDisplayType\": \"MULTISELECT\",\r\n  \"displaySize\": 10,\r\n  \"displayLines\": 10,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"MSValue1\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"MSValue2\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"MSValue3\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"helpText\": \"I'm a Multi-Select Field\",\r\n  \"pattern\": \"\\\\w\",\r\n  \"defaultUsers\": [\r\n    \"string\"\r\n  ],\r\n  \"userFilter\": \"user_proj_member\"\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/trackers/{{TrackerID}}/fields","description":"<p>Creates a multi-select flex field for a specific tracker</p>\n","urlObject":{"path":["ctfrest","tracker","v1","trackers","{{TrackerID}}","fields"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"9c64c90a-42fe-4fd6-b939-ce5759a9abe7","name":"Create Multi-select Flex Field in Tracker","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"{{MSFldName}}\",\r\n  \"fieldDisplayType\": \"MULTISELECT\",\r\n  \"displaySize\": 10,\r\n  \"displayLines\": 10,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"MSValue1\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"MSValue2\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"MSValue3\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"helpText\": \"I'm a Multi-Select Field\",\r\n  \"pattern\": \"\\\\w\",\r\n  \"defaultUsers\": [\r\n    \"string\"\r\n  ],\r\n  \"userFilter\": \"user_proj_member\"\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/trackers/{{TrackerID}}/fields"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:06:52 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4761"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1291"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"0\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetFieldEntity\",\n    \"id\": \"fild4761\",\n    \"name\": \"Multi Select426\",\n    \"folderId\": \"tracker1192\",\n    \"memberName\": \"multiselect\",\n    \"valueType\": \"String\",\n    \"displaySize\": 1,\n    \"displayLines\": 10,\n    \"displayType\": \"MULTISELECT\",\n    \"isRequired\": false,\n    \"isDisabled\": false,\n    \"isHiddenOnCreate\": false,\n    \"fieldValues\": {\n        \"_type\": \"collection\",\n        \"items\": [\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7060\",\n                \"value\": \"MSValue1\",\n                \"valueClass\": null,\n                \"isDefault\": false,\n                \"displayOrder\": 1,\n                \"dependentValues\": null\n            },\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7061\",\n                \"value\": \"MSValue2\",\n                \"valueClass\": null,\n                \"isDefault\": false,\n                \"displayOrder\": 2,\n                \"dependentValues\": null\n            },\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7062\",\n                \"value\": \"MSValue3\",\n                \"valueClass\": null,\n                \"isDefault\": false,\n                \"displayOrder\": 3,\n                \"dependentValues\": null\n            }\n        ],\n        \"paged\": false\n    },\n    \"helpText\": \"I'm a Multi-Select Field\",\n    \"dateCreated\": \"2018-10-21T10:06:51.000+0000\",\n    \"createdBy\": \"apiUser342\",\n    \"dateLastModified\": \"2018-10-21T10:06:51.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"version\": 0,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4761\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4761?$If-Match=W%2F%220%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4761\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"ae941b20-8efa-4110-954c-333200c145fc"},{"name":"Create User Flex Field in Tracker","event":[{"listen":"test","script":{"id":"be248e5d-95ee-41c8-9241-31914c8c9e22","type":"text/javascript","exec":["var jsonData=JSON.parse(responseBody);","pm.environment.set(\"TkrUsrFldID\", jsonData.id);","","tests[\"Successfully created User Field in a Tracker\"] = responseCode.code === 201;"]}},{"listen":"prerequest","script":{"id":"9855fd78-9436-4356-bf92-10ebc9db3df6","type":"text/javascript","exec":["var randomVal = (Math.random()*1000);","var UsrFldName = \"UserField\"+(Math.round(randomVal));","pm.environment.set(\"UsrFldName\", UsrFldName);"]}}],"id":"3e7e9d1f-a570-4c2d-b76f-667e59244264","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"{{UsrFldName}}\",\r\n  \"fieldDisplayType\": \"USER\",\r\n  \"displaySize\": 10,\r\n  \"displayLines\": 10,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue1\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue2\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue3\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"helpText\": \"I'm an User Field\",\r\n  \"pattern\": \"\\\\w\",\r\n  \"defaultUsers\": [\"{{apiUser}}\"],\r\n  \"userFilter\": \"user_proj_member\"\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/trackers/{{TrackerID}}/fields","description":"<p>Creates a user flex field for a specific tracker</p>\n","urlObject":{"path":["ctfrest","tracker","v1","trackers","{{TrackerID}}","fields"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"12bcc0e4-8b34-4f13-8d0a-dac1ccb62637","name":"Create User Flex Field in Tracker","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"{{UsrFldName}}\",\r\n  \"fieldDisplayType\": \"USER\",\r\n  \"displaySize\": 10,\r\n  \"displayLines\": 10,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue1\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue2\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue3\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"helpText\": \"I'm an User Field\",\r\n  \"pattern\": \"\\\\w\",\r\n  \"defaultUsers\": [\"{{apiUser}}\"],\r\n  \"userFilter\": \"user_proj_member\"\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/trackers/{{TrackerID}}/fields"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:07:23 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4762"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"895"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"0\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetFieldEntity\",\n    \"id\": \"fild4762\",\n    \"name\": \"UserField380\",\n    \"folderId\": \"tracker1192\",\n    \"memberName\": \"user\",\n    \"valueType\": \"SfUser\",\n    \"displaySize\": 10,\n    \"displayLines\": 1,\n    \"displayType\": \"USER\",\n    \"isRequired\": false,\n    \"isDisabled\": false,\n    \"isHiddenOnCreate\": false,\n    \"fieldValues\": {\n        \"_type\": \"collection\",\n        \"items\": [],\n        \"paged\": false\n    },\n    \"helpText\": \"I'm an User Field\",\n    \"userFilter\": \"user_proj_member\",\n    \"userKeys\": [\n        \"user1161\"\n    ],\n    \"dateCreated\": \"2018-10-21T10:07:23.000+0000\",\n    \"createdBy\": \"apiUser342\",\n    \"dateLastModified\": \"2018-10-21T10:07:23.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"version\": 0,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4762\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4762?$If-Match=W%2F%220%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4762\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"3e7e9d1f-a570-4c2d-b76f-667e59244264"},{"name":"Create Date Flex Field in Tracker","event":[{"listen":"test","script":{"id":"1d7b5e6f-4670-494e-8fe3-7f1167894e0a","type":"text/javascript","exec":["var jsonData=JSON.parse(responseBody);","pm.environment.set(\"TkrDtFldID\", jsonData.id);","","tests[\"Successfully created User Field in a Tracker\"] = responseCode.code === 201;"]}},{"listen":"prerequest","script":{"id":"3aa6d3e4-873f-42d8-a3a1-8c11af724d78","type":"text/javascript","exec":["var randomVal = (Math.random()*1000);","","var FldName = \"DateField\"+(Math.round(randomVal));","pm.environment.set(\"DtFldName\", FldName);"]}}],"id":"6b1e6b1d-58a1-4518-a165-eab79a32b69c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"{{DtFldName}}\",\r\n  \"fieldDisplayType\": \"DATE\",\r\n  \"displaySize\": 10,\r\n  \"displayLines\": 10,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"helpText\": \"I'm an Date Field\"\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/trackers/{{TrackerID}}/fields","description":"<p>Creates a Date flex field for a specific Tracker</p>\n","urlObject":{"path":["ctfrest","tracker","v1","trackers","{{TrackerID}}","fields"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"d4f3ed6c-e5e8-4a9a-b135-c4cb4e7229a3","name":"Create Date Flex Field in Tracker","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"{{DtFldName}}\",\r\n  \"fieldDisplayType\": \"DATE\",\r\n  \"displaySize\": 10,\r\n  \"displayLines\": 10,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"helpText\": \"I'm an Date Field\"\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/trackers/{{TrackerID}}/fields"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:07:59 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4763"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"834"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"0\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetFieldEntity\",\n    \"id\": \"fild4763\",\n    \"name\": \"DateField930\",\n    \"folderId\": \"tracker1192\",\n    \"memberName\": \"d0\",\n    \"valueType\": \"Date\",\n    \"displaySize\": 1,\n    \"displayLines\": 1,\n    \"displayType\": \"DATE\",\n    \"isRequired\": false,\n    \"isDisabled\": false,\n    \"isHiddenOnCreate\": false,\n    \"fieldValues\": {\n        \"_type\": \"collection\",\n        \"items\": [],\n        \"paged\": false\n    },\n    \"helpText\": \"I'm an Date Field\",\n    \"dateCreated\": \"2018-10-21T10:07:59.000+0000\",\n    \"createdBy\": \"apiUser342\",\n    \"dateLastModified\": \"2018-10-21T10:07:59.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"version\": 0,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4763\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4763?$If-Match=W%2F%220%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4763\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"6b1e6b1d-58a1-4518-a165-eab79a32b69c"},{"name":"Get List of Fields in Tracker","event":[{"listen":"test","script":{"id":"17029896-9c6a-4190-a7d3-62ffe85e3e18","type":"text/javascript","exec":["var jsonData=JSON.parse(responseBody);","","var i=0;","for (i=0; i<22; i++){","    if(jsonData.items[i].name == \"category\"){","        pm.environment.set(\"Category_ID\", jsonData.items[i].id);","    }","    else if(jsonData.items[i].name == \"group\"){","         pm.environment.set(\"Group_ID\", jsonData.items[i].id);","    }","    else if(jsonData.items[i].name == \"status\"){","         pm.environment.set(\"Status_ID\", jsonData.items[i].id);","    }","    else if(jsonData.items[i].name == \"customer\"){","         pm.environment.set(\"Customer_ID\", jsonData.items[i].id);","    }","}","","","","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"]}},{"listen":"prerequest","script":{"id":"236ee26f-143c-4415-9dff-773a4a8a0a5f","type":"text/javascript","exec":[""]}}],"id":"a90b0f65-4a4a-40c4-9dc9-7a8440b9a182","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/tracker/v1/trackers/{{TrackerID}}/fields","description":"<p>Gets the list of fields in a specific Tracker</p>\n","urlObject":{"path":["ctfrest","tracker","v1","trackers","{{TrackerID}}","fields"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a90b0f65-4a4a-40c4-9dc9-7a8440b9a182"},{"name":"Update Category System Field","event":[{"listen":"test","script":{"id":"2b47b7d3-633d-4984-bb26-c1d05563bdc5","type":"text/javascript","exec":["var jsonData=JSON.parse(responseBody);","","postman.setEnvironmentVariable(\"Category_val1\", jsonData.fieldValues.items[0].value);","pm.environment.set(\"Category_val2\", jsonData.fieldValues.items[1].value);","pm.environment.set(\"Category_val3\", jsonData.fieldValues.items[2].value);","pm.environment.set(\"Category_val1_Id\", jsonData.fieldValues.items[0].id);","pm.environment.set(\"Category_val2_Id\", jsonData.fieldValues.items[1].id);","pm.environment.set(\"Category_val3_Id\", jsonData.fieldValues.items[2].id);","","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"]}},{"listen":"prerequest","script":{"id":"1b3d8922-6f80-4784-b966-636d284b76a3","type":"text/javascript","exec":[""]}}],"id":"9bf3a39f-e0e4-4c39-9d16-898b26713276","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","value":"W/*"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"category\",\r\n  \"displaySize\": 1,\r\n  \"displayLines\": 1,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"Cat1\",\r\n      \"valueClass\": \"string\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"Cat2\",\r\n      \"valueClass\": \"string\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"Cat3\",\r\n      \"valueClass\": \"string\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"parentFieldId\": \"string\",\r\n  \"defaultUsers\": [\r\n    \"string\"\r\n  ],\r\n  \"defaultTextValue\": \"\",\r\n  \"userFilter\": \"user_proj_member\",\r\n  \"helpText\": \"Category field\",\r\n  \"pattern\": \"//w\"\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/fields/{{Category_ID}}","description":"<p>Updates the system-defined field \"Category\"</p>\n","urlObject":{"path":["ctfrest","tracker","v1","fields","{{Category_ID}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"53d1cbb7-bc0f-4564-9355-7c6cb027d8ee","name":"Update Category System Field","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","value":"W/*"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"category\",\r\n  \"displaySize\": 1,\r\n  \"displayLines\": 1,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"Cat1\",\r\n      \"valueClass\": \"string\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"Cat2\",\r\n      \"valueClass\": \"string\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"Cat3\",\r\n      \"valueClass\": \"string\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"parentFieldId\": \"string\",\r\n  \"defaultUsers\": [\r\n    \"string\"\r\n  ],\r\n  \"defaultTextValue\": \"\",\r\n  \"userFilter\": \"user_proj_member\",\r\n  \"helpText\": \"Category field\",\r\n  \"pattern\": \"//w\"\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/fields/{{Category_ID}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:09:35 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"ETag","value":"W/\"1-gzip\""},{"key":"Content-Length","value":"540"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetFieldEntity\",\n    \"id\": \"fild4744\",\n    \"name\": \"category\",\n    \"folderId\": \"tracker1192\",\n    \"memberName\": null,\n    \"valueType\": \"String\",\n    \"displaySize\": 1,\n    \"displayLines\": 1,\n    \"displayType\": \"DROPDOWN\",\n    \"isRequired\": false,\n    \"isDisabled\": false,\n    \"isHiddenOnCreate\": false,\n    \"fieldValues\": {\n        \"_type\": \"collection\",\n        \"items\": [\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7063\",\n                \"value\": \"Cat1311\",\n                \"valueClass\": null,\n                \"isDefault\": false,\n                \"displayOrder\": 1,\n                \"dependentValues\": null\n            },\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7064\",\n                \"value\": \"Cat2540\",\n                \"valueClass\": null,\n                \"isDefault\": false,\n                \"displayOrder\": 2,\n                \"dependentValues\": null\n            },\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7065\",\n                \"value\": \"Cat3711\",\n                \"valueClass\": null,\n                \"isDefault\": false,\n                \"displayOrder\": 3,\n                \"dependentValues\": null\n            }\n        ],\n        \"paged\": false\n    },\n    \"helpText\": \"Category field\",\n    \"dateCreated\": \"2018-10-21T10:04:44.000+0000\",\n    \"createdBy\": \"apiUser342\",\n    \"dateLastModified\": \"2018-10-21T10:09:35.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"version\": 1,\n    \"_links\": {\n        \"createChild\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/tracker1192/children\",\n            \"method\": \"POST\"\n        },\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4744\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4744?$If-Match=W%2F%221%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4744\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"9bf3a39f-e0e4-4c39-9d16-898b26713276"},{"name":"Update Group System Field","event":[{"listen":"test","script":{"id":"f28d0c82-7a7a-419e-8511-b8730356f49f","type":"text/javascript","exec":["var jsonData=JSON.parse(responseBody);","pm.environment.set(\"Group_val1\", jsonData.fieldValues.items[0].value);","pm.environment.set(\"Group_val2\", jsonData.fieldValues.items[1].value);","pm.environment.set(\"Group_val3\", jsonData.fieldValues.items[2].value);","pm.environment.set(\"Group_val1_Id\", jsonData.fieldValues.items[0].id);","pm.environment.set(\"Group_val2_Id\", jsonData.fieldValues.items[1].id);","pm.environment.set(\"Group_val3_Id\", jsonData.fieldValues.items[2].id);","","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});",""]}},{"listen":"prerequest","script":{"id":"f1df0aab-dd49-4652-b836-e68dcca824ad","type":"text/javascript","exec":[""]}}],"id":"8f5252a5-42bd-4481-8657-ea8a9064f8c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","value":"W/*"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"group\",\r\n  \"displaySize\": 0,\r\n  \"displayLines\": 0,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"group1\",\r\n      \"valueClass\": \"string\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"group2\",\r\n      \"valueClass\": \"string\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"group3\",\r\n      \"valueClass\": \"string\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"parentFieldId\": \"string\",\r\n  \"defaultUsers\": [\r\n    \"string\"\r\n  ],\r\n  \"defaultTextValue\": \"\",\r\n  \"userFilter\": \"user_proj_member\",\r\n  \"helpText\": \"Group field\",\r\n  \"pattern\": \"//w\"\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/fields/{{Group_ID}}","description":"<p>Updates the system-defined field \"Group\"</p>\n","urlObject":{"path":["ctfrest","tracker","v1","fields","{{Group_ID}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"6e6d937f-82aa-4d12-b332-023b724b2957","name":"Update Group System Field","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","value":"W/*"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"group\",\r\n  \"displaySize\": 0,\r\n  \"displayLines\": 0,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"group1\",\r\n      \"valueClass\": \"string\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"group2\",\r\n      \"valueClass\": \"string\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"group3\",\r\n      \"valueClass\": \"string\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"parentFieldId\": \"string\",\r\n  \"defaultUsers\": [\r\n    \"string\"\r\n  ],\r\n  \"defaultTextValue\": \"\",\r\n  \"userFilter\": \"user_proj_member\",\r\n  \"helpText\": \"Group field\",\r\n  \"pattern\": \"//w\"\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/fields/{{Group_ID}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:10:24 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"ETag","value":"W/\"1-gzip\""},{"key":"Content-Length","value":"539"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetFieldEntity\",\n    \"id\": \"fild4742\",\n    \"name\": \"group\",\n    \"folderId\": \"tracker1192\",\n    \"memberName\": null,\n    \"valueType\": \"String\",\n    \"displaySize\": 1,\n    \"displayLines\": 1,\n    \"displayType\": \"DROPDOWN\",\n    \"isRequired\": false,\n    \"isDisabled\": false,\n    \"isHiddenOnCreate\": false,\n    \"fieldValues\": {\n        \"_type\": \"collection\",\n        \"items\": [\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7066\",\n                \"value\": \"group1554\",\n                \"valueClass\": null,\n                \"isDefault\": false,\n                \"displayOrder\": 1,\n                \"dependentValues\": null\n            },\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7067\",\n                \"value\": \"group2955\",\n                \"valueClass\": null,\n                \"isDefault\": false,\n                \"displayOrder\": 2,\n                \"dependentValues\": null\n            },\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7068\",\n                \"value\": \"group3133\",\n                \"valueClass\": null,\n                \"isDefault\": false,\n                \"displayOrder\": 3,\n                \"dependentValues\": null\n            }\n        ],\n        \"paged\": false\n    },\n    \"helpText\": \"Group field\",\n    \"dateCreated\": \"2018-10-21T10:04:44.000+0000\",\n    \"createdBy\": \"apiUser342\",\n    \"dateLastModified\": \"2018-10-21T10:10:24.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"version\": 1,\n    \"_links\": {\n        \"createChild\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/tracker1192/children\",\n            \"method\": \"POST\"\n        },\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4742\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4742?$If-Match=W%2F%221%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4742\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"8f5252a5-42bd-4481-8657-ea8a9064f8c7"},{"name":"Update Status System Field","event":[{"listen":"test","script":{"id":"7b2ba023-a6e8-417c-99d4-8b161f2647db","type":"text/javascript","exec":["var jsonData=JSON.parse(responseBody);","pm.environment.set(\"status_val\", jsonData.fieldValues.items[3].value);","","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","console.log(\"Category value\",pm.environment.get(\"customer_val1_Id\"));",""]}},{"listen":"prerequest","script":{"id":"26043dbb-ce19-48d1-9ee4-dd8406283598","type":"text/javascript","exec":[""]}}],"id":"0ab2debb-e928-47e1-aef8-2601c8e5ddc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","value":"W/*"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"status\",\r\n  \"displaySize\": 1,\r\n  \"displayLines\": 1,\r\n  \"isRequired\": true,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"InProgress\",\r\n      \"valueClass\": \"Open\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"parentFieldId\": \"string\",\r\n  \"defaultUsers\": [\r\n    \"string\"\r\n  ],\r\n  \"defaultTextValue\": \"\",\r\n  \"userFilter\": \"user_proj_member\",\r\n  \"helpText\": \"Status field\",\r\n  \"pattern\": \"//w\"\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/fields/{{Status_ID}}","description":"<p>Updates the system-defined field \"Status\"</p>\n","urlObject":{"path":["ctfrest","tracker","v1","fields","{{Status_ID}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"a7fcd589-2fd6-4b22-9e5a-a41f4648c66d","name":"Update Status System Field","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","value":"W/*"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"status\",\r\n  \"displaySize\": 1,\r\n  \"displayLines\": 1,\r\n  \"isRequired\": true,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"InProgress\",\r\n      \"valueClass\": \"Open\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"parentFieldId\": \"string\",\r\n  \"defaultUsers\": [\r\n    \"string\"\r\n  ],\r\n  \"defaultTextValue\": \"\",\r\n  \"userFilter\": \"user_proj_member\",\r\n  \"helpText\": \"Status field\",\r\n  \"pattern\": \"//w\"\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/fields/{{Status_ID}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:10:51 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"ETag","value":"W/\"1-gzip\""},{"key":"Content-Length","value":"575"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetFieldEntity\",\n    \"id\": \"fild4743\",\n    \"name\": \"status\",\n    \"folderId\": \"tracker1192\",\n    \"memberName\": null,\n    \"valueType\": \"String\",\n    \"displaySize\": 1,\n    \"displayLines\": 1,\n    \"displayType\": \"DROPDOWN\",\n    \"isRequired\": true,\n    \"isDisabled\": false,\n    \"isHiddenOnCreate\": false,\n    \"fieldValues\": {\n        \"_type\": \"collection\",\n        \"items\": [\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7035\",\n                \"value\": \"Open\",\n                \"valueClass\": \"Open\",\n                \"isDefault\": true,\n                \"displayOrder\": 1,\n                \"dependentValues\": null\n            },\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7036\",\n                \"value\": \"Closed\",\n                \"valueClass\": \"Close\",\n                \"isDefault\": false,\n                \"displayOrder\": 2,\n                \"dependentValues\": null\n            },\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7037\",\n                \"value\": \"Pending\",\n                \"valueClass\": \"Open\",\n                \"isDefault\": false,\n                \"displayOrder\": 3,\n                \"dependentValues\": null\n            },\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7069\",\n                \"value\": \"InProgress229\",\n                \"valueClass\": \"Open\",\n                \"isDefault\": false,\n                \"displayOrder\": 4,\n                \"dependentValues\": null\n            }\n        ],\n        \"paged\": false\n    },\n    \"helpText\": \"Status field\",\n    \"dateCreated\": \"2018-10-21T10:04:44.000+0000\",\n    \"createdBy\": \"apiUser342\",\n    \"dateLastModified\": \"2018-10-21T10:10:51.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"version\": 1,\n    \"_links\": {\n        \"createChild\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/tracker1192/children\",\n            \"method\": \"POST\"\n        },\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4743\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4743?$If-Match=W%2F%221%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4743\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"0ab2debb-e928-47e1-aef8-2601c8e5ddc9"},{"name":"Update Customer System Field","event":[{"listen":"test","script":{"id":"9cc9dbbf-e376-4bac-b0d1-fed0acb21685","type":"text/javascript","exec":["var jsonData=JSON.parse(responseBody);","pm.environment.set(\"customer_val1\", jsonData.fieldValues.items[0].value);","pm.environment.set(\"customer_val2\", jsonData.fieldValues.items[1].value);","pm.environment.set(\"customer_val3\", jsonData.fieldValues.items[2].value);","pm.environment.set(\"customer_val1_Id\", jsonData.fieldValues.items[0].id);","pm.environment.set(\"customer_val2_Id\", jsonData.fieldValues.items[1].id);","pm.environment.set(\"customer_val3_Id\", jsonData.fieldValues.items[2].id);","","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"]}},{"listen":"prerequest","script":{"id":"a35aa8ad-0931-4697-8192-370259d02909","type":"text/javascript","exec":[""]}}],"id":"eb930d5a-9761-4dda-8d2c-3fdc1371ea57","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","value":"W/*"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"customer\",\r\n  \"displaySize\": 0,\r\n  \"displayLines\": 0,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"customer1\",\r\n      \"valueClass\": \"string\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"customer2\",\r\n      \"valueClass\": \"string\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"customer3\",\r\n      \"valueClass\": \"string\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"parentFieldId\": \"string\",\r\n  \"defaultUsers\": [\r\n    \"string\"\r\n  ],\r\n  \"defaultTextValue\": \"\",\r\n  \"userFilter\": \"user_proj_member\",\r\n  \"helpText\": \"Customer field\",\r\n  \"pattern\": \"//w\"\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/fields/{{Customer_ID}}","description":"<p>Updates the system-defined field \"Customer\"</p>\n","urlObject":{"path":["ctfrest","tracker","v1","fields","{{Customer_ID}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"7d746dfc-9490-44ca-a7d3-dd2eb8e55e8a","name":"Update Customer System Field","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","value":"W/*"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"customer\",\r\n  \"displaySize\": 0,\r\n  \"displayLines\": 0,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"customer1\",\r\n      \"valueClass\": \"string\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"customer2\",\r\n      \"valueClass\": \"string\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"customer3\",\r\n      \"valueClass\": \"string\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"parentFieldId\": \"string\",\r\n  \"defaultUsers\": [\r\n    \"string\"\r\n  ],\r\n  \"defaultTextValue\": \"\",\r\n  \"userFilter\": \"user_proj_member\",\r\n  \"helpText\": \"Customer field\",\r\n  \"pattern\": \"//w\"\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/fields/{{Customer_ID}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:11:14 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"ETag","value":"W/\"1-gzip\""},{"key":"Content-Length","value":"539"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetFieldEntity\",\n    \"id\": \"fild4745\",\n    \"name\": \"customer\",\n    \"folderId\": \"tracker1192\",\n    \"memberName\": null,\n    \"valueType\": \"String\",\n    \"displaySize\": 1,\n    \"displayLines\": 1,\n    \"displayType\": \"DROPDOWN\",\n    \"isRequired\": false,\n    \"isDisabled\": false,\n    \"isHiddenOnCreate\": false,\n    \"fieldValues\": {\n        \"_type\": \"collection\",\n        \"items\": [\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7070\",\n                \"value\": \"customer1153\",\n                \"valueClass\": null,\n                \"isDefault\": false,\n                \"displayOrder\": 1,\n                \"dependentValues\": null\n            },\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7071\",\n                \"value\": \"customer2157\",\n                \"valueClass\": null,\n                \"isDefault\": false,\n                \"displayOrder\": 2,\n                \"dependentValues\": null\n            },\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7072\",\n                \"value\": \"customer332\",\n                \"valueClass\": null,\n                \"isDefault\": false,\n                \"displayOrder\": 3,\n                \"dependentValues\": null\n            }\n        ],\n        \"paged\": false\n    },\n    \"helpText\": \"Customer field\",\n    \"dateCreated\": \"2018-10-21T10:04:44.000+0000\",\n    \"createdBy\": \"apiUser342\",\n    \"dateLastModified\": \"2018-10-21T10:11:14.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"version\": 1,\n    \"_links\": {\n        \"createChild\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/tracker1192/children\",\n            \"method\": \"POST\"\n        },\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4745\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4745?$If-Match=W%2F%221%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/fields/fild4745\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"eb930d5a-9761-4dda-8d2c-3fdc1371ea57"},{"name":"Create Planning Folder","event":[{"listen":"prerequest","script":{"id":"518f5601-0619-482e-98ac-e804093e8161","type":"text/javascript","exec":["var currentdate = new Date();","pm.environment.set(\"currentdate\", currentdate.toISOString());"]}},{"listen":"test","script":{"id":"8cdcb12e-714a-4dab-a319-d92f1b63a205","type":"text/javascript","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"PF_title\", jsonData.title);","pm.environment.set(\"PF_Id\", jsonData.planningFolderId);","pm.environment.set(\"ParentPF_Id\", jsonData.parentFolderId);"]}}],"id":"abd668e9-55c2-4630-a092-99245847ac81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"plan\",\r\n  \"description\": \"Planning folder created via REST API\",\r\n  \"startDate\": \"2018-09-04\",\r\n  \"endDate\": \"2019-09-04\",\r\n  \"status\": \"In progress\",\r\n  \"capacity\": 4,\r\n  \"pointsCapacity\": 0,\r\n  \"releaseId\": \"{{ReleaseID1}}\",\r\n  \"burnViewMode\": \"points\",\r\n  \"planningFolderType\": \"release\"\r\n}"},"url":"{{HostName}}/ctfrest/planning/v1/projects/{{projectId}}/planningfolders","description":"<p>Creates a new planning folder in the project</p>\n","urlObject":{"path":["ctfrest","planning","v1","projects","{{projectId}}","planningfolders"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"d454e199-58fb-4d1a-b65b-7199f67973e5","name":"Create Planning Folder","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"plan\",\r\n  \"description\": \"Planning folder created via REST API\",\r\n  \"startDate\": \"2018-09-04\",\r\n  \"endDate\": \"2019-09-04\",\r\n  \"status\": \"In progress\",\r\n  \"capacity\": 4,\r\n  \"pointsCapacity\": 0,\r\n  \"releaseId\": \"{{ReleaseID1}}\",\r\n  \"burnViewMode\": \"points\",\r\n  \"planningFolderType\": \"release\"\r\n}"},"url":"{{HostName}}/ctfrest/planning/v1/projects/{{projectId}}/planningfolders"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:12:11 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/planning/v1/planningfolders/plan1188"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"990"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"100\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"planningFolder\",\n    \"planningFolderId\": \"plan1188\",\n    \"projectId\": \"proj1088\",\n    \"parentFolderId\": \"PlanningApp2186\",\n    \"title\": \"plan486\",\n    \"description\": \"Planning folder created via REST API\",\n    \"startDate\": \"2018-09-04T00:00:00.000+0000\",\n    \"endDate\": \"2019-09-04T00:00:00.000+0000\",\n    \"status\": \"In progress\",\n    \"statusClass\": \"Visible\",\n    \"capacity\": -1,\n    \"pointsCapacity\": 0,\n    \"releasePath\": \"frs.package582.release140\",\n    \"releaseId\": \"rel1149\",\n    \"trackerUnitId\": \"tknt1070\",\n    \"burnViewMode\": \"points\",\n    \"planningFolderType\": \"release\",\n    \"version\": 100,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/planning/v1/planningfolders/plan1188\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/planning/v1/planningfolders/plan1188?$If-Match=W%2F%22100%22\",\n            \"method\": \"PATCH\"\n        },\n        \"list\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/planning/v1/planningfolders/plan1188\",\n            \"method\": \"GET\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/planning/v1/planningfolders/plan1188\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"abd668e9-55c2-4630-a092-99245847ac81"},{"name":"Create Child Planning Folder","event":[{"listen":"prerequest","script":{"id":"bbe2f0b6-7e2e-467f-bf81-305b5f263c77","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"8b2313f8-8b80-4e76-99d9-da0550f57bbb","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});",""," var jsonData = JSON.parse(responseBody);"," pm.environment.set(\"ChildPF_title\", jsonData.title);"," pm.environment.set(\"ChildPF_Id\", jsonData.planningFolderId);"],"type":"text/javascript"}}],"id":"20e0f330-f75b-43f0-9ae0-7f6959cd054d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"parentFolderId\": \"{{PF_Id}}\",\r\n  \"title\": \"child_PF\",\r\n  \"description\": \"Child_Planning folder created via REST API\",\r\n  \"startDate\": \"2018-09-04\",\r\n  \"endDate\": \"2019-09-04\",\r\n  \"status\": \"In progress\",\r\n  \"capacity\": 4,\r\n  \"pointsCapacity\": 0,\r\n  \"releaseId\": \"{{ReleaseID1}}\",\r\n  \"burnViewMode\": \"points\",\r\n  \"planningFolderType\": \"iteration\"\r\n}"},"url":"{{HostName}}/ctfrest/planning/v1/projects/{{projectId}}/planningfolders","description":"<p>Creates a child planning folder under the parent planning folder</p>\n","urlObject":{"path":["ctfrest","planning","v1","projects","{{projectId}}","planningfolders"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"1d90ba79-afab-4b83-942a-0354539f6f53","name":"Create Child Planning Folder","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"parentFolderId\": \"{{PF_Id}}\",\r\n  \"title\": \"child_PF\",\r\n  \"description\": \"Child_Planning folder created via REST API\",\r\n  \"startDate\": \"2018-09-04\",\r\n  \"endDate\": \"2019-09-04\",\r\n  \"status\": \"In progress\",\r\n  \"capacity\": 4,\r\n  \"pointsCapacity\": 0,\r\n  \"releaseId\": \"{{ReleaseID1}}\",\r\n  \"burnViewMode\": \"points\",\r\n  \"planningFolderType\": \"iteration\"\r\n}"},"url":"{{HostName}}/ctfrest/planning/v1/projects/{{projectId}}/planningfolders"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:12:35 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/planning/v1/planningfolders/plan1189"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"995"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"100\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"planningFolder\",\n    \"planningFolderId\": \"plan1189\",\n    \"projectId\": \"proj1088\",\n    \"parentFolderId\": \"plan1188\",\n    \"title\": \"child_PF823\",\n    \"description\": \"Child_Planning folder created via REST API\",\n    \"startDate\": \"2018-09-04T00:00:00.000+0000\",\n    \"endDate\": \"2019-09-04T00:00:00.000+0000\",\n    \"status\": \"In progress\",\n    \"statusClass\": \"Visible\",\n    \"capacity\": 4,\n    \"pointsCapacity\": -1,\n    \"releasePath\": \"frs.package582.release140\",\n    \"releaseId\": \"rel1149\",\n    \"trackerUnitId\": \"tknt1070\",\n    \"burnViewMode\": \"points\",\n    \"planningFolderType\": \"iteration\",\n    \"version\": 100,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/planning/v1/planningfolders/plan1189\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/planning/v1/planningfolders/plan1189?$If-Match=W%2F%22100%22\",\n            \"method\": \"PATCH\"\n        },\n        \"list\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/planning/v1/planningfolders/plan1189\",\n            \"method\": \"GET\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/planning/v1/planningfolders/plan1189\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"20e0f330-f75b-43f0-9ae0-7f6959cd054d"},{"name":"Create Sub child Planning Folder","event":[{"listen":"prerequest","script":{"id":"62450cd6-654c-42fb-abc0-1a399836b92f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5d37ac10-ba9a-47f3-90e7-85f5d349a1d3","type":"text/javascript","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});",""," var jsonData = JSON.parse(responseBody);"," pm.environment.set(\"SubChildPF_title\", jsonData.title);"," pm.environment.set(\"SubChildPF_Id\", jsonData.planningFolderId);"]}}],"id":"93d323fa-10a7-45d2-86dc-9d69d45314ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"parentFolderId\": \"{{ChildPF_Id}}\",\r\n  \"title\": \"SubChild_PF\",\r\n  \"description\": \"Sub child_Planning folder created via REST API\",\r\n  \"startDate\": \"2018-09-04\",\r\n  \"endDate\": \"2019-09-04\",\r\n  \"status\": \"In progress\",\r\n  \"capacity\": 4,\r\n  \"pointsCapacity\": 0,\r\n  \"burnViewMode\": \"points\",\r\n  \"planningFolderType\": \"standard\"\r\n}"},"url":"{{HostName}}/ctfrest/planning/v1/projects/{{projectId}}/planningfolders","description":"<p>Creates a sub child planning folder under the child planning folder</p>\n","urlObject":{"path":["ctfrest","planning","v1","projects","{{projectId}}","planningfolders"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"1899e077-b055-4b7b-95ec-d4bbe50ca2de","name":"Create Sub child Planning Folder","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"parentFolderId\": \"{{ChildPF_Id}}\",\r\n  \"title\": \"SubChild_PF\",\r\n  \"description\": \"Sub child_Planning folder created via REST API\",\r\n  \"startDate\": \"2018-09-04\",\r\n  \"endDate\": \"2019-09-04\",\r\n  \"status\": \"In progress\",\r\n  \"capacity\": 4,\r\n  \"pointsCapacity\": 0,\r\n  \"burnViewMode\": \"points\",\r\n  \"planningFolderType\": \"standard\"\r\n}"},"url":"{{HostName}}/ctfrest/planning/v1/projects/{{projectId}}/planningfolders"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:12:55 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/planning/v1/planningfolders/plan1190"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"968"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"100\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"planningFolder\",\n    \"planningFolderId\": \"plan1190\",\n    \"projectId\": \"proj1088\",\n    \"parentFolderId\": \"plan1189\",\n    \"title\": \"SubChild_PF624\",\n    \"description\": \"Sub child_Planning folder created via REST API\",\n    \"startDate\": \"2018-09-04T00:00:00.000+0000\",\n    \"endDate\": \"2019-09-04T00:00:00.000+0000\",\n    \"status\": \"In progress\",\n    \"statusClass\": \"Visible\",\n    \"capacity\": 4,\n    \"pointsCapacity\": 0,\n    \"releasePath\": \"\",\n    \"releaseId\": \"\",\n    \"trackerUnitId\": \"tknt1070\",\n    \"burnViewMode\": \"points\",\n    \"planningFolderType\": \"standard\",\n    \"version\": 100,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/planning/v1/planningfolders/plan1190\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/planning/v1/planningfolders/plan1190?$If-Match=W%2F%22100%22\",\n            \"method\": \"PATCH\"\n        },\n        \"list\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/planning/v1/planningfolders/plan1190\",\n            \"method\": \"GET\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/planning/v1/planningfolders/plan1190\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"93d323fa-10a7-45d2-86dc-9d69d45314ef"},{"name":"Create Team","event":[{"listen":"test","script":{"id":"71327494-29f1-4351-ad49-4e6c9c544df9","type":"text/javascript","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"Team_Id\", jsonData.teamId);","pm.environment.set(\"Team_title\", jsonData.title);","pm.environment.set(\"ParentTeam_Id\", jsonData.parentTeamId);"]}},{"listen":"prerequest","script":{"id":"682951ac-5191-4346-a632-2bdc421bb75f","type":"text/javascript","exec":[""]}}],"id":"5bab2e1a-7f93-4102-8b26-cb7205522f38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Team\",\r\n  \"description\": \"Team created by REST API\",\r\n  \"parentTeamId\": \"\"\r\n}"},"url":"{{HostName}}/ctfrest/team/v1/projects/{{projectId}}/teams","description":"<p>Creates a team in the project</p>\n","urlObject":{"path":["ctfrest","team","v1","projects","{{projectId}}","teams"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"0f3b2c7a-2d70-427d-b8c4-32aba3e25ffa","name":"Create Team","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Team\",\r\n  \"description\": \"Team created by REST API\",\r\n  \"parentTeamId\": \"\"\r\n}"},"url":"{{HostName}}/ctfrest/team/v1/projects/{{projectId}}/teams"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:13:13 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/team/v1/teams/team1132"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"712"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"99\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"team\",\n    \"teamId\": \"team1132\",\n    \"title\": \"Team907\",\n    \"description\": \"Team created by REST API\",\n    \"parentTeamId\": \"team-root\",\n    \"projectId\": \"proj1088\",\n    \"teamOwnerName\": null,\n    \"teamOwnerId\": null,\n    \"memberUserNames\": [],\n    \"version\": 99,\n    \"dateCreated\": \"2018-10-21T10:13:13.582+0000\",\n    \"createdBy\": \"apiUser342\",\n    \"lastModifiedDate\": \"2018-10-21T10:13:13.582+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"isDeleted\": false,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/team/v1/teams/team1132\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/team/v1/teams/team1132?$If-Match=W%2F%2299%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/team/v1/teams/team1132\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"5bab2e1a-7f93-4102-8b26-cb7205522f38"},{"name":"Create Sub Team","event":[{"listen":"test","script":{"id":"14e3dde6-5443-48dc-9239-7e5481286269","type":"text/javascript","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"SubTeam_Id\", jsonData.teamId);","pm.environment.set(\"SubTeam_title\", jsonData.title);"]}},{"listen":"prerequest","script":{"id":"64479aff-799c-4ad9-b064-23b74fbb77e0","type":"text/javascript","exec":["pm.environment.set(\"ArtifactCount\", \"1\");"]}}],"id":"0a51c8d3-6468-4f12-9063-9c6d1f490320","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Team\",\r\n  \"description\": \"Team created by REST API\",\r\n  \"parentTeamId\": \"{{Team_Id}}\"\r\n}"},"url":"{{HostName}}/ctfrest/team/v1/projects/{{projectId}}/teams","description":"<p>Creates a sub team under a team</p>\n","urlObject":{"path":["ctfrest","team","v1","projects","{{projectId}}","teams"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"f991e684-adcf-4c9e-b0c2-99fc2ae9240f","name":"Create Sub Team","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Team\",\r\n  \"description\": \"Team created by REST API\",\r\n  \"parentTeamId\": \"{{Team_Id}}\"\r\n}"},"url":"{{HostName}}/ctfrest/team/v1/projects/{{projectId}}/teams"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:13:52 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/team/v1/teams/team1133"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"711"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"99\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"team\",\n    \"teamId\": \"team1133\",\n    \"title\": \"Team577\",\n    \"description\": \"Team created by REST API\",\n    \"parentTeamId\": \"team1132\",\n    \"projectId\": \"proj1088\",\n    \"teamOwnerName\": null,\n    \"teamOwnerId\": null,\n    \"memberUserNames\": [],\n    \"version\": 99,\n    \"dateCreated\": \"2018-10-21T10:13:52.378+0000\",\n    \"createdBy\": \"apiUser342\",\n    \"lastModifiedDate\": \"2018-10-21T10:13:52.378+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"isDeleted\": false,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/team/v1/teams/team1133\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/team/v1/teams/team1133?$If-Match=W%2F%2299%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/team/v1/teams/team1133\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"0a51c8d3-6468-4f12-9063-9c6d1f490320"},{"name":"Create Artifact in Planning Folder and Team","event":[{"listen":"test","script":{"id":"eb4d541d-cd8c-4e96-b332-4f1c0996d26e","type":"text/javascript","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","if(postman.getEnvironmentVariable(\"ArtifactCount\") < 5){","    postman.setEnvironmentVariable(\"ArtifactCount\",Number(postman.getEnvironmentVariable(\"ArtifactCount\"))+1);","    postman.setNextRequest(\"CreateArtifactInPFAndTeam\");","}","else","{","    pm.environment.set(\"ArtifactCount\", \"1\");","    postman.setNextRequest(\"CreateArtifactInSubPFandSubTeam\");","}"]}},{"listen":"prerequest","script":{"id":"7f76908c-f798-4d3a-a587-aef2d1581c3c","type":"text/javascript","exec":[""]}}],"id":"f1b86dfe-f701-4415-8175-bd9038e287c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"PF_Team_Artifact\",\r\n  \"description\": \"Pf artifact created via REST API\",\r\n  \"category\": \"{{Category_val1}}\",\r\n  \"group\": \"{{Group_val1}}\",\r\n  \"status\": \"Open\",\r\n  \"customer\": \"{{customer_val1}}\",\r\n  \"priority\": 2,\r\n  \"trackerId\": \"{{TrackerID}}\",\r\n  \"estimatedEffort\": 6,\r\n  \"remainingEffort\": 0,\r\n  \"autoSumming\": true,\r\n  \"points\": 4,\r\n  \"autoSummingPoints\": true,\r\n  \"releaseId\": \"{{ReleaseID1}}\",\r\n  \"assignedTo\": \"\",\r\n  \"teamId\": \"{{Team_Id}}\",\r\n  \"tagIds\": [\r\n    \"{{tag_id1}}\", \"{{tag_id2}}\"\r\n  ],\r\n  \"flexfields\": [\r\n    {\r\n      \"name\": \"{{SSFldName}}\",\r\n      \"values\": [\r\n        \"{{TkrSSFldValue1}}\"\r\n      ],\r\n      \"type\": \"String\"\r\n    },\r\n    {\r\n      \"name\": \"{{MSFldName}}\",\r\n      \"values\": [\r\n        \"{{MSFF_Value1}}\",\"{{MSFF_Value2}}\"\r\n      ],\r\n      \"type\": \"String\"\r\n    },\r\n    {\r\n      \"name\": \"{{UsrFldName}}\",\r\n      \"values\": [\r\n        \"{{apiUser}}\"\r\n      ],\r\n      \"type\": \"USER\"\r\n    },\r\n    {\r\n      \"name\": \"{{CSSFldName}}\",\r\n      \"values\": [\r\n        \"{{CSSFF_Val1ID}}\"\r\n      ],\r\n      \"type\": \"String\"\r\n    }\r\n  ]\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/planningfolders/{{PF_Id}}/artifacts","description":"<p>Creates an artifact in planning folder and team</p>\n","urlObject":{"path":["ctfrest","tracker","v1","planningfolders","{{PF_Id}}","artifacts"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"978e0243-5f7f-48cf-8487-19575fb96d59","name":"Create Artifact in Planning Folder and Team","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"PF_Team_Artifact\",\r\n  \"description\": \"Pf artifact created via REST API\",\r\n  \"category\": \"{{Category_val1}}\",\r\n  \"group\": \"{{Group_val1}}\",\r\n  \"status\": \"Open\",\r\n  \"customer\": \"{{customer_val1}}\",\r\n  \"priority\": 2,\r\n  \"trackerId\": \"{{TrackerID}}\",\r\n  \"estimatedEffort\": 6,\r\n  \"remainingEffort\": 0,\r\n  \"autoSumming\": true,\r\n  \"points\": 4,\r\n  \"autoSummingPoints\": true,\r\n  \"releaseId\": \"{{ReleaseID1}}\",\r\n  \"assignedTo\": \"\",\r\n  \"teamId\": \"{{Team_Id}}\",\r\n  \"tagIds\": [\r\n    \"{{tag_id1}}\", \"{{tag_id2}}\"\r\n  ],\r\n  \"flexfields\": [\r\n    {\r\n      \"name\": \"{{SSFldName}}\",\r\n      \"values\": [\r\n        \"{{TkrSSFldValue1}}\"\r\n      ],\r\n      \"type\": \"String\"\r\n    },\r\n    {\r\n      \"name\": \"{{MSFldName}}\",\r\n      \"values\": [\r\n        \"{{MSFF_Value1}}\",\"{{MSFF_Value2}}\"\r\n      ],\r\n      \"type\": \"String\"\r\n    },\r\n    {\r\n      \"name\": \"{{UsrFldName}}\",\r\n      \"values\": [\r\n        \"{{apiUser}}\"\r\n      ],\r\n      \"type\": \"USER\"\r\n    },\r\n    {\r\n      \"name\": \"{{CSSFldName}}\",\r\n      \"values\": [\r\n        \"{{CSSFF_Val1ID}}\"\r\n      ],\r\n      \"type\": \"String\"\r\n    }\r\n  ]\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/planningfolders/{{PF_Id}}/artifacts"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:14:38 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts/artf1838"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1638"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"100\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetArtifactEntity\",\n    \"id\": \"artf1838\",\n    \"title\": \"PF_Team_Artifact699\",\n    \"description\": \"Pf artifact created via REST API\",\n    \"projectId\": \"proj1088\",\n    \"path\": \"projects.baselineapiprojectwithdataset677/tracker.tracker759/artf1838\",\n    \"folderId\": \"tracker1192\",\n    \"category\": \"Cat1311\",\n    \"group\": \"group1554\",\n    \"status\": \"Open\",\n    \"statusClass\": \"Open\",\n    \"customer\": \"customer1153\",\n    \"priority\": 2,\n    \"estimatedEffort\": 0,\n    \"actualEffort\": 0,\n    \"remainingEffort\": 0,\n    \"autoSumming\": true,\n    \"points\": 0,\n    \"autoSummingPoints\": true,\n    \"closeDate\": null,\n    \"assignedTo\": \"nobody\",\n    \"teamId\": \"team1132\",\n    \"planningFolderId\": \"plan1188\",\n    \"tagIds\": [\n        \"tag1093\",\n        \"tag1094\"\n    ],\n    \"reportedReleasePath\": \"frs.package582.release140\",\n    \"reportedReleaseId\": \"rel1149\",\n    \"resolvedReleasePath\": null,\n    \"resolvedReleaseId\": null,\n    \"flexFields\": [\n        {\n            \"name\": \"Text Field918\",\n            \"values\": [\n                \"\"\n            ],\n            \"type\": \"String\"\n        },\n        {\n            \"name\": \"Single Select931\",\n            \"values\": [\n                \"SSValue1\"\n            ],\n            \"type\": \"String\"\n        },\n        {\n            \"name\": \"ChildSingleSelect526\",\n            \"values\": [\n                \"CSSVal1\"\n            ],\n            \"type\": \"String\"\n        },\n        {\n            \"name\": \"Multi Select426\",\n            \"values\": [\n                \"MSValue1\",\n                \"MSValue2\"\n            ],\n            \"type\": \"String\"\n        },\n        {\n            \"name\": \"UserField380\",\n            \"values\": [\n                \"apiUser342\"\n            ],\n            \"type\": \"USER\"\n        },\n        {\n            \"name\": \"DateField930\",\n            \"values\": null,\n            \"type\": \"DATE\"\n        }\n    ],\n    \"lastModifiedBy\": \"apiUser342\",\n    \"createdBy\": \"apiUser342\",\n    \"lastModifiedDate\": \"2018-10-21T10:14:37.000+0000\",\n    \"createdDate\": \"2018-10-21T10:14:37.000+0000\",\n    \"version\": 100,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts/artf1838\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts/artf1838?$If-Match=W%2F%22100%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts/artf1838\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"f1b86dfe-f701-4415-8175-bd9038e287c3"},{"name":"Create Artifact in Sub Planning Folder and Sub Team","event":[{"listen":"test","script":{"id":"f21c18bf-07f6-458e-924d-15bbc715790f","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","if(postman.getEnvironmentVariable(\"ArtifactCount\") < 5){","    postman.setEnvironmentVariable(\"ArtifactCount\",Number(postman.getEnvironmentVariable(\"ArtifactCount\"))+1);","    postman.setNextRequest(\"CreateArtifactInSubPFandSubTeam\");","}","else","{","    postman.setNextRequest(\"GetPlanningFolderListInProject\");","}","","","//  {","//       \"name\": \"{{TextFldName}}\",","//       \"values\": [","//         \"Text field updated during create artifact\"","//       ],","//       \"type\": \"String\"","//     },"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"60739771-9cfc-485a-8d34-2d56ddf6e99f","exec":[""],"type":"text/javascript"}}],"id":"ccdf4084-2697-4c3a-a0ef-03f14fb1f3a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"SubPF_SubTeam_Artifact\",\r\n  \"description\": \"Pf artifact created via REST API\",\r\n  \"category\": \"{{Category_val2}}\",\r\n  \"group\": \"{{Group_val3}}\",\r\n  \"status\": \"{{status_val}}\",\r\n  \"customer\": \"{{customer_val2}}\",\r\n  \"priority\": 3,\r\n  \"trackerId\": \"{{TrackerID}}\",\r\n  \"estimatedEffort\": 6,\r\n  \"remainingEffort\": 0,\r\n  \"autoSumming\": true,\r\n  \"points\": 4,\r\n  \"autoSummingPoints\": true,\r\n  \"releaseId\": \"{{ReleaseID1}}\",\r\n  \"assignedTo\": \"\",\r\n  \"teamId\": \"{{SubTeam_Id}}\",\r\n  \"tagIds\": [\r\n    \"{{tag_id4}}\"\r\n  ],\r\n  \"flexfields\": [\r\n    {\r\n      \"name\": \"{{SSFldName}}\",\r\n      \"values\": [\r\n        \"{{TkrSSFldValue2}}\"\r\n      ],\r\n      \"type\": \"String\"\r\n    },\r\n    {\r\n      \"name\": \"{{MSFldName}}\",\r\n      \"values\": [\r\n        \"{{MSFF_Value2}}\",\"{{MSFF_Value3}}\"\r\n      ],\r\n      \"type\": \"String\"\r\n    },\r\n    {\r\n      \"name\": \"{{UsrFldName}}\",\r\n      \"values\": [\r\n        \"{{apiUser}}\"\r\n      ],\r\n      \"type\": \"USER\"\r\n    }\r\n  ]\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/planningfolders/{{ChildPF_Id}}/artifacts","description":"<p>Creates an artifact in sub planning folder and sub team</p>\n","urlObject":{"path":["ctfrest","tracker","v1","planningfolders","{{ChildPF_Id}}","artifacts"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"cfbdec22-d13d-48ad-abe7-8660e2d6acb2","name":"Create Artifact in Sub Planning Folder and Sub Team","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"SubPF_SubTeam_Artifact\",\r\n  \"description\": \"Pf artifact created via REST API\",\r\n  \"category\": \"{{Category_val2}}\",\r\n  \"group\": \"{{Group_val3}}\",\r\n  \"status\": \"{{status_val}}\",\r\n  \"customer\": \"{{customer_val2}}\",\r\n  \"priority\": 3,\r\n  \"trackerId\": \"{{TrackerID}}\",\r\n  \"estimatedEffort\": 6,\r\n  \"remainingEffort\": 0,\r\n  \"autoSumming\": true,\r\n  \"points\": 4,\r\n  \"autoSummingPoints\": true,\r\n  \"releaseId\": \"{{ReleaseID1}}\",\r\n  \"assignedTo\": \"\",\r\n  \"teamId\": \"{{SubTeam_Id}}\",\r\n  \"tagIds\": [\r\n    \"{{tag_id4}}\"\r\n  ],\r\n  \"flexfields\": [\r\n    {\r\n      \"name\": \"{{SSFldName}}\",\r\n      \"values\": [\r\n        \"{{TkrSSFldValue2}}\"\r\n      ],\r\n      \"type\": \"String\"\r\n    },\r\n    {\r\n      \"name\": \"{{MSFldName}}\",\r\n      \"values\": [\r\n        \"{{MSFF_Value2}}\",\"{{MSFF_Value3}}\"\r\n      ],\r\n      \"type\": \"String\"\r\n    },\r\n    {\r\n      \"name\": \"{{UsrFldName}}\",\r\n      \"values\": [\r\n        \"{{apiUser}}\"\r\n      ],\r\n      \"type\": \"USER\"\r\n    }\r\n  ]\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/planningfolders/{{ChildPF_Id}}/artifacts"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:16:12 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts/artf1843"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1636"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"100\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetArtifactEntity\",\n    \"id\": \"artf1843\",\n    \"title\": \"SubPF_SubTeam_Artifact205\",\n    \"description\": \"Pf artifact created via REST API\",\n    \"projectId\": \"proj1088\",\n    \"path\": \"projects.baselineapiprojectwithdataset677/tracker.tracker759/artf1843\",\n    \"folderId\": \"tracker1192\",\n    \"category\": \"Cat2540\",\n    \"group\": \"group3133\",\n    \"status\": \"InProgress229\",\n    \"statusClass\": \"Open\",\n    \"customer\": \"customer2157\",\n    \"priority\": 3,\n    \"estimatedEffort\": 0,\n    \"actualEffort\": 0,\n    \"remainingEffort\": 0,\n    \"autoSumming\": true,\n    \"points\": 0,\n    \"autoSummingPoints\": true,\n    \"closeDate\": null,\n    \"assignedTo\": \"nobody\",\n    \"teamId\": \"team1133\",\n    \"planningFolderId\": \"plan1189\",\n    \"tagIds\": [\n        \"tag1096\"\n    ],\n    \"reportedReleasePath\": \"frs.package582.release140\",\n    \"reportedReleaseId\": \"rel1149\",\n    \"resolvedReleasePath\": null,\n    \"resolvedReleaseId\": null,\n    \"flexFields\": [\n        {\n            \"name\": \"Text Field918\",\n            \"values\": [\n                \"\"\n            ],\n            \"type\": \"String\"\n        },\n        {\n            \"name\": \"Single Select931\",\n            \"values\": [\n                \"SSValue2\"\n            ],\n            \"type\": \"String\"\n        },\n        {\n            \"name\": \"ChildSingleSelect526\",\n            \"values\": [\n                \"\"\n            ],\n            \"type\": \"String\"\n        },\n        {\n            \"name\": \"Multi Select426\",\n            \"values\": [\n                \"MSValue3\",\n                \"MSValue2\"\n            ],\n            \"type\": \"String\"\n        },\n        {\n            \"name\": \"UserField380\",\n            \"values\": [\n                \"apiUser342\"\n            ],\n            \"type\": \"USER\"\n        },\n        {\n            \"name\": \"DateField930\",\n            \"values\": null,\n            \"type\": \"DATE\"\n        }\n    ],\n    \"lastModifiedBy\": \"apiUser342\",\n    \"createdBy\": \"apiUser342\",\n    \"lastModifiedDate\": \"2018-10-21T10:16:12.000+0000\",\n    \"createdDate\": \"2018-10-21T10:16:12.000+0000\",\n    \"version\": 100,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts/artf1843\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts/artf1843?$If-Match=W%2F%22100%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts/artf1843\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"ccdf4084-2697-4c3a-a0ef-03f14fb1f3a2"},{"name":"Get Root Planning Folder","event":[{"listen":"prerequest","script":{"id":"ed7b4e64-e43b-4c08-bd4a-f56bc40d4f2a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"bb93e876-ae0c-4133-9f49-3d1d58ed52aa","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});",""]}}],"id":"f44261e0-cad0-43ea-872d-ef1c9f5ea886","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/planning/v1/projects/{{projectId}}/planningfolders?offset=0&count=25&recursive=false","description":"<p>Gets the root planning folder in project</p>\n","urlObject":{"path":["ctfrest","planning","v1","projects","{{projectId}}","planningfolders"],"host":["{{HostName}}"],"query":[{"key":"offset","value":"0"},{"key":"count","value":"25"},{"key":"recursive","value":"false"}],"variable":[]}},"response":[],"_postman_id":"f44261e0-cad0-43ea-872d-ef1c9f5ea886"},{"name":"Get Tracker List","event":[{"listen":"test","script":{"id":"880a1afc-302a-4628-b722-56d080274a93","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","","for(var i=0; i<=3; i++){","    postman.setEnvironmentVariable(\"TrackerID_\"+i+\"\", jsonData.trackers[i].id);","    postman.setEnvironmentVariable(\"TrackerTitle_\"+i+\"\", jsonData.trackers[i].title);","}"]}}],"id":"eb60068e-b8ed-4033-8661-4244ca32c6e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/trackers/by-project/{{projectId}}","description":"<p>Gets the list of Trackers in the project</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","trackers","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"eb60068e-b8ed-4033-8661-4244ca32c6e1"},{"name":"Get Planning Folder List","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"id":"2920942b-dee1-4e84-a5da-e4cb3b35687b"}}],"id":"ee2c02a9-483d-4b27-862b-d3206299fe17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/planningfolders/by-project/{{projectId}}","description":"<p>Gets the list of planning folders in the project</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","planningfolders","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ee2c02a9-483d-4b27-862b-d3206299fe17"},{"name":"Get Tracker Fields By Tracker ID","event":[{"listen":"test","script":{"id":"d6c85f1d-48de-40ce-a585-890d14bff34e","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"]}}],"id":"a19b88fe-abf8-4c7b-adf2-88045e340fbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/trackers/{{TrackerID}}/fields","description":"<p>Gets the Tracker fields using Tracker ID</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","trackers","{{TrackerID}}","fields"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a19b88fe-abf8-4c7b-adf2-88045e340fbd"},{"name":"Upload Document for Root Document Folder","event":[{"listen":"test","script":{"id":"111121f5-d5c6-494e-8b54-a1f992b5c612","type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","pm.environment.set(\"Doc_guid\", jsonData.guid);","","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"]}},{"listen":"prerequest","script":{"id":"42ad9e46-e942-4d49-b162-82119cdfe106","type":"text/javascript","exec":[""]}}],"id":"9eff49c1-fb65-4f27-b30a-479e061ea926","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"formdata","formdata":[{"key":"file","value":"","type":"file"}]},"url":"{{HostName}}/ctfrest/filestorage/v1/files","description":"<p>Uploads the document file</p>\n","urlObject":{"path":["ctfrest","filestorage","v1","files"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"2cfa9b23-1601-4b65-a963-8170c7c75fb1","name":"Upload Document for Root Document Folder","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":[]}]},"url":"{{HostName}}/ctfrest/filestorage/v1/files"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:18:51 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"prefix\": null,\n    \"guid\": \"guid292e966622455fca700659fd\"\n}"}],"_postman_id":"9eff49c1-fb65-4f27-b30a-479e061ea926"},{"name":"Create Document in Root Document Folder","event":[{"listen":"test","script":{"id":"ed237e43-4f82-468d-8d90-7e9b03a97a7f","type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","pm.environment.set(\"DocId1\", jsonData.id);","pm.environment.set(\"DocRootFolderId\", jsonData.folderId);","pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});"]}},{"listen":"prerequest","script":{"id":"640f6ea2-c3c9-4411-8db6-72be277e25a1","type":"text/javascript","exec":[""]}}],"id":"f5b427d9-1a2d-49fb-89ef-ff909967f124","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"DocumnetRF\",\r\n  \"description\": \"Document created in root folder\",\r\n  \"status\": \"Draft\",\r\n  \"fileName\": \"Koala.jpg\",\r\n  \"mimeType\": \"image/jpeg\",\r\n  \"fileId\": \"{{Doc_guid}}\",\r\n  \"versionComment\": \"document created via REST API- version1\",\r\n  \"createLocked\": false,\r\n  \"createDownloadRestricted\": false,\r\n  \"allowForceUnlock\": false,\r\n  \"tagIds\": [\r\n    \"{{tag_id1}}\",\"{{tag_id2}}\",\"{{tag_id3}}\"\r\n  ]\r\n}"},"url":"{{HostName}}/ctfrest/docman/v1/projects/{{projectId}}/documents","description":"<p>Creates a document in root document folder</p>\n","urlObject":{"path":["ctfrest","docman","v1","projects","{{projectId}}","documents"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"a4cd19e9-6084-496e-b15d-66a3977b2f55","name":"Create Document in Root Document Folder","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"DocumnetRF\",\r\n  \"description\": \"Document created in root folder\",\r\n  \"status\": \"Draft\",\r\n  \"fileName\": \"Koala.jpg\",\r\n  \"mimeType\": \"image/jpeg\",\r\n  \"fileId\": \"{{Doc_guid}}\",\r\n  \"versionComment\": \"document created via REST API- version1\",\r\n  \"createLocked\": false,\r\n  \"createDownloadRestricted\": false,\r\n  \"allowForceUnlock\": false,\r\n  \"tagIds\": [\r\n    \"{{tag_id1}}\",\"{{tag_id2}}\",\"{{tag_id3}}\"\r\n  ]\r\n}"},"url":"{{HostName}}/ctfrest/docman/v1/projects/{{projectId}}/documents"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:19:36 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/docman/v1/documents/doc1105"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1447"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"100\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetDetailedDocumentEntity\",\n    \"id\": \"doc1105\",\n    \"versionId\": \"docv1105\",\n    \"versionNumber\": 100,\n    \"projectPath\": \"projects.baselineapiprojectwithdataset677\",\n    \"projectTitle\": null,\n    \"projectId\": \"proj1088\",\n    \"folderTitle\": null,\n    \"folderId\": \"docf1167\",\n    \"folderPath\": \"docman.root\",\n    \"name\": \"doc1105\",\n    \"title\": \"DocumnetRF\",\n    \"description\": \"Document created in root folder\",\n    \"flexFields\": [],\n    \"createdBy\": \"apiUser342\",\n    \"dateCreated\": \"2018-10-21T10:19:35.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"lastModifiedByFullName\": null,\n    \"dateLastModified\": \"2018-10-21T10:19:35.000+0000\",\n    \"currentVersion\": 1,\n    \"dateVersionCreated\": \"2018-10-21T10:19:34.994+0000\",\n    \"versionCreatedBy\": \"apiUser342\",\n    \"versionStatus\": \"Draft\",\n    \"versionComment\": \"document created via REST API- version1\",\n    \"versionCreatedByFullname\": null,\n    \"mimeType\": \"image/jpeg\",\n    \"fileName\": \"Koala.jpg\",\n    \"fileSize\": 13159,\n    \"storedFileUrl\": null,\n    \"monitoringUserId\": null,\n    \"lockedBy\": null,\n    \"downloadRestricted\": false,\n    \"allowForceUnlock\": false,\n    \"versionDeletedBy\": null,\n    \"versionDeletedByFullname\": null,\n    \"isVersionDeleted\": false,\n    \"dateVersionDeleted\": null,\n    \"canDownload\": true,\n    \"tagNames\": [\n        \"tag1093\",\n        \"tag1095\",\n        \"tag1094\"\n    ],\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documents/doc1105\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documents/doc1105?$If-Match=%22100%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documents/doc1105\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"},{"id":"dc66af6e-dca9-4637-9113-cbd23f4a3866","name":"Create Document in Root Document Folder","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"DocumnetRF\",\r\n  \"description\": \"Document created in root folder\",\r\n  \"status\": \"Draft\",\r\n  \"fileName\": \"Koala.jpg\",\r\n  \"mimeType\": \"image/jpeg\",\r\n  \"fileId\": \"{{Doc_guid}}\",\r\n  \"versionComment\": \"document created via REST API- version1\",\r\n  \"createLocked\": false,\r\n  \"createDownloadRestricted\": false,\r\n  \"allowForceUnlock\": false,\r\n  \"tagIds\": [\r\n    \"{{tag_id1}}\",\"{{tag_id2}}\",\"{{tag_id3}}\"\r\n  ]\r\n}"},"url":"{{HostName}}/ctfrest/docman/v1/projects/{{projectId}}/documents"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:21:17 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/docman/v1/documents/doc1106"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1447"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"100\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetDetailedDocumentEntity\",\n    \"id\": \"doc1106\",\n    \"versionId\": \"docv1106\",\n    \"versionNumber\": 100,\n    \"projectPath\": \"projects.baselineapiprojectwithdataset677\",\n    \"projectTitle\": null,\n    \"projectId\": \"proj1088\",\n    \"folderTitle\": null,\n    \"folderId\": \"docf1167\",\n    \"folderPath\": \"docman.root\",\n    \"name\": \"doc1106\",\n    \"title\": \"DocumnetRF\",\n    \"description\": \"Document created in root folder\",\n    \"flexFields\": [],\n    \"createdBy\": \"apiUser342\",\n    \"dateCreated\": \"2018-10-21T10:21:17.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"lastModifiedByFullName\": null,\n    \"dateLastModified\": \"2018-10-21T10:21:17.000+0000\",\n    \"currentVersion\": 1,\n    \"dateVersionCreated\": \"2018-10-21T10:21:17.420+0000\",\n    \"versionCreatedBy\": \"apiUser342\",\n    \"versionStatus\": \"Draft\",\n    \"versionComment\": \"document created via REST API- version1\",\n    \"versionCreatedByFullname\": null,\n    \"mimeType\": \"image/jpeg\",\n    \"fileName\": \"Koala.jpg\",\n    \"fileSize\": 13159,\n    \"storedFileUrl\": null,\n    \"monitoringUserId\": null,\n    \"lockedBy\": null,\n    \"downloadRestricted\": false,\n    \"allowForceUnlock\": false,\n    \"versionDeletedBy\": null,\n    \"versionDeletedByFullname\": null,\n    \"isVersionDeleted\": false,\n    \"dateVersionDeleted\": null,\n    \"canDownload\": true,\n    \"tagNames\": [\n        \"tag1093\",\n        \"tag1095\",\n        \"tag1094\"\n    ],\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documents/doc1106\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documents/doc1106?$If-Match=%22100%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documents/doc1106\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"f5b427d9-1a2d-49fb-89ef-ff909967f124"},{"name":"Create Parent Document Folder","event":[{"listen":"test","script":{"id":"e9b0d6ed-d33e-43fe-88bc-9c4434dc7a18","type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","pm.environment.set(\"DocFolderId1\", jsonData.id);","","pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});"]}},{"listen":"prerequest","script":{"id":"2b7def61-69b3-4b7d-bb37-7dc344884d15","type":"text/javascript","exec":[""]}}],"id":"36527863-5817-4f02-a750-36f8c3a5d6ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"DocFolder1\",\r\n  \"description\": \"Document folder created via REST API call\"\r\n}"},"url":"{{HostName}}/ctfrest/docman/v1/documentfolders/{{DocRootFolderId}}/documentfolders","description":"<p>Create a parent document folder under the root document folder</p>\n","urlObject":{"path":["ctfrest","docman","v1","documentfolders","{{DocRootFolderId}}","documentfolders"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"ba3c6bc1-7374-47b3-8a1a-bda37c930d55","name":"Create Parent Document Folder","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"DocFolder1\",\r\n  \"description\": \"Document folder created via REST API call\"\r\n}"},"url":"{{HostName}}/ctfrest/docman/v1/documentfolders/{{DocRootFolderId}}/documentfolders"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:21:49 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/docman/v1/documentfolders/docf1168"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1140"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"100\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetDocumentFolderEntity\",\n    \"id\": \"docf1168\",\n    \"createdBy\": \"apiUser342\",\n    \"createdDate\": \"2018-10-21T10:21:49.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"lastModifiedDate\": \"2018-10-21T10:21:49.000+0000\",\n    \"version\": 100,\n    \"path\": \"projects.baselineapiprojectwithdataset677/docman.root.docfolder1\",\n    \"title\": \"DocFolder1\",\n    \"description\": \"Document folder created via REST API call\",\n    \"projectId\": \"proj1088\",\n    \"parentId\": \"docf1167\",\n    \"_links\": {\n        \"getDocumentFolders\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documentfolders/docf1168/documentfolders\",\n            \"method\": \"GET\"\n        },\n        \"createDocumentFolder\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documentfolders/docf1168/documentfolders\",\n            \"method\": \"POST\"\n        },\n        \"getDocuments\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documents\",\n            \"method\": \"GET\"\n        },\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documentfolders/docf1168\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documentfolders/docf1168\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documentfolders/docf1168\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"36527863-5817-4f02-a750-36f8c3a5d6ee"},{"name":"Create Child Document Folder","event":[{"listen":"test","script":{"id":"ba093445-409d-48b6-afb5-743043a88736","type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","pm.environment.set(\"ChildDocFolderId\", jsonData.id);","","pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});"]}},{"listen":"prerequest","script":{"id":"4af4f339-1610-4f7f-af2e-b9231656ccf0","type":"text/javascript","exec":[""]}}],"id":"89ba4604-6759-4b9b-bbca-650e3a041087","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"ChildDocFolder\",\r\n  \"description\": \"Child Document folder created via REST API call\"\r\n}"},"url":"{{HostName}}/ctfrest/docman/v1/documentfolders/{{DocFolderId1}}/documentfolders","description":"<p>Creates a child document folder under a parent document folder</p>\n","urlObject":{"path":["ctfrest","docman","v1","documentfolders","{{DocFolderId1}}","documentfolders"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"564b81ac-13c8-4e5f-9b00-a612f7cac1ba","name":"Create Child Document Folder","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"ChildDocFolder\",\r\n  \"description\": \"Child Document folder created via REST API call\"\r\n}"},"url":"{{HostName}}/ctfrest/docman/v1/documentfolders/{{DocFolderId1}}/documentfolders"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:22:23 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/docman/v1/documentfolders/docf1169"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1165"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"100\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetDocumentFolderEntity\",\n    \"id\": \"docf1169\",\n    \"createdBy\": \"apiUser342\",\n    \"createdDate\": \"2018-10-21T10:22:23.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"lastModifiedDate\": \"2018-10-21T10:22:23.000+0000\",\n    \"version\": 100,\n    \"path\": \"projects.baselineapiprojectwithdataset677/docman.root.docfolder1.childdocfolder\",\n    \"title\": \"ChildDocFolder\",\n    \"description\": \"Child Document folder created via REST API call\",\n    \"projectId\": \"proj1088\",\n    \"parentId\": \"docf1168\",\n    \"_links\": {\n        \"getDocumentFolders\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documentfolders/docf1169/documentfolders\",\n            \"method\": \"GET\"\n        },\n        \"createDocumentFolder\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documentfolders/docf1169/documentfolders\",\n            \"method\": \"POST\"\n        },\n        \"getDocuments\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documents\",\n            \"method\": \"GET\"\n        },\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documentfolders/docf1169\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documentfolders/docf1169\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documentfolders/docf1169\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"89ba4604-6759-4b9b-bbca-650e3a041087"},{"name":"Upload Document for Parent Document Folder","event":[{"listen":"test","script":{"id":"0afebbcc-ffbe-4098-b150-1f43714f932c","type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","pm.environment.set(\"Doc_pdf_guid\", jsonData.guid);","","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"]}},{"listen":"prerequest","script":{"id":"acc9fe9b-4bde-43d1-ad65-f56edfe7258a","type":"text/javascript","exec":[""]}}],"id":"77a871aa-bfde-49a8-9d81-6034a5e4fea5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"formdata","formdata":[{"key":"file","value":"","type":"file"}]},"url":"{{HostName}}/ctfrest/filestorage/v1/files","description":"<p>Uploads a document for the parent document folder</p>\n","urlObject":{"path":["ctfrest","filestorage","v1","files"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"b39fa25d-58a7-42c3-b4f4-c36721a77f06","name":"Upload Document for Parent Document Folder","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":[]}]},"url":"{{HostName}}/ctfrest/filestorage/v1/files"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:24:40 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"prefix\": null,\n    \"guid\": \"guid697fe0c61036ecf9e0065d03\"\n}"}],"_postman_id":"77a871aa-bfde-49a8-9d81-6034a5e4fea5"},{"name":"Create Document in Parent Document Folder","event":[{"listen":"test","script":{"id":"1c42c24f-66eb-4aa4-b1bb-11813d3c8699","type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","pm.environment.set(\"DocId2\", jsonData.id);","","pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});"]}},{"listen":"prerequest","script":{"id":"c9b717df-71c6-46ee-a2a6-7c6a8c239622","type":"text/javascript","exec":[""]}}],"id":"0c980777-b8be-451a-bbdd-2756c03e83c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Document1\",\r\n  \"description\": \"Document created in Folder1\",\r\n  \"status\": \"Draft\",\r\n  \"fileName\": \"test.pdf\",\r\n  \"mimeType\": \"application/pdf\",\r\n  \"fileId\": \"{{Doc_pdf_guid}}\",\r\n  \"versionComment\": \"document created via REST API- version1\",\r\n  \"createLocked\": false,\r\n  \"createDownloadRestricted\": false,\r\n  \"allowForceUnlock\": false,\r\n  \"tagIds\": [\r\n    \"{{tag_id1}}\",\"{{tag_id3}}\"\r\n  ]\r\n}"},"url":"{{HostName}}/ctfrest/docman/v1/documentfolders/{{DocFolderId1}}/documents","description":"<p>Creates a document in parent document folder</p>\n","urlObject":{"path":["ctfrest","docman","v1","documentfolders","{{DocFolderId1}}","documents"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"4499632a-f853-4fcb-9465-3f44e83fcd24","name":"Create Document in Parent Document Folder","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Document1\",\r\n  \"description\": \"Document created in Folder1\",\r\n  \"status\": \"Draft\",\r\n  \"fileName\": \"test.pdf\",\r\n  \"mimeType\": \"application/pdf\",\r\n  \"fileId\": \"{{Doc_pdf_guid}}\",\r\n  \"versionComment\": \"document created via REST API- version1\",\r\n  \"createLocked\": false,\r\n  \"createDownloadRestricted\": false,\r\n  \"allowForceUnlock\": false,\r\n  \"tagIds\": [\r\n    \"{{tag_id1}}\",\"{{tag_id3}}\"\r\n  ]\r\n}"},"url":"{{HostName}}/ctfrest/docman/v1/documentfolders/{{DocFolderId1}}/documents"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:25:10 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/docman/v1/documents/doc1107"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1447"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"100\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetDetailedDocumentEntity\",\n    \"id\": \"doc1107\",\n    \"versionId\": \"docv1107\",\n    \"versionNumber\": 100,\n    \"projectPath\": \"projects.baselineapiprojectwithdataset677\",\n    \"projectTitle\": null,\n    \"projectId\": \"proj1088\",\n    \"folderTitle\": null,\n    \"folderId\": \"docf1168\",\n    \"folderPath\": \"docman.root.docfolder1\",\n    \"name\": \"doc1107\",\n    \"title\": \"Document1\",\n    \"description\": \"Document created in Folder1\",\n    \"flexFields\": [],\n    \"createdBy\": \"apiUser342\",\n    \"dateCreated\": \"2018-10-21T10:25:10.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"lastModifiedByFullName\": null,\n    \"dateLastModified\": \"2018-10-21T10:25:10.000+0000\",\n    \"currentVersion\": 1,\n    \"dateVersionCreated\": \"2018-10-21T10:25:09.975+0000\",\n    \"versionCreatedBy\": \"apiUser342\",\n    \"versionStatus\": \"Draft\",\n    \"versionComment\": \"document created via REST API- version1\",\n    \"versionCreatedByFullname\": null,\n    \"mimeType\": \"application/pdf\",\n    \"fileName\": \"test.pdf\",\n    \"fileSize\": 13159,\n    \"storedFileUrl\": null,\n    \"monitoringUserId\": null,\n    \"lockedBy\": null,\n    \"downloadRestricted\": false,\n    \"allowForceUnlock\": false,\n    \"versionDeletedBy\": null,\n    \"versionDeletedByFullname\": null,\n    \"isVersionDeleted\": false,\n    \"dateVersionDeleted\": null,\n    \"canDownload\": true,\n    \"tagNames\": [\n        \"tag1093\",\n        \"tag1095\"\n    ],\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documents/doc1107\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documents/doc1107?$If-Match=%22100%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documents/doc1107\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"0c980777-b8be-451a-bbdd-2756c03e83c3"},{"name":"Upload Document for Child Document Folder","event":[{"listen":"test","script":{"id":"38cb1e61-c53a-4258-9604-d2892c0dbe3f","type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","pm.environment.set(\"Doc_csv_guid\", jsonData.guid);","","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"]}},{"listen":"prerequest","script":{"id":"6c7ebb3b-e91f-40e5-8fa5-f77030eb8a39","type":"text/javascript","exec":[""]}}],"id":"6777dcfc-7270-470b-9a45-b168ea637d5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"formdata","formdata":[{"key":"file","value":"","type":"file"}]},"url":"{{HostName}}/ctfrest/filestorage/v1/files","description":"<p>Uploads a document for child document folder</p>\n","urlObject":{"path":["ctfrest","filestorage","v1","files"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"4d201840-b816-4359-8bdc-dff3e0a11aff","name":"Upload Document for Child Document Folder","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":[]}]},"url":"{{HostName}}/ctfrest/filestorage/v1/files"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:26:07 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"prefix\": null,\n    \"guid\": \"guid4b95f6a3769e9a78e0065dfb\"\n}"}],"_postman_id":"6777dcfc-7270-470b-9a45-b168ea637d5a"},{"name":"Create Document in Child Document Folder","event":[{"listen":"test","script":{"id":"1233e4ec-1ea8-4f56-8f4f-dbfdbea04618","type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","pm.environment.set(\"DocId3\", jsonData.id);","","pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});"]}},{"listen":"prerequest","script":{"id":"e6c698af-ac06-4a40-808c-7218de843078","type":"text/javascript","exec":[""]}}],"id":"6ea05976-f0d2-4d6b-b27d-90dd99d9229e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"ChildDocument\",\r\n  \"description\": \"Child Document created in Folder1\",\r\n  \"status\": \"Draft\",\r\n  \"fileName\": \"Report.csv\",\r\n  \"mimeType\": \"text/csv\",\r\n  \"fileId\": \"{{Doc_csv_guid}}\",\r\n  \"versionComment\": \"document created via REST API- version1\",\r\n  \"createLocked\": false,\r\n  \"createDownloadRestricted\": false,\r\n  \"allowForceUnlock\": false,\r\n  \"tagIds\": [\r\n    \"{{tag_id1}}\",\"{{tag_id3}}\"\r\n  ]\r\n}"},"url":"{{HostName}}/ctfrest/docman/v1/documentfolders/{{ChildDocFolderId}}/documents","description":"<p>Creates a document in child document folder</p>\n","urlObject":{"path":["ctfrest","docman","v1","documentfolders","{{ChildDocFolderId}}","documents"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"1fb037c1-deef-4651-b72f-3adedc65f89b","name":"Create Document in Child Document Folder","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"ChildDocument\",\r\n  \"description\": \"Child Document created in Folder1\",\r\n  \"status\": \"Draft\",\r\n  \"fileName\": \"Report.csv\",\r\n  \"mimeType\": \"text/csv\",\r\n  \"fileId\": \"{{Doc_csv_guid}}\",\r\n  \"versionComment\": \"document created via REST API- version1\",\r\n  \"createLocked\": false,\r\n  \"createDownloadRestricted\": false,\r\n  \"allowForceUnlock\": false,\r\n  \"tagIds\": [\r\n    \"{{tag_id1}}\",\"{{tag_id3}}\"\r\n  ]\r\n}"},"url":"{{HostName}}/ctfrest/docman/v1/documentfolders/{{ChildDocFolderId}}/documents"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:26:45 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/docman/v1/documents/doc1108"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1467"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"100\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetDetailedDocumentEntity\",\n    \"id\": \"doc1108\",\n    \"versionId\": \"docv1108\",\n    \"versionNumber\": 100,\n    \"projectPath\": \"projects.baselineapiprojectwithdataset677\",\n    \"projectTitle\": null,\n    \"projectId\": \"proj1088\",\n    \"folderTitle\": null,\n    \"folderId\": \"docf1169\",\n    \"folderPath\": \"docman.root.docfolder1.childdocfolder\",\n    \"name\": \"doc1108\",\n    \"title\": \"ChildDocument\",\n    \"description\": \"Child Document created in Folder1\",\n    \"flexFields\": [],\n    \"createdBy\": \"apiUser342\",\n    \"dateCreated\": \"2018-10-21T10:26:44.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"lastModifiedByFullName\": null,\n    \"dateLastModified\": \"2018-10-21T10:26:44.000+0000\",\n    \"currentVersion\": 1,\n    \"dateVersionCreated\": \"2018-10-21T10:26:44.932+0000\",\n    \"versionCreatedBy\": \"apiUser342\",\n    \"versionStatus\": \"Draft\",\n    \"versionComment\": \"document created via REST API- version1\",\n    \"versionCreatedByFullname\": null,\n    \"mimeType\": \"text/csv\",\n    \"fileName\": \"Report.csv\",\n    \"fileSize\": 13159,\n    \"storedFileUrl\": null,\n    \"monitoringUserId\": null,\n    \"lockedBy\": null,\n    \"downloadRestricted\": false,\n    \"allowForceUnlock\": false,\n    \"versionDeletedBy\": null,\n    \"versionDeletedByFullname\": null,\n    \"isVersionDeleted\": false,\n    \"dateVersionDeleted\": null,\n    \"canDownload\": true,\n    \"tagNames\": [\n        \"tag1093\",\n        \"tag1095\"\n    ],\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documents/doc1108\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documents/doc1108?$If-Match=%22100%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documents/doc1108\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"6ea05976-f0d2-4d6b-b27d-90dd99d9229e"},{"name":"Create Text Flex Field in Document","event":[{"listen":"test","script":{"id":"a0670ec0-c9bc-42f0-9de0-c96591ff63cb","type":"text/javascript","exec":["var jsonData=JSON.parse(responseBody);","pm.environment.set(\"DocTxtFldID\", jsonData.id);","","pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});"]}},{"listen":"prerequest","script":{"id":"6cb7ca81-9440-4ba6-a7c7-d9eb167034e1","type":"text/javascript","exec":["var randomVal = (Math.random()*100);","","var DocTxtFieldName = \"DocTxtField\"+(Math.round(randomVal));","pm.environment.set(\"DocTxtFieldName\", DocTxtFieldName);"]}}],"id":"6981dbd8-0942-4399-bf6e-5940b2c1593b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"{{DocTxtFieldName}}\",\r\n  \"fieldDisplayType\": \"TEXT\",\r\n  \"displaySize\": 10,\r\n  \"displayLines\": 10,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"string\",\r\n      \"value\": \"d\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"helpText\": \"I'm a Text Field\",\r\n  \"pattern\": \"\\\\w\",\r\n  \"defaultUsers\": [\r\n    \"string\"\r\n  ],\r\n  \"defaultTextValue\": \"t\",\r\n  \"userFilter\": \"user_proj_member\"\r\n}"},"url":"{{HostName}}/ctfrest/docman/v1/documents/{{DocRootFolderId}}/fields","description":"<p>Creates a text flex field in a document</p>\n","urlObject":{"path":["ctfrest","docman","v1","documents","{{DocRootFolderId}}","fields"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"fac0c2a1-aaf7-45b1-b444-625024fcabcf","name":"Create Text Flex Field in Document","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"{{DocTxtFieldName}}\",\r\n  \"fieldDisplayType\": \"TEXT\",\r\n  \"displaySize\": 10,\r\n  \"displayLines\": 10,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"string\",\r\n      \"value\": \"d\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"helpText\": \"I'm a Text Field\",\r\n  \"pattern\": \"\\\\w\",\r\n  \"defaultUsers\": [\r\n    \"string\"\r\n  ],\r\n  \"defaultTextValue\": \"t\",\r\n  \"userFilter\": \"user_proj_member\"\r\n}"},"url":"{{HostName}}/ctfrest/docman/v1/documents/{{DocRootFolderId}}/fields"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:27:28 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4764"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"873"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"0\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetFieldEntity\",\n    \"id\": \"fild4764\",\n    \"name\": \"DocTxtField11\",\n    \"folderId\": \"docf1167\",\n    \"memberName\": \"text0\",\n    \"valueType\": \"String\",\n    \"displaySize\": 10,\n    \"displayLines\": 10,\n    \"displayType\": \"TEXT\",\n    \"isRequired\": false,\n    \"isDisabled\": false,\n    \"isHiddenOnCreate\": false,\n    \"fieldValues\": {\n        \"_type\": \"collection\",\n        \"items\": [],\n        \"paged\": false\n    },\n    \"defaultTextValue\": \"\",\n    \"helpText\": \"I'm a Text Field\",\n    \"pattern\": \"\\\\w\",\n    \"dateCreated\": \"2018-10-21T10:27:28.000+0000\",\n    \"createdBy\": \"apiUser342\",\n    \"dateLastModified\": \"2018-10-21T10:27:28.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"version\": 0,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4764\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4764?$If-Match=W%2F%220%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4764\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"6981dbd8-0942-4399-bf6e-5940b2c1593b"},{"name":"Create Single-select Flex Field in Document","event":[{"listen":"test","script":{"id":"29ed6b0d-bacd-4aeb-8583-bcba2b224fc2","type":"text/javascript","exec":["var jsonData=JSON.parse(responseBody);","pm.environment.set(\"DocSingleSelectFldID\", jsonData.id);","pm.environment.set(\"Doc_SSFF_Val1ID\", jsonData.fieldValues.items[0].id);","pm.environment.set(\"Doc_SSFF_Val2ID\", jsonData.fieldValues.items[1].id);","pm.environment.set(\"Doc_SSFF_Val3ID\", jsonData.fieldValues.items[2].id);","pm.environment.set(\"Doc_SSFF_Value1\", jsonData.fieldValues.items[0].value);","pm.environment.set(\"Doc_SSFF_Value2\", jsonData.fieldValues.items[1].value);","pm.environment.set(\"Doc_SSFF_Value3\", jsonData.fieldValues.items[2].value);","","","pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});"]}},{"listen":"prerequest","script":{"id":"cb7ac9a9-e10b-4156-9ec7-dade853b09eb","type":"text/javascript","exec":["var randomVal = (Math.random()*100);","","var DocSingleSelectFieldName = \"DocSingleSelectField\"+(Math.round(randomVal));","pm.environment.set(\"DocSingleSelectFieldName\", DocSingleSelectFieldName);"]}}],"id":"3e653315-328a-49f1-9850-9a6a8aa73656","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"{{DocSingleSelectFieldName}}\",\r\n  \"fieldDisplayType\": \"DROPDOWN\",\r\n  \"displaySize\": 10,\r\n  \"displayLines\": 10,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue1\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue2\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue3\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"helpText\": \"I'm a Single Select Field\",\r\n  \"pattern\": \"\\\\w\",\r\n  \"defaultUsers\": [\r\n    \"string\"\r\n  ],\r\n  \"userFilter\": \"user_proj_member\"\r\n}"},"url":"{{HostName}}/ctfrest/docman/v1/documents/{{DocRootFolderId}}/fields","description":"<p>Creates a single-select flex field in document</p>\n","urlObject":{"path":["ctfrest","docman","v1","documents","{{DocRootFolderId}}","fields"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"90c5adcf-b9ae-4293-8ab3-aaedc99ca9bc","name":"Create Single-select Flex Field in Document","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"{{DocSingleSelectFieldName}}\",\r\n  \"fieldDisplayType\": \"DROPDOWN\",\r\n  \"displaySize\": 10,\r\n  \"displayLines\": 10,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue1\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue2\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue3\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"helpText\": \"I'm a Single Select Field\",\r\n  \"pattern\": \"\\\\w\",\r\n  \"defaultUsers\": [\r\n    \"string\"\r\n  ],\r\n  \"userFilter\": \"user_proj_member\"\r\n}"},"url":"{{HostName}}/ctfrest/docman/v1/documents/{{DocRootFolderId}}/fields"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:30:44 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4765"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1400"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"0\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetFieldEntity\",\n    \"id\": \"fild4765\",\n    \"name\": \"DocSingleSelectField64\",\n    \"folderId\": \"docf1167\",\n    \"memberName\": \"fv0\",\n    \"valueType\": \"String\",\n    \"displaySize\": 1,\n    \"displayLines\": 1,\n    \"displayType\": \"DROPDOWN\",\n    \"isRequired\": false,\n    \"isDisabled\": false,\n    \"isHiddenOnCreate\": false,\n    \"fieldValues\": {\n        \"_type\": \"collection\",\n        \"items\": [\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7073\",\n                \"value\": \"SSValue1\",\n                \"valueClass\": null,\n                \"isDefault\": false,\n                \"displayOrder\": 1,\n                \"dependentValues\": null\n            },\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7074\",\n                \"value\": \"SSValue2\",\n                \"valueClass\": null,\n                \"isDefault\": false,\n                \"displayOrder\": 2,\n                \"dependentValues\": null\n            },\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7075\",\n                \"value\": \"SSValue3\",\n                \"valueClass\": null,\n                \"isDefault\": false,\n                \"displayOrder\": 3,\n                \"dependentValues\": null\n            }\n        ],\n        \"paged\": false\n    },\n    \"helpText\": \"I'm a Single Select Field\",\n    \"dateCreated\": \"2018-10-21T10:30:44.000+0000\",\n    \"createdBy\": \"apiUser342\",\n    \"dateLastModified\": \"2018-10-21T10:30:44.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"version\": 0,\n    \"_links\": {\n        \"createChild\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/docf1167/children\",\n            \"method\": \"POST\"\n        },\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4765\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4765?$If-Match=W%2F%220%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4765\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"3e653315-328a-49f1-9850-9a6a8aa73656"},{"name":"Create Multi-select Flex Field in Document","event":[{"listen":"test","script":{"id":"9ffd7d69-4338-42f7-b64d-21ff5cff7e4f","type":"text/javascript","exec":["var jsonData=JSON.parse(responseBody);","pm.environment.set(\"DocMultiSelectFldID\", jsonData.id);","pm.environment.set(\"Doc_MSFF_Val1ID\", jsonData.fieldValues.items[0].id);","pm.environment.set(\"Doc_MSFF_Val2ID\", jsonData.fieldValues.items[1].id);","pm.environment.set(\"Doc_MSFF_Val3ID\", jsonData.fieldValues.items[2].id);","pm.environment.set(\"Doc_MSFF_Value1\", jsonData.fieldValues.items[0].value);","pm.environment.set(\"Doc_MSFF_Value2\", jsonData.fieldValues.items[1].value);","pm.environment.set(\"Doc_MSFF_Value3\", jsonData.fieldValues.items[2].value);","","","pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});"]}},{"listen":"prerequest","script":{"id":"873ad9ad-f2c0-47e5-88f9-611472a365dd","type":"text/javascript","exec":["var randomVal = (Math.random()*100);","","var DocMultiSelectFieldName = \"DocMultiSelectField\"+(Math.round(randomVal));","pm.environment.set(\"DocMultiSelectFieldName\", DocMultiSelectFieldName);",""]}}],"id":"5d0d5c0e-71b5-46f4-b1d7-411d7d8603a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"{{DocMultiSelectFieldName}}\",\r\n  \"fieldDisplayType\": \"MULTISELECT\",\r\n  \"displaySize\": 10,\r\n  \"displayLines\": 10,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"MSValue1\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"MSValue2\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"MSValue3\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"helpText\": \"I'm a multi select  Field\",\r\n  \"pattern\": \"\\\\w\",\r\n  \"defaultUsers\": [\r\n    \"string\"\r\n  ],\r\n  \"defaultTextValue\": \"t\",\r\n  \"userFilter\": \"user_proj_member\"\r\n}"},"url":"{{HostName}}/ctfrest/docman/v1/documents/{{DocRootFolderId}}/fields","description":"<p>Creates a multi-select flex field in document</p>\n","urlObject":{"path":["ctfrest","docman","v1","documents","{{DocRootFolderId}}","fields"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"057c257d-2a44-4379-9f42-33ef32295667","name":"Create Multi-select Flex Field in Document","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"{{DocMultiSelectFieldName}}\",\r\n  \"fieldDisplayType\": \"MULTISELECT\",\r\n  \"displaySize\": 10,\r\n  \"displayLines\": 10,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"MSValue1\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"MSValue2\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"MSValue3\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"helpText\": \"I'm a multi select  Field\",\r\n  \"pattern\": \"\\\\w\",\r\n  \"defaultUsers\": [\r\n    \"string\"\r\n  ],\r\n  \"defaultTextValue\": \"t\",\r\n  \"userFilter\": \"user_proj_member\"\r\n}"},"url":"{{HostName}}/ctfrest/docman/v1/documents/{{DocRootFolderId}}/fields"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:32:55 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4766"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1292"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"0\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetFieldEntity\",\n    \"id\": \"fild4766\",\n    \"name\": \"DocMultiSelectField67\",\n    \"folderId\": \"docf1167\",\n    \"memberName\": \"multiselect\",\n    \"valueType\": \"String\",\n    \"displaySize\": 1,\n    \"displayLines\": 10,\n    \"displayType\": \"MULTISELECT\",\n    \"isRequired\": false,\n    \"isDisabled\": false,\n    \"isHiddenOnCreate\": false,\n    \"fieldValues\": {\n        \"_type\": \"collection\",\n        \"items\": [\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7077\",\n                \"value\": \"MSValue1\",\n                \"valueClass\": null,\n                \"isDefault\": false,\n                \"displayOrder\": 1,\n                \"dependentValues\": null\n            },\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7078\",\n                \"value\": \"MSValue2\",\n                \"valueClass\": null,\n                \"isDefault\": false,\n                \"displayOrder\": 2,\n                \"dependentValues\": null\n            },\n            {\n                \"_type\": \"GetFieldValueEntity\",\n                \"id\": \"fldv7079\",\n                \"value\": \"MSValue3\",\n                \"valueClass\": null,\n                \"isDefault\": false,\n                \"displayOrder\": 3,\n                \"dependentValues\": null\n            }\n        ],\n        \"paged\": false\n    },\n    \"helpText\": \"I'm a multi select  Field\",\n    \"dateCreated\": \"2018-10-21T10:32:55.000+0000\",\n    \"createdBy\": \"apiUser342\",\n    \"dateLastModified\": \"2018-10-21T10:32:55.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"version\": 0,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4766\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4766?$If-Match=W%2F%220%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4766\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"5d0d5c0e-71b5-46f4-b1d7-411d7d8603a2"},{"name":"Create Date Flex Field in Document","event":[{"listen":"test","script":{"id":"1ed2c776-a678-45f9-828f-39fa513a88f1","type":"text/javascript","exec":["var jsonData=JSON.parse(responseBody);","pm.environment.set(\"DocDateFieldID\", jsonData.id);","","","pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});"]}},{"listen":"prerequest","script":{"id":"a358e910-bda8-4be3-9336-3788d3eb0905","type":"text/javascript","exec":["var randomVal = (Math.random()*100);","","var DocDateFieldName = \"DocDateField\"+(Math.round(randomVal));","pm.environment.set(\"DocDateFieldName\", DocDateFieldName);"]}}],"id":"bebafc02-7c48-4626-aa00-9457b6fa8793","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"{{DocDateFieldName}}\",\r\n  \"fieldDisplayType\": \"DATE\",\r\n  \"displaySize\": 10,\r\n  \"displayLines\": 10,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue1\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue2\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue3\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"helpText\": \"I'm an User Field\",\r\n  \"pattern\": \"\\\\w\",\r\n  \"defaultUsers\": [\"{{TkrAdminUser}}\"],\r\n  \"userFilter\": \"user_proj_member\"\r\n}"},"url":"{{HostName}}/ctfrest/docman/v1/documents/{{DocRootFolderId}}/fields","description":"<p>Creates a Date flex field in document</p>\n","urlObject":{"path":["ctfrest","docman","v1","documents","{{DocRootFolderId}}","fields"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"41d41a40-6c46-4cae-9c6a-f68e990e8723","name":"Create Date Flex Field in Document","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"{{DocDateFieldName}}\",\r\n  \"fieldDisplayType\": \"DATE\",\r\n  \"displaySize\": 10,\r\n  \"displayLines\": 10,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue1\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue2\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue3\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"helpText\": \"I'm an User Field\",\r\n  \"pattern\": \"\\\\w\",\r\n  \"defaultUsers\": [\"{{TkrAdminUser}}\"],\r\n  \"userFilter\": \"user_proj_member\"\r\n}"},"url":"{{HostName}}/ctfrest/docman/v1/documents/{{DocRootFolderId}}/fields"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:34:11 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4767"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"830"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"0\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetFieldEntity\",\n    \"id\": \"fild4767\",\n    \"name\": \"DocDateField85\",\n    \"folderId\": \"docf1167\",\n    \"memberName\": \"d0\",\n    \"valueType\": \"Date\",\n    \"displaySize\": 1,\n    \"displayLines\": 1,\n    \"displayType\": \"DATE\",\n    \"isRequired\": false,\n    \"isDisabled\": false,\n    \"isHiddenOnCreate\": false,\n    \"fieldValues\": {\n        \"_type\": \"collection\",\n        \"items\": [],\n        \"paged\": false\n    },\n    \"helpText\": \"I'm an User Field\",\n    \"dateCreated\": \"2018-10-21T10:34:11.000+0000\",\n    \"createdBy\": \"apiUser342\",\n    \"dateLastModified\": \"2018-10-21T10:34:11.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"version\": 0,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4767\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4767?$If-Match=W%2F%220%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4767\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"bebafc02-7c48-4626-aa00-9457b6fa8793"},{"name":"Create User Flex Field in Document","event":[{"listen":"test","script":{"id":"b5f7766f-6b36-4fa7-9644-dc4256494210","type":"text/javascript","exec":["var jsonData=JSON.parse(responseBody);","pm.environment.set(\"DocUserFldID\", jsonData.id);","","pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});"]}},{"listen":"prerequest","script":{"id":"1e5709d7-23d6-4a6a-af8a-191cc436b1b8","type":"text/javascript","exec":["var randomVal = (Math.random()*100);","","var DocUserFieldName = \"DocUserField\"+(Math.round(randomVal));","pm.environment.set(\"DocUserFieldName\", DocUserFieldName);",""]}}],"id":"1780b2b1-4dd5-4440-bc48-679e3224fd5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"{{DocUserFieldName}}\",\r\n  \"fieldDisplayType\": \"USER\",\r\n  \"displaySize\": 10,\r\n  \"displayLines\": 10,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue1\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue2\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue3\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"helpText\": \"I'm an User Field\",\r\n  \"pattern\": \"\\\\w\",\r\n  \"defaultUsers\": [\"{{apiUser}}\"],\r\n  \"userFilter\": \"user_proj_member\"\r\n}"},"url":"{{HostName}}/ctfrest/docman/v1/documents/{{DocRootFolderId}}/fields","description":"<p>Creates a user flex field in document</p>\n","urlObject":{"path":["ctfrest","docman","v1","documents","{{DocRootFolderId}}","fields"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"78fbdf98-22bf-49da-95e1-62d94053f709","name":"Create User Flex Field in Document","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"fieldName\": \"{{DocUserFieldName}}\",\r\n  \"fieldDisplayType\": \"USER\",\r\n  \"displaySize\": 10,\r\n  \"displayLines\": 10,\r\n  \"isRequired\": false,\r\n  \"isDisabled\": false,\r\n  \"isHiddenOnCreate\": false,\r\n  \"fieldValues\": [\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue1\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue2\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    },\r\n    {\r\n      \"id\": \"\",\r\n      \"value\": \"SSValue3\",\r\n      \"isDefault\": false,\r\n      \"isDeleted\": false\r\n    }\r\n  ],\r\n  \"helpText\": \"I'm an User Field\",\r\n  \"pattern\": \"\\\\w\",\r\n  \"defaultUsers\": [\"{{apiUser}}\"],\r\n  \"userFilter\": \"user_proj_member\"\r\n}"},"url":"{{HostName}}/ctfrest/docman/v1/documents/{{DocRootFolderId}}/fields"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:35:53 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4768"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"891"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"0\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetFieldEntity\",\n    \"id\": \"fild4768\",\n    \"name\": \"DocUserField81\",\n    \"folderId\": \"docf1167\",\n    \"memberName\": \"user\",\n    \"valueType\": \"SfUser\",\n    \"displaySize\": 10,\n    \"displayLines\": 1,\n    \"displayType\": \"USER\",\n    \"isRequired\": false,\n    \"isDisabled\": false,\n    \"isHiddenOnCreate\": false,\n    \"fieldValues\": {\n        \"_type\": \"collection\",\n        \"items\": [],\n        \"paged\": false\n    },\n    \"helpText\": \"I'm an User Field\",\n    \"userFilter\": \"user_proj_member\",\n    \"userKeys\": [\n        \"user1161\"\n    ],\n    \"dateCreated\": \"2018-10-21T10:35:53.000+0000\",\n    \"createdBy\": \"apiUser342\",\n    \"dateLastModified\": \"2018-10-21T10:35:53.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"version\": 0,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4768\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4768?$If-Match=W%2F%220%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4768\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"1780b2b1-4dd5-4440-bc48-679e3224fd5f"},{"name":"Upload Document - Flex Fields","event":[{"listen":"test","script":{"id":"9731e15f-d37c-4435-8839-1761629945b6","type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","pm.environment.set(\"Doc_text_guid\", jsonData.guid);","","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"]}},{"listen":"prerequest","script":{"id":"cdadbb6b-ce15-41e1-b9c3-3c939b05d38e","type":"text/javascript","exec":[""]}}],"id":"7d0f4806-7329-4784-bdd4-6d33e8c20545","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"formdata","formdata":[{"key":"file","value":"","type":"file"}]},"url":"{{HostName}}/ctfrest/filestorage/v1/files","description":"<p>Upload a file in a document with flex fields</p>\n","urlObject":{"path":["ctfrest","filestorage","v1","files"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"a4028b6e-b1e9-47ab-a4d2-615a42cdf481","name":"Upload Document - Flex Fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":[]}]},"url":"{{HostName}}/ctfrest/filestorage/v1/files"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:38:29 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"prefix\": null,\n    \"guid\": \"guid88c7c2ad5b7d9307800662f5\"\n}"}],"_postman_id":"7d0f4806-7329-4784-bdd4-6d33e8c20545"},{"name":"Create Document in Root Document Folder with Flex Fields","event":[{"listen":"test","script":{"id":"d8a69f6b-fd93-4d1d-afca-12d4f14252a4","type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","pm.environment.set(\"DocId_flex\", jsonData.id);","","pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});"]}},{"listen":"prerequest","script":{"id":"f1d490aa-ffab-4bf5-b034-ad174dc84789","type":"text/javascript","exec":[""]}}],"id":"cbb860cf-8579-4152-83e2-943a5301d523","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"DocumnetRF_With_flexfields\",\r\n  \"description\": \"Document created in root folder via REST API\",\r\n  \"status\": \"Draft\",\r\n  \"fileName\": \"link.txt\",\r\n  \"mimeType\": \"text/plain\",\r\n  \"fileId\": \"{{Doc_text_guid}}\",\r\n  \"versionComment\": \"document created via REST API- version1\",\r\n  \"createLocked\": false,\r\n  \"createDownloadRestricted\": false,\r\n  \"allowForceUnlock\": false,\r\n  \"flexFields\": [\r\n    {\r\n      \"name\": \"{{DocTxtFldID}}\",\r\n      \"values\": [\r\n        \"TExt field updated in document\"\r\n      ],\r\n      \"type\": \"String\"\r\n    },\r\n    {\r\n      \"name\": \"{{DocSingleSelectFldID}}\",\r\n      \"values\": [\r\n        \"{{Doc_SSFF_Value1}}\"\r\n      ],\r\n      \"type\": \"String\"\r\n    },\r\n    {\r\n      \"name\": \"{{DocMultiSelectFldID}}\",\r\n      \"values\": [\r\n        \"{{Doc_MSFF_Value1}}\",\"{{Doc_SSFF_Value3}}\"\r\n      ],\r\n      \"type\": \"String\"\r\n    },\r\n    {\r\n      \"name\": \"{{DocUserFldID}}\",\r\n      \"values\": [\r\n        \"{{apiUserID}}\"\r\n      ],\r\n      \"type\": \"USER\"\r\n    }\r\n  ],\r\n  \"tagIds\": [\r\n    \"{{tag_id4}}\",\"{{tag_id2}}\"\r\n  ]\r\n}"},"url":"{{HostName}}/ctfrest/docman/v1/projects/{{projectId}}/documents","description":"<p>Creates a document in root document folder with flex fields</p>\n","urlObject":{"path":["ctfrest","docman","v1","projects","{{projectId}}","documents"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"047230ae-f16e-496b-aa57-2c3f4e246801","name":"Create Document in Root Document Folder with Flex Fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"DocumnetRF_With_flexfields\",\r\n  \"description\": \"Document created in root folder via REST API\",\r\n  \"status\": \"Draft\",\r\n  \"fileName\": \"link.txt\",\r\n  \"mimeType\": \"text/plain\",\r\n  \"fileId\": \"{{Doc_text_guid}}\",\r\n  \"versionComment\": \"document created via REST API- version1\",\r\n  \"createLocked\": false,\r\n  \"createDownloadRestricted\": false,\r\n  \"allowForceUnlock\": false,\r\n  \"flexFields\": [\r\n    {\r\n      \"name\": \"{{DocTxtFldID}}\",\r\n      \"values\": [\r\n        \"TExt field updated in document\"\r\n      ],\r\n      \"type\": \"String\"\r\n    },\r\n    {\r\n      \"name\": \"{{DocSingleSelectFldID}}\",\r\n      \"values\": [\r\n        \"{{Doc_SSFF_Value1}}\"\r\n      ],\r\n      \"type\": \"String\"\r\n    },\r\n    {\r\n      \"name\": \"{{DocMultiSelectFldID}}\",\r\n      \"values\": [\r\n        \"{{Doc_MSFF_Value1}}\",\"{{Doc_SSFF_Value3}}\"\r\n      ],\r\n      \"type\": \"String\"\r\n    },\r\n    {\r\n      \"name\": \"{{DocUserFldID}}\",\r\n      \"values\": [\r\n        \"{{apiUserID}}\"\r\n      ],\r\n      \"type\": \"USER\"\r\n    }\r\n  ],\r\n  \"tagIds\": [\r\n    \"{{tag_id4}}\",\"{{tag_id2}}\"\r\n  ]\r\n}"},"url":"{{HostName}}/ctfrest/docman/v1/projects/{{projectId}}/documents"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:42:24 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/docman/v1/documents/doc1109"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1754"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"100\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"GetDetailedDocumentEntity\",\n    \"id\": \"doc1109\",\n    \"versionId\": \"docv1109\",\n    \"versionNumber\": 100,\n    \"projectPath\": \"projects.baselineapiprojectwithdataset677\",\n    \"projectTitle\": null,\n    \"projectId\": \"proj1088\",\n    \"folderTitle\": null,\n    \"folderId\": \"docf1167\",\n    \"folderPath\": \"docman.root\",\n    \"name\": \"doc1109\",\n    \"title\": \"DocumnetRF_With_flexfields\",\n    \"description\": \"Document created in root folder via REST API\",\n    \"flexFields\": [\n        {\n            \"name\": \"DocTxtField11\",\n            \"values\": [\n                \"\"\n            ],\n            \"type\": \"String\"\n        },\n        {\n            \"name\": \"DocSingleSelectField64\",\n            \"values\": [\n                \"\"\n            ],\n            \"type\": \"String\"\n        },\n        {\n            \"name\": \"DocMultiSelectField67\",\n            \"values\": null,\n            \"type\": \"String\"\n        },\n        {\n            \"name\": \"DocDateField85\",\n            \"values\": null,\n            \"type\": \"DATE\"\n        },\n        {\n            \"name\": \"DocUserField81\",\n            \"values\": null,\n            \"type\": \"USER\"\n        }\n    ],\n    \"createdBy\": \"apiUser342\",\n    \"dateCreated\": \"2018-10-21T10:42:23.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"lastModifiedByFullName\": null,\n    \"dateLastModified\": \"2018-10-21T10:42:23.000+0000\",\n    \"currentVersion\": 1,\n    \"dateVersionCreated\": \"2018-10-21T10:42:23.895+0000\",\n    \"versionCreatedBy\": \"apiUser342\",\n    \"versionStatus\": \"Draft\",\n    \"versionComment\": \"document created via REST API- version1\",\n    \"versionCreatedByFullname\": null,\n    \"mimeType\": \"text/plain\",\n    \"fileName\": \"link.txt\",\n    \"fileSize\": 13159,\n    \"storedFileUrl\": null,\n    \"monitoringUserId\": null,\n    \"lockedBy\": null,\n    \"downloadRestricted\": false,\n    \"allowForceUnlock\": false,\n    \"versionDeletedBy\": null,\n    \"versionDeletedByFullname\": null,\n    \"isVersionDeleted\": false,\n    \"dateVersionDeleted\": null,\n    \"canDownload\": true,\n    \"tagNames\": [\n        \"tag1096\",\n        \"tag1094\"\n    ],\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documents/doc1109\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documents/doc1109?$If-Match=%22100%22\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documents/doc1109\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"cbb860cf-8579-4152-83e2-943a5301d523"},{"name":"Get List of Document Fields","event":[{"listen":"test","script":{"id":"ed6d3b99-1d13-4db8-af3c-603701a035a3","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","","if(jsonData.items[0].name == \"status\"){","    pm.environment.set(\"doc_status_Id\", jsonData.items[0].id);","}"],"type":"text/javascript"}}],"id":"4f410e48-6c4f-4f52-920d-4955fdd83ea5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/docman/v1/documents/{{DocRootFolderId}}/fields","description":"<p>Gets the list of documents fields using document root folder ID.</p>\n","urlObject":{"path":["ctfrest","docman","v1","documents","{{DocRootFolderId}}","fields"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"4670647c-1e0c-4c5c-b1fb-2c904167c8b9","name":"Get List of Document Fields","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/docman/v1/documents/{{DocRootFolderId}}/fields"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Oct 2018 11:26:07 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Content-Length","value":"1075"},{"key":"Keep-Alive","value":"timeout=15, max=9999"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"collection\",\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/documents/docf1163/fields\"\n        }\n    },\n    \"items\": [\n        {\n            \"_type\": \"GetFieldEntity\",\n            \"id\": \"fild4595\",\n            \"name\": \"status\",\n            \"folderId\": \"docf1163\",\n            \"memberName\": null,\n            \"valueType\": \"String\",\n            \"displaySize\": 1,\n            \"displayLines\": 1,\n            \"displayType\": \"DROPDOWN\",\n            \"isRequired\": true,\n            \"isDisabled\": false,\n            \"isHiddenOnCreate\": false,\n            \"fieldValues\": {\n                \"_type\": \"collection\",\n                \"items\": [\n                    {\n                        \"_type\": \"GetFieldValueEntity\",\n                        \"id\": \"fldv6814\",\n                        \"value\": \"Draft\",\n                        \"valueClass\": \"Open\",\n                        \"isDefault\": true,\n                        \"displayOrder\": 1,\n                        \"dependentValues\": null\n                    },\n                    {\n                        \"_type\": \"GetFieldValueEntity\",\n                        \"id\": \"fldv6815\",\n                        \"value\": \"Final\",\n                        \"valueClass\": \"Close\",\n                        \"isDefault\": false,\n                        \"displayOrder\": 2,\n                        \"dependentValues\": null\n                    }\n                ],\n                \"paged\": false\n            },\n            \"dateCreated\": \"2018-10-17T05:22:44.000+0000\",\n            \"createdBy\": \"admin\",\n            \"dateLastModified\": \"2018-10-17T05:22:44.000+0000\",\n            \"lastModifiedBy\": \"admin\",\n            \"version\": 0,\n            \"_links\": {\n                \"createChild\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/docf1163/children\",\n                    \"method\": \"POST\"\n                },\n                \"self\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4595\"\n                },\n                \"update\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4595?$If-Match=W%2F%220%22\",\n                    \"method\": \"PATCH\"\n                },\n                \"delete\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4595\",\n                    \"method\": \"DELETE\"\n                }\n            }\n        },\n        {\n            \"_type\": \"GetFieldEntity\",\n            \"id\": \"fild4666\",\n            \"name\": \"DocTxtField75\",\n            \"folderId\": \"docf1163\",\n            \"memberName\": \"text0\",\n            \"valueType\": \"String\",\n            \"displaySize\": 10,\n            \"displayLines\": 10,\n            \"displayType\": \"TEXT\",\n            \"isRequired\": false,\n            \"isDisabled\": false,\n            \"isHiddenOnCreate\": false,\n            \"fieldValues\": {\n                \"_type\": \"collection\",\n                \"items\": [],\n                \"paged\": false\n            },\n            \"helpText\": \"I'm a Text Field\",\n            \"pattern\": \"\\\\w\",\n            \"dateCreated\": \"2018-10-17T06:45:25.000+0000\",\n            \"createdBy\": \"apiUser551\",\n            \"dateLastModified\": \"2018-10-17T06:45:25.000+0000\",\n            \"lastModifiedBy\": \"apiUser551\",\n            \"version\": 0,\n            \"_links\": {\n                \"self\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4666\"\n                },\n                \"update\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4666?$If-Match=W%2F%220%22\",\n                    \"method\": \"PATCH\"\n                },\n                \"delete\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4666\",\n                    \"method\": \"DELETE\"\n                }\n            }\n        },\n        {\n            \"_type\": \"GetFieldEntity\",\n            \"id\": \"fild4667\",\n            \"name\": \"DocSingleSelectField50\",\n            \"folderId\": \"docf1163\",\n            \"memberName\": \"fv0\",\n            \"valueType\": \"String\",\n            \"displaySize\": 1,\n            \"displayLines\": 1,\n            \"displayType\": \"DROPDOWN\",\n            \"isRequired\": false,\n            \"isDisabled\": false,\n            \"isHiddenOnCreate\": false,\n            \"fieldValues\": {\n                \"_type\": \"collection\",\n                \"items\": [\n                    {\n                        \"_type\": \"GetFieldValueEntity\",\n                        \"id\": \"fldv6913\",\n                        \"value\": \"SSValue1\",\n                        \"valueClass\": null,\n                        \"isDefault\": false,\n                        \"displayOrder\": 1,\n                        \"dependentValues\": null\n                    },\n                    {\n                        \"_type\": \"GetFieldValueEntity\",\n                        \"id\": \"fldv6914\",\n                        \"value\": \"SSValue2\",\n                        \"valueClass\": null,\n                        \"isDefault\": false,\n                        \"displayOrder\": 2,\n                        \"dependentValues\": null\n                    },\n                    {\n                        \"_type\": \"GetFieldValueEntity\",\n                        \"id\": \"fldv6915\",\n                        \"value\": \"SSValue3\",\n                        \"valueClass\": null,\n                        \"isDefault\": false,\n                        \"displayOrder\": 3,\n                        \"dependentValues\": null\n                    }\n                ],\n                \"paged\": false\n            },\n            \"helpText\": \"I'm a Single Select Field\",\n            \"dateCreated\": \"2018-10-17T06:45:46.000+0000\",\n            \"createdBy\": \"apiUser551\",\n            \"dateLastModified\": \"2018-10-17T06:45:46.000+0000\",\n            \"lastModifiedBy\": \"apiUser551\",\n            \"version\": 0,\n            \"_links\": {\n                \"createChild\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/docf1163/children\",\n                    \"method\": \"POST\"\n                },\n                \"self\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4667\"\n                },\n                \"update\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4667?$If-Match=W%2F%220%22\",\n                    \"method\": \"PATCH\"\n                },\n                \"delete\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4667\",\n                    \"method\": \"DELETE\"\n                }\n            }\n        },\n        {\n            \"_type\": \"GetFieldEntity\",\n            \"id\": \"fild4668\",\n            \"name\": \"DocSingleSelectField52\",\n            \"folderId\": \"docf1163\",\n            \"memberName\": \"fv1\",\n            \"valueType\": \"String\",\n            \"displaySize\": 1,\n            \"displayLines\": 1,\n            \"displayType\": \"DROPDOWN\",\n            \"isRequired\": false,\n            \"isDisabled\": false,\n            \"isHiddenOnCreate\": false,\n            \"fieldValues\": {\n                \"_type\": \"collection\",\n                \"items\": [\n                    {\n                        \"_type\": \"GetFieldValueEntity\",\n                        \"id\": \"fldv6917\",\n                        \"value\": \"SSValue1\",\n                        \"valueClass\": null,\n                        \"isDefault\": false,\n                        \"displayOrder\": 1,\n                        \"dependentValues\": null\n                    },\n                    {\n                        \"_type\": \"GetFieldValueEntity\",\n                        \"id\": \"fldv6918\",\n                        \"value\": \"SSValue2\",\n                        \"valueClass\": null,\n                        \"isDefault\": false,\n                        \"displayOrder\": 2,\n                        \"dependentValues\": null\n                    },\n                    {\n                        \"_type\": \"GetFieldValueEntity\",\n                        \"id\": \"fldv6919\",\n                        \"value\": \"SSValue3\",\n                        \"valueClass\": null,\n                        \"isDefault\": false,\n                        \"displayOrder\": 3,\n                        \"dependentValues\": null\n                    }\n                ],\n                \"paged\": false\n            },\n            \"helpText\": \"I'm a Single Select Field\",\n            \"dateCreated\": \"2018-10-17T06:45:57.000+0000\",\n            \"createdBy\": \"apiUser551\",\n            \"dateLastModified\": \"2018-10-17T06:45:57.000+0000\",\n            \"lastModifiedBy\": \"apiUser551\",\n            \"version\": 0,\n            \"_links\": {\n                \"createChild\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/docf1163/children\",\n                    \"method\": \"POST\"\n                },\n                \"self\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4668\"\n                },\n                \"update\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4668?$If-Match=W%2F%220%22\",\n                    \"method\": \"PATCH\"\n                },\n                \"delete\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4668\",\n                    \"method\": \"DELETE\"\n                }\n            }\n        },\n        {\n            \"_type\": \"GetFieldEntity\",\n            \"id\": \"fild4669\",\n            \"name\": \"DocMultiSelectField19\",\n            \"folderId\": \"docf1163\",\n            \"memberName\": \"multiselect\",\n            \"valueType\": \"String\",\n            \"displaySize\": 1,\n            \"displayLines\": 10,\n            \"displayType\": \"MULTISELECT\",\n            \"isRequired\": false,\n            \"isDisabled\": false,\n            \"isHiddenOnCreate\": false,\n            \"fieldValues\": {\n                \"_type\": \"collection\",\n                \"items\": [\n                    {\n                        \"_type\": \"GetFieldValueEntity\",\n                        \"id\": \"fldv6921\",\n                        \"value\": \"MSValue1\",\n                        \"valueClass\": null,\n                        \"isDefault\": false,\n                        \"displayOrder\": 1,\n                        \"dependentValues\": null\n                    },\n                    {\n                        \"_type\": \"GetFieldValueEntity\",\n                        \"id\": \"fldv6922\",\n                        \"value\": \"MSValue2\",\n                        \"valueClass\": null,\n                        \"isDefault\": false,\n                        \"displayOrder\": 2,\n                        \"dependentValues\": null\n                    },\n                    {\n                        \"_type\": \"GetFieldValueEntity\",\n                        \"id\": \"fldv6923\",\n                        \"value\": \"MSValue3\",\n                        \"valueClass\": null,\n                        \"isDefault\": false,\n                        \"displayOrder\": 3,\n                        \"dependentValues\": null\n                    }\n                ],\n                \"paged\": false\n            },\n            \"helpText\": \"I'm a multi select  Field\",\n            \"dateCreated\": \"2018-10-17T06:46:05.000+0000\",\n            \"createdBy\": \"apiUser551\",\n            \"dateLastModified\": \"2018-10-17T06:46:05.000+0000\",\n            \"lastModifiedBy\": \"apiUser551\",\n            \"version\": 0,\n            \"_links\": {\n                \"self\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4669\"\n                },\n                \"update\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4669?$If-Match=W%2F%220%22\",\n                    \"method\": \"PATCH\"\n                },\n                \"delete\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4669\",\n                    \"method\": \"DELETE\"\n                }\n            }\n        },\n        {\n            \"_type\": \"GetFieldEntity\",\n            \"id\": \"fild4670\",\n            \"name\": \"DocDateField31\",\n            \"folderId\": \"docf1163\",\n            \"memberName\": \"d0\",\n            \"valueType\": \"Date\",\n            \"displaySize\": 1,\n            \"displayLines\": 1,\n            \"displayType\": \"DATE\",\n            \"isRequired\": false,\n            \"isDisabled\": false,\n            \"isHiddenOnCreate\": false,\n            \"fieldValues\": {\n                \"_type\": \"collection\",\n                \"items\": [],\n                \"paged\": false\n            },\n            \"helpText\": \"I'm an User Field\",\n            \"dateCreated\": \"2018-10-17T06:46:16.000+0000\",\n            \"createdBy\": \"apiUser551\",\n            \"dateLastModified\": \"2018-10-17T06:46:16.000+0000\",\n            \"lastModifiedBy\": \"apiUser551\",\n            \"version\": 0,\n            \"_links\": {\n                \"self\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4670\"\n                },\n                \"update\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4670?$If-Match=W%2F%220%22\",\n                    \"method\": \"PATCH\"\n                },\n                \"delete\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4670\",\n                    \"method\": \"DELETE\"\n                }\n            }\n        },\n        {\n            \"_type\": \"GetFieldEntity\",\n            \"id\": \"fild4671\",\n            \"name\": \"DocUserField46\",\n            \"folderId\": \"docf1163\",\n            \"memberName\": \"user\",\n            \"valueType\": \"SfUser\",\n            \"displaySize\": 10,\n            \"displayLines\": 1,\n            \"displayType\": \"USER\",\n            \"isRequired\": false,\n            \"isDisabled\": false,\n            \"isHiddenOnCreate\": false,\n            \"fieldValues\": {\n                \"_type\": \"collection\",\n                \"items\": [],\n                \"paged\": false\n            },\n            \"helpText\": \"I'm an User Field\",\n            \"userFilter\": \"user_proj_member\",\n            \"userKeys\": [\n                \"user1156\"\n            ],\n            \"dateCreated\": \"2018-10-17T06:46:33.000+0000\",\n            \"createdBy\": \"apiUser551\",\n            \"dateLastModified\": \"2018-10-17T06:46:33.000+0000\",\n            \"lastModifiedBy\": \"apiUser551\",\n            \"version\": 0,\n            \"_links\": {\n                \"self\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4671\"\n                },\n                \"update\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4671?$If-Match=W%2F%220%22\",\n                    \"method\": \"PATCH\"\n                },\n                \"delete\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/docman/v1/fields/fild4671\",\n                    \"method\": \"DELETE\"\n                }\n            }\n        }\n    ],\n    \"paged\": false\n}"}],"_postman_id":"4f410e48-6c4f-4f52-920d-4955fdd83ea5"},{"name":"Get SCM Details","event":[{"listen":"test","script":{"id":"38d7a328-9f23-4aa5-8e8e-537eff251fcb","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData=JSON.parse(responseBody);","for (i=0; i<2; i++){","    if(jsonData.items[i].adapterName == \"Subversion\"){","        pm.environment.set(\"SVN_SystemID\", jsonData.items[i].id);","    }","    else if(jsonData.items[i].adapterName == \"Git\"){","         pm.environment.set(\"Git_SystemID\", jsonData.items[i].id);","    }","    else if(jsonData.items[i].name == \"status\"){","         pm.environment.set(\"Status_ID\", jsonData.items[i].id);","    }","    else if(jsonData.items[i].name == \"customer\"){","         pm.environment.set(\"Customer_ID\", jsonData.items[i].id);","    }","}"]}},{"listen":"prerequest","script":{"id":"405f4526-0b00-478a-a45c-e0c5b09453c7","type":"text/javascript","exec":[""]}}],"id":"6b84f768-c998-40ac-a3d2-94b616d3091a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/scm/v1/servers?includeApiEndpoint=false&excludeFrozen=false","description":"<p>Gets the SCM details</p>\n","urlObject":{"path":["ctfrest","scm","v1","servers"],"host":["{{HostName}}"],"query":[{"key":"includeApiEndpoint","value":"false"},{"key":"excludeFrozen","value":"false"}],"variable":[]}},"response":[],"_postman_id":"6b84f768-c998-40ac-a3d2-94b616d3091a"},{"name":"Create SVN Repository","event":[{"listen":"test","script":{"id":"36054cf6-6e1e-48b2-89a2-435d9a6a4b4f","type":"text/javascript","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","var jsonData=JSON.parse(responseBody);","pm.environment.set(\"SVN_repoID\", jsonData.id);","pm.environment.set(\"svnname\", jsonData.title);",""]}},{"listen":"prerequest","script":{"id":"1812a712-65bf-455d-a468-902954c2dc4c","type":"text/javascript","exec":["pm.environment.set(\"svnname\", \"svn\");"]}}],"id":"cde818f9-ea61-459b-9921-b695ac184da8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"projectId\": \"{{projectId}}\",\r\n  \"repositoryDirectory\": \"{{svnname}}\",\r\n  \"title\": \"{{svnname}}\",\r\n  \"description\": \"Svn repo created via REST API call\",\r\n  \"idRequiredOnCommit\": true,\r\n  \"systemId\": \"{{SVN_SystemID}}\",\r\n  \"searchEnabled\": true,\r\n  \"hideMonitoringDetails\": true,\r\n  \"parameters\": [\r\n    {\r\n      \"key\": \"string\",\r\n      \"value\": \"string\"\r\n    }\r\n  ],\r\n  \"comment\": \"repo creation done\"\r\n}"},"url":"{{HostName}}/ctfrest/scm/v1/projects/{{projectId}}/repositories","description":"<p>Creates a SVN Repository</p>\n","urlObject":{"path":["ctfrest","scm","v1","projects","{{projectId}}","repositories"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"1f84df99-626d-431c-9507-e3cba7944820","name":"Create SVN Repository","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"projectId\": \"{{projectId}}\",\r\n  \"repositoryDirectory\": \"{{svnname}}\",\r\n  \"title\": \"{{svnname}}\",\r\n  \"description\": \"Svn repo created via REST API call\",\r\n  \"idRequiredOnCommit\": true,\r\n  \"systemId\": \"{{SVN_SystemID}}\",\r\n  \"searchEnabled\": true,\r\n  \"hideMonitoringDetails\": true,\r\n  \"parameters\": [\r\n    {\r\n      \"key\": \"string\",\r\n      \"value\": \"string\"\r\n    }\r\n  ],\r\n  \"comment\": \"repo creation done\"\r\n}"},"url":"{{HostName}}/ctfrest/scm/v1/projects/{{projectId}}/repositories"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:51:29 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/scm/v1/repositories/reps1124"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2004"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"100\""},{"key":"Keep-Alive","value":"timeout=15, max=9998"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"repository\",\n    \"id\": \"reps1124\",\n    \"createdBy\": \"apiUser342\",\n    \"createdDate\": \"2018-10-21T10:51:27.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"lastModifiedDate\": \"2018-10-21T10:51:27.000+0000\",\n    \"version\": 100,\n    \"path\": \"projects.baselineapiprojectwithdataset677/scm.svn403\",\n    \"title\": \"svn403\",\n    \"description\": \"Svn repo created via REST API call\",\n    \"projectId\": \"proj1088\",\n    \"idRequiredOnCommit\": true,\n    \"isOnManagedScmServer\": true,\n    \"searchEnabled\": true,\n    \"repositoryDirectory\": \"/opt/collabnet/teamforge/var/scm/svnroot/svn511\",\n    \"scmAdapterName\": \"Subversion\",\n    \"scmViewerUrl\": \"/ctf/code/projects.baselineapiprojectwithdataset677/svn/scm.svn403/tree/head\",\n    \"systemId\": \"exsy1003\",\n    \"systemTitle\": \"SVN (teamforge.collab.net)\",\n    \"hideMonitoringDetails\": true,\n    \"canEditRepository\": true,\n    \"parameters\": [\n        {\n            \"key\": \"string\",\n            \"value\": \"string\"\n        }\n    ],\n    \"checkoutCommands\": {\n        \"_type\": \"checkoutCommands\",\n        \"defaultProtocol\": \"HTTP\",\n        \"urls\": {\n            \"HTTP\": \"https://teamforge.collab.net/svn/repos/svn511\"\n        },\n        \"commands\": {\n            \"HTTP\": \"svn checkout --username apiUser342 https://teamforge.collab.net/svn/repos/svn511\"\n        },\n        \"_links\": {\n            \"self\": {\n                \"href\": \"~/repositories/reps1124/checkout-commands\"\n            }\n        }\n    },\n    \"apiEndpoint\": \"https://teamforge.collab.net/svn-rest/\",\n    \"_links\": {\n        \"search\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/codesearch/v1/search/reps1124\",\n            \"method\": \"POST\"\n        },\n        \"latestIndex\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/codesearch/v1/latestindex/reps1124\",\n            \"method\": \"GET\"\n        },\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/scm/v1/repositories/reps1124\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/scm/v1/repositories/reps1124\",\n            \"method\": \"PATCH\"\n        },\n        \"highlightSearchResult\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/codesearch/v1/highlight/reps1124\",\n            \"method\": \"POST\"\n        },\n        \"checkoutCommands\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/scm/v1/repositories/reps1124/checkout-commands\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/scm/v1/repositories/reps1124\",\n            \"method\": \"DELETE\"\n        }\n    },\n    \"repositoryName\": \"svn511\"\n}"}],"_postman_id":"cde818f9-ea61-459b-9921-b695ac184da8"},{"name":"Create Git Repository","event":[{"listen":"test","script":{"id":"f2a85fed-5d1c-43d3-abbf-4775e30ac81a","type":"text/javascript","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","var jsonData=JSON.parse(responseBody);","pm.environment.set(\"Git_repoID\", jsonData.id);","","pm.environment.set(\"gitname\", jsonData.title);"]}},{"listen":"prerequest","script":{"id":"8930547d-99ca-49ac-86a3-d6a6300d677e","type":"text/javascript","exec":["pm.environment.set(\"gitname\", \"git\");"]}}],"id":"8206afa5-5fa2-47d8-8357-ca1d4a6c7c93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"projectId\": \"{{projectId}}\",\r\n  \"repositoryDirectory\": \"{{gitname}}\",\r\n  \"title\": \"{{gitname}}\",\r\n  \"description\": \"Git repo created via REST API call\",\r\n  \"idRequiredOnCommit\": true,\r\n  \"systemId\": \"{{Git_SystemID}}\",\r\n  \"searchEnabled\": true,\r\n  \"hideMonitoringDetails\": true,\r\n  \"parameters\": [\r\n    {\r\n      \"key\": \"string\",\r\n      \"value\": \"string\"\r\n    }\r\n  ],\r\n  \"comment\": \"repo creation done\"\r\n}"},"url":"{{HostName}}/ctfrest/scm/v1/projects/{{projectId}}/repositories","description":"<p>Creates a Git Repository</p>\n","urlObject":{"path":["ctfrest","scm","v1","projects","{{projectId}}","repositories"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"c1f98772-c7b8-4836-a820-3e60478473c9","name":"Create Git Repository","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"projectId\": \"{{projectId}}\",\r\n  \"repositoryDirectory\": \"{{gitname}}\",\r\n  \"title\": \"{{gitname}}\",\r\n  \"description\": \"Git repo created via REST API call\",\r\n  \"idRequiredOnCommit\": true,\r\n  \"systemId\": \"{{Git_SystemID}}\",\r\n  \"searchEnabled\": true,\r\n  \"hideMonitoringDetails\": true,\r\n  \"parameters\": [\r\n    {\r\n      \"key\": \"string\",\r\n      \"value\": \"string\"\r\n    }\r\n  ],\r\n  \"comment\": \"repo creation done\"\r\n}"},"url":"{{HostName}}/ctfrest/scm/v1/projects/{{projectId}}/repositories"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:51:59 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/scm/v1/repositories/reps1125"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"3154"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"100\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"repository\",\n    \"id\": \"reps1125\",\n    \"createdBy\": \"apiUser342\",\n    \"createdDate\": \"2018-10-21T10:51:59.000+0000\",\n    \"lastModifiedBy\": \"apiUser342\",\n    \"lastModifiedDate\": \"2018-10-21T10:51:59.000+0000\",\n    \"version\": 100,\n    \"path\": \"projects.baselineapiprojectwithdataset677/scm.git880\",\n    \"title\": \"git880\",\n    \"description\": \"Git repo created via REST API call\",\n    \"projectId\": \"proj1088\",\n    \"idRequiredOnCommit\": true,\n    \"isOnManagedScmServer\": true,\n    \"searchEnabled\": true,\n    \"repositoryDirectory\": \"/opt/collabnet/teamforge/var/scm/gerrit/gitroot/git832\",\n    \"scmAdapterName\": \"Git\",\n    \"scmViewerUrl\": \"/ctf/code/projects.baselineapiprojectwithdataset677/git/scm.git880/tree\",\n    \"systemId\": \"exsy1002\",\n    \"systemTitle\": \"Git teamforge.collab.net\",\n    \"hideMonitoringDetails\": true,\n    \"canEditRepository\": true,\n    \"parameters\": [\n        {\n            \"key\": \"string\",\n            \"value\": \"string\"\n        }\n    ],\n    \"checkoutCommands\": {\n        \"_type\": \"checkoutCommands\",\n        \"defaultProtocol\": \"SSH_ADVANCED\",\n        \"urls\": {\n            \"ANONYMOUS\": \"https://teamforge.collab.net/gerrit/git832\",\n            \"SSH_ADVANCED\": \"ssh://apiUser342@teamforge.collab.net:29418/git832\",\n            \"SSH\": \"ssh://apiUser342@teamforge.collab.net:29418/git832\",\n            \"HTTP\": \"https://apiUser342@teamforge.collab.net/gerrit/git832\",\n            \"HTTP_ADVANCED\": \"https://apiUser342@teamforge.collab.net/gerrit/git832\"\n        },\n        \"commands\": {\n            \"ANONYMOUS\": \"git clone --recurse-submodules https://teamforge.collab.net/gerrit/git832\",\n            \"SSH_ADVANCED\": \"git clone --recurse-submodules ssh://apiUser342@teamforge.collab.net:29418/git832 && cd \\\"git832\\\" && git config user.name \\\"apiUser997\\\" && git config user.email \\\"yoga@mail-qa1.maa.collab.net\\\" && scp -P 29418 apiUser342@teamforge.collab.net:hooks/commit-msg .git/hooks/\",\n            \"SSH\": \"git clone --recurse-submodules ssh://apiUser342@teamforge.collab.net:29418/git832\",\n            \"HTTP\": \"git clone --recurse-submodules https://apiUser342@teamforge.collab.net/gerrit/git832\",\n            \"HTTP_ADVANCED\": \"git clone --recurse-submodules https://apiUser342@teamforge.collab.net/gerrit/git832 && cd \\\"git832\\\" && git config user.name \\\"apiUser997\\\" && git config user.email \\\"yoga@mail-qa1.maa.collab.net\\\" && curl -o .git/hooks/commit-msg https://apiUser342@teamforge.collab.net/gerrit/tools/hooks/commit-msg && chmod +x .git/hooks/commit-msg\"\n        },\n        \"_links\": {\n            \"self\": {\n                \"href\": \"~/repositories/reps1125/checkout-commands\"\n            }\n        }\n    },\n    \"apiEndpoint\": \"https://teamforge.collab.net/git/api/\",\n    \"_links\": {\n        \"search\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/codesearch/v1/search/reps1125\",\n            \"method\": \"POST\"\n        },\n        \"latestIndex\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/codesearch/v1/latestindex/reps1125\",\n            \"method\": \"GET\"\n        },\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/scm/v1/repositories/reps1125\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/scm/v1/repositories/reps1125\",\n            \"method\": \"PATCH\"\n        },\n        \"highlightSearchResult\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/codesearch/v1/highlight/reps1125\",\n            \"method\": \"POST\"\n        },\n        \"checkoutCommands\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/scm/v1/repositories/reps1125/checkout-commands\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/scm/v1/repositories/reps1125\",\n            \"method\": \"DELETE\"\n        }\n    },\n    \"repositoryName\": \"git832\"\n}"}],"_postman_id":"8206afa5-5fa2-47d8-8357-ca1d4a6c7c93"}],"id":"a322d665-7342-47e9-98bf-fdb248cea56d","description":"<p>All the APIs required before performing baseline activities in TeamForge are included in this section.</p>\n","event":[{"listen":"prerequest","script":{"id":"fe17f1dc-f62d-4068-82ce-453f51b28548","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"dea7edfa-c84f-4d72-ace6-35ef76f49e16","type":"text/javascript","exec":[""]}}],"_postman_id":"a322d665-7342-47e9-98bf-fdb248cea56d"},{"name":"Create/Delete Baseline","item":[{"name":"Get Seed Data For Project","event":[{"listen":"test","script":{"id":"d1242954-2318-4ad5-8184-6457bcf1d952","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"]}}],"id":"18c36eeb-c835-4136-93a2-fd08f68657d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}/configure/seeddata","description":"<p>Gets the seed data for a project</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","by-project","{{projectId}}","configure","seeddata"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"ea062a95-6be9-4c6a-9fac-ca534340c4af","name":"Get Seed Data For Project","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}/configure/seeddata"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 10:53:08 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"4"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"18c36eeb-c835-4136-93a2-fd08f68657d1"},{"name":"Get Baseline Field By Project ID","event":[{"listen":"test","script":{"id":"ccd19244-1909-4229-a3c1-926599f57f91","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","","var jsonData = JSON.parse(responseBody);","var i , j, k;"," for (i=0; i<2; i++){","     if(jsonData[i].Name == \"status\"){","         pm.environment.set(\"status_field_Id\", jsonData[i].Id);  ","         pm.environment.set(\"status_field_version\", jsonData[i].Version);","     }","    else if(jsonData[i].Name == \"category\"){","        pm.environment.set(\"category_field_Id\", jsonData[i].Id);","        pm.environment.set(\"category_field_version\", jsonData[i].Version);","     } "," }"],"type":"text/javascript"}}],"id":"d80f817d-f0c0-46b4-96ae-82792f70d262","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}","description":"<p>Gets the baseline fields using project id</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d80f817d-f0c0-46b4-96ae-82792f70d262"},{"name":"Get Baseline Field Value By ProjectID","event":[{"listen":"test","script":{"id":"cfe9b598-80c6-445a-ba2d-0d3fdf6cd436","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","","var jsonData = JSON.parse(responseBody);","var i , j, k;"," for (i=0; i<2; i++){","     if(jsonData[i].Name == \"status\"){","         for (j=0; j<6; j++){","             if(jsonData[i].FieldValues[j].Value == \"Submitted\"){","                 pm.environment.set(\"status_submitted_Id\", jsonData[i].FieldValues[j].Id);  ","             }else if(jsonData[i].FieldValues[j].Value == \"Acknowledge\"){","                 pm.environment.set(\"status_acknowledge_Id\", jsonData[i].FieldValues[j].Id); ","             }else if(jsonData[i].FieldValues[j].Value == \"Accept\"){","                 pm.environment.set(\"status_accept_Id\", jsonData[i].FieldValues[j].Id);  ","             }else if(jsonData[i].FieldValues[j].Value == \"Approve\"){","                 pm.environment.set(\"status_approve_Id\", jsonData[i].FieldValues[j].Id);  ","             }else if(jsonData[i].FieldValues[j].Value == \"Duplicate\"){","                 pm.environment.set(\"status_duplicate_Id\", jsonData[i].FieldValues[j].Id);  ","             }else if(jsonData[i].FieldValues[j].Value == \"Reject\"){","                pm.environment.set(\"status_reject_Id\", jsonData[i].FieldValues[j].Id);  ","            }","        }","    }","    if(jsonData[i].Name == \"category\"){","         for (j=0; j<2; j++){","            if(jsonData[i].FieldValues[j].Value == \"Delivery Baseline\"){","                 pm.environment.set(\"category_delivery_Id\", jsonData[i].FieldValues[j].Id);  ","             }else if(jsonData[i].FieldValues[j].Value == \"Deployment Baseline\"){","                 pm.environment.set(\"category_deployment_Id\", jsonData[i].FieldValues[j].Id);  ","             }else if(jsonData[i].FieldValues[j].Value == \"Release Baseline\"){","                 pm.environment.set(\"category_release_Id\", jsonData[i].FieldValues[j].Id);  ","            }else if(jsonData[i].FieldValues[j].Value == \"Integration Baseline\"){","                 pm.environment.set(\"category_integration_Id\", jsonData[i].FieldValues[j].Id);  ","            }","        }","    }"," }"]}}],"id":"eac1891b-38bf-4b8b-89ff-4019c7689e45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}?expand=true","description":"<p>Gets the values for the baseline fields using project id</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[{"key":"expand","value":"true"}],"variable":[]}},"response":[],"_postman_id":"eac1891b-38bf-4b8b-89ff-4019c7689e45"},{"name":"Get Tracker Field Data by Name - Status","event":[{"listen":"test","script":{"id":"62aa3cc4-0a49-4519-beb6-9f5702fc7b3e","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","","var stat = pm.environment.get(\"status_val\");","","if(jsonData.name == \"status\"){","    pm.environment.set(\"status_fildID\", jsonData.id);","}","","if(jsonData.fieldValues.items[0].value == stat){","    pm.environment.set(\"status_Inprogress\", jsonData.fieldValues.items[0].id);","}","","",""]}}],"id":"5d26557e-3886-47bb-8f0f-9a92b3bf2ae5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/tracker/v1/trackers/{{TrackerID}}/fields/by-name/status","description":"<p>Gets the Tracker field data using the field name \"Status\"</p>\n","urlObject":{"path":["ctfrest","tracker","v1","trackers","{{TrackerID}}","fields","by-name","status"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5d26557e-3886-47bb-8f0f-9a92b3bf2ae5"},{"name":"Get Tracker Field Data By Name - Priority","event":[{"listen":"test","script":{"id":"4b2b3ea0-c2fb-46e3-9e63-513d1253f5a6","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","if(jsonData.name == \"priority\"){","    pm.environment.set(\"priority_fildID\", jsonData.id);","}"]}}],"id":"97d1b7ed-b7d3-4488-9878-0ffaee128bf7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/tracker/v1/trackers/{{TrackerID}}/fields/by-name/priority","description":"<p>Gets the Tracker field data using the field name \"Priority\"</p>\n","urlObject":{"path":["ctfrest","tracker","v1","trackers","{{TrackerID}}","fields","by-name","priority"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"97d1b7ed-b7d3-4488-9878-0ffaee128bf7"},{"name":"Get Tracker Field Data By Name - Planning Folder","event":[{"listen":"test","script":{"id":"a2348d7d-0487-4915-901b-30da6de7ffa7","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","if(jsonData.name == \"planningFolder\"){","    pm.environment.set(\"PF_fildID\", jsonData.id);","}"]}}],"id":"40fa6d17-b1c4-47a6-b1b1-dd3fc7ea2b0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/tracker/v1/trackers/{{TrackerID}}/fields/by-name/planningFolder","description":"<p>Gets the Tracker field data using the field name \"Planning Folder\"</p>\n","urlObject":{"path":["ctfrest","tracker","v1","trackers","{{TrackerID}}","fields","by-name","planningFolder"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"40fa6d17-b1c4-47a6-b1b1-dd3fc7ea2b0f"},{"name":"Get Tracker Field Data By Name - Team","event":[{"listen":"test","script":{"id":"11dca3ee-ad73-4f03-89cb-6325878c80d4","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","if(jsonData.name == \"team\"){","    pm.environment.set(\"team_fildID\", jsonData.id);","}"]}}],"id":"59561188-60a8-464e-80a4-46ec6c0658f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/tracker/v1/trackers/{{TrackerID}}/fields/by-name/team","description":"<p>Gets the Tracker field data using the field name \"Team\"</p>\n","urlObject":{"path":["ctfrest","tracker","v1","trackers","{{TrackerID}}","fields","by-name","team"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"59561188-60a8-464e-80a4-46ec6c0658f8"},{"name":"Get Tracker Field Data By Name - Reported in Release","event":[{"listen":"test","script":{"id":"0c2c042e-e369-4b5c-94d7-3c9d5d6eac94","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","if(jsonData.name == \"reportedInRelease\"){","    pm.environment.set(\"reportedInRel_fildID\", jsonData.id);","}"]}}],"id":"63529bdc-0708-4722-84c8-9f80931a3baa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/tracker/v1/trackers/{{TrackerID}}/fields/by-name/reportedInRelease","description":"<p>Gets the Tracker field data using the field name \"Reported in Release\"</p>\n","urlObject":{"path":["ctfrest","tracker","v1","trackers","{{TrackerID}}","fields","by-name","reportedInRelease"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"63529bdc-0708-4722-84c8-9f80931a3baa"},{"name":"Get Document Fields By Project ID","event":[{"listen":"test","script":{"id":"bd86b89e-b392-4e7b-9af6-49e73f084db7","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);"," if(jsonData.items[0].name == \"status\"){","     pm.environment.set(\"status_fildID_Doc\", jsonData.items[0].id);","     pm.environment.set(\"status_Draft_Doc\", jsonData.items[0].fieldValues.items[0].id);","     pm.environment.set(\"status_Final_Doc\", jsonData.items[0].fieldValues.items[1].id);","     "," }"]}}],"id":"99423797-299e-4144-8cdf-c68b252e489d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/docman/v1/projects/{{projectId}}/fields","description":"<p>Get the document fields using project id</p>\n","urlObject":{"path":["ctfrest","docman","v1","projects","{{projectId}}","fields"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"99423797-299e-4144-8cdf-c68b252e489d"},{"name":"Create Preview - Trackers","event":[{"listen":"test","script":{"id":"bdf9c46c-28d6-45f4-ba1b-17b82197a48b","type":"text/javascript","exec":["pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include(\"artf\");","});","","console.log(\"group Id\", pm.environment.get(\"Group_ID\"));","console.log(\"group value\", pm.environment.get(\"Group_val1_Id\"));","console.log(\"customer value\", pm.environment.get(\"customer_val1_Id\"));","","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"]}}],"id":"bf1df34a-5efa-497c-af71-fc02b5258ebb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n      \"trackers\": [\n       {\n          \"id\": \"{{TrackerID_0}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"Artifact\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_tracker1}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_open_t1}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          }\n        },\n         {\n          \"id\": \"{{TrackerID}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"\",\n              \"condition\": \"\",\n              \"values\": [],\n              \"LeftFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"\",\n                      \"condition\": \"\",\n                      \"values\": [],\n                      \"LeftFV\": {\n                        \"attribute\": \"title\",\n                        \"condition\": \"5\",\n                        \"values\": [\n                          \"Artifact\"\n                        ]\n                      },\n                      \"RightFV\": {\n                        \"attribute\": \"{{priority_fildID}}\",\n                        \"condition\": \"13\",\n                        \"values\": [\n                          \"2\"\n                        ],\n                        \"FVCondition\": \"\"\n                      },\n                      \"FVCondition\": \"2\"\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{PF_fildID}}\",\n                      \"condition\": \"19\",\n                      \"values\": [\n                        \"{{PF_title}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{team_fildID}}\",\n                    \"condition\": \"19\",\n                    \"values\": [\n                      \"{{Team_title}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"RightFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"{{Group_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{Group_val1_Id}}\",\n                        \"{{Group_val2_Id}}\"\n                      ]\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{Customer_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{customer_val1_Id}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{Category_ID}}\",\n                    \"condition\": \"13\",\n                    \"values\": [\n                      \"{{Category_val2_Id}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"FVCondition\": \"3\"\n              },\n              \"RightFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"{{MSFF_ID}}\",\n                  \"condition\": \"15\",\n                  \"values\": [\n                    \"{{MSFF_Val1ID}}\",\n                    \"{{MSFF_Val2ID}}\"\n                  ]\n                },\n                \"RightFV\": {\n                  \"attribute\": \"{{TkrSSFldID}}\",\n                  \"condition\": \"13\",\n                  \"values\": [\n                    \"{{TkrSSFldVal2ID}}\"\n                  ],\n                  \"FVCondition\": \"\"\n                },\n                \"FVCondition\": \"2\"\n              },\n              \"FVCondition\": \"3\"\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{reportedInRel_fildID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{ReleaseID1}}\"\n              ]\n            },\n            \"FVCondition\": \"3\"\n          }\n        }\n      ],\n      \"documentFolders\": {\n        \"folderIds\": [\n          \"{{DocRootFolderId}}\",\n          \"{{DocFolderId1}}\",\n          \"{{ChildDocFolderId}}\"\n        ],\n        \"version\": \"active\",\n        \"filters\": {\n          \"attribute\": \"\",\n          \"condition\": \"\",\n          \"values\": [],\n          \"LeftFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"doc\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_Doc}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_Draft_Doc}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"RightFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"{{DocSingleSelectFldID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{Doc_SSFF_Val2ID}}\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{DocMultiSelectFldID}}\",\n              \"condition\": \"15\",\n              \"values\": [\n                \"{{Doc_MSFF_Val3ID}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"FVCondition\": \"3\",\n          \"isInvalid\": false\n        }\n      },\n      \"planningFolders\": [\n        \"{{PF_Id}}\"\n      ],\n      \"frs\": {\n        \"releaseIds\": [\n          \"{{ReleaseID1}}\"\n        ]\n      },\n      \"scms\": [],\n      \"binaries\": []\n    }\n"},"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/{{projectId}}/filter/tracker/ids","description":"<p>Creates a preview of Trackers in the project</p>\n<p>{{HostName}}/ctfrest/baseline/v1/router/definitions/{{projectId}}/filter/tracker/ids\n{{HostName}}/ctfrest/baseline/v1/router/definitions/{{projectId}}/filter/tracker/count\n{{HostName}}/ctfrest/baseline/v1/router/definitions/{{projectId}}/filter/tracker/preview</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","{{projectId}}","filter","tracker","ids"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"b0421bce-3a08-4e33-8711-71741ad8720f","name":"Create Preview - Trackers","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n      \"trackers\": [\n       {\n          \"id\": \"{{TrackerID_0}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"Artifact\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_tracker1}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_open_t1}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          }\n        },\n         {\n          \"id\": \"{{TrackerID}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"\",\n              \"condition\": \"\",\n              \"values\": [],\n              \"LeftFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"\",\n                      \"condition\": \"\",\n                      \"values\": [],\n                      \"LeftFV\": {\n                        \"attribute\": \"title\",\n                        \"condition\": \"5\",\n                        \"values\": [\n                          \"Artifact\"\n                        ]\n                      },\n                      \"RightFV\": {\n                        \"attribute\": \"{{priority_fildID}}\",\n                        \"condition\": \"13\",\n                        \"values\": [\n                          \"2\"\n                        ],\n                        \"FVCondition\": \"\"\n                      },\n                      \"FVCondition\": \"2\"\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{PF_fildID}}\",\n                      \"condition\": \"19\",\n                      \"values\": [\n                        \"{{PF_title}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{team_fildID}}\",\n                    \"condition\": \"19\",\n                    \"values\": [\n                      \"{{Team_title}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"RightFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"{{Group_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{Group_val1_Id}}\",\n                        \"{{Group_val2_Id}}\"\n                      ]\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{Customer_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{customer_val1_Id}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{Category_ID}}\",\n                    \"condition\": \"13\",\n                    \"values\": [\n                      \"{{Category_val2_Id}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"FVCondition\": \"3\"\n              },\n              \"RightFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"{{MSFF_ID}}\",\n                  \"condition\": \"15\",\n                  \"values\": [\n                    \"{{MSFF_Val1ID}}\",\n                    \"{{MSFF_Val2ID}}\"\n                  ]\n                },\n                \"RightFV\": {\n                  \"attribute\": \"{{TkrSSFldID}}\",\n                  \"condition\": \"13\",\n                  \"values\": [\n                    \"{{TkrSSFldVal2ID}}\"\n                  ],\n                  \"FVCondition\": \"\"\n                },\n                \"FVCondition\": \"2\"\n              },\n              \"FVCondition\": \"3\"\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{reportedInRel_fildID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{ReleaseID1}}\"\n              ]\n            },\n            \"FVCondition\": \"3\"\n          }\n        }\n      ],\n      \"documentFolders\": {\n        \"folderIds\": [\n          \"{{DocRootFolderId}}\",\n          \"{{DocFolderId1}}\",\n          \"{{ChildDocFolderId}}\"\n        ],\n        \"version\": \"active\",\n        \"filters\": {\n          \"attribute\": \"\",\n          \"condition\": \"\",\n          \"values\": [],\n          \"LeftFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"doc\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_Doc}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_Draft_Doc}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"RightFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"{{DocSingleSelectFldID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{Doc_SSFF_Val2ID}}\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{DocMultiSelectFldID}}\",\n              \"condition\": \"15\",\n              \"values\": [\n                \"{{Doc_MSFF_Val3ID}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"FVCondition\": \"3\",\n          \"isInvalid\": false\n        }\n      },\n      \"planningFolders\": [\n        \"{{PF_Id}}\"\n      ],\n      \"frs\": {\n        \"releaseIds\": [\n          \"{{ReleaseID1}}\"\n        ]\n      },\n      \"scms\": [],\n      \"binaries\": []\n    }\n"},"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/{{projectId}}/filter/tracker/ids"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:01:30 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Content-Length","value":"79"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"[\n    \"artf1824\",\n    \"artf1825\",\n    \"artf1826\",\n    \"artf1827\",\n    \"artf1828\",\n    \"artf1838\",\n    \"artf1839\",\n    \"artf1840\",\n    \"artf1841\",\n    \"artf1842\",\n    \"artf1843\",\n    \"artf1844\",\n    \"artf1845\",\n    \"artf1846\",\n    \"artf1847\"\n]"}],"_postman_id":"bf1df34a-5efa-497c-af71-fc02b5258ebb"},{"name":"Create Preview - Documents","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"id":"9129a162-f1bd-4296-9dc6-94482922a4d5"}}],"id":"e15e1a67-c6a1-48e9-a73c-a7978c440ca8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n      \"trackers\": [\n       {\n          \"id\": \"{{TrackerID_1}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"Artifact\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_tracker1}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_open_t1}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          }\n        },\n         {\n          \"id\": \"{{TrackerID_2}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"\",\n              \"condition\": \"\",\n              \"values\": [],\n              \"LeftFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"\",\n                      \"condition\": \"\",\n                      \"values\": [],\n                      \"LeftFV\": {\n                        \"attribute\": \"title\",\n                        \"condition\": \"5\",\n                        \"values\": [\n                          \"Artifact\"\n                        ]\n                      },\n                      \"RightFV\": {\n                        \"attribute\": \"{{priority_fildID}}\",\n                        \"condition\": \"13\",\n                        \"values\": [\n                          \"2\"\n                        ],\n                        \"FVCondition\": \"\"\n                      },\n                      \"FVCondition\": \"2\"\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{PF_fildID}}\",\n                      \"condition\": \"19\",\n                      \"values\": [\n                        \"{{PF_title}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{team_fildID}}\",\n                    \"condition\": \"19\",\n                    \"values\": [\n                      \"{{team_title}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"RightFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"{{Group_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{Group_val1_Id}}\",\n                        \"{{Group_val2_Id}}\"\n                      ]\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{Customer_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{customer_val1_Id}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{Category_ID}}\",\n                    \"condition\": \"13\",\n                    \"values\": [\n                      \"{{Category_val2_Id}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"FVCondition\": \"3\"\n              },\n              \"RightFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"{{MSFF_ID}}\",\n                  \"condition\": \"15\",\n                  \"values\": [\n                    \"{{MSFF_Val1ID}}\",\n                    \"{{MSFF_Val2ID}}\"\n                  ]\n                },\n                \"RightFV\": {\n                  \"attribute\": \"{{TkrSSFldID}}\",\n                  \"condition\": \"13\",\n                  \"values\": [\n                    \"{{TkrSSFldVal2ID}}\"\n                  ],\n                  \"FVCondition\": \"\"\n                },\n                \"FVCondition\": \"2\"\n              },\n              \"FVCondition\": \"3\"\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{reportedInRel_fildID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{ReleaseID1}}\"\n              ]\n            },\n            \"FVCondition\": \"3\"\n          }\n        }\n      ],\n      \"documentFolders\": {\n        \"folderIds\": [\n          \"{{DocRootFolderId}}\",\n          \"{{DocFolderId1}}\",\n          \"{{ChildDocFolderId}}\"\n        ],\n        \"version\": \"active\",\n        \"filters\": {\n          \"attribute\": \"\",\n          \"condition\": \"\",\n          \"values\": [],\n          \"LeftFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"doc\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_Doc}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_Draft_Doc}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"RightFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"{{DocSingleSelectFldID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{Doc_SSFF_Val2ID}}\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{DocMultiSelectFldID}}\",\n              \"condition\": \"15\",\n              \"values\": [\n                \"{{Doc_MSFF_Val3ID}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"FVCondition\": \"3\",\n          \"isInvalid\": false\n        }\n      },\n      \"planningFolders\": [\n        \"{{PF_Id}}\"\n      ],\n      \"frs\": {\n        \"releaseIds\": [\n          \"{{ReleaseID1}}\"\n        ]\n      },\n      \"scms\": [],\n      \"binaries\": []\n    }\n"},"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/{{projectId}}/filter/document/ids","description":"<p>Create a preview of documents in the project</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","{{projectId}}","filter","document","ids"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"cdef5bf0-d170-45ae-9fc5-5a12acf37f80","name":"Create Preview - Documents","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n      \"trackers\": [\n       {\n          \"id\": \"{{TrackerID_1}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"Artifact\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_tracker1}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_open_t1}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          }\n        },\n         {\n          \"id\": \"{{TrackerID_2}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"\",\n              \"condition\": \"\",\n              \"values\": [],\n              \"LeftFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"\",\n                      \"condition\": \"\",\n                      \"values\": [],\n                      \"LeftFV\": {\n                        \"attribute\": \"title\",\n                        \"condition\": \"5\",\n                        \"values\": [\n                          \"Artifact\"\n                        ]\n                      },\n                      \"RightFV\": {\n                        \"attribute\": \"{{priority_fildID}}\",\n                        \"condition\": \"13\",\n                        \"values\": [\n                          \"2\"\n                        ],\n                        \"FVCondition\": \"\"\n                      },\n                      \"FVCondition\": \"2\"\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{PF_fildID}}\",\n                      \"condition\": \"19\",\n                      \"values\": [\n                        \"{{PF_title}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{team_fildID}}\",\n                    \"condition\": \"19\",\n                    \"values\": [\n                      \"{{team_title}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"RightFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"{{Group_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{Group_val1_Id}}\",\n                        \"{{Group_val2_Id}}\"\n                      ]\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{Customer_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{customer_val1_Id}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{Category_ID}}\",\n                    \"condition\": \"13\",\n                    \"values\": [\n                      \"{{Category_val2_Id}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"FVCondition\": \"3\"\n              },\n              \"RightFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"{{MSFF_ID}}\",\n                  \"condition\": \"15\",\n                  \"values\": [\n                    \"{{MSFF_Val1ID}}\",\n                    \"{{MSFF_Val2ID}}\"\n                  ]\n                },\n                \"RightFV\": {\n                  \"attribute\": \"{{TkrSSFldID}}\",\n                  \"condition\": \"13\",\n                  \"values\": [\n                    \"{{TkrSSFldVal2ID}}\"\n                  ],\n                  \"FVCondition\": \"\"\n                },\n                \"FVCondition\": \"2\"\n              },\n              \"FVCondition\": \"3\"\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{reportedInRel_fildID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{ReleaseID1}}\"\n              ]\n            },\n            \"FVCondition\": \"3\"\n          }\n        }\n      ],\n      \"documentFolders\": {\n        \"folderIds\": [\n          \"{{DocRootFolderId}}\",\n          \"{{DocFolderId1}}\",\n          \"{{ChildDocFolderId}}\"\n        ],\n        \"version\": \"active\",\n        \"filters\": {\n          \"attribute\": \"\",\n          \"condition\": \"\",\n          \"values\": [],\n          \"LeftFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"doc\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_Doc}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_Draft_Doc}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"RightFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"{{DocSingleSelectFldID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{Doc_SSFF_Val2ID}}\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{DocMultiSelectFldID}}\",\n              \"condition\": \"15\",\n              \"values\": [\n                \"{{Doc_MSFF_Val3ID}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"FVCondition\": \"3\",\n          \"isInvalid\": false\n        }\n      },\n      \"planningFolders\": [\n        \"{{PF_Id}}\"\n      ],\n      \"frs\": {\n        \"releaseIds\": [\n          \"{{ReleaseID1}}\"\n        ]\n      },\n      \"scms\": [],\n      \"binaries\": []\n    }\n"},"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/{{projectId}}/filter/document/ids"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:02:08 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"62"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"[\n    \"doc1105\",\n    \"doc1106\",\n    \"doc1107\",\n    \"doc1108\",\n    \"doc1109\"\n]"}],"_postman_id":"e15e1a67-c6a1-48e9-a73c-a7978c440ca8"},{"name":"Create Preview - File Release","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"id":"31d90308-be54-45c0-a176-daa8c6040eb9"}}],"id":"11e7bea5-f9e5-4c1a-bccd-b4876c3736cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n      \"trackers\": [\n       {\n          \"id\": \"{{TrackerID_1}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"Artifact\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_tracker1}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_open_t1}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          }\n        },\n         {\n          \"id\": \"{{TrackerID_2}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"\",\n              \"condition\": \"\",\n              \"values\": [],\n              \"LeftFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"\",\n                      \"condition\": \"\",\n                      \"values\": [],\n                      \"LeftFV\": {\n                        \"attribute\": \"title\",\n                        \"condition\": \"5\",\n                        \"values\": [\n                          \"Artifact\"\n                        ]\n                      },\n                      \"RightFV\": {\n                        \"attribute\": \"{{priority_fildID}}\",\n                        \"condition\": \"13\",\n                        \"values\": [\n                          \"2\"\n                        ],\n                        \"FVCondition\": \"\"\n                      },\n                      \"FVCondition\": \"2\"\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{PF_fildID}}\",\n                      \"condition\": \"19\",\n                      \"values\": [\n                        \"{{PF_title}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{team_fildID}}\",\n                    \"condition\": \"19\",\n                    \"values\": [\n                      \"{{team_title}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"RightFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"{{Group_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{Group_val1_Id}}\",\n                        \"{{Group_val2_Id}}\"\n                      ]\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{Customer_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{customer_val1_Id}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{Category_ID}}\",\n                    \"condition\": \"13\",\n                    \"values\": [\n                      \"{{Category_val2_Id}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"FVCondition\": \"3\"\n              },\n              \"RightFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"{{MSFF_ID}}\",\n                  \"condition\": \"15\",\n                  \"values\": [\n                    \"{{MSFF_Val1ID}}\",\n                    \"{{MSFF_Val2ID}}\"\n                  ]\n                },\n                \"RightFV\": {\n                  \"attribute\": \"{{TkrSSFldID}}\",\n                  \"condition\": \"13\",\n                  \"values\": [\n                    \"{{TkrSSFldVal2ID}}\"\n                  ],\n                  \"FVCondition\": \"\"\n                },\n                \"FVCondition\": \"2\"\n              },\n              \"FVCondition\": \"3\"\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{reportedInRel_fildID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{ReleaseID1}}\"\n              ]\n            },\n            \"FVCondition\": \"3\"\n          }\n        }\n      ],\n      \"documentFolders\": {\n        \"folderIds\": [\n          \"{{DocRootFolderId}}\",\n          \"{{DocFolderId1}}\",\n          \"{{ChildDocFolderId}}\"\n        ],\n        \"version\": \"active\",\n        \"filters\": {\n          \"attribute\": \"\",\n          \"condition\": \"\",\n          \"values\": [],\n          \"LeftFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"doc\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_Doc}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_Draft_Doc}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"RightFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"{{DocSingleSelectFldID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{Doc_SSFF_Val2ID}}\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{DocMultiSelectFldID}}\",\n              \"condition\": \"15\",\n              \"values\": [\n                \"{{Doc_MSFF_Val3ID}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"FVCondition\": \"3\",\n          \"isInvalid\": false\n        }\n      },\n      \"planningFolders\": [\n        \"{{PF_Id}}\"\n      ],\n      \"frs\": {\n        \"releaseIds\": [\n          \"{{ReleaseID1}}\"\n        ]\n      },\n      \"scms\": [],\n      \"binaries\": []\n    }\n"},"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/{{projectId}}/filter/frs/preview","description":"<p>Creates a preview of file releases in the project</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","{{projectId}}","filter","frs","preview"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"1d9a8f60-bf1e-4d49-963c-12ea50240d70","name":"Create Preview - File Release","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n      \"trackers\": [\n       {\n          \"id\": \"{{TrackerID_1}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"Artifact\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_tracker1}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_open_t1}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          }\n        },\n         {\n          \"id\": \"{{TrackerID_2}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"\",\n              \"condition\": \"\",\n              \"values\": [],\n              \"LeftFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"\",\n                      \"condition\": \"\",\n                      \"values\": [],\n                      \"LeftFV\": {\n                        \"attribute\": \"title\",\n                        \"condition\": \"5\",\n                        \"values\": [\n                          \"Artifact\"\n                        ]\n                      },\n                      \"RightFV\": {\n                        \"attribute\": \"{{priority_fildID}}\",\n                        \"condition\": \"13\",\n                        \"values\": [\n                          \"2\"\n                        ],\n                        \"FVCondition\": \"\"\n                      },\n                      \"FVCondition\": \"2\"\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{PF_fildID}}\",\n                      \"condition\": \"19\",\n                      \"values\": [\n                        \"{{PF_title}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{team_fildID}}\",\n                    \"condition\": \"19\",\n                    \"values\": [\n                      \"{{team_title}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"RightFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"{{Group_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{Group_val1_Id}}\",\n                        \"{{Group_val2_Id}}\"\n                      ]\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{Customer_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{customer_val1_Id}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{Category_ID}}\",\n                    \"condition\": \"13\",\n                    \"values\": [\n                      \"{{Category_val2_Id}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"FVCondition\": \"3\"\n              },\n              \"RightFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"{{MSFF_ID}}\",\n                  \"condition\": \"15\",\n                  \"values\": [\n                    \"{{MSFF_Val1ID}}\",\n                    \"{{MSFF_Val2ID}}\"\n                  ]\n                },\n                \"RightFV\": {\n                  \"attribute\": \"{{TkrSSFldID}}\",\n                  \"condition\": \"13\",\n                  \"values\": [\n                    \"{{TkrSSFldVal2ID}}\"\n                  ],\n                  \"FVCondition\": \"\"\n                },\n                \"FVCondition\": \"2\"\n              },\n              \"FVCondition\": \"3\"\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{reportedInRel_fildID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{ReleaseID1}}\"\n              ]\n            },\n            \"FVCondition\": \"3\"\n          }\n        }\n      ],\n      \"documentFolders\": {\n        \"folderIds\": [\n          \"{{DocRootFolderId}}\",\n          \"{{DocFolderId1}}\",\n          \"{{ChildDocFolderId}}\"\n        ],\n        \"version\": \"active\",\n        \"filters\": {\n          \"attribute\": \"\",\n          \"condition\": \"\",\n          \"values\": [],\n          \"LeftFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"doc\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_Doc}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_Draft_Doc}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"RightFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"{{DocSingleSelectFldID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{Doc_SSFF_Val2ID}}\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{DocMultiSelectFldID}}\",\n              \"condition\": \"15\",\n              \"values\": [\n                \"{{Doc_MSFF_Val3ID}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"FVCondition\": \"3\",\n          \"isInvalid\": false\n        }\n      },\n      \"planningFolders\": [\n        \"{{PF_Id}}\"\n      ],\n      \"frs\": {\n        \"releaseIds\": [\n          \"{{ReleaseID1}}\"\n        ]\n      },\n      \"scms\": [],\n      \"binaries\": []\n    }\n"},"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/{{projectId}}/filter/frs/preview"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:02:42 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Content-Length","value":"205"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"totalResultsCount\": 1,\n    \"frsFiles\": [\n        {\n            \"frsFileName\": \"Lighthouse.jpg\",\n            \"fileSize\": \"12 KB\",\n            \"fileCreatedDate\": \"2018-10-21 15:28:53 +0530 IST\",\n            \"fileLastModifiedDate\": \"2018-10-21 15:28:53 +0530 IST\",\n            \"release\": {\n                \"title\": \"Release140\",\n                \"packageName\": \"Package582\"\n            }\n        }\n    ]\n}"}],"_postman_id":"11e7bea5-f9e5-4c1a-bccd-b4876c3736cb"},{"name":"Create Baseline","event":[{"listen":"test","script":{"id":"21c42d5b-ee63-47e5-872f-4364a6ff9c2e","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","console.log(\"customer value\", pm.environment.get(\"customer_val1_Id\"));","var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"baseId1\", jsonData.id);","","var schema = {","    \"Id\"  : \"string\",","    \"Title\" : \"string\",","    \"Description\" : \"string\",","    \"Status\" : \"string\",","    \"MetastatusValue\" : \"string\",","    \"Type\" : \"int\",","    \"ProjectId\" :  \"string\",","    \"Category\" : \"string\",","    \"Version\" : \"int\",","    \"CreatedBy\" :   \"string\",","    \"ModifiedBy\" : \"string\",","    \"ApprovedBy\" : \"string\",","    \"DateCreated\" : \"string\",","    \"DateModified\": \"string\",","    \"DateApproved\" : \"string\",","    \"BaselineDefinition\" : \"BaselineDefinitionResponse\",","    \"BDefReferenceId\" :  \"int\",","    \"FlexFields\" : [","        \"string\"","    ]","};","    ","pm.test('Schema is valid', function() {","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"ec120813-a252-437c-adea-d0255ae40302","exec":[""],"type":"text/javascript"}}],"id":"aae850b0-5aa8-4f50-a246-696e27b005de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"comparebaseline1\",\n  \"description\": \"testing with baseline compare feature\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"{{category_delivery_Id}}\",\n  \"flexFields\": [],\n  \"baselineDefinition\": {\n    \"filter\": {\n      \"trackers\": [\n       {\n          \"id\": \"{{TrackerID_0}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"Artifact\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_tracker1}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_open_t1}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          }\n        },\n         {\n          \"id\": \"{{TrackerID}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"\",\n              \"condition\": \"\",\n              \"values\": [],\n              \"LeftFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"\",\n                      \"condition\": \"\",\n                      \"values\": [],\n                      \"LeftFV\": {\n                        \"attribute\": \"title\",\n                        \"condition\": \"5\",\n                        \"values\": [\n                          \"Artifact\"\n                        ]\n                      },\n                      \"RightFV\": {\n                        \"attribute\": \"{{priority_fildID}}\",\n                        \"condition\": \"13\",\n                        \"values\": [\n                          \"2\"\n                        ],\n                        \"FVCondition\": \"\"\n                      },\n                      \"FVCondition\": \"2\"\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{PF_fildID}}\",\n                      \"condition\": \"19\",\n                      \"values\": [\n                        \"{{PF_title}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{team_fildID}}\",\n                    \"condition\": \"19\",\n                    \"values\": [\n                      \"{{Team_title}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"RightFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"{{Group_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{Group_val1_Id}}\",\n                        \"{{Group_val2_Id}}\"\n                      ]\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{Customer_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{customer_val1_Id}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{Category_ID}}\",\n                    \"condition\": \"13\",\n                    \"values\": [\n                      \"{{Category_val2_Id}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"FVCondition\": \"3\"\n              },\n              \"RightFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"{{MSFF_ID}}\",\n                  \"condition\": \"15\",\n                  \"values\": [\n                    \"{{MSFF_Val1ID}}\",\n                    \"{{MSFF_Val2ID}}\"\n                  ]\n                },\n                \"RightFV\": {\n                  \"attribute\": \"{{TkrSSFldID}}\",\n                  \"condition\": \"13\",\n                  \"values\": [\n                    \"{{TkrSSFldVal2ID}}\"\n                  ],\n                  \"FVCondition\": \"\"\n                },\n                \"FVCondition\": \"2\"\n              },\n              \"FVCondition\": \"3\"\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{reportedInRel_fildID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{ReleaseID1}}\"\n              ]\n            },\n            \"FVCondition\": \"3\"\n          }\n        }\n      ],\n      \"documentFolders\": {\n        \"folderIds\": [\n          \"{{DocRootFolderId}}\",\n          \"{{DocFolderId1}}\",\n          \"{{ChildDocFolderId}}\"\n        ],\n        \"version\": \"active\",\n        \"filters\": {\n          \"attribute\": \"\",\n          \"condition\": \"\",\n          \"values\": [],\n          \"LeftFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"doc\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_Doc}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_Draft_Doc}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"RightFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"{{DocSingleSelectFldID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{Doc_SSFF_Val2ID}}\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{DocMultiSelectFldID}}\",\n              \"condition\": \"15\",\n              \"values\": [\n                \"{{Doc_MSFF_Val3ID}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"FVCondition\": \"3\",\n          \"isInvalid\": false\n        }\n      },\n\t   \"planningFolders\": {\n    \t \"planningFolderIds\": [\n    \t   \"{{PF_Id}}\"\n    \t],\n    \t \"pfTree\": {}\n\t   },\n      \"frs\": {\n        \"releaseIds\": [\n          \"{{ReleaseID1}}\"\n        ]\n      },\n      \"scms\": [],\n      \"binaries\": []\n    }\n  }\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}","description":"<p>Creates a baseline in the project</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"99ae8d51-d930-46b4-bbff-d8630d861ee0","name":"Create Baseline","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"comparebaseline1\",\n  \"description\": \"testing with baseline compare feature\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"{{category_delivery_Id}}\",\n  \"flexFields\": [],\n  \"baselineDefinition\": {\n    \"filter\": {\n      \"trackers\": [\n       {\n          \"id\": \"{{TrackerID_0}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"Artifact\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_tracker1}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_open_t1}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          }\n        },\n         {\n          \"id\": \"{{TrackerID}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"\",\n              \"condition\": \"\",\n              \"values\": [],\n              \"LeftFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"\",\n                      \"condition\": \"\",\n                      \"values\": [],\n                      \"LeftFV\": {\n                        \"attribute\": \"title\",\n                        \"condition\": \"5\",\n                        \"values\": [\n                          \"Artifact\"\n                        ]\n                      },\n                      \"RightFV\": {\n                        \"attribute\": \"{{priority_fildID}}\",\n                        \"condition\": \"13\",\n                        \"values\": [\n                          \"2\"\n                        ],\n                        \"FVCondition\": \"\"\n                      },\n                      \"FVCondition\": \"2\"\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{PF_fildID}}\",\n                      \"condition\": \"19\",\n                      \"values\": [\n                        \"{{PF_title}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{team_fildID}}\",\n                    \"condition\": \"19\",\n                    \"values\": [\n                      \"{{Team_title}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"RightFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"{{Group_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{Group_val1_Id}}\",\n                        \"{{Group_val2_Id}}\"\n                      ]\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{Customer_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{customer_val1_Id}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{Category_ID}}\",\n                    \"condition\": \"13\",\n                    \"values\": [\n                      \"{{Category_val2_Id}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"FVCondition\": \"3\"\n              },\n              \"RightFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"{{MSFF_ID}}\",\n                  \"condition\": \"15\",\n                  \"values\": [\n                    \"{{MSFF_Val1ID}}\",\n                    \"{{MSFF_Val2ID}}\"\n                  ]\n                },\n                \"RightFV\": {\n                  \"attribute\": \"{{TkrSSFldID}}\",\n                  \"condition\": \"13\",\n                  \"values\": [\n                    \"{{TkrSSFldVal2ID}}\"\n                  ],\n                  \"FVCondition\": \"\"\n                },\n                \"FVCondition\": \"2\"\n              },\n              \"FVCondition\": \"3\"\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{reportedInRel_fildID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{ReleaseID1}}\"\n              ]\n            },\n            \"FVCondition\": \"3\"\n          }\n        }\n      ],\n      \"documentFolders\": {\n        \"folderIds\": [\n          \"{{DocRootFolderId}}\",\n          \"{{DocFolderId1}}\",\n          \"{{ChildDocFolderId}}\"\n        ],\n        \"version\": \"active\",\n        \"filters\": {\n          \"attribute\": \"\",\n          \"condition\": \"\",\n          \"values\": [],\n          \"LeftFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"doc\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_Doc}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_Draft_Doc}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"RightFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"{{DocSingleSelectFldID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{Doc_SSFF_Val2ID}}\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{DocMultiSelectFldID}}\",\n              \"condition\": \"15\",\n              \"values\": [\n                \"{{Doc_MSFF_Val3ID}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"FVCondition\": \"3\",\n          \"isInvalid\": false\n        }\n      },\n\t   \"planningFolders\": {\n    \t \"planningFolderIds\": [\n    \t   \"{{PF_Id}}\"\n    \t],\n    \t \"pfTree\": {}\n\t   },\n      \"frs\": {\n        \"releaseIds\": [\n          \"{{ReleaseID1}}\"\n        ]\n      },\n      \"scms\": [],\n      \"binaries\": []\n    }\n  }\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:03:27 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"901"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"base1270\",\n    \"title\": \"comparebaseline1430\",\n    \"description\": \"testing with baseline compare feature\",\n    \"status\": \"Submitted\",\n    \"metastatusValue\": \"\",\n    \"type\": \"Implicit\",\n    \"category\": \"Delivery Baseline\",\n    \"projectId\": \"proj1088\",\n    \"createdBy\": \"apiUser997\",\n    \"modifiedBy\": \"apiUser997\",\n    \"approvedBy\": \"\",\n    \"flexFields\": [],\n    \"dateCreated\": \"10/21/2018\",\n    \"dateModified\": \"10/21/2018\",\n    \"dateApproved\": \"\",\n    \"version\": 100,\n    \"baselineDefinition\": {\n        \"filter\": {\n            \"trackers\": null,\n            \"planningFolders\": {\n                \"planningFolderIds\": null,\n                \"pfTree\": {\n                    \"planningfolders\": null\n                }\n            },\n            \"documentFolders\": {\n                \"folderIds\": null,\n                \"version\": \"\",\n                \"filters\": {},\n                \"fields\": null,\n                \"docTree\": {\n                    \"documentFolder\": null,\n                    \"totalCount\": 0\n                }\n            },\n            \"scms\": null,\n            \"frs\": {\n                \"releaseIds\": null\n            },\n            \"binaries\": null\n        }\n    },\n    \"bDefReferenceId\": 566\n}"}],"_postman_id":"aae850b0-5aa8-4f50-a246-696e27b005de"},{"name":"Create Baseline Definition","event":[{"listen":"test","script":{"id":"d855bc7c-f2da-487b-8374-e4d84c182242","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"baseDefId1\", jsonData.id);","","","var schema = {","    \"Id\"  : \"string\",","    \"Title\" : \"string\",","    \"Description\" : \"string\",","    \"Status\" : \"string\",","    \"MetastatusValue\" : \"string\",","    \"Type\" : \"int\",","    \"ProjectId\" :  \"string\",","    \"Category\" : \"string\",","    \"Version\" : \"int\",","    \"CreatedBy\" :   \"string\",","    \"ModifiedBy\" : \"string\",","    \"ApprovedBy\" : \"string\",","    \"DateCreated\" : \"string\",","    \"DateModified\": \"string\",","    \"DateApproved\" : \"string\",","    \"BaselineDefinition\" : \"BaselineDefinitionResponse\",","    \"BDefReferenceId\" :  \"int\",","    \"FlexFields\" : [","        \"string\"","    ]","};","","pm.test('Schema is valid', function() {","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"8e4f02ae-0332-43e5-941f-3368f4ec90ad","exec":[""],"type":"text/javascript"}}],"id":"1f68bba6-d3fc-49cb-b13d-89a749407066","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"baselineDef1_1\",\n  \"description\": \"testing with baseline definition compare feature\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"{{category_delivery_Id}}\",\n\t\"type\": \"Explicit\",\n\t\"filter\": {\n      \"trackers\": [\n       {\n          \"id\": \"{{TrackerID_0}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"Artifact\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_tracker1}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_open_t1}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          }\n        },\n         {\n          \"id\": \"{{TrackerID}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"\",\n              \"condition\": \"\",\n              \"values\": [],\n              \"LeftFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"\",\n                      \"condition\": \"\",\n                      \"values\": [],\n                      \"LeftFV\": {\n                        \"attribute\": \"title\",\n                        \"condition\": \"5\",\n                        \"values\": [\n                          \"Artifact\"\n                        ]\n                      },\n                      \"RightFV\": {\n                        \"attribute\": \"{{priority_fildID}}\",\n                        \"condition\": \"13\",\n                        \"values\": [\n                          \"2\"\n                        ],\n                        \"FVCondition\": \"\"\n                      },\n                      \"FVCondition\": \"2\"\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{PF_fildID}}\",\n                      \"condition\": \"19\",\n                      \"values\": [\n                        \"{{PF_title}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{team_fildID}}\",\n                    \"condition\": \"19\",\n                    \"values\": [\n                      \"{{Team_title}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"RightFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"{{Group_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{Group_val1_Id}}\",\n                        \"{{Group_val2_Id}}\"\n                      ]\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{Customer_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{customer_val1_Id}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{Category_ID}}\",\n                    \"condition\": \"13\",\n                    \"values\": [\n                      \"{{Category_val2_Id}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"FVCondition\": \"3\"\n              },\n              \"RightFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"{{MSFF_ID}}\",\n                  \"condition\": \"15\",\n                  \"values\": [\n                    \"{{MSFF_Val1ID}}\",\n                    \"{{MSFF_Val2ID}}\"\n                  ]\n                },\n                \"RightFV\": {\n                  \"attribute\": \"{{TkrSSFldID}}\",\n                  \"condition\": \"13\",\n                  \"values\": [\n                    \"{{TkrSSFldVal2ID}}\"\n                  ],\n                  \"FVCondition\": \"\"\n                },\n                \"FVCondition\": \"2\"\n              },\n              \"FVCondition\": \"3\"\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{reportedInRel_fildID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{ReleaseID1}}\"\n              ]\n            },\n            \"FVCondition\": \"3\"\n          }\n        }\n      ],\n      \"documentFolders\": {\n        \"folderIds\": [\n          \"{{DocRootFolderId}}\",\n          \"{{DocFolderId1}}\",\n          \"{{ChildDocFolderId}}\"\n        ],\n        \"version\": \"active\",\n        \"filters\": {\n          \"attribute\": \"\",\n          \"condition\": \"\",\n          \"values\": [],\n          \"LeftFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"doc\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_Doc}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_Draft_Doc}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"RightFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"{{DocSingleSelectFldID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{Doc_SSFF_Val2ID}}\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{DocMultiSelectFldID}}\",\n              \"condition\": \"15\",\n              \"values\": [\n                \"{{Doc_MSFF_Val3ID}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"FVCondition\": \"3\",\n          \"isInvalid\": false\n        }\n      },\n      \"planningFolders\": {\n    \t \"planningFolderIds\": [\n    \t   \"{{PF_Id}}\"\n    \t],\n    \t \"pfTree\": {}\n\t   },\n      \"frs\": {\n        \"releaseIds\": [\n          \"{{ReleaseID1}}\"\n        ]\n      },\n      \"scms\": [],\n      \"binaries\": []\n    }\n  }\n"},"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/{{projectId}}","description":"<p>Creates a baseline definition in the project</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"3ba6fbaf-b4a9-47bd-9ac4-1f6f9c4880c1","name":"Create Baseline Definition","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"baselineDef1_1\",\n  \"description\": \"testing with baseline definition compare feature\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"{{category_delivery_Id}}\",\n\t\"type\": \"Explicit\",\n\t\"filter\": {\n      \"trackers\": [\n       {\n          \"id\": \"{{TrackerID_0}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"Artifact\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_tracker1}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_open_t1}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          }\n        },\n         {\n          \"id\": \"{{TrackerID}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"\",\n              \"condition\": \"\",\n              \"values\": [],\n              \"LeftFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"\",\n                      \"condition\": \"\",\n                      \"values\": [],\n                      \"LeftFV\": {\n                        \"attribute\": \"title\",\n                        \"condition\": \"5\",\n                        \"values\": [\n                          \"Artifact\"\n                        ]\n                      },\n                      \"RightFV\": {\n                        \"attribute\": \"{{priority_fildID}}\",\n                        \"condition\": \"13\",\n                        \"values\": [\n                          \"2\"\n                        ],\n                        \"FVCondition\": \"\"\n                      },\n                      \"FVCondition\": \"2\"\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{PF_fildID}}\",\n                      \"condition\": \"19\",\n                      \"values\": [\n                        \"{{PF_title}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{team_fildID}}\",\n                    \"condition\": \"19\",\n                    \"values\": [\n                      \"{{Team_title}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"RightFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"{{Group_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{Group_val1_Id}}\",\n                        \"{{Group_val2_Id}}\"\n                      ]\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{Customer_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{customer_val1_Id}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{Category_ID}}\",\n                    \"condition\": \"13\",\n                    \"values\": [\n                      \"{{Category_val2_Id}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"FVCondition\": \"3\"\n              },\n              \"RightFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"{{MSFF_ID}}\",\n                  \"condition\": \"15\",\n                  \"values\": [\n                    \"{{MSFF_Val1ID}}\",\n                    \"{{MSFF_Val2ID}}\"\n                  ]\n                },\n                \"RightFV\": {\n                  \"attribute\": \"{{TkrSSFldID}}\",\n                  \"condition\": \"13\",\n                  \"values\": [\n                    \"{{TkrSSFldVal2ID}}\"\n                  ],\n                  \"FVCondition\": \"\"\n                },\n                \"FVCondition\": \"2\"\n              },\n              \"FVCondition\": \"3\"\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{reportedInRel_fildID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{ReleaseID1}}\"\n              ]\n            },\n            \"FVCondition\": \"3\"\n          }\n        }\n      ],\n      \"documentFolders\": {\n        \"folderIds\": [\n          \"{{DocRootFolderId}}\",\n          \"{{DocFolderId1}}\",\n          \"{{ChildDocFolderId}}\"\n        ],\n        \"version\": \"active\",\n        \"filters\": {\n          \"attribute\": \"\",\n          \"condition\": \"\",\n          \"values\": [],\n          \"LeftFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"doc\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_Doc}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_Draft_Doc}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"RightFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"{{DocSingleSelectFldID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{Doc_SSFF_Val2ID}}\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{DocMultiSelectFldID}}\",\n              \"condition\": \"15\",\n              \"values\": [\n                \"{{Doc_MSFF_Val3ID}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"FVCondition\": \"3\",\n          \"isInvalid\": false\n        }\n      },\n      \"planningFolders\": {\n    \t \"planningFolderIds\": [\n    \t   \"{{PF_Id}}\"\n    \t],\n    \t \"pfTree\": {}\n\t   },\n      \"frs\": {\n        \"releaseIds\": [\n          \"{{ReleaseID1}}\"\n        ]\n      },\n      \"scms\": [],\n      \"binaries\": []\n    }\n  }\n"},"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/{{projectId}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:04:15 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"331"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"bdef1537\",\n    \"title\": \"baselineDef1_546\",\n    \"description\": \"testing with baseline definition compare feature\",\n    \"category\": \"Delivery Baseline\",\n    \"type\": \"Explicit\",\n    \"createdBy\": \"user1161\",\n    \"dateCreated\": \"10/21/2018\",\n    \"modifiedBy\": \"user1161\",\n    \"dateModified\": \"10/21/2018\",\n    \"version\": 100,\n    \"projectId\": \"proj1088\"\n}"},{"id":"b1b79822-0a03-4cd8-8824-f95f8851d262","name":"Create Baseline Definition","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"baselineDef1_1\",\n  \"description\": \"testing with baseline definition compare feature\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"{{category_delivery_Id}}\",\n\t\"type\": \"Explicit\",\n\t\"filter\": {\n      \"trackers\": [\n       {\n          \"id\": \"{{TrackerID_0}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"Artifact\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_tracker1}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_open_t1}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          }\n        },\n         {\n          \"id\": \"{{TrackerID}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"\",\n              \"condition\": \"\",\n              \"values\": [],\n              \"LeftFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"\",\n                      \"condition\": \"\",\n                      \"values\": [],\n                      \"LeftFV\": {\n                        \"attribute\": \"title\",\n                        \"condition\": \"5\",\n                        \"values\": [\n                          \"Artifact\"\n                        ]\n                      },\n                      \"RightFV\": {\n                        \"attribute\": \"{{priority_fildID}}\",\n                        \"condition\": \"13\",\n                        \"values\": [\n                          \"2\"\n                        ],\n                        \"FVCondition\": \"\"\n                      },\n                      \"FVCondition\": \"2\"\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{PF_fildID}}\",\n                      \"condition\": \"19\",\n                      \"values\": [\n                        \"{{PF_title}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{team_fildID}}\",\n                    \"condition\": \"19\",\n                    \"values\": [\n                      \"{{Team_title}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"RightFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"{{Group_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{Group_val1_Id}}\",\n                        \"{{Group_val2_Id}}\"\n                      ]\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{Customer_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{customer_val1_Id}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{Category_ID}}\",\n                    \"condition\": \"13\",\n                    \"values\": [\n                      \"{{Category_val2_Id}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"FVCondition\": \"3\"\n              },\n              \"RightFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"{{MSFF_ID}}\",\n                  \"condition\": \"15\",\n                  \"values\": [\n                    \"{{MSFF_Val1ID}}\",\n                    \"{{MSFF_Val2ID}}\"\n                  ]\n                },\n                \"RightFV\": {\n                  \"attribute\": \"{{TkrSSFldID}}\",\n                  \"condition\": \"13\",\n                  \"values\": [\n                    \"{{TkrSSFldVal2ID}}\"\n                  ],\n                  \"FVCondition\": \"\"\n                },\n                \"FVCondition\": \"2\"\n              },\n              \"FVCondition\": \"3\"\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{reportedInRel_fildID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{ReleaseID1}}\"\n              ]\n            },\n            \"FVCondition\": \"3\"\n          }\n        }\n      ],\n      \"documentFolders\": {\n        \"folderIds\": [\n          \"{{DocRootFolderId}}\",\n          \"{{DocFolderId1}}\",\n          \"{{ChildDocFolderId}}\"\n        ],\n        \"version\": \"active\",\n        \"filters\": {\n          \"attribute\": \"\",\n          \"condition\": \"\",\n          \"values\": [],\n          \"LeftFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"doc\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_Doc}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_Draft_Doc}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"RightFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"{{DocSingleSelectFldID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{Doc_SSFF_Val2ID}}\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{DocMultiSelectFldID}}\",\n              \"condition\": \"15\",\n              \"values\": [\n                \"{{Doc_MSFF_Val3ID}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"FVCondition\": \"3\",\n          \"isInvalid\": false\n        }\n      },\n      \"planningFolders\": {\n    \t \"planningFolderIds\": [\n    \t   \"{{PF_Id}}\"\n    \t],\n    \t \"pfTree\": {}\n\t   },\n      \"frs\": {\n        \"releaseIds\": [\n          \"{{ReleaseID1}}\"\n        ]\n      },\n      \"scms\": [],\n      \"binaries\": []\n    }\n  }\n"},"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/{{projectId}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:04:15 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"331"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"bdef1537\",\n    \"title\": \"baselineDef1_546\",\n    \"description\": \"testing with baseline definition compare feature\",\n    \"category\": \"Delivery Baseline\",\n    \"type\": \"Explicit\",\n    \"createdBy\": \"user1161\",\n    \"dateCreated\": \"10/21/2018\",\n    \"modifiedBy\": \"user1161\",\n    \"dateModified\": \"10/21/2018\",\n    \"version\": 100,\n    \"projectId\": \"proj1088\"\n}"}],"_postman_id":"1f68bba6-d3fc-49cb-b13d-89a749407066"},{"name":"Get Baseline By ID","event":[{"listen":"test","script":{"id":"16b1d914-4820-4d50-96ef-703ebac4e9f8","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","var baseid = pm.environment.get(\"baseId1\");","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include(baseid);","});","","","var schema = {","    \"Id\"  : \"string\",","    \"Title\" : \"string\",","    \"Description\" : \"string\",","    \"Status\" : \"string\",","    \"MetastatusValue\" : \"string\",","    \"Type\" : \"int\",","    \"ProjectId\" :  \"string\",","    \"Category\" : \"string\",","    \"Version\" : \"int\",","    \"CreatedBy\" :   \"string\",","    \"ModifiedBy\" : \"string\",","    \"ApprovedBy\" : \"string\",","    \"DateCreated\" : \"string\",","    \"DateModified\": \"string\",","    \"DateApproved\" : \"string\",","    \"BaselineDefinition\" : \"BaselineDefinitionResponse\",","    \"BDefReferenceId\" :  \"int\",","    \"FlexFields\" : [","        \"string\"","    ]","};","","pm.test('Schema is valid', function() {","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}}],"id":"2ea6c914-b3a6-4deb-95ba-6c67f199b1cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/{{baseId1}}","description":"<p>Get a baseline by its ID</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","{{baseId1}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2ea6c914-b3a6-4deb-95ba-6c67f199b1cf"},{"name":"Get Tracker Field Value By Field ID","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"id":"777db955-3acf-475a-bdab-38cf4a48fb4f"}}],"id":"ea549366-ab81-4a3f-958f-43d02979ec44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/{{priority_fildID}}/values","description":"<p>Gets values for Tracker fields using field id</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","{{priority_fildID}}","values"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea549366-ab81-4a3f-958f-43d02979ec44"},{"name":"Get Artifact List","event":[{"listen":"test","script":{"id":"a1a45255-1f77-48bc-87a4-9ae70085dc0f","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","","for(var i=0; i<3; i++){","    postman.setEnvironmentVariable(\"ArtifactID\"+i+\"\", jsonData.items[i].id);","}"],"type":"text/javascript"}}],"id":"a0e0f0e8-411c-4e68-88dc-5ff1b89f2bd3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/tracker/v1/artifacts?containerid={{TrackerID}}&includeIconLinks=false&sortBy=-lastModifiedDate&offset=0&count=-1&fullPageInfo=true","description":"<p>Gets the list of artifacts in a Tracker</p>\n","urlObject":{"path":["ctfrest","tracker","v1","artifacts"],"host":["{{HostName}}"],"query":[{"key":"containerid","value":"{{TrackerID}}"},{"key":"includeIconLinks","value":"false"},{"key":"sortBy","value":"-lastModifiedDate"},{"key":"offset","value":"0"},{"key":"count","value":"-1"},{"key":"fullPageInfo","value":"true"}],"variable":[]}},"response":[{"id":"a547f031-c2b6-4df0-9ce2-2f6c92ee83bd","name":"GetArtifactList(Tracker4)","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":{"raw":"{{HostName}}/ctfrest/tracker/v1/artifacts?containerid={{TrackerID}}&includeIconLinks=false&sortBy=-lastModifiedDate&offset=0&count=-1&fullPageInfo=true","host":["{{HostName}}"],"path":["ctfrest","tracker","v1","artifacts"],"query":[{"key":"containerid","value":"{{TrackerID}}"},{"key":"includeIconLinks","value":"false"},{"key":"sortBy","value":"-lastModifiedDate"},{"key":"offset","value":"0"},{"key":"count","value":"-1"},{"key":"fullPageInfo","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Oct 2018 06:39:14 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Content-Length","value":"1054"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"collection\",\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts?containerId=tracker1173&sortBy=-lastModifiedDate&offset=0&count=3\"\n        }\n    },\n    \"items\": [\n        {\n            \"_type\": \"GetSimpleArtifactEntity\",\n            \"id\": \"artf1757\",\n            \"title\": \"SubPF_SubTeam_Artifact674\",\n            \"description\": \"Pf artifact created via REST API\",\n            \"projectId\": \"proj1083\",\n            \"path\": \"projects.baselineapiprojectwithdataset559/tracker.tracker717/artf1757\",\n            \"folderId\": \"tracker1173\",\n            \"category\": \"Cat2242\",\n            \"group\": \"group3726\",\n            \"status\": \"InProgress480\",\n            \"statusClass\": \"Open\",\n            \"customer\": \"customer2261\",\n            \"priority\": 3,\n            \"estimatedEffort\": 0,\n            \"actualEffort\": 0,\n            \"remainingEffort\": 0,\n            \"autoSumming\": true,\n            \"points\": 0,\n            \"autoSummingPoints\": true,\n            \"closeDate\": null,\n            \"assignedTo\": \"nobody\",\n            \"teamId\": \"team1123\",\n            \"planningFolderId\": \"plan1173\",\n            \"flexFields\": [\n                {\n                    \"name\": \"Text Field473\",\n                    \"values\": [\n                        \"\"\n                    ],\n                    \"type\": \"String\"\n                },\n                {\n                    \"name\": \"Multi Select15\",\n                    \"values\": [\n                        \"MSValue3\",\n                        \"MSValue2\"\n                    ],\n                    \"type\": \"String\"\n                },\n                {\n                    \"name\": \"UserField323\",\n                    \"values\": [\n                        \"apiUser77\"\n                    ],\n                    \"type\": \"USER\"\n                },\n                {\n                    \"name\": \"Single Select109\",\n                    \"values\": [\n                        \"\"\n                    ],\n                    \"type\": \"String\"\n                },\n                {\n                    \"name\": \"Single Select372\",\n                    \"values\": [\n                        \"\"\n                    ],\n                    \"type\": \"String\"\n                },\n                {\n                    \"name\": \"Single Select174\",\n                    \"values\": [\n                        \"SSValue2\"\n                    ],\n                    \"type\": \"String\"\n                },\n                {\n                    \"name\": \"ChildSingleSelect593\",\n                    \"values\": [\n                        \"\"\n                    ],\n                    \"type\": \"String\"\n                },\n                {\n                    \"name\": \"DateField803\",\n                    \"values\": null,\n                    \"type\": \"DATE\"\n                },\n                {\n                    \"name\": \"DateField242\",\n                    \"values\": null,\n                    \"type\": \"DATE\"\n                }\n            ],\n            \"createdBy\": \"apiUser77\",\n            \"lastModifiedDate\": \"2018-10-11T05:49:10.000+0000\",\n            \"createdDate\": \"2018-10-11T05:49:10.000+0000\",\n            \"version\": 100,\n            \"_links\": {\n                \"self\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts/artf1757\"\n                },\n                \"update\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts/artf1757?$If-Match=W%2F%22100%22\",\n                    \"method\": \"PATCH\"\n                },\n                \"delete\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts/artf1757\",\n                    \"method\": \"DELETE\"\n                }\n            },\n            \"folderTitle\": \"Tracker108\",\n            \"folderPath\": \"tracker.tracker717\",\n            \"projectTitle\": \"baselineapiprojectwithdataset595\",\n            \"projectPath\": \"projects.baselineapiprojectwithdataset559\",\n            \"createdByFullname\": \"apiUser544\",\n            \"assignedToFullname\": \"No user\"\n        },\n        {\n            \"_type\": \"GetSimpleArtifactEntity\",\n            \"id\": \"artf1756\",\n            \"title\": \"PF_Team_Artifact221\",\n            \"description\": \"Pf artifact created via REST API\",\n            \"projectId\": \"proj1083\",\n            \"path\": \"projects.baselineapiprojectwithdataset559/tracker.tracker717/artf1756\",\n            \"folderId\": \"tracker1173\",\n            \"category\": \"Cat1709\",\n            \"group\": \"group139\",\n            \"status\": \"Open\",\n            \"statusClass\": \"Open\",\n            \"customer\": \"customer1869\",\n            \"priority\": 2,\n            \"estimatedEffort\": 0,\n            \"actualEffort\": 0,\n            \"remainingEffort\": 0,\n            \"autoSumming\": true,\n            \"points\": 0,\n            \"autoSummingPoints\": true,\n            \"closeDate\": null,\n            \"assignedTo\": \"nobody\",\n            \"teamId\": \"team1122\",\n            \"planningFolderId\": \"plan1172\",\n            \"flexFields\": [\n                {\n                    \"name\": \"Text Field473\",\n                    \"values\": [\n                        \"\"\n                    ],\n                    \"type\": \"String\"\n                },\n                {\n                    \"name\": \"Multi Select15\",\n                    \"values\": [\n                        \"MSValue1\",\n                        \"MSValue2\"\n                    ],\n                    \"type\": \"String\"\n                },\n                {\n                    \"name\": \"UserField323\",\n                    \"values\": [\n                        \"apiUser77\"\n                    ],\n                    \"type\": \"USER\"\n                },\n                {\n                    \"name\": \"Single Select109\",\n                    \"values\": [\n                        \"\"\n                    ],\n                    \"type\": \"String\"\n                },\n                {\n                    \"name\": \"Single Select372\",\n                    \"values\": [\n                        \"\"\n                    ],\n                    \"type\": \"String\"\n                },\n                {\n                    \"name\": \"Single Select174\",\n                    \"values\": [\n                        \"SSValue1\"\n                    ],\n                    \"type\": \"String\"\n                },\n                {\n                    \"name\": \"ChildSingleSelect593\",\n                    \"values\": [\n                        \"CSSVal1\"\n                    ],\n                    \"type\": \"String\"\n                },\n                {\n                    \"name\": \"DateField803\",\n                    \"values\": null,\n                    \"type\": \"DATE\"\n                },\n                {\n                    \"name\": \"DateField242\",\n                    \"values\": null,\n                    \"type\": \"DATE\"\n                }\n            ],\n            \"createdBy\": \"apiUser77\",\n            \"lastModifiedDate\": \"2018-10-11T05:48:36.000+0000\",\n            \"createdDate\": \"2018-10-11T05:48:36.000+0000\",\n            \"version\": 100,\n            \"_links\": {\n                \"self\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts/artf1756\"\n                },\n                \"update\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts/artf1756?$If-Match=W%2F%22100%22\",\n                    \"method\": \"PATCH\"\n                },\n                \"delete\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts/artf1756\",\n                    \"method\": \"DELETE\"\n                }\n            },\n            \"folderTitle\": \"Tracker108\",\n            \"folderPath\": \"tracker.tracker717\",\n            \"projectTitle\": \"baselineapiprojectwithdataset595\",\n            \"projectPath\": \"projects.baselineapiprojectwithdataset559\",\n            \"createdByFullname\": \"apiUser544\",\n            \"assignedToFullname\": \"No user\"\n        },\n        {\n            \"_type\": \"GetSimpleArtifactEntity\",\n            \"id\": \"artf1755\",\n            \"title\": \"Test Artifact983\",\n            \"description\": \"Test Artifact\",\n            \"projectId\": \"proj1083\",\n            \"path\": \"projects.baselineapiprojectwithdataset559/tracker.tracker717/artf1755\",\n            \"folderId\": \"tracker1173\",\n            \"category\": \"\",\n            \"group\": \"\",\n            \"status\": \"Open\",\n            \"statusClass\": \"Open\",\n            \"customer\": \"\",\n            \"priority\": 3,\n            \"estimatedEffort\": 20,\n            \"actualEffort\": 0,\n            \"remainingEffort\": 10,\n            \"autoSumming\": false,\n            \"points\": 10,\n            \"autoSummingPoints\": false,\n            \"closeDate\": null,\n            \"assignedTo\": \"nobody\",\n            \"teamId\": null,\n            \"planningFolderId\": null,\n            \"flexFields\": [\n                {\n                    \"name\": \"Text Field473\",\n                    \"values\": [\n                        null\n                    ],\n                    \"type\": \"String\"\n                },\n                {\n                    \"name\": \"Multi Select15\",\n                    \"values\": null,\n                    \"type\": \"String\"\n                },\n                {\n                    \"name\": \"UserField323\",\n                    \"values\": null,\n                    \"type\": \"USER\"\n                },\n                {\n                    \"name\": \"Single Select109\",\n                    \"values\": [\n                        \"\"\n                    ],\n                    \"type\": \"String\"\n                },\n                {\n                    \"name\": \"Single Select372\",\n                    \"values\": [\n                        \"\"\n                    ],\n                    \"type\": \"String\"\n                },\n                {\n                    \"name\": \"Single Select174\",\n                    \"values\": [\n                        \"\"\n                    ],\n                    \"type\": \"String\"\n                },\n                {\n                    \"name\": \"ChildSingleSelect593\",\n                    \"values\": [\n                        \"\"\n                    ],\n                    \"type\": \"String\"\n                },\n                {\n                    \"name\": \"DateField803\",\n                    \"values\": null,\n                    \"type\": \"DATE\"\n                },\n                {\n                    \"name\": \"DateField242\",\n                    \"values\": null,\n                    \"type\": \"DATE\"\n                }\n            ],\n            \"createdBy\": \"apiUser77\",\n            \"lastModifiedDate\": \"2018-10-11T05:25:17.000+0000\",\n            \"createdDate\": \"2018-10-11T05:25:17.000+0000\",\n            \"version\": 100,\n            \"_links\": {\n                \"self\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts/artf1755\"\n                },\n                \"update\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts/artf1755?$If-Match=W%2F%22100%22\",\n                    \"method\": \"PATCH\"\n                },\n                \"delete\": {\n                    \"href\": \"https://teamforge.collab.net/ctfrest/tracker/v1/artifacts/artf1755\",\n                    \"method\": \"DELETE\"\n                }\n            },\n            \"folderTitle\": \"Tracker108\",\n            \"folderPath\": \"tracker.tracker717\",\n            \"projectTitle\": \"baselineapiprojectwithdataset595\",\n            \"projectPath\": \"projects.baselineapiprojectwithdataset559\",\n            \"createdByFullname\": \"apiUser544\",\n            \"assignedToFullname\": \"No user\"\n        }\n    ],\n    \"paged\": true,\n    \"offset\": 0,\n    \"pageSize\": 3,\n    \"total\": 3\n}"}],"_postman_id":"a0e0f0e8-411c-4e68-88dc-5ff1b89f2bd3"},{"name":"Update Artifact","event":[{"listen":"test","script":{"id":"4e352744-8606-4625-a40c-ad4acc4dd1c2","exec":["var jsonData=JSON.parse(responseBody);","","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"d428225e-d6d1-4cf4-ba87-f974ed7311de","exec":[""],"type":"text/javascript"}}],"id":"675516b1-2f37-4e92-9404-cfa3db62a7fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","value":"W/*"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Updating an artifact for d4 color component check in compare baseline\",\r\n  \"status\": \"Pending\",\r\n  \"priority\": 2,\r\n  \"teamId\": \"{{Team_Id}}\",\r\n  \"assignedTo\": \"{{userName}}\"\r\n}"},"url":"{{HostName}}/ctfrest/tracker/v1/artifacts/{{Tracker_1_ArtifactID1}}","description":"<p>Updates an artifact in a Tracker</p>\n","urlObject":{"path":["ctfrest","tracker","v1","artifacts","{{Tracker_1_ArtifactID1}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"675516b1-2f37-4e92-9404-cfa3db62a7fe"},{"name":"List Baseline Definition","event":[{"listen":"test","script":{"id":"e38b3d47-7a4d-4b77-82fc-5fa3ccfc6541","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","","var schema = {","    \"Offset\" : \"int\",","    \"Limit\" : \"int\",","    \"TotalCount\" : \"int\",","     \"BaselineDefinitions\": [","         \"string\"","        ]","};","","pm.test('Schema is valid', function() {","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","//   \"Id\" : \"string\",","//             \"Title\" :  \"string\",","//             \"Description\" : \"string\",","//             \"Category\" : \"string\",","//             \"Type\"  : \"string\",","//             \"ProjectId\" : \"string\",","//             \"Version\" :   \"int\",","//             \"CreatedBy\" : \"string\",","//             \"UpdatedBy\" :  \"string\",","//             \"DateCreated\" : \"string\",","//             \"DateUpdated\" : \"string\",","//             \"Filters\": { ","//                 \"TrackerFilterIds\" : [","//                     \"string\"","//                     ],  ","//                 \"TrackerFilterGroupIds\" : [","//                     \"string\"","//                     ],","//                 \"DocumentFilterIds\" : [","//                     \"string\"","//                     ],","//                 \"DocumentFilterGroupIds\" : [","//                     \"string\"","//                     ],","//                 \"FrsFilterIds\" : [","//                     \"string\"","//                     ],","//                 \"ScmFilterIds\" : [","//                     \"string\"","//                     ],","//                 \"BinaryFilterIds\" : [","//                     \"string\"","//                     ]","//                 }"],"type":"text/javascript"}}],"id":"1ee95c87-2939-4e5d-b23d-7082f6128ec5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/{{projectId}}/search","description":"<p>Creates the list of baseline definitions</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","by-project","{{projectId}}","search"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"55e03024-c62d-44ee-9b6d-17193cdaf805","name":"List Baseline Definition","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/{{projectId}}/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:08:25 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Content-Length","value":"383"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"baselineDefinitions\": [\n        {\n            \"id\": \"bdef1537\",\n            \"title\": \"baselineDef1_546\",\n            \"description\": \"testing with baseline definition compare feature\",\n            \"category\": \"Delivery Baseline\",\n            \"type\": \"Explicit\",\n            \"projectId\": \"proj1088\",\n            \"version\": 100,\n            \"createdBy\": \"apiUser997\",\n            \"modifiedBy\": \"apiUser997\",\n            \"dateCreated\": \"10/21/2018\",\n            \"dateLastModified\": \"10/21/2018\",\n            \"filter\": {\n                \"trackers\": null,\n                \"planningFolders\": {\n                    \"planningFolderIds\": null,\n                    \"pfTree\": {\n                        \"planningfolders\": null\n                    }\n                },\n                \"documentFolders\": {\n                    \"folderIds\": null,\n                    \"version\": \"\",\n                    \"filters\": {},\n                    \"fields\": null,\n                    \"docTree\": {\n                        \"documentFolder\": null,\n                        \"totalCount\": 0\n                    }\n                },\n                \"scms\": null,\n                \"frs\": {\n                    \"releaseIds\": null\n                },\n                \"binaries\": null\n            }\n        }\n    ],\n    \"limit\": 10,\n    \"totalCount\": 1\n}"}],"_postman_id":"1ee95c87-2939-4e5d-b23d-7082f6128ec5"},{"name":"Get SCM Tags","event":[{"listen":"test","script":{"id":"34de3402-3cd2-4d9d-9268-addb4ab62ae7","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","",""],"type":"text/javascript"}}],"id":"a803d751-6d55-42bd-9a5e-aef98b19e106","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Token}}","type":"text"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/scm/repsid/tags?limit=5&start=0","description":"<p>Gets tag details from SCM repositories</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","scm","repsid","tags"],"host":["{{HostName}}"],"query":[{"key":"limit","value":"5"},{"key":"start","value":"0"}],"variable":[]}},"response":[],"_postman_id":"a803d751-6d55-42bd-9a5e-aef98b19e106"},{"name":"Search SCM Tags","event":[{"listen":"test","script":{"id":"a5338c6e-f304-441d-a294-87447ca346fd","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","",""],"type":"text/javascript"}}],"id":"fe5d7954-a853-48db-a0f9-26c880fe8c39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Token}}","type":"text"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/scm/repsid/tags?limit=5&start=0&searchString=tag_id","description":"<p>Searches for tags in SCM repositories</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","scm","repsid","tags"],"host":["{{HostName}}"],"query":[{"key":"limit","value":"5"},{"key":"start","value":"0"},{"key":"searchString","value":"tag_id"}],"variable":[]}},"response":[],"_postman_id":"fe5d7954-a853-48db-a0f9-26c880fe8c39"},{"name":"Get Binaries List","event":[{"listen":"test","script":{"id":"d184b730-5a75-4043-9d43-576f4c4e267f","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});",""],"type":"text/javascript"}}],"id":"f5e6a5d3-4e8e-4de3-b6e1-cef4b3f509c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Token}}","type":"text"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/binaries/by-project/{{projectId}}","description":"<p>Gets the list of binary repositories</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","binaries","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f5e6a5d3-4e8e-4de3-b6e1-cef4b3f509c9"},{"name":"Delete Baseline","id":"25aec3a5-05f7-4d49-a920-52b6833d7001","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer eyJraWQiOiIxIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImF1ZCI6WyJzb2FwNjAiLCJjdGYiLCJzdm4iLCJnZXJyaXQiXSwibmJmIjoxNTg4NzQzNzE5LCJhbXIiOlsidXJuOmN0ZjphbXI6dXB3ZCJdLCJpc3MiOiJ1cm46Y3RmOmlzczp0Zi1pZHAiLCJleHAiOjE1ODg3NDczMTksImlhdCI6MTU4ODc0MzcxOSwianRpIjoiYzE3MDkwMTMtZTIwNC00ZmY2LTk0YTYtMTk3MzVlMDIzMzk1In0.ZekeqiqZmtm5xyOZ5K6beVZP8NE9aQ_RAJisirDW8FiLGV4UJYlC2HtdNVLtBkVYgxcrEjs3YeBzuENencyg4jvvEDyY2o93glTswKZsXZIxF6uXL36FPj-wkmtO-aSVOQfqACGaG5_BUqQ_cJBWzlQZkq_SsgDIXS1Z8PAktdM"}],"body":{"mode":"raw","raw":"{\n\t\"comment\": \"baseline base1002 deleted\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/{{baselineId}}","description":"<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Since TeamForge 20.1\n</code></pre><p>Deletes a baseline that is in either Open or Rejected meta status. Adding a comment is mandatory when you delete a baseline. For example, you must pass the following comment attribute when you delete a baseline with this API. </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"comment\": \"Deleting baseline base1002 as it was rejected.\"\n}\n</code></pre>\n<p>Response Codes</p>\n<ul>\n<li>500 - Internal Server Error</li>\n<li>400 - Invalid Baseline Id</li>\n<li>200 - Deleted Successfully</li>\n<li>403 - Permission Denied</li>\n</ul>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","{{baselineId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"5ae7affa-ae7b-4a96-a2f5-ce4d4926b074","name":"Delete Baseline—Permission Denied","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJraWQiOiIxIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImF1ZCI6WyJzb2FwNjAiLCJjdGYiLCJzdm4iLCJnZXJyaXQiXSwibmJmIjoxNTg4NzQzNzE5LCJhbXIiOlsidXJuOmN0ZjphbXI6dXB3ZCJdLCJpc3MiOiJ1cm46Y3RmOmlzczp0Zi1pZHAiLCJleHAiOjE1ODg3NDczMTksImlhdCI6MTU4ODc0MzcxOSwianRpIjoiYzE3MDkwMTMtZTIwNC00ZmY2LTk0YTYtMTk3MzVlMDIzMzk1In0.ZekeqiqZmtm5xyOZ5K6beVZP8NE9aQ_RAJisirDW8FiLGV4UJYlC2HtdNVLtBkVYgxcrEjs3YeBzuENencyg4jvvEDyY2o93glTswKZsXZIxF6uXL36FPj-wkmtO-aSVOQfqACGaG5_BUqQ_cJBWzlQZkq_SsgDIXS1Z8PAktdM","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"comment\": \"baseline base1002 deleted\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/{{baselineId}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 06 May 2020 05:44:35 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"171"},{"key":"Set-Cookie","value":"JSESSIONID=JD7ImzLaVFw-OUISRrXdhKRe-7g38frdcRsjBJyg.tf; path=/ctfrest; secure; HttpOnly"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"PermissionDenied\",\n    \"message\": \"User do not have sufficient permissions: Permission Denied\"\n}"},{"id":"83858ee0-ffeb-42dc-941c-cb93462b42e1","name":"Delete Baseline—Successful","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJraWQiOiIxIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImF1ZCI6WyJzb2FwNjAiLCJjdGYiLCJzdm4iLCJnZXJyaXQiXSwibmJmIjoxNTg4NzQzNzE5LCJhbXIiOlsidXJuOmN0ZjphbXI6dXB3ZCJdLCJpc3MiOiJ1cm46Y3RmOmlzczp0Zi1pZHAiLCJleHAiOjE1ODg3NDczMTksImlhdCI6MTU4ODc0MzcxOSwianRpIjoiYzE3MDkwMTMtZTIwNC00ZmY2LTk0YTYtMTk3MzVlMDIzMzk1In0.ZekeqiqZmtm5xyOZ5K6beVZP8NE9aQ_RAJisirDW8FiLGV4UJYlC2HtdNVLtBkVYgxcrEjs3YeBzuENencyg4jvvEDyY2o93glTswKZsXZIxF6uXL36FPj-wkmtO-aSVOQfqACGaG5_BUqQ_cJBWzlQZkq_SsgDIXS1Z8PAktdM","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"comment\": \"baseline base1002 deleted\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/{{baselineId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 06 May 2020 05:47:08 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"37"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"\"Baseline data deleted successfully.\""}],"_postman_id":"25aec3a5-05f7-4d49-a920-52b6833d7001"},{"name":"Delete Baseline Definition","id":"453f7c75-0294-4f96-8f89-18bdd4f4b5dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer eyJraWQiOiIxIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImF1ZCI6WyJzb2FwNjAiLCJjdGYiLCJzdm4iLCJnZXJyaXQiXSwibmJmIjoxNjA1OTAzMzU4LCJhbXIiOlsidXJuOmN0ZjphbXI6dXB3ZCJdLCJpc3MiOiJ1cm46Y3RmOmlzczp0Zi1pZHAiLCJleHAiOjE2MDU5MDY5NTgsImlhdCI6MTYwNTkwMzM1OCwianRpIjoiNmMyYjJmNTMtNjU0ZS00Njk4LTlhZWMtZjVjYTQwNmU5NzBjIn0.e5yTf54TymgduPYU-ge6pP3ZVJjXInqj9lx790PAsqthljvqNVQxeocV_g35xKE2xstlmpuSyfuGAjmMf4xtDOyWITkNN1beFl2fCSa5qk0oIzICGBM8_xofE0eTO6m9nAsyEk467hbyCHCQ_PcJo6JtVnVvH7_dklo_iNVaNro"}],"body":{"mode":"raw","raw":"{\n\t\"comment\": \"Deleting baseline definition bdef1039 as it's obsolete.\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/{{baselineDefId}}","description":"<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Since TeamForge 20.3\n</code></pre><p>Deletes a baseline definition. You must have the DELETE/VIEW BASELINE DEFINITION permission to delete baseline definitions. Adding a comment is mandatory when you delete a baseline definition. For example, you must pass the following comment attribute when you delete a baseline definition with this API. </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"comment\": \"Deleting baseline definition bdef1002 as it's obsolete.\"\n}\n</code></pre>\n<p>Response Codes</p>\n<ul>\n<li>500 - Internal Server Error</li>\n<li>400 - Bad Request</li>\n<li>404 - Invalid baseline definition ID or invalid project ID or no such object</li>\n<li>200 - Deleted Successfully</li>\n<li>403 - Permission Denied</li>\n</ul>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","{{baselineDefId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"0500321b-a47f-4184-a20a-c76307a93e16","name":"Delete Baseline—Successful","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJraWQiOiIxIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImF1ZCI6WyJzb2FwNjAiLCJjdGYiLCJzdm4iLCJnZXJyaXQiXSwibmJmIjoxNTg4NzQzNzE5LCJhbXIiOlsidXJuOmN0ZjphbXI6dXB3ZCJdLCJpc3MiOiJ1cm46Y3RmOmlzczp0Zi1pZHAiLCJleHAiOjE1ODg3NDczMTksImlhdCI6MTU4ODc0MzcxOSwianRpIjoiYzE3MDkwMTMtZTIwNC00ZmY2LTk0YTYtMTk3MzVlMDIzMzk1In0.ZekeqiqZmtm5xyOZ5K6beVZP8NE9aQ_RAJisirDW8FiLGV4UJYlC2HtdNVLtBkVYgxcrEjs3YeBzuENencyg4jvvEDyY2o93glTswKZsXZIxF6uXL36FPj-wkmtO-aSVOQfqACGaG5_BUqQ_cJBWzlQZkq_SsgDIXS1Z8PAktdM","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"comment\": \"baseline base1002 deleted\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/{{baselineId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 06 May 2020 05:47:08 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"37"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"\"Baseline data deleted successfully.\""},{"id":"a32dba39-17fa-4e55-adc4-3d3e6a54d7d5","name":"Delete Baseline—Permission Denied","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJraWQiOiIxIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImF1ZCI6WyJzb2FwNjAiLCJjdGYiLCJzdm4iLCJnZXJyaXQiXSwibmJmIjoxNTg4NzQzNzE5LCJhbXIiOlsidXJuOmN0ZjphbXI6dXB3ZCJdLCJpc3MiOiJ1cm46Y3RmOmlzczp0Zi1pZHAiLCJleHAiOjE1ODg3NDczMTksImlhdCI6MTU4ODc0MzcxOSwianRpIjoiYzE3MDkwMTMtZTIwNC00ZmY2LTk0YTYtMTk3MzVlMDIzMzk1In0.ZekeqiqZmtm5xyOZ5K6beVZP8NE9aQ_RAJisirDW8FiLGV4UJYlC2HtdNVLtBkVYgxcrEjs3YeBzuENencyg4jvvEDyY2o93glTswKZsXZIxF6uXL36FPj-wkmtO-aSVOQfqACGaG5_BUqQ_cJBWzlQZkq_SsgDIXS1Z8PAktdM","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"comment\": \"baseline base1002 deleted\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/{{baselineId}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 06 May 2020 05:44:35 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"171"},{"key":"Set-Cookie","value":"JSESSIONID=JD7ImzLaVFw-OUISRrXdhKRe-7g38frdcRsjBJyg.tf; path=/ctfrest; secure; HttpOnly"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"PermissionDenied\",\n    \"message\": \"User do not have sufficient permissions: Permission Denied\"\n}"}],"_postman_id":"453f7c75-0294-4f96-8f89-18bdd4f4b5dd"}],"id":"c2243f6d-5622-48c7-b94d-1f42bf3166bf","description":"<p>Provides the list of APIs used before or while creating the item level baselines and baseline definitions.</p>\n","event":[{"listen":"prerequest","script":{"id":"f82f6ea7-3dd3-4979-9f42-fd4855bedb52","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"02450982-c0dd-4738-843f-2ca9ea51d6e9","type":"text/javascript","exec":[""]}}],"_postman_id":"c2243f6d-5622-48c7-b94d-1f42bf3166bf"},{"name":"Compare Baselines","item":[{"name":"Compare Baselines - All Filter Criteria from All Components","event":[{"listen":"test","script":{"id":"978d3023-f4db-43ed-a590-c232737567e3","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","var jsonData = JSON.parse(responseBody);","","var Tracker3 = pm.environment.get(\"TrackerTitle_3\");","var Tracker0 = pm.environment.get(\"TrackerTitle_0\");","var Tracker1 = pm.environment.get(\"TrackerTitle_1\");","var ArtifactID0 = pm.environment.get(\"ArtifactID0\");","var Tracker_2_ArtifactID0 = pm.environment.get(\"Tracker_2_ArtifactID0\");","var TrackerID = pm.environment.get(\"TrackerID\");","var TrackerID_1 = pm.environment.get(\"TrackerID_1\");","var DocId3 = pm.environment.get(\"DocId3\");","var Tracker_1_ArtifactID1 = pm.environment.get(\"Tracker_1_ArtifactID1\");","var TrackerID_0 = pm.environment.get(\"TrackerID_0\");","","pm.test(\"color component matches with d2 (Deleted) for Tracker 4\", function() {","    pm.expect(pm.response.text()).to.include('\"name\": \"' + Tracker3 + '\"');","    pm.expect(pm.response.text()).to.include('\"name\": \"' + Tracker0 + '\"');","    pm.expect(pm.response.text()).to.include('\"name\": \"' + Tracker1 + '\"');","    for (i = 0; i < 3; i++) {","        if (jsonData[i].name == TrackerID) {","            for (j = 0; j < 11; j++) {","                if (jsonData[i].name.compareItemList[j].artifactId == ArtifactID0) {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d2\"');","                }","            }","        }","    }","});","","pm.test(\"color component matches with d3 (Newly created) for Tracker 2\", function() {","    for (i = 0; i < 3; i++) {","        if (jsonData[i].name == TrackerID_1) {","            for (j = 0; j < 11; j++) {","                if (jsonData[i].name.compareItemList[j].artifactId == Tracker_2_ArtifactID0) {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d3\"');","                }","            }","        }","    }","});","pm.test(\"color component matches with d1 (No changes) for file releases\", function() {","    for (i = 0; i < 5; i++) {","        if (jsonData[i].type == \"File Releases\") {","            pm.expect(pm.response.text()).to.include('\"color_component\": \"d1\"');","        }","    }","});","pm.test(\"color component matches with d4 for artifact that get modified\",function(){","    for (i = 0; i < 3; i++) {","        if (jsonData[i].name == TrackerID_0) {","            for (j = 0; j < 6; j++) {","                if (jsonData[i].name.compareItemList[j].artifactId == Tracker_1_ArtifactID1) {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d4\"');","                }","            }","        }","    }","});","","pm.test(\"color component matches with d1 (No changes) for Document with doc Id\", function() {","    for (i = 0; i < 3; i++) {","        if (jsonData[i].type == \"Document\") {","            for (j = 0; j < 3; j++) {","                if (jsonData[i].type.compareItemList[j].documentId == DocId3) {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d1\"');","                }","            }","        }","    }","});","","","var schema = {","  \"TrackerFilterIds\": \"[]string\",","  \"TrackerFilterGroupIds\": \"[]string\",","  \"DocumentFilterIds\" : \"[]string\",","  \"DocumentFilterGroupIds\" : \"[]string\",","  \"FrsFilterIds\" : \"[]string\","," \"ScmFilterIds\"  : \"[]string\","," \"BinaryFilterIds\" : \"[]string\"","};","","pm.test('Schema is valid', function() {","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});",""],"type":"text/javascript"}}],"id":"aa09ddbe-1ff8-4da4-b224-07a38e3b3c27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}/compare?baselineId1={{baseId1}}&baselineId2={{baseId2}}&compareBy=all&application=all","description":"<p>Gets the entire filter criteria from all components, when two baselines are compared</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","by-project","{{projectId}}","compare"],"host":["{{HostName}}"],"query":[{"key":"baselineId1","value":"{{baseId1}}"},{"key":"baselineId2","value":"{{baseId2}}"},{"key":"compareBy","value":"all"},{"key":"application","value":"all"}],"variable":[]}},"response":[],"_postman_id":"aa09ddbe-1ff8-4da4-b224-07a38e3b3c27"},{"name":"Compare Baselines using Invalid Project ID","event":[{"listen":"test","script":{"id":"d6f9e21e-f56a-4791-9847-e0e583faf5a3","exec":["pm.test(\"Status code is 404\", function() {","    pm.response.to.have.status(404);","});","","pm.test(\"Status code name has string- Not Found\", function () {","    pm.response.to.have.status(\"Not Found\");","});","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Invalid project id/path\"');","});","","var jsonData = JSON.parse(responseBody);   ","var schema = {","  \"TrackerFilterIds\": \"[]string\",","  \"TrackerFilterGroupIds\": \"[]string\",","  \"DocumentFilterIds\" : \"[]string\",","  \"DocumentFilterGroupIds\" : \"[]string\",","  \"FrsFilterIds\" : \"[]string\","," \"ScmFilterIds\"  : \"[]string\","," \"BinaryFilterIds\" : \"[]string\"","};","","pm.test('Schema is valid', function() {","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});",""],"type":"text/javascript"}}],"id":"76bacfd0-f71d-41fc-b4fe-b0167790cf13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/proj0001/compare?baselineId1={{baseId1}}&baselineId2={{baseId2}}&compareBy=all&application=all","description":"<p>Gets the \"Invalid Project ID\" error while trying to compare baselines using the project id of a deleted project</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","by-project","proj0001","compare"],"host":["{{HostName}}"],"query":[{"key":"baselineId1","value":"{{baseId1}}"},{"key":"baselineId2","value":"{{baseId2}}"},{"key":"compareBy","value":"all"},{"key":"application","value":"all"}],"variable":[]}},"response":[],"_postman_id":"76bacfd0-f71d-41fc-b4fe-b0167790cf13"},{"name":"Compare Baselines using Invalid Baseline ID","event":[{"listen":"test","script":{"id":"aa82d7a5-314c-462d-9b0d-5bc73baadac7","exec":["pm.test(\"Status code is 400\", function() {","    pm.response.to.have.status(400);","});","","pm.test(\"Status code name has string- Bad Request\", function () {","    pm.response.to.have.status(\"Bad Request\");","});","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Invalid Baseline Id\"');","});","","var jsonData = JSON.parse(responseBody);   ","","","var schema = {","  \"TrackerFilterIds\": \"[]string\",","  \"TrackerFilterGroupIds\": \"[]string\",","  \"DocumentFilterIds\" : \"[]string\",","  \"DocumentFilterGroupIds\" : \"[]string\",","  \"FrsFilterIds\" : \"[]string\","," \"ScmFilterIds\"  : \"[]string\","," \"BinaryFilterIds\" : \"[]string\"","};","","pm.test('Schema is valid', function() {","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});",""],"type":"text/javascript"}}],"id":"99b8bba2-03a8-4a09-b55a-c3919bfe5104","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}/compare?baselineId1=base0001&baselineId2={{baseId2}}&compareBy=all&application=all","description":"<p>Gets the \"Invalid Baseline ID\" error while trying to compare baselines using the baseline id of a deleted baseline</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","by-project","{{projectId}}","compare"],"host":["{{HostName}}"],"query":[{"key":"baselineId1","value":"base0001"},{"key":"baselineId2","value":"{{baseId2}}"},{"key":"compareBy","value":"all"},{"key":"application","value":"all"}],"variable":[]}},"response":[],"_postman_id":"99b8bba2-03a8-4a09-b55a-c3919bfe5104"},{"name":"Compare Baselines using Same Baseline ID","event":[{"listen":"test","script":{"id":"e96f1b82-f09c-4606-b460-ecc2f10e3b5e","exec":["pm.test(\"Status code is 400\", function() {","    pm.response.to.have.status(400);","});","","pm.test(\"Status code name has string- Bad Request\", function () {","    pm.response.to.have.status(\"Bad Request\");","});","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include(\"Please choose different baseline ids\");","});","","","var jsonData = JSON.parse(responseBody);   ","","var schema = {","  \"TrackerFilterIds\": \"[]string\",","  \"TrackerFilterGroupIds\": \"[]string\",","  \"DocumentFilterIds\" : \"[]string\",","  \"DocumentFilterGroupIds\" : \"[]string\",","  \"FrsFilterIds\" : \"[]string\","," \"ScmFilterIds\"  : \"[]string\","," \"BinaryFilterIds\" : \"[]string\"","};","","pm.test('Schema is valid', function() {","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});",""],"type":"text/javascript"}}],"id":"89154b36-a790-41c6-9f8d-c9057d7f7b7d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}/compare?baselineId1={{baseId1}}&baselineId2={{baseId1}}&compareBy=all&application=all","description":"<p>Gets an error while trying to compare baselines having the same baseline ids</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","by-project","{{projectId}}","compare"],"host":["{{HostName}}"],"query":[{"key":"baselineId1","value":"{{baseId1}}"},{"key":"baselineId2","value":"{{baseId1}}"},{"key":"compareBy","value":"all"},{"key":"application","value":"all"}],"variable":[]}},"response":[],"_postman_id":"89154b36-a790-41c6-9f8d-c9057d7f7b7d"},{"name":"Compare Baselines without Baseline View Permission","event":[{"listen":"test","script":{"id":"4ddc1d4f-476e-4a37-b52e-a259553c1ece","exec":["pm.test(\"Status code is 401\", function() {","    pm.response.to.have.status(401);","});","","pm.test(\"Status code name has string- Unauthorized\", function () {","    pm.response.to.have.status('Unauthorized');","});","","pm.test(\"Body matches string - permission denied\", function () {","    pm.expect(pm.response.text()).to.include('\"You must have \\'view\\' permission to perform this action\"');","});",""],"type":"text/javascript"}}],"id":"5700559a-88bd-4805-9911-588b26730a06","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}/compare?baselineId1={{baseId1}}&baselineId2={{baseId2}}&compareBy=all&application=all","description":"<p>A \"401 Unauthorized\" error is thrown, when a user without baseline view permission tries to compare baselines via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","by-project","{{projectId}}","compare"],"host":["{{HostName}}"],"query":[{"key":"baselineId1","value":"{{baseId1}}"},{"key":"baselineId2","value":"{{baseId2}}"},{"key":"compareBy","value":"all"},{"key":"application","value":"all"}],"variable":[]}},"response":[],"_postman_id":"5700559a-88bd-4805-9911-588b26730a06"},{"name":"Compare Baselines - Show Only Differences in Filter Criteria of All Components","event":[{"listen":"test","script":{"id":"0db74baa-0ac9-4b66-b9ab-211e93f37bbf","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","var jsonData = JSON.parse(responseBody);","","var Tracker3 = pm.environment.get(\"TrackerTitle_3\");","var Tracker0 = pm.environment.get(\"TrackerTitle_0\");","var Tracker1 = pm.environment.get(\"TrackerTitle_1\");","var ArtifactID0 = pm.environment.get(\"ArtifactID0\");","var Tracker_2_ArtifactID0 = pm.environment.get(\"Tracker_2_ArtifactID0\");","var TrackerID = pm.environment.get(\"TrackerID\");","var TrackerID_1 = pm.environment.get(\"TrackerID_1\");","var DocId3 = pm.environment.get(\"DocId3\");","var Tracker_1_ArtifactID1 = pm.environment.get(\"Tracker_1_ArtifactID1\");","var TrackerID_0 = pm.environment.get(\"TrackerID_0\");","","pm.test(\"color component matches with d2 (Deleted) for Tracker 4\", function() {","    pm.expect(pm.response.text()).to.include('\"name\": \"' + Tracker3 + '\"');","    pm.expect(pm.response.text()).to.include('\"name\": \"' + Tracker0 + '\"');","    pm.expect(pm.response.text()).to.include('\"name\": \"' + Tracker1 + '\"');","    for (i = 0; i < 3; i++) {","        if (jsonData[i].name == TrackerID) {","            for (j = 0; j < 11; j++) {","                if (jsonData[i].name.compareItemList[j].artifactId == ArtifactID0) {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d2\"');","                }","            }","        }","    }","});","","pm.test(\"color component matches with d3 (Newly created) for Tracker 2\", function() {","    for (i = 0; i < 3; i++) {","        if (jsonData[i].name == TrackerID_1) {","            for (j = 0; j < 11; j++) {","                if (jsonData[i].name.compareItemList[j].artifactId == Tracker_2_ArtifactID0) {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d3\"');","                }","            }","        }","    }","});","pm.test(\"color component matches with d4 for artifact that get modified\",function(){","    for (i = 0; i < 3; i++) {","        if (jsonData[i].name == TrackerID_0) {","            for (j = 0; j < 6; j++) {","                if (jsonData[i].name.compareItemList[j].artifactId == Tracker_1_ArtifactID1) {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d4\"');","                }","            }","        }","    }","});","","","var jsonData = JSON.parse(responseBody);   ","","","var schema = {","  \"TrackerFilterIds\": \"[]string\",","  \"TrackerFilterGroupIds\": \"[]string\",","  \"DocumentFilterIds\" : \"[]string\",","  \"DocumentFilterGroupIds\" : \"[]string\",","  \"FrsFilterIds\" : \"[]string\","," \"ScmFilterIds\"  : \"[]string\","," \"BinaryFilterIds\" : \"[]string\"","};","","pm.test('Schema is valid', function() {","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});",""],"type":"text/javascript"}}],"id":"befc4559-54f5-4543-a16a-da23824c480c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}/compare?baselineId1={{baseId1}}&baselineId2={{baseId2}}&compareBy=diff&application=all","description":"<p>Show only the differences in the filter criteria of all components, when comparing two baselines</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","by-project","{{projectId}}","compare"],"host":["{{HostName}}"],"query":[{"key":"baselineId1","value":"{{baseId1}}"},{"key":"baselineId2","value":"{{baseId2}}"},{"key":"compareBy","value":"diff"},{"key":"application","value":"all"}],"variable":[]}},"response":[],"_postman_id":"befc4559-54f5-4543-a16a-da23824c480c"},{"name":"Compare Baselines - All Filter Criteria from Tracker Component","event":[{"listen":"test","script":{"id":"14c20a2a-52b6-4f35-b3da-a75408d005ff","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","var jsonData = JSON.parse(responseBody);","","var ArtifactID0 = pm.environment.get(\"ArtifactID0\");","var Tracker_2_ArtifactID0 = pm.environment.get(\"Tracker_2_ArtifactID0\");","var TrackerID = pm.environment.get(\"TrackerID\");","var TrackerID_1 = pm.environment.get(\"TrackerID_1\");","var DocId3 = pm.environment.get(\"DocId3\");","var Tracker_1_ArtifactID1 = pm.environment.get(\"Tracker_1_ArtifactID1\");","var TrackerID_0 = pm.environment.get(\"TrackerID_0\");","","pm.test(\"color component matches with d2 (Deleted) for Tracker 4\", function() {","    for (i = 0; i < 3; i++) {","        if (jsonData[i].name == TrackerID) {","            for (j = 0; j < 11; j++) {","                if (jsonData[i].name.compareItemList[j].artifactId == ArtifactID0) {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d2\"');","                }","            }","        }","    }","});","","pm.test(\"color component matches with d3 (Newly created) for Tracker 2\", function() {","    for (i = 0; i < 3; i++) {","        if (jsonData[i].name == TrackerID_1) {","            for (j = 0; j < 11; j++) {","                if (jsonData[i].name.compareItemList[j].artifactId == Tracker_2_ArtifactID0) {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d3\"');","                }","            }","        }","    }","});","pm.test(\"color component matches with d4 for artifact that get modified\",function(){","    for (i = 0; i < 3; i++) {","        if (jsonData[i].name == TrackerID_0) {","            for (j = 0; j < 6; j++) {","                if (jsonData[i].name.compareItemList[j].artifactId == Tracker_1_ArtifactID1) {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d4\"');","                }","            }","        }","    }","});","","pm.test(\"color component matches with d1 (No Change) in artifact\",function(){","    for (i = 0; i < 3; i++) {","        if (jsonData[i].name == TrackerID_0) {","            for (j = 0; j < 6; j++) {","                if (jsonData[i].name.compareItemList[j].artifactId == Tracker_1_ArtifactID0) {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d1\"');","                }","            }","        }","    }","});","","","","var jsonData = JSON.parse(responseBody);   ","","","var schema = {","  \"TrackerFilterIds\": \"[]string\",","  \"TrackerFilterGroupIds\": \"[]string\",","  \"DocumentFilterIds\" : \"[]string\",","  \"DocumentFilterGroupIds\" : \"[]string\",","  \"FrsFilterIds\" : \"[]string\","," \"ScmFilterIds\"  : \"[]string\","," \"BinaryFilterIds\" : \"[]string\"","};","","pm.test('Schema is valid', function() {","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});",""],"type":"text/javascript"}}],"id":"b7f2e34d-f865-425f-a8ae-e3ec993bf800","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}/compare?baselineId1={{baseId1}}&baselineId2={{baseId2}}&compareBy=all&application=Tracker","description":"<p>Gets the entire filter criteria from Tracker component, when two baselines are compared</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","by-project","{{projectId}}","compare"],"host":["{{HostName}}"],"query":[{"key":"baselineId1","value":"{{baseId1}}"},{"key":"baselineId2","value":"{{baseId2}}"},{"key":"compareBy","value":"all"},{"key":"application","value":"Tracker"}],"variable":[]}},"response":[],"_postman_id":"b7f2e34d-f865-425f-a8ae-e3ec993bf800"},{"name":"Compare Baselines - Show Only Differences in Filter Criteria of Tracker Component","event":[{"listen":"test","script":{"id":"cf257c42-2b30-41c8-a4d4-b20e6f05b543","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","var jsonData = JSON.parse(responseBody);","","var ArtifactID0 = pm.environment.get(\"ArtifactID0\");","var Tracker_2_ArtifactID0 = pm.environment.get(\"Tracker_2_ArtifactID0\");","var TrackerID = pm.environment.get(\"TrackerID\");","var TrackerID_1 = pm.environment.get(\"TrackerID_1\");","var DocId3 = pm.environment.get(\"DocId3\");","var Tracker_1_ArtifactID1 = pm.environment.get(\"Tracker_1_ArtifactID1\");","var TrackerID_0 = pm.environment.get(\"TrackerID_0\");","","pm.test(\"color component matches with d2 (Deleted) for Tracker 4\", function() {","    for (i = 0; i < 3; i++) {","        if (jsonData[i].name == TrackerID) {","            for (j = 0; j < 11; j++) {","                if (jsonData[i].name.compareItemList[j].artifactId == ArtifactID0) {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d2\"');","                }","            }","        }","    }","});","","pm.test(\"color component matches with d3 (Newly created) for Tracker 2\", function() {","    for (i = 0; i < 3; i++) {","        if (jsonData[i].name == TrackerID_1) {","            for (j = 0; j < 11; j++) {","                if (jsonData[i].name.compareItemList[j].artifactId == Tracker_2_ArtifactID0) {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d3\"');","                }","            }","        }","    }","});","pm.test(\"color component matches with d4 for artifact that get modified\",function(){","    for (i = 0; i < 3; i++) {","        if (jsonData[i].name == TrackerID_0) {","            for (j = 0; j < 6; j++) {","                if (jsonData[i].name.compareItemList[j].artifactId == Tracker_1_ArtifactID1) {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d4\"');","                }","            }","        }","    }","});","","","","var jsonData = JSON.parse(responseBody);   ","","var schema = {","  \"TrackerFilterIds\": \"[]string\",","  \"TrackerFilterGroupIds\": \"[]string\",","  \"DocumentFilterIds\" : \"[]string\",","  \"DocumentFilterGroupIds\" : \"[]string\",","  \"FrsFilterIds\" : \"[]string\","," \"ScmFilterIds\"  : \"[]string\","," \"BinaryFilterIds\" : \"[]string\"","};","","pm.test('Schema is valid', function() {","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});",""],"type":"text/javascript"}}],"id":"19415d68-b91d-4002-9ee4-1f41b3a4fea5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}/compare?baselineId1={{baseId1}}&baselineId2={{baseId2}}&compareBy=diff&application=Tracker","description":"<p>Shows only the differences in the filter criteria of Tracker component of the two baselines being compared</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","by-project","{{projectId}}","compare"],"host":["{{HostName}}"],"query":[{"key":"baselineId1","value":"{{baseId1}}"},{"key":"baselineId2","value":"{{baseId2}}"},{"key":"compareBy","value":"diff"},{"key":"application","value":"Tracker"}],"variable":[]}},"response":[],"_postman_id":"19415d68-b91d-4002-9ee4-1f41b3a4fea5"},{"name":"Compare Baselines - All Filter Criteria from Document Component","event":[{"listen":"test","script":{"id":"00235809-db18-406a-94aa-17cd353ad837","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","var jsonData = JSON.parse(responseBody);","","var DocId1 = pm.environment.get(\"DocId1\");","var DocId2 = pm.environment.get(\"DocId2\");","var DocId3 = pm.environment.get(\"DocId3\");","","pm.test(\"color component matches with d2 (Deleted) for Documents\", function() {","    pm.expect(pm.response.text()).to.include('\"color_component\": \"d2\",\\n\\t\\t\\t\\t\"documentId\": \"'+DocId2+'\"');","});","","pm.test(\"color component matches with d1 (No Change) for Documents\", function() {","    pm.expect(pm.response.text()).to.include('\"color_component\": \"d1\",\\n\\t\\t\\t\\t\"documentId\": \"'+DocId3+'\"');","});","","var jsonData = JSON.parse(responseBody);  ","","","var schema = {","  \"TrackerFilterIds\": \"[]string\",","  \"TrackerFilterGroupIds\": \"[]string\",","  \"DocumentFilterIds\" : \"[]string\",","  \"DocumentFilterGroupIds\" : \"[]string\",","  \"FrsFilterIds\" : \"[]string\","," \"ScmFilterIds\"  : \"[]string\","," \"BinaryFilterIds\" : \"[]string\"","};","","pm.test('Schema is valid', function() {","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});",""],"type":"text/javascript"}}],"id":"b66624a5-522e-46bc-b3f0-2ff11ff97e63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}/compare?baselineId1={{baseId1}}&baselineId2={{baseId2}}&compareBy=all&application=document","description":"<p>Gets the entire filter criteria from Document component, when two baselines are compared</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","by-project","{{projectId}}","compare"],"host":["{{HostName}}"],"query":[{"key":"baselineId1","value":"{{baseId1}}"},{"key":"baselineId2","value":"{{baseId2}}"},{"key":"compareBy","value":"all"},{"key":"application","value":"document"}],"variable":[]}},"response":[],"_postman_id":"b66624a5-522e-46bc-b3f0-2ff11ff97e63"},{"name":"Compare Baselines - Show Only Differences in Filter Criteria of Document Component","event":[{"listen":"test","script":{"id":"19a542a9-660d-4615-970a-feef984c7f5e","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","var jsonData = JSON.parse(responseBody);","","var DocId2 = pm.environment.get(\"DocId2\");","","pm.test(\"color component matches with d2 (Deleted) for Documents\", function() {","    pm.expect(pm.response.text()).to.include('\"color_component\": \"d2\",\\n\\t\\t\\t\\t\"documentId\": \"'+DocId2+'\"');","});","","","var jsonData = JSON.parse(responseBody);   ","","","var schema = {","  \"TrackerFilterIds\": \"[]string\",","  \"TrackerFilterGroupIds\": \"[]string\",","  \"DocumentFilterIds\" : \"[]string\",","  \"DocumentFilterGroupIds\" : \"[]string\",","  \"FrsFilterIds\" : \"[]string\","," \"ScmFilterIds\"  : \"[]string\","," \"BinaryFilterIds\" : \"[]string\"","};","","pm.test('Schema is valid', function() {","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});",""],"type":"text/javascript"}}],"id":"3b405e0b-5a43-4532-8701-11091ebb6b0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}/compare?baselineId1={{baseId1}}&baselineId2={{baseId2}}&compareBy=diff&application=document","description":"<p>Shows only the differences in the filter criteria of Document component of the two baselines being compared</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","by-project","{{projectId}}","compare"],"host":["{{HostName}}"],"query":[{"key":"baselineId1","value":"{{baseId1}}"},{"key":"baselineId2","value":"{{baseId2}}"},{"key":"compareBy","value":"diff"},{"key":"application","value":"document"}],"variable":[]}},"response":[],"_postman_id":"3b405e0b-5a43-4532-8701-11091ebb6b0c"},{"name":"Compare Baselines - All Filter Criteria from File Release Component","event":[{"listen":"test","script":{"id":"532e3d68-2c6f-403e-b1d5-6360a52c06bd","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","var jsonData = JSON.parse(responseBody);","","pm.test(\"color component matches with d1 (No changes) for file releases\", function() {","    pm.expect(pm.response.text()).to.include('\"color_component\": \"d1\"');","    ","});","","","var schema = {","  \"TrackerFilterIds\": \"[]string\",","  \"TrackerFilterGroupIds\": \"[]string\",","  \"DocumentFilterIds\" : \"[]string\",","  \"DocumentFilterGroupIds\" : \"[]string\",","  \"FrsFilterIds\" : \"[]string\","," \"ScmFilterIds\"  : \"[]string\","," \"BinaryFilterIds\" : \"[]string\"","};","","pm.test('Schema is valid', function() {","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});",""],"type":"text/javascript"}}],"id":"b6c8e600-e7f6-4436-a22a-df80dd183a75","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}/compare?baselineId1={{baseId1}}&baselineId2={{baseId2}}&compareBy=all&application=frs","description":"<p>Gets the entire filter criteria from File Release component, when two baselines are compared</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","by-project","{{projectId}}","compare"],"host":["{{HostName}}"],"query":[{"key":"baselineId1","value":"{{baseId1}}"},{"key":"baselineId2","value":"{{baseId2}}"},{"key":"compareBy","value":"all"},{"key":"application","value":"frs"}],"variable":[]}},"response":[],"_postman_id":"b6c8e600-e7f6-4436-a22a-df80dd183a75"},{"name":"Compare Baselines - Show Only Differences in Filter Criteria of File Release Component","event":[{"listen":"test","script":{"id":"9b514efe-a8b2-4013-9c64-93fa08b2a656","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"There is no change in FRS. Hence it shows null value\", function() {","   pm.expect(pm.response.text()).to.include('[]');","});","","","var jsonData = JSON.parse(responseBody);   ","","var schema = {","  \"TrackerFilterIds\": \"[]string\",","  \"TrackerFilterGroupIds\": \"[]string\",","  \"DocumentFilterIds\" : \"[]string\",","  \"DocumentFilterGroupIds\" : \"[]string\",","  \"FrsFilterIds\" : \"[]string\","," \"ScmFilterIds\"  : \"[]string\","," \"BinaryFilterIds\" : \"[]string\"","};","","pm.test('Schema is valid', function() {","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});",""],"type":"text/javascript"}}],"id":"f16b66a7-5053-4d70-ab82-6215391ec91e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}/compare?baselineId1={{baseId1}}&baselineId2={{baseId2}}&compareBy=diff&application=frs","description":"<p>Shows only the differences in the filter criteria of File Release component of the two baselines being compared</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","by-project","{{projectId}}","compare"],"host":["{{HostName}}"],"query":[{"key":"baselineId1","value":"{{baseId1}}"},{"key":"baselineId2","value":"{{baseId2}}"},{"key":"compareBy","value":"diff"},{"key":"application","value":"frs"}],"variable":[]}},"response":[],"_postman_id":"f16b66a7-5053-4d70-ab82-6215391ec91e"},{"name":"Compare Implicit Baseline Definitions - All Filter Criteria from All Components","event":[{"listen":"test","script":{"id":"9776a305-3eab-43d7-81c3-5e370168a777","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","","var ArtifactID0 = pm.environment.get(\"ArtifactID0\");","var Tracker_2_ArtifactID0 = pm.environment.get(\"Tracker_2_ArtifactID0\");","var TrackerID = pm.environment.get(\"TrackerID\");","var TrackerID_1 = pm.environment.get(\"TrackerID_1\");","var DocId3 = pm.environment.get(\"DocId3\");","var Tracker_1_ArtifactID1 = pm.environment.get(\"Tracker_1_ArtifactID1\");","var TrackerID_0 = pm.environment.get(\"TrackerID_0\");","var SubChildPF_title = pm.environment.get(\"SubChildPF_title\");","var PackageTitle = pm.environment.get(\"PackageTitle\");","","pm.test(\"color component matches with d1 (No change) in Tracker 1 definitions\", function() {","    for (i = 0; i < 3; i++) {","        if (jsonData[i].name == TrackerID_0) {","            for (j = 0; j < 2; j++) {","                if (jsonData[i].name.compareItemList[j].attribute == \"title\") {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d1\"');","                }","            }","        }","    }","});","","pm.test(\"color component matches with d2 (Deleted) in Tracker 4\", function() {","    for (i = 0; i < 3; i++) {","        if (jsonData[i].name == TrackerID) {","            for (j = 0; j < 18; j++) {","                if (jsonData[i].name.compareItemList[j].attribute == \"priority\") {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d2\"');","                }","            }","        }","    }","});","","pm.test(\"color component matches with d3 (Newly created definition) in Tracker 2\", function() {","    for (i = 0; i < 3; i++) {","        if (jsonData[i].name == TrackerID_1) {","            for (j = 0; j < 1; j++) {","                if (jsonData[i].name.compareItemList[j].attribute == \"priority\") {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d3\"');","                }","            }","        }","    }","});","","pm.test(\"color component matches with d4 (Modified) in PlanningFolder\", function() {","    for (i = 0; i < 3; i++) {","        if (jsonData[i].name == \"Planning Folders\") {","            for (j = 0; j < 1; j++) {","                if (jsonData[i].name.compareItemList[j].value == SubChildPF_title) {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d4\"');","                }","            }","        }","    }","});","","pm.test(\"color component matches with d2 (Deleted) in DocumentFolders\", function() {","    for (i = 0; i < 2; i++) {","        if (jsonData[i].name == \"Document Folders\") {","            for (j = 0; j < 1; j++) {","                if (jsonData[i].name.compareItemList[j].value == \"Root Folder,DocFolder1,ChildDocFolder\") {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d2\"');","                }","            }","        }","    }","});","","pm.test(\"color component matches with d1 (No change) in FileReleases\", function() {","    for (i = 0; i < 2; i++) {","        if (jsonData[i].type == \"File Releases\") {","            for (j = 0; j < 1; j++) {","                if (jsonData[i].type.compareItemList[j].packageName == PackageTitle) {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d1\"');","                }","            }","        }","    }","});","","","var jsonData = JSON.parse(responseBody);  ","","","var schema = {","  \"TrackerFilterIds\": \"[]string\",","  \"TrackerFilterGroupIds\": \"[]string\",","  \"DocumentFilterIds\" : \"[]string\",","  \"DocumentFilterGroupIds\" : \"[]string\",","  \"FrsFilterIds\" : \"[]string\","," \"ScmFilterIds\"  : \"[]string\","," \"BinaryFilterIds\" : \"[]string\"","};","","pm.test('Schema is valid', function() {","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});",""],"type":"text/javascript"}}],"id":"00ea8531-b5bb-4c86-ba03-b29d406e9931","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/{{projectId}}/compare?baselineId1={{baseId1}}&baselineId2={{baseId2}}&compareBy=all&application=all","description":"<p>Gets the entire filter criteria from all components, when implicit baseline definitions are compared</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","by-project","{{projectId}}","compare"],"host":["{{HostName}}"],"query":[{"key":"baselineId1","value":"{{baseId1}}"},{"key":"baselineId2","value":"{{baseId2}}"},{"key":"compareBy","value":"all"},{"key":"application","value":"all"}],"variable":[]}},"response":[],"_postman_id":"00ea8531-b5bb-4c86-ba03-b29d406e9931"},{"name":"Compare Implicit Baseline Definitions - All Filter Criteria from Tracker Component","event":[{"listen":"test","script":{"id":"f9a08174-39cb-45a9-adc1-b8f779182f03","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","","var ArtifactID0 = pm.environment.get(\"ArtifactID0\");","var Tracker_2_ArtifactID0 = pm.environment.get(\"Tracker_2_ArtifactID0\");","var TrackerID = pm.environment.get(\"TrackerID\");","var TrackerID_1 = pm.environment.get(\"TrackerID_1\");","var Tracker_1_ArtifactID1 = pm.environment.get(\"Tracker_1_ArtifactID1\");","var TrackerID_0 = pm.environment.get(\"TrackerID_0\");","var SubChildPF_title = pm.environment.get(\"SubChildPF_title\");","","","pm.test(\"color component matches with d1 (No change) in Tracker 1 definitions\", function() {","    for (i = 0; i < 3; i++) {","        if (jsonData[i].name == TrackerID_0) {","            for (j = 0; j < 2; j++) {","                if (jsonData[i].name.compareItemList[j].attribute == \"title\") {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d1\"');","                }","            }","        }","    }","});","","pm.test(\"color component matches with d2 (Deleted) in Tracker 4\", function() {","    for (i = 0; i < 3; i++) {","        if (jsonData[i].name == TrackerID) {","            for (j = 0; j < 18; j++) {","                if (jsonData[i].name.compareItemList[j].attribute == \"priority\") {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d2\"');","                }","            }","        }","    }","});","","pm.test(\"color component matches with d3 (Newly created definition) in Tracker 2\", function() {","    for (i = 0; i < 3; i++) {","        if (jsonData[i].name == TrackerID_1) {","            for (j = 0; j < 1; j++) {","                if (jsonData[i].name.compareItemList[j].attribute == \"priority\") {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d3\"');","                }","            }","        }","    }","});","","pm.test(\"color component matches with d4 (Modified) in PlanningFolder\", function() {","    for (i = 0; i < 3; i++) {","        if (jsonData[i].name == \"Planning Folders\") {","            for (j = 0; j < 1; j++) {","                if (jsonData[i].name.compareItemList[j].value == SubChildPF_title) {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d4\"');","                }","            }","        }","    }","});","","","var jsonData = JSON.parse(responseBody);   ","","","var schema = {","  \"TrackerFilterIds\": \"[]string\",","  \"TrackerFilterGroupIds\": \"[]string\",","  \"DocumentFilterIds\" : \"[]string\",","  \"DocumentFilterGroupIds\" : \"[]string\",","  \"FrsFilterIds\" : \"[]string\","," \"ScmFilterIds\"  : \"[]string\","," \"BinaryFilterIds\" : \"[]string\"","};","","pm.test('Schema is valid', function() {","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});",""],"type":"text/javascript"}}],"id":"5e47eed6-a302-42e1-90cb-486f3ed5cbd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/{{projectId}}/compare?baselineId1={{baseId1}}&baselineId2={{baseId2}}&compareBy=all&application=tracker","description":"<p>Gets the entire filter criteria from Tracker component, when implicit baseline definitions are compared</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","by-project","{{projectId}}","compare"],"host":["{{HostName}}"],"query":[{"key":"baselineId1","value":"{{baseId1}}"},{"key":"baselineId2","value":"{{baseId2}}"},{"key":"compareBy","value":"all"},{"key":"application","value":"tracker"}],"variable":[]}},"response":[],"_postman_id":"5e47eed6-a302-42e1-90cb-486f3ed5cbd0"},{"name":"Compare Implicit Baseline Definitions - Show Only Differences in Filter Criteria of Tracker Component","event":[{"listen":"test","script":{"id":"46d307e0-fc4f-4171-9ded-3f6d2117910b","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","","var ArtifactID0 = pm.environment.get(\"ArtifactID0\");","var Tracker_2_ArtifactID0 = pm.environment.get(\"Tracker_2_ArtifactID0\");","var TrackerID = pm.environment.get(\"TrackerID\");","var TrackerID_1 = pm.environment.get(\"TrackerID_1\");","var Tracker_1_ArtifactID1 = pm.environment.get(\"Tracker_1_ArtifactID1\");","var TrackerID_0 = pm.environment.get(\"TrackerID_0\");","var SubChildPF_title = pm.environment.get(\"SubChildPF_title\");","","pm.test(\"color component matches with d2 (Deleted) in Tracker 4\", function() {","    for (i = 0; i < 3; i++) {","        if (jsonData[i].name == TrackerID) {","            for (j = 0; j < 18; j++) {","                if (jsonData[i].name.compareItemList[j].attribute == \"priority\") {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d2\"');","                }","            }","        }","    }","});","","pm.test(\"color component matches with d3 (Newly created definition) in Tracker 2\", function() {","    for (i = 0; i < 3; i++) {","        if (jsonData[i].name == TrackerID_1) {","            for (j = 0; j < 1; j++) {","                if (jsonData[i].name.compareItemList[j].attribute == \"priority\") {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d3\"');","                }","            }","        }","    }","});","","pm.test(\"color component matches with d4 (Modified) in PlanningFolder\", function() {","    for (i = 0; i < 3; i++) {","        if (jsonData[i].name == \"Planning Folders\") {","            for (j = 0; j < 1; j++) {","                if (jsonData[i].name.compareItemList[j].value == SubChildPF_title) {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d4\"');","                }","            }","        }","    }","});","","","","var jsonData = JSON.parse(responseBody);   ","","","var schema = {","  \"TrackerFilterIds\": \"[]string\",","  \"TrackerFilterGroupIds\": \"[]string\",","  \"DocumentFilterIds\" : \"[]string\",","  \"DocumentFilterGroupIds\" : \"[]string\",","  \"FrsFilterIds\" : \"[]string\","," \"ScmFilterIds\"  : \"[]string\","," \"BinaryFilterIds\" : \"[]string\"","};","","pm.test('Schema is valid', function() {","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});",""],"type":"text/javascript"}}],"id":"2bc5f274-e973-4da6-8386-3ffbd8a945e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/{{projectId}}/compare?baselineId1={{baseId1}}&baselineId2={{baseId2}}&compareBy=diff&application=tracker","description":"<p>Shows only the differences in the filter criteria of Tracker component, when implicit baseline definitions are compared</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","by-project","{{projectId}}","compare"],"host":["{{HostName}}"],"query":[{"key":"baselineId1","value":"{{baseId1}}"},{"key":"baselineId2","value":"{{baseId2}}"},{"key":"compareBy","value":"diff"},{"key":"application","value":"tracker"}],"variable":[]}},"response":[],"_postman_id":"2bc5f274-e973-4da6-8386-3ffbd8a945e6"},{"name":"Compare Implicit Baseline Definitions - All Filter Criteria from Document Component","event":[{"listen":"test","script":{"id":"baa1dd54-a82a-44cd-87ae-f4b694a42fb2","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","","","pm.test(\"color component matches with d2 (Deleted) in DocumentFolders\", function() {","    for (i = 0; i < 2; i++) {","        if (jsonData[i].name == \"Document Folders\") {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d2\"');","        }","    }","});","","var jsonData = JSON.parse(responseBody);   ","","","var schema = {","  \"TrackerFilterIds\": \"[]string\",","  \"TrackerFilterGroupIds\": \"[]string\",","  \"DocumentFilterIds\" : \"[]string\",","  \"DocumentFilterGroupIds\" : \"[]string\",","  \"FrsFilterIds\" : \"[]string\","," \"ScmFilterIds\"  : \"[]string\","," \"BinaryFilterIds\" : \"[]string\"","};","","pm.test('Schema is valid', function() {","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});",""],"type":"text/javascript"}}],"id":"8ef65b89-04ed-4c05-aeef-d30d88c5cea3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/{{projectId}}/compare?baselineId1={{baseId1}}&baselineId2={{baseId2}}&compareBy=all&application=document","description":"<p>Gets the entire filter criteria from Document component, when implicit baseline definitions are compared</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","by-project","{{projectId}}","compare"],"host":["{{HostName}}"],"query":[{"key":"baselineId1","value":"{{baseId1}}"},{"key":"baselineId2","value":"{{baseId2}}"},{"key":"compareBy","value":"all"},{"key":"application","value":"document"}],"variable":[]}},"response":[],"_postman_id":"8ef65b89-04ed-4c05-aeef-d30d88c5cea3"},{"name":"Compare Implicit Baseline Definitions - Show Only Differences in Filter Criteria of Document Component","event":[{"listen":"test","script":{"id":"d5ff0bed-0a9e-4a27-8ea9-de9dc92a7054","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","","pm.test(\"color component matches with d2 (Deleted) in DocumentFolders\", function() {","    for (i = 0; i < 2; i++) {","        if (jsonData[i].name == \"Document Folders\") {","                    pm.expect(pm.response.text()).to.include('\"color_component\": \"d2\"');","        }","    }","});","","","var jsonData = JSON.parse(responseBody);   ","","","var schema = {","  \"TrackerFilterIds\": \"[]string\",","  \"TrackerFilterGroupIds\": \"[]string\",","  \"DocumentFilterIds\" : \"[]string\",","  \"DocumentFilterGroupIds\" : \"[]string\",","  \"FrsFilterIds\" : \"[]string\","," \"ScmFilterIds\"  : \"[]string\","," \"BinaryFilterIds\" : \"[]string\"","};","","pm.test('Schema is valid', function() {","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});",""],"type":"text/javascript"}}],"id":"ed976ab4-d5ea-4ee8-aff4-7b3b1b10c6f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/{{projectId}}/compare?baselineId1={{baseId1}}&baselineId2={{baseId2}}&compareBy=diff&application=document","description":"<p>Shows only the differences in the filter criteria of Document component, when implicit baseline definitions are compared</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","by-project","{{projectId}}","compare"],"host":["{{HostName}}"],"query":[{"key":"baselineId1","value":"{{baseId1}}"},{"key":"baselineId2","value":"{{baseId2}}"},{"key":"compareBy","value":"diff"},{"key":"application","value":"document"}],"variable":[]}},"response":[],"_postman_id":"ed976ab4-d5ea-4ee8-aff4-7b3b1b10c6f5"},{"name":"Compare Implicit Baseline Definitions - All Filter Criteria from File Release Component","event":[{"listen":"test","script":{"id":"eaeff32f-ad1a-47fb-a8e2-444872386f10","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","","var PackageTitle = pm.environment.get(\"PackageTitle\");","","pm.test(\"color component matches with d1 (No change) in FileReleases\", function() {","        pm.expect(pm.response.text()).to.include('\"color_component\": \"d1\"');","});","","","var jsonData = JSON.parse(responseBody);   ","","var schema = {","  \"TrackerFilterIds\": \"[]string\",","  \"TrackerFilterGroupIds\": \"[]string\",","  \"DocumentFilterIds\" : \"[]string\",","  \"DocumentFilterGroupIds\" : \"[]string\",","  \"FrsFilterIds\" : \"[]string\","," \"ScmFilterIds\"  : \"[]string\","," \"BinaryFilterIds\" : \"[]string\"","};","","pm.test('Schema is valid', function() {","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});",""],"type":"text/javascript"}}],"id":"c3112df4-bdb8-4e6d-8b38-7377e94f759b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/{{projectId}}/compare?baselineId1={{baseId1}}&baselineId2={{baseId2}}&compareBy=all&application=frs","description":"<p>Gets the entire filter criteria from File Release component, when implicit baseline definitions are compared</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","by-project","{{projectId}}","compare"],"host":["{{HostName}}"],"query":[{"key":"baselineId1","value":"{{baseId1}}"},{"key":"baselineId2","value":"{{baseId2}}"},{"key":"compareBy","value":"all"},{"key":"application","value":"frs"}],"variable":[]}},"response":[],"_postman_id":"c3112df4-bdb8-4e6d-8b38-7377e94f759b"},{"name":"Compare Implicit Baseline Definitions - Show Only Differences in Filter Criteria of File Release Component","event":[{"listen":"test","script":{"id":"7b931894-ab6e-4992-af5b-e276e69bd722","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"There is no change in FRS. Hence it shows null value\", function() {","   pm.expect(pm.response.text()).to.include('[]');","});","","","var jsonData = JSON.parse(responseBody);   ","","var schema = {","  \"TrackerFilterIds\": \"[]string\",","  \"TrackerFilterGroupIds\": \"[]string\",","  \"DocumentFilterIds\" : \"[]string\",","  \"DocumentFilterGroupIds\" : \"[]string\",","  \"FrsFilterIds\" : \"[]string\","," \"ScmFilterIds\"  : \"[]string\","," \"BinaryFilterIds\" : \"[]string\"","};","","pm.test('Schema is valid', function() {","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});",""],"type":"text/javascript"}}],"id":"64b7b3ff-82cb-45cf-9cea-493170660bde","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/{{projectId}}/compare?baselineId1={{baseId1}}&baselineId2={{baseId2}}&compareBy=diff&application=frs","description":"<p>Shows only the differences in the filter criteria of File Release component, when implicit baseline definitions are compared</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","by-project","{{projectId}}","compare"],"host":["{{HostName}}"],"query":[{"key":"baselineId1","value":"{{baseId1}}"},{"key":"baselineId2","value":"{{baseId2}}"},{"key":"compareBy","value":"diff"},{"key":"application","value":"frs"}],"variable":[]}},"response":[],"_postman_id":"64b7b3ff-82cb-45cf-9cea-493170660bde"},{"name":"Get Baseline Definition By ID","event":[{"listen":"test","script":{"id":"31e2e193-cd4c-4172-a641-3a6d186d06f9","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData=JSON.parse(responseBody);","pm.environment.set(\"def_version_no\", jsonData.version);","","postman.setEnvironmentVariable(\"baseDefId1\", jsonData.id);","","","var schema = {","    \"Id\"  : \"string\",","    \"Title\" : \"string\",","    \"Description\" : \"string\",","    \"Status\" : \"string\",","    \"Type\" : \"int\",","    \"ProjectId\" :  \"string\",","    \"Category\" : \"string\",","    \"Version\" : \"int\",","    \"CreatedBy\" :   \"string\",","    \"ModifiedBy\" : \"string\",","    \"ApprovedBy\" : \"string\",","    \"DateCreated\" : \"string\",","    \"DateModified\": \"string\",","    \"DateApproved\" : \"string\"","};","","pm.test('Schema is valid', function() {","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}}],"id":"a8e56dca-c9f3-425a-b1db-c84467c277f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/{{baseDefId2}}","description":"<p>Gets the baseline definition using the baseline id</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","{{baseDefId2}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a8e56dca-c9f3-425a-b1db-c84467c277f2"},{"name":"Update Baseline Definition","event":[{"listen":"test","script":{"id":"0d0b65db-edb4-45a7-870f-319aaecd5bc1","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData=JSON.parse(responseBody);","var baseDefId2 = pm.environment.get(\"baseDefId2\");","","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Baseline definition '+baseDefId2+' updated sucessfully\"');","});","","postman.setEnvironmentVariable(\"baseDefId1\", jsonData.id);","","","var schema = {","    \"Id\"  : \"string\",","    \"Title\" : \"string\",","    \"Description\" : \"string\",","    \"Status\" : \"string\",","    \"Type\" : \"int\",","    \"ProjectId\" :  \"string\",","    \"Category\" : \"string\",","    \"Version\" : \"int\",","    \"CreatedBy\" :   \"string\",","    \"ModifiedBy\" : \"string\",","    \"ApprovedBy\" : \"string\",","    \"DateCreated\" : \"string\",","    \"DateModified\": \"string\",","    \"DateApproved\" : \"string\"","};","","pm.test('Schema is valid', function() {","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}}],"id":"f871d9ef-983a-4289-9b42-29b6323d99bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","value":"{{def_version_no}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"baselineDef1_updated in rest\",\n  \"description\": \"testing with baseline definition compare feature updated in rest\",\n  \"category\": \"{{category_deployment_Id}}\",\n  \"filter\": {\n    \"trackers\": [\n      {\n        \"id\": \"{{TrackerID_2}}\",\n        \"filters\": {}\n      },\n      {\n        \"id\": \"{{TrackerID_3}}\",\n        \"filters\": {}\n      }\n    ],\n    \"documentFolders\": {\n      \"folderIds\": [\n        \"{{DocFolderId1}}\"\n      ],\n      \"version\": \"active\",\n      \"filters\": {\n        \"attribute\": \"\",\n        \"condition\": \"\",\n        \"values\": [],\n        \"isInvalid\": false\n      }\n    },\n    \"planningFolders\": {\n    \t\"planningFolderIds\": [\n    \t   \"{{ChildPF_Id}}\"\n    \t ],\n    \t \"pfTree\": {}\n\t},\n    \"frs\": {\n      \"releaseIds\": [\n        \"{{ReleaseID1}}\"\n      ]\n    },\n    \"scms\": [],\n    \"binaries\": []\n  }\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/{{baseDefId2}}?projectPath={{projectId}}","description":"<p>Updates the baseline definition</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","{{baseDefId2}}"],"host":["{{HostName}}"],"query":[{"key":"projectPath","value":"{{projectId}}"}],"variable":[]}},"response":[],"_postman_id":"f871d9ef-983a-4289-9b42-29b6323d99bb"},{"name":"Get Root Planning Folder ID","event":[{"listen":"test","script":{"id":"9847f0cc-6ce8-410b-8bad-61ca652c5f87","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData=JSON.parse(responseBody);","var parentID = pm.environment.get(\"ParentPF_Id\");","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include(parentID);","});"],"type":"text/javascript"}}],"id":"972ec4f5-6fd8-4083-8dda-46a6ad7b3ef2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/planningfolders/by-project/{{projectId}}/rootPf","description":"<p>Gets the root planning folder id</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","planningfolders","by-project","{{projectId}}","rootPf"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"972ec4f5-6fd8-4083-8dda-46a6ad7b3ef2"},{"name":"Get Root Document Folder ID","event":[{"listen":"test","script":{"id":"497a2b14-de56-48c9-913e-6c066d6e44c5","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData=JSON.parse(responseBody);","var parentID = pm.environment.get(\"DocRootFolderId\");","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include(parentID);","});"]}}],"id":"5dd569ce-9639-4cf1-ab0e-b49646557952","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/documentfolders/by-project/{{projectId}}/rootDocument","description":"<p>Gets the root Document folder id</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","documentfolders","by-project","{{projectId}}","rootDocument"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5dd569ce-9639-4cf1-ab0e-b49646557952"},{"name":"Get Root Planning Folder ID using Invalid Project ID","event":[{"listen":"test","script":{"id":"67f20774-bca8-4575-a6ac-dd5922694724","type":"text/javascript","exec":["pm.test(\"Status code is 404\", function () {","    pm.response.to.have.status(404);","});","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Invalid project id/path\"');","});"]}}],"id":"8bff6c1f-2c3e-4e00-8a7c-de69d7219d6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/planningfolders/by-project/proj0000/rootPf","description":"<p>A \"404 Not Found\" error is thrown, when an invalid project id is used while fetching the root planning folder id via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","planningfolders","by-project","proj0000","rootPf"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8bff6c1f-2c3e-4e00-8a7c-de69d7219d6b"},{"name":"Get Root Document Folder ID using Invalid Project ID","event":[{"listen":"test","script":{"id":"ae0abc2e-93e1-493a-9515-c8d1846df85c","type":"text/javascript","exec":["pm.test(\"Status code is 404\", function () {","    pm.response.to.have.status(404);","});","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Invalid project id/path\"');","});"]}}],"id":"9d7504fc-ae73-4a5d-9a65-1fbc31fd3db3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/documentfolders/by-project/proj0000/rootDocument","description":"<p>A \"400 Not Found\" error is thrown, when an invalid project id is used while fetching the root document folder id via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","documentfolders","by-project","proj0000","rootDocument"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9d7504fc-ae73-4a5d-9a65-1fbc31fd3db3"}],"id":"ad099fc2-5c1d-430c-a099-c5ee35d24d1d","description":"<p>Provides the list of APIs used when comparing baselines and baseline definitions.</p>\n","event":[{"listen":"prerequest","script":{"id":"135b88fc-47a9-4f70-8319-7eda172dc6a7","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a41d3a49-6d8e-4fea-b4af-ff59e886bdfb","type":"text/javascript","exec":[""]}}],"_postman_id":"ad099fc2-5c1d-430c-a099-c5ee35d24d1d"},{"name":"Baseline Settings -  Attribute Management","item":[{"name":"Get User Roles with Baseline Reviewer Permission","event":[{"listen":"test","script":{"id":"eca24fc9-55f8-405a-a498-e651cdc910cf","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"role Id and Role name should match existing variable\", function () {","    pm.expect(pm.response.text()).to.include('\"RoleId\": \"'+pm.environment.get(\"roleId\")+'\"');","     pm.expect(pm.response.text()).to.include('\"RoleName\": \"'+pm.environment.get(\"projectrole\")+'\"');","});","","var jsonData = JSON.parse(responseBody);","","var schema = {","  \"RoleId\": \"string\",","  \"RoleName\": \"string\",","  \"Description\": \"string\",","  \"CreatedInProject\": \"string\",","  \"Type\": \"string\",","};","","","pm.test('Schema is valid',function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});","    "],"type":"text/javascript"}}],"id":"933e962d-5c3e-4dcb-a773-777cb6fe5114","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/review/roles/baseline/project/{{projectId}}","description":"<p>Gets user roles with \"Baseline Review\" permission</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","review","roles","baseline","project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"933e962d-5c3e-4dcb-a773-777cb6fe5114"},{"name":"Get User Roles with Baseline Reviewer Permission by Unauthorized User","event":[{"listen":"test","script":{"id":"edd0a0db-d181-4aac-8569-f0736a21bbca","exec":["pm.test(\"Status code is 401- Unauthorized\", function () {","    pm.response.to.have.status(401);","});","","pm.test(\"Body matches string - unauthorized message\", function () {","    pm.expect(pm.response.text()).to.include('\"You must be a baseline admin to perform this action\"');","});","","pm.test(\"Status code name has string - Unauthorized\", function () {","    pm.response.to.have.status(\"Unauthorized\");","});","","","var jsonData = JSON.parse(responseBody);","","var schema = {","  \"RoleId\": \"string\",","  \"RoleName\": \"string\",","  \"Description\": \"string\",","  \"CreatedInProject\": \"string\",","  \"Type\": \"string\",","};","","","pm.test('Schema is valid',function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});","    "],"type":"text/javascript"}}],"id":"c329e7ce-3c80-465c-961e-47367c71d524","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/review/roles/baseline/project/{{projectId}}","description":"<p>A \"401 Unauthorized\" error is thrown, when an unauthorized user tries to get the user roles with baseline reviewer permission via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","review","roles","baseline","project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c329e7ce-3c80-465c-961e-47367c71d524"},{"name":"Get User Roles with Baseline Reviewer Permission using Invalid Project ID","event":[{"listen":"test","script":{"id":"ca0e5f25-d94a-484a-834e-7729b46ea2aa","exec":["pm.test(\"Status code is 404- Not Found\", function () {","    pm.response.to.have.status(404);","});","","pm.test(\"Body matches string - Invalid project id\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Invalid project id/path\"');","});","","pm.test(\"Status code name has string - NotFound\", function () {","    pm.response.to.have.status(\"Not Found\");","});","","var jsonData = JSON.parse(responseBody);","","var schema = {","  \"RoleId\": \"string\",","  \"RoleName\": \"string\",","  \"Description\": \"string\",","  \"CreatedInProject\": \"string\",","  \"Type\": \"string\",","};","","","pm.test('Schema is valid',function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});","    "],"type":"text/javascript"}}],"id":"c15258ef-e0f7-407a-8ac9-f39a4b4c5537","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/review/roles/baseline/project/proj0000","description":"<p>A \"404 Not Found\" error is thrown, when an invalid project id is used while fetching user roles with baseline review permission via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","review","roles","baseline","project","proj0000"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c15258ef-e0f7-407a-8ac9-f39a4b4c5537"},{"name":"Create Custom Attribute - Single Line Text Box","event":[{"listen":"test","script":{"id":"8c291fa7-a6e8-4c25-8f8c-3dfd7ebc40e3","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"Attribute_Singleline_Name\", jsonData.Name);","pm.environment.set(\"Attribute_Singleline_Id\", jsonData.Id);","pm.environment.set(\"Attribute_Singleline_Version\", jsonData.Version);","","","","var schema = {","  \"Id\": \"string\",","  \"Name\": \"string\",","  \"DisplayType\": \"string\",","  \"DisplaySize\": \"int\",","  \"DisplayLines\": \"int\",","  \"DisplayOrder\": \"int\",","  \"ValueType\": \"string\",","  \"IsRequired\": \"boolean\",","  \"IsDisabled\": \"boolean\",","  \"Version\": \"int\",","  \"FieldValues\": [","    \"string\"","  ]","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}}],"id":"39be5ef3-52f0-4d6e-9df7-c391bd076752","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"SinlgeLine_Text\",\n  \"displayType\": \"TEXT\",\n  \"displayLines\": 1,\n  \"displaySize\": 1,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}","description":"<p>Creates the single line text box field</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"0cf5874d-534c-45aa-ad9f-41eddbb05812","name":"Create Custom Attribute - Single Line Text Box","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"SinlgeLine_Text\",\n  \"displayType\": \"TEXT\",\n  \"displayLines\": 1,\n  \"displaySize\": 1,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:17:25 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"460"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=9997"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"Id\": \"basefild1144\",\n    \"Name\": \"SinlgeLine_Text_166\",\n    \"DisplayType\": \"TEXT\",\n    \"DisplaySize\": 1,\n    \"DisplayLines\": 1,\n    \"ValueType\": \"String\",\n    \"IsRequired\": false,\n    \"IsDisabled\": false,\n    \"IsDeleted\": false,\n    \"IsUserDefined\": true,\n    \"DisplayOrder\": 3,\n    \"CreatedById\": \"user1161\",\n    \"DateCreated\": \"2018-10-21 16:47:23 +0530 IST\",\n    \"LastModifiedById\": \"user1161\",\n    \"DateLastModified\": \"2018-10-21 16:47:23 +0530 IST\",\n    \"Version\": 100,\n    \"ProjectId\": \"proj1088\"\n}"}],"_postman_id":"39be5ef3-52f0-4d6e-9df7-c391bd076752"},{"name":"Create Custom Attribute - Same Name for Single Line Text Box","event":[{"listen":"test","script":{"id":"f13c1834-22f6-4604-8a48-6c850919d6c6","exec":["pm.test(\"Status code is 409\", function () {","    pm.response.to.have.status(409);","});","","var name1 = pm.environment.get(\"Attribute_Singleline_Name\");","","pm.test(\"Body matches string- field name already exists\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Field with name \\''+name1+'\\' already exists\"');","});","","pm.test(\"Status code name has string - conflict\", function () {","    pm.response.to.have.status(\"Conflict\");","});","","","","var schema = {","  \"Id\": \"string\",","  \"Name\": \"string\",","  \"DisplayType\": \"string\",","  \"DisplaySize\": \"int\",","  \"DisplayLines\": \"int\",","  \"DisplayOrder\": \"int\",","  \"ValueType\": \"string\",","  \"IsRequired\": \"boolean\",","  \"IsDisabled\": \"boolean\",","  \"Version\": \"int\",","  \"FieldValues\": [","    \"string\"","  ]","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}}],"id":"045e458a-9c18-4703-84a5-9e6b615527b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"{{Attribute_Singleline_Name}}\",\n  \"displayType\": \"TEXT\",\n  \"displayLines\": 1,\n  \"displaySize\": 1,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}","description":"<p>When creating single line text box field  with an already existing name, an error is thrown</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"69ea677d-0cfd-458d-ac09-9c1acb81933d","name":"Create Custom Attribute - Same Name for Single Line Text Box","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"{{Attribute_Singleline_Name}}\",\n  \"displayType\": \"TEXT\",\n  \"displayLines\": 1,\n  \"displaySize\": 1,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:17:55 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"91"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"Conflict\",\n    \"message\": \"Field with name 'SinlgeLine_Text_166' already exists\"\n}"}],"_postman_id":"045e458a-9c18-4703-84a5-9e6b615527b8"},{"name":"Create Custom Attribute - Multi Line Text Box","event":[{"listen":"test","script":{"id":"97c571ea-6bb4-403b-97c7-226899d91ca1","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"Attribute_Multiline_Name\", jsonData.Name);","pm.environment.set(\"Attribute_Multiline_Id\", jsonData.Id);","pm.environment.set(\"Attribute_Multiline_Version\", jsonData.Version);","","","","","var schema = {","  \"Id\": \"string\",","  \"Name\": \"string\",","  \"DisplayType\": \"string\",","  \"DisplaySize\": \"int\",","  \"DisplayLines\": \"int\",","  \"DisplayOrder\": \"int\",","  \"ValueType\": \"string\",","  \"IsRequired\": \"boolean\",","  \"IsDisabled\": \"boolean\",","  \"Version\": \"int\",","  \"FieldValues\": [","    \"string\"","  ]","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}}],"id":"d011f4fe-409c-4ed5-ad74-d55d55453802","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"MultiLine_Text\",\n  \"displayType\": \"TEXT\",\n  \"displayLines\": 5,\n  \"displaySize\": 5,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}","description":"<p>Creates the multi line text box field</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"a6c0f4a2-46ec-43f7-8bee-5b34c8e0e70d","name":"Create Custom Attribute - Multi Line Text Box","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"MultiLine_Text\",\n  \"displayType\": \"TEXT\",\n  \"displayLines\": 5,\n  \"displaySize\": 5,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:18:23 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"459"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"Id\": \"basefild1145\",\n    \"Name\": \"MultiLine_Text_900\",\n    \"DisplayType\": \"TEXT\",\n    \"DisplaySize\": 5,\n    \"DisplayLines\": 5,\n    \"ValueType\": \"String\",\n    \"IsRequired\": false,\n    \"IsDisabled\": false,\n    \"IsDeleted\": false,\n    \"IsUserDefined\": true,\n    \"DisplayOrder\": 4,\n    \"CreatedById\": \"user1161\",\n    \"DateCreated\": \"2018-10-21 16:48:21 +0530 IST\",\n    \"LastModifiedById\": \"user1161\",\n    \"DateLastModified\": \"2018-10-21 16:48:21 +0530 IST\",\n    \"Version\": 100,\n    \"ProjectId\": \"proj1088\"\n}"}],"_postman_id":"d011f4fe-409c-4ed5-ad74-d55d55453802"},{"name":"Create Custom Attribute - Same Name for Multi Line Text Box","event":[{"listen":"test","script":{"id":"07482778-b26b-412d-8a01-525a773b386e","exec":["pm.test(\"Status code is 409\", function () {","    pm.response.to.have.status(409);","});","","var name1 = pm.environment.get(\"Attribute_Multiline_Name\");","","pm.test(\"Body matches string- field name already exists\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Field with name \\''+name1+'\\' already exists\"');","});","","pm.test(\"Status code name has string - conflict\", function () {","    pm.response.to.have.status(\"Conflict\");","});","","","","var schema = {","  \"Id\": \"string\",","  \"Name\": \"string\",","  \"DisplayType\": \"string\",","  \"DisplaySize\": \"int\",","  \"DisplayLines\": \"int\",","  \"DisplayOrder\": \"int\",","  \"ValueType\": \"string\",","  \"IsRequired\": \"boolean\",","  \"IsDisabled\": \"boolean\",","  \"Version\": \"int\",","  \"FieldValues\": [","    \"string\"","  ]","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}}],"id":"0716d05a-05b4-4461-8fe7-ad928d96b57a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"{{Attribute_Multiline_Name}}\",\n  \"displayType\": \"TEXT\",\n  \"displayLines\": 5,\n  \"displaySize\": 5,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}","description":"<p>When creating multi line text box field with an already existing name, an error is thrown</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"54df8e2c-dfc4-4980-9857-03e121cb019f","name":"Create Custom Attribute - Same Name for Multi Line Text Box","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"{{Attribute_Multiline_Name}}\",\n  \"displayType\": \"TEXT\",\n  \"displayLines\": 5,\n  \"displaySize\": 5,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:18:44 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"90"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"Conflict\",\n    \"message\": \"Field with name 'MultiLine_Text_900' already exists\"\n}"}],"_postman_id":"0716d05a-05b4-4461-8fe7-ad928d96b57a"},{"name":"Create Custom Attribute - Single-select Drop-down Field","event":[{"listen":"test","script":{"id":"3852794f-e9f7-415f-98ae-4a3722cd4b70","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"Attribute_DropDown_Name\", jsonData.Name);","pm.environment.set(\"Attribute_DropDown_Id\", jsonData.Id);","pm.environment.set(\"Attribute_DropDown_Version\",jsonData.Version);","","for ( var i = 0; i<2; i++){","    pm.environment.set(\"Attribute_DropDown_value\"+i+\"\", jsonData.FieldValues[i].Id);","}","","","","var schema = {","  \"Id\": \"string\",","  \"Name\": \"string\",","  \"DisplayType\": \"string\",","  \"DisplaySize\": \"int\",","  \"DisplayLines\": \"int\",","  \"DisplayOrder\": \"int\",","  \"ValueType\": \"string\",","  \"IsRequired\": \"boolean\",","  \"IsDisabled\": \"boolean\",","  \"Version\": \"int\",","  \"FieldValues\": [","    \"string\"","  ]","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}}],"id":"59b6716e-0692-454f-b00d-2a17804dadde","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Attribute1_1\",\n  \"displayType\": \"DROPDOWN\",\n  \"displayLines\": 1,\n  \"displaySize\": 1,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false,\n  \"fieldValues\": [\n    {\n      \"value\": \"Att_value\"\n    },\n    {\n      \"value\": \"Att_value\"\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}","description":"<p>Creates the single-select drop-down field</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"b41f70b4-26d5-4033-aa7c-86bcfb4fef80","name":"Create Custom Attribute - Single-select Drop-down Field","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Attribute1_1\",\n  \"displayType\": \"DROPDOWN\",\n  \"displayLines\": 1,\n  \"displaySize\": 1,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false,\n  \"fieldValues\": [\n    {\n      \"value\": \"Att_value\"\n    },\n    {\n      \"value\": \"Att_value\"\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:19:02 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"810"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"Id\": \"basefild1146\",\n    \"Name\": \"Attribute1_681\",\n    \"DisplayType\": \"DROPDOWN\",\n    \"DisplaySize\": 1,\n    \"DisplayLines\": 1,\n    \"ValueType\": \"String\",\n    \"IsRequired\": false,\n    \"IsDisabled\": false,\n    \"IsDeleted\": false,\n    \"IsUserDefined\": true,\n    \"DisplayOrder\": 5,\n    \"CreatedById\": \"user1161\",\n    \"DateCreated\": \"2018-10-21 16:49:00 +0530 IST\",\n    \"LastModifiedById\": \"user1161\",\n    \"DateLastModified\": \"2018-10-21 16:49:00 +0530 IST\",\n    \"Version\": 100,\n    \"ProjectId\": \"proj1088\",\n    \"FieldValues\": [\n        {\n            \"Id\": \"basefldv1585\",\n            \"FieldId\": \"basefild1146\",\n            \"IsDefaultValue\": false,\n            \"Value\": \"Att_value_445\",\n            \"DisplayOrder\": 1,\n            \"IsDeleted\": false\n        },\n        {\n            \"Id\": \"basefldv1586\",\n            \"FieldId\": \"basefild1146\",\n            \"IsDefaultValue\": false,\n            \"Value\": \"Att_value_682\",\n            \"DisplayOrder\": 2,\n            \"IsDeleted\": false\n        }\n    ]\n}"},{"id":"ce510f47-4712-40d9-bc52-7bb4083a2b1e","name":"Create Custom Attribute - Single-select Drop-down Field","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Attribute1_1\",\n  \"displayType\": \"DROPDOWN\",\n  \"displayLines\": 1,\n  \"displaySize\": 1,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false,\n  \"fieldValues\": [\n    {\n      \"value\": \"Att_value\"\n    },\n    {\n      \"value\": \"Att_value\"\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:19:02 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"810"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"Id\": \"basefild1146\",\n    \"Name\": \"Attribute1_681\",\n    \"DisplayType\": \"DROPDOWN\",\n    \"DisplaySize\": 1,\n    \"DisplayLines\": 1,\n    \"ValueType\": \"String\",\n    \"IsRequired\": false,\n    \"IsDisabled\": false,\n    \"IsDeleted\": false,\n    \"IsUserDefined\": true,\n    \"DisplayOrder\": 5,\n    \"CreatedById\": \"user1161\",\n    \"DateCreated\": \"2018-10-21 16:49:00 +0530 IST\",\n    \"LastModifiedById\": \"user1161\",\n    \"DateLastModified\": \"2018-10-21 16:49:00 +0530 IST\",\n    \"Version\": 100,\n    \"ProjectId\": \"proj1088\",\n    \"FieldValues\": [\n        {\n            \"Id\": \"basefldv1585\",\n            \"FieldId\": \"basefild1146\",\n            \"IsDefaultValue\": false,\n            \"Value\": \"Att_value_445\",\n            \"DisplayOrder\": 1,\n            \"IsDeleted\": false\n        },\n        {\n            \"Id\": \"basefldv1586\",\n            \"FieldId\": \"basefild1146\",\n            \"IsDefaultValue\": false,\n            \"Value\": \"Att_value_682\",\n            \"DisplayOrder\": 2,\n            \"IsDeleted\": false\n        }\n    ]\n}"}],"_postman_id":"59b6716e-0692-454f-b00d-2a17804dadde"},{"name":"Create Custom Attribute - Same Name for Single-select Drop-down Field","event":[{"listen":"test","script":{"id":"55a56bd3-bd75-4a53-bbb3-aadcae735167","exec":["pm.test(\"Status code is 409\", function () {","    pm.response.to.have.status(409);","});","","var name1 = pm.environment.get(\"Attribute_DropDown_Name\");","","pm.test(\"Body matches string- field name already exists\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Field with name \\''+name1+'\\' already exists\"');","});","","pm.test(\"Status code name has string - conflict\", function () {","    pm.response.to.have.status(\"Conflict\");","});","","","var schema = {","  \"Id\": \"string\",","  \"Name\": \"string\",","  \"DisplayType\": \"string\",","  \"DisplaySize\": \"int\",","  \"DisplayLines\": \"int\",","  \"DisplayOrder\": \"int\",","  \"ValueType\": \"string\",","  \"IsRequired\": \"boolean\",","  \"IsDisabled\": \"boolean\",","  \"Version\": \"int\",","  \"FieldValues\": [","    \"string\"","  ]","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}}],"id":"605fbd40-b63f-4848-a728-efe61a5c4956","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"{{Attribute_DropDown_Name}}\",\n  \"displayType\": \"DROPDOWN\",\n  \"displayLines\": 1,\n  \"displaySize\": 1,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false,\n  \"fieldValues\": [\n    {\n      \"value\": \"Att_value\"\n    },\n    {\n      \"value\": \"Att_value\"\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}","description":"<p>When creating single-select drop-down field with an already existing name, an error is thrown</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"cacdd5bc-f041-45d1-8d39-0d84aa57a223","name":"Create Custom Attribute - Same Name for Single-select Drop-down Field","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"{{Attribute_DropDown_Name}}\",\n  \"displayType\": \"DROPDOWN\",\n  \"displayLines\": 1,\n  \"displaySize\": 1,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false,\n  \"fieldValues\": [\n    {\n      \"value\": \"Att_value\"\n    },\n    {\n      \"value\": \"Att_value\"\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:19:26 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"86"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"Conflict\",\n    \"message\": \"Field with name 'Attribute1_681' already exists\"\n}"}],"_postman_id":"605fbd40-b63f-4848-a728-efe61a5c4956"},{"name":"Create Custom Attribute - Multi-select Field","event":[{"listen":"test","script":{"id":"50ef9d34-505d-4e87-a834-95aa73d61512","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"Attribute_Multiselect_Name\", jsonData.Name);","pm.environment.set(\"Attribute_Multiselect_Id\", jsonData.Id);","pm.environment.set(\"Attribute_Multiselect_Version\",jsonData.Version);","","for ( var i = 0; i<3; i++){","    pm.environment.set(\"Attribute_Multiselect_value\"+i+\"\", jsonData.FieldValues[i].Id);","}","","","var schema = {","  \"Id\": \"string\",","  \"Name\": \"string\",","  \"DisplayType\": \"string\",","  \"DisplaySize\": \"int\",","  \"DisplayLines\": \"int\",","  \"DisplayOrder\": \"int\",","  \"ValueType\": \"string\",","  \"IsRequired\": \"boolean\",","  \"IsDisabled\": \"boolean\",","  \"Version\": \"int\",","  \"FieldValues\": [","    \"string\"","  ]","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}}],"id":"7e51dbcb-ca5b-4c5d-911d-87351457fd52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Attribute2_1\",\n  \"displayType\": \"MULTISELECT\",\n  \"displayLines\": 1,\n  \"displaySize\": 1,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false,\n  \"fieldValues\": [\n    {\n      \"value\": \"checkbox1\"\n    },\n    {\n      \"value\": \"checkbox2\"\n    },\n    {\n      \"value\": \"checkbox3\"\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}","description":"<p>Creates the multi-select field</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"1ef6bf10-7df6-43d7-b68f-eb00763ef940","name":"Create Custom Attribute - Multi-select Field","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Attribute2_1\",\n  \"displayType\": \"MULTISELECT\",\n  \"displayLines\": 1,\n  \"displaySize\": 1,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false,\n  \"fieldValues\": [\n    {\n      \"value\": \"checkbox1\"\n    },\n    {\n      \"value\": \"checkbox2\"\n    },\n    {\n      \"value\": \"checkbox3\"\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:19:57 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"966"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"Id\": \"basefild1147\",\n    \"Name\": \"Attribute2_126\",\n    \"DisplayType\": \"MULTISELECT\",\n    \"DisplaySize\": 1,\n    \"DisplayLines\": 1,\n    \"ValueType\": \"String\",\n    \"IsRequired\": false,\n    \"IsDisabled\": false,\n    \"IsDeleted\": false,\n    \"IsUserDefined\": true,\n    \"DisplayOrder\": 6,\n    \"CreatedById\": \"user1161\",\n    \"DateCreated\": \"2018-10-21 16:49:55 +0530 IST\",\n    \"LastModifiedById\": \"user1161\",\n    \"DateLastModified\": \"2018-10-21 16:49:55 +0530 IST\",\n    \"Version\": 100,\n    \"ProjectId\": \"proj1088\",\n    \"FieldValues\": [\n        {\n            \"Id\": \"basefldv1587\",\n            \"FieldId\": \"basefild1147\",\n            \"IsDefaultValue\": false,\n            \"Value\": \"checkbox1\",\n            \"DisplayOrder\": 1,\n            \"IsDeleted\": false\n        },\n        {\n            \"Id\": \"basefldv1588\",\n            \"FieldId\": \"basefild1147\",\n            \"IsDefaultValue\": false,\n            \"Value\": \"checkbox2\",\n            \"DisplayOrder\": 2,\n            \"IsDeleted\": false\n        },\n        {\n            \"Id\": \"basefldv1589\",\n            \"FieldId\": \"basefild1147\",\n            \"IsDefaultValue\": false,\n            \"Value\": \"checkbox3\",\n            \"DisplayOrder\": 3,\n            \"IsDeleted\": false\n        }\n    ]\n}"},{"id":"adc83d1b-b1af-4dab-bb3b-420305edf9d5","name":"Create Custom Attribute - Multi-select Field","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Attribute2_1\",\n  \"displayType\": \"MULTISELECT\",\n  \"displayLines\": 1,\n  \"displaySize\": 1,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false,\n  \"fieldValues\": [\n    {\n      \"value\": \"checkbox1\"\n    },\n    {\n      \"value\": \"checkbox2\"\n    },\n    {\n      \"value\": \"checkbox3\"\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:19:57 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"966"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"Id\": \"basefild1147\",\n    \"Name\": \"Attribute2_126\",\n    \"DisplayType\": \"MULTISELECT\",\n    \"DisplaySize\": 1,\n    \"DisplayLines\": 1,\n    \"ValueType\": \"String\",\n    \"IsRequired\": false,\n    \"IsDisabled\": false,\n    \"IsDeleted\": false,\n    \"IsUserDefined\": true,\n    \"DisplayOrder\": 6,\n    \"CreatedById\": \"user1161\",\n    \"DateCreated\": \"2018-10-21 16:49:55 +0530 IST\",\n    \"LastModifiedById\": \"user1161\",\n    \"DateLastModified\": \"2018-10-21 16:49:55 +0530 IST\",\n    \"Version\": 100,\n    \"ProjectId\": \"proj1088\",\n    \"FieldValues\": [\n        {\n            \"Id\": \"basefldv1587\",\n            \"FieldId\": \"basefild1147\",\n            \"IsDefaultValue\": false,\n            \"Value\": \"checkbox1\",\n            \"DisplayOrder\": 1,\n            \"IsDeleted\": false\n        },\n        {\n            \"Id\": \"basefldv1588\",\n            \"FieldId\": \"basefild1147\",\n            \"IsDefaultValue\": false,\n            \"Value\": \"checkbox2\",\n            \"DisplayOrder\": 2,\n            \"IsDeleted\": false\n        },\n        {\n            \"Id\": \"basefldv1589\",\n            \"FieldId\": \"basefild1147\",\n            \"IsDefaultValue\": false,\n            \"Value\": \"checkbox3\",\n            \"DisplayOrder\": 3,\n            \"IsDeleted\": false\n        }\n    ]\n}"}],"_postman_id":"7e51dbcb-ca5b-4c5d-911d-87351457fd52"},{"name":"Create Custom Attribute - Same Name for Multi-select Field","event":[{"listen":"test","script":{"id":"9a035c27-c19b-4152-b96f-2dcda059d536","exec":["pm.test(\"Status code is 409\", function () {","    pm.response.to.have.status(409);","});","","var name1 = pm.environment.get(\"Attribute_Multiselect_Name\");","","pm.test(\"Body matches string- field name already exists\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Field with name \\''+name1+'\\' already exists\"');","});","","pm.test(\"Status code name has string - conflict\", function () {","    pm.response.to.have.status(\"Conflict\");","});","","","","var schema = {","  \"Id\": \"string\",","  \"Name\": \"string\",","  \"DisplayType\": \"string\",","  \"DisplaySize\": \"int\",","  \"DisplayLines\": \"int\",","  \"DisplayOrder\": \"int\",","  \"ValueType\": \"string\",","  \"IsRequired\": \"boolean\",","  \"IsDisabled\": \"boolean\",","  \"Version\": \"int\",","  \"FieldValues\": [","    \"string\"","  ]","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}}],"id":"856c0151-07d0-477c-8c4f-2b977323ce73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"{{Attribute_Multiselect_Name}}\",\n  \"displayType\": \"MULTISELECT\",\n  \"displayLines\": 1,\n  \"displaySize\": 1,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false,\n  \"fieldValues\": [\n    {\n      \"value\": \"checkbox1\"\n    },\n    {\n      \"value\": \"checkbox2\"\n    },\n    {\n      \"value\": \"checkbox3\"\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}","description":"<p>When creating multi-select field with an already existing name, an error is thrown</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"41fc0886-880e-4d56-95d2-60cfbb8452f4","name":"Create Custom Attribute - Same Name for Multi-select Field","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"{{Attribute_Multiselect_Name}}\",\n  \"displayType\": \"MULTISELECT\",\n  \"displayLines\": 1,\n  \"displaySize\": 1,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false,\n  \"fieldValues\": [\n    {\n      \"value\": \"checkbox1\"\n    },\n    {\n      \"value\": \"checkbox2\"\n    },\n    {\n      \"value\": \"checkbox3\"\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:20:31 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"86"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"Conflict\",\n    \"message\": \"Field with name 'Attribute2_126' already exists\"\n}"}],"_postman_id":"856c0151-07d0-477c-8c4f-2b977323ce73"},{"name":"Create Custom Attribute - Date Field","event":[{"listen":"test","script":{"id":"14cac438-b94b-4b74-9f67-3eca4181cc32","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"Attribute_Date_Name\", jsonData.Name);","pm.environment.set(\"Attribute_Date_Id\", jsonData.Id);","pm.environment.set(\"Attribute_Date_Version\", jsonData.Version);","","","var schema = {","  \"Id\": \"string\",","  \"Name\": \"string\",","  \"DisplayType\": \"string\",","  \"DisplaySize\": \"int\",","  \"DisplayLines\": \"int\",","  \"DisplayOrder\": \"int\",","  \"ValueType\": \"string\",","  \"IsRequired\": \"boolean\",","  \"IsDisabled\": \"boolean\",","  \"Version\": \"int\",","  \"FieldValues\": [","    \"string\"","  ]","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}}],"id":"16a38046-379d-42a3-8e34-a8b6e6bca166","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"DateField_1\",\n  \"displayType\": \"DATE\",\n  \"displayLines\": 1,\n  \"displaySize\": 1,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}","description":"<p>Creates the date custom attribute</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"8b269f2e-7cfe-4cd5-b888-b44b7c01c942","name":"Create Custom Attribute - Date Field","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"DateField_1\",\n  \"displayType\": \"DATE\",\n  \"displayLines\": 1,\n  \"displaySize\": 1,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:20:48 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"454"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"Id\": \"basefild1148\",\n    \"Name\": \"DateField_419\",\n    \"DisplayType\": \"DATE\",\n    \"DisplaySize\": 1,\n    \"DisplayLines\": 1,\n    \"ValueType\": \"String\",\n    \"IsRequired\": false,\n    \"IsDisabled\": false,\n    \"IsDeleted\": false,\n    \"IsUserDefined\": true,\n    \"DisplayOrder\": 7,\n    \"CreatedById\": \"user1161\",\n    \"DateCreated\": \"2018-10-21 16:50:46 +0530 IST\",\n    \"LastModifiedById\": \"user1161\",\n    \"DateLastModified\": \"2018-10-21 16:50:46 +0530 IST\",\n    \"Version\": 100,\n    \"ProjectId\": \"proj1088\"\n}"},{"id":"a1ba2c14-b37e-4f27-8c7f-6a12649f8fc8","name":"Create Custom Attribute - Date Field","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"DateField_1\",\n  \"displayType\": \"DATE\",\n  \"displayLines\": 1,\n  \"displaySize\": 1,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:20:48 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"454"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"Id\": \"basefild1148\",\n    \"Name\": \"DateField_419\",\n    \"DisplayType\": \"DATE\",\n    \"DisplaySize\": 1,\n    \"DisplayLines\": 1,\n    \"ValueType\": \"String\",\n    \"IsRequired\": false,\n    \"IsDisabled\": false,\n    \"IsDeleted\": false,\n    \"IsUserDefined\": true,\n    \"DisplayOrder\": 7,\n    \"CreatedById\": \"user1161\",\n    \"DateCreated\": \"2018-10-21 16:50:46 +0530 IST\",\n    \"LastModifiedById\": \"user1161\",\n    \"DateLastModified\": \"2018-10-21 16:50:46 +0530 IST\",\n    \"Version\": 100,\n    \"ProjectId\": \"proj1088\"\n}"}],"_postman_id":"16a38046-379d-42a3-8e34-a8b6e6bca166"},{"name":"Create Custom Attribute - Same Name for Date Field","event":[{"listen":"test","script":{"id":"47d9e481-a507-498b-961e-4255dcbd1fbc","exec":["pm.test(\"Status code is 409\", function () {","    pm.response.to.have.status(409);","});","","var datename = pm.environment.get(\"Attribute_Date_Name\");","","pm.test(\"Body matches string- field name already exists\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Field with name \\''+datename+'\\' already exists\"');","});","","pm.test(\"Status code name has string - conflict\", function () {","    pm.response.to.have.status(\"Conflict\");","});","","","","var schema = {","  \"Id\": \"string\",","  \"Name\": \"string\",","  \"DisplayType\": \"string\",","  \"DisplaySize\": \"int\",","  \"DisplayLines\": \"int\",","  \"DisplayOrder\": \"int\",","  \"ValueType\": \"string\",","  \"IsRequired\": \"boolean\",","  \"IsDisabled\": \"boolean\",","  \"Version\": \"int\",","  \"FieldValues\": [","    \"string\"","  ]","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}}],"id":"b3493c25-70d8-4645-b327-d3edb20ba29f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"{{Attribute_Date_Name}}\",\n  \"displayType\": \"DATE\",\n  \"displayLines\": 1,\n  \"displaySize\": 1,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}","description":"<p>When creating date attribute with an already existing name, an error is thrown</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"ef3504c0-540c-4278-985b-9bfad48bb0ee","name":"Create Custom Attribute - Same Name for Date Field","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"{{Attribute_Date_Name}}\",\n  \"displayType\": \"DATE\",\n  \"displayLines\": 1,\n  \"displaySize\": 1,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:21:24 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"85"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"Conflict\",\n    \"message\": \"Field with name 'DateField_419' already exists\"\n}"}],"_postman_id":"b3493c25-70d8-4645-b327-d3edb20ba29f"},{"name":"Create Custom Attribute using Invalid Project ID","event":[{"listen":"test","script":{"id":"6a91282e-3b07-43fb-9c55-90b221c03cd9","type":"text/javascript","exec":["pm.test(\"Status code is 404\", function () {","    pm.response.to.have.status(404);","});","","pm.test(\"Body matches string- Invalid project ID\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Invalid project id/path\"');","});","","pm.test(\"Status code name has string - NotFound\", function () {","    pm.response.to.have.status(\"Not Found\");","});"]}}],"id":"f61f92e1-248c-4100-b1d7-a96f74714e41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"{{Attribute_Multiline_Name}}\",\n  \"displayType\": \"TEXT\",\n  \"displayLines\": 5,\n  \"displaySize\": 5,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/proj0000","description":"<p>A \"404 Not Found\" error, when an invalid project id is used while creating custom attribute via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","proj0000"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"977eb2a1-a469-479c-8d96-4f907fc18175","name":"Create Custom Attribute using Invalid Project ID","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"{{Attribute_Multiline_Name}}\",\n  \"displayType\": \"TEXT\",\n  \"displayLines\": 5,\n  \"displaySize\": 5,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/proj0000"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:21:37 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"88"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=9999"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"NotFound\",\n    \"message\": \"Invalid project id/path\",\n    \"parameter\": \"proj0000\"\n}"}],"_postman_id":"f61f92e1-248c-4100-b1d7-a96f74714e41"},{"name":"Create Custom Attribute  by Unauthorized User","event":[{"listen":"test","script":{"id":"488a7fb7-311b-4020-afef-ec38abe0d440","type":"text/javascript","exec":["pm.test(\"Status code is 401\", function () {","    pm.response.to.have.status(401);","});","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('\"You must be a baseline admin to perform this action\"');","});","","pm.test(\"Status code name has string - Unauthorized\", function () {","    pm.response.to.have.status(\"Unauthorized\");","});"]}}],"id":"0520fb25-ff3f-4085-9973-73482335e8db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"{{Attribute_Multiline_Name}}\",\n  \"displayType\": \"TEXT\",\n  \"displayLines\": 5,\n  \"displaySize\": 5,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}","description":"<p>A \"401 Unauthorized\" error is thrown, when an authorized user tries to create the custom attribute via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"706fca64-6e50-4af9-8d18-e082b80ee3bc","name":"Create Custom Attribute  by Unauthorized User","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"{{Attribute_Multiline_Name}}\",\n  \"displayType\": \"TEXT\",\n  \"displayLines\": 5,\n  \"displaySize\": 5,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:21:51 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=9998"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"\"You must be a baseline admin to perform this action\""}],"_postman_id":"0520fb25-ff3f-4085-9973-73482335e8db"},{"name":"Edit Custom Attribute - Single Line Text Box","event":[{"listen":"test","script":{"id":"5c7647f6-a209-407a-9b98-44a1c6a018df","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"Attribute_Singleline_Name\", jsonData.Name);","pm.environment.set(\"Attribute_Singleline_Version\", jsonData.Version);","","","","var schema = {","  \"Id\": \"string\",","  \"Name\": \"string\",","  \"DisplayType\": \"string\",","  \"DisplaySize\": \"int\",","  \"DisplayLines\": \"int\",","  \"DisplayOrder\": \"int\",","  \"ValueType\": \"string\",","  \"IsRequired\": \"boolean\",","  \"IsDisabled\": \"boolean\",","  \"Version\": \"int\",","  \"FieldValues\": [","    \"string\"","  ]","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}}],"id":"59f5e72a-844f-4e86-86ab-443c317f668e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","value":"{{Attribute_Singleline_Version}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"SinlgeLine_Text_Updated\",\n  \"displayType\": \"TEXT\",\n  \"displayLines\": 1,\n  \"displaySize\": 1,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{Attribute_Singleline_Id}}","description":"<p>Updates the single line text box</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}","{{Attribute_Singleline_Id}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"59f5e72a-844f-4e86-86ab-443c317f668e"},{"name":"Edit Custom Attribute - Multi Line Text Box","event":[{"listen":"test","script":{"id":"3ad74339-61e0-4c6f-933c-27f2f0bf44d2","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"Attribute_Multiline_Name\", jsonData.Name);","pm.environment.set(\"Attribute_Multiline_Version\", jsonData.Version);","","","","var schema = {","  \"Id\": \"string\",","  \"Name\": \"string\",","  \"DisplayType\": \"string\",","  \"DisplaySize\": \"int\",","  \"DisplayLines\": \"int\",","  \"DisplayOrder\": \"int\",","  \"ValueType\": \"string\",","  \"IsRequired\": \"boolean\",","  \"IsDisabled\": \"boolean\",","  \"Version\": \"int\",","  \"FieldValues\": [","    \"string\"","  ]","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}}],"id":"96ec4bc1-a4ec-465a-a8f5-38730d286559","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","value":"{{Attribute_Multiline_Version}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"MultiLine_Text_updated\",\n  \"displayType\": \"TEXT\",\n  \"displayLines\": 5,\n  \"displaySize\": 5,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{Attribute_Multiline_Id}}","description":"<p>Updates the multi line text box</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}","{{Attribute_Multiline_Id}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"96ec4bc1-a4ec-465a-a8f5-38730d286559"},{"name":"Edit Custom Attribute - Single-select Drop-down Field","event":[{"listen":"test","script":{"id":"52b465ce-8c0a-450d-b74d-49f3f3c7e95f","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"Attribute_DropDown_Name\", jsonData.Name);","pm.environment.set(\"Attribute_DropDown_Version\",jsonData.Version);","","for ( var i = 0; i<2; i++){","    pm.environment.set(\"Attribute_DropDown_value\"+i+\"\", jsonData.FieldValues[i].Id);","}","","","var schema = {","  \"Id\": \"string\",","  \"Name\": \"string\",","  \"DisplayType\": \"string\",","  \"DisplaySize\": \"int\",","  \"DisplayLines\": \"int\",","  \"DisplayOrder\": \"int\",","  \"ValueType\": \"string\",","  \"IsRequired\": \"boolean\",","  \"IsDisabled\": \"boolean\",","  \"Version\": \"int\",","  \"FieldValues\": [","    \"string\"","  ]","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}}],"id":"660c130f-0350-4527-9a5d-01e0295db3b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","value":"{{Attribute_DropDown_Version}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Attribute1_updated\",\n  \"displayType\": \"DROPDOWN\",\n  \"displayLines\": 1,\n  \"displaySize\": 1,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false,\n  \"fieldValues\": [\n    {\n      \"value\": \"Att_value_updated\",\n      \"isDefaultValue\": false\n    },\n    {\n      \"value\": \"Att_value_updated\",\n      \"isDefaultValue\": false\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{Attribute_DropDown_Id}}","description":"<p>Updates the single-select drop-down field</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}","{{Attribute_DropDown_Id}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"660c130f-0350-4527-9a5d-01e0295db3b3"},{"name":"Edit Custom Attribute - Multi-select Field","event":[{"listen":"test","script":{"id":"cf930459-fded-43d1-b8f8-fb536f5cf597","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"Attribute_Multiselect_Name\", jsonData.Name);","pm.environment.set(\"Attribute_Multiselect_Version\",jsonData.Version);","","for ( var i = 0; i<3; i++){","    pm.environment.set(\"Attribute_Multiselect_value\"+i+\"\", jsonData.FieldValues[i].Id);","}","","","","var schema = {","  \"Id\": \"string\",","  \"Name\": \"string\",","  \"DisplayType\": \"string\",","  \"DisplaySize\": \"int\",","  \"DisplayLines\": \"int\",","  \"DisplayOrder\": \"int\",","  \"ValueType\": \"string\",","  \"IsRequired\": \"boolean\",","  \"IsDisabled\": \"boolean\",","  \"Version\": \"int\",","  \"FieldValues\": [","    \"string\"","  ]","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}}],"id":"65638edf-6719-439a-8a08-02d51ccd8342","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","value":"{{Attribute_Multiselect_Version}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Attribute2_1_updated\",\n  \"displayType\": \"MULTISELECT\",\n  \"displayLines\": 1,\n  \"displaySize\": 1,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false,\n  \"fieldValues\": [\n    {\n      \"value\": \"checkbox1_updated\",\n      \"isDefaultValue\": false\n    },\n    {\n      \"value\": \"checkbox2_updated\",\n      \"isDefaultValue\": false\n    },\n    {\n      \"value\": \"checkbox3\",\n      \"isDefaultValue\": false\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{Attribute_Multiselect_Id}}","description":"<p>Updates the multi-select field</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}","{{Attribute_Multiselect_Id}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"65638edf-6719-439a-8a08-02d51ccd8342"},{"name":"Edit Custom Attribute - Date Field","event":[{"listen":"test","script":{"id":"611c1ffb-72a1-4d51-a030-a80ec81fd894","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"Attribute_Date_Name\", jsonData.Name);","pm.environment.set(\"Attribute_Date_Version\",jsonData.Version);","","","var schema = {","  \"Id\": \"string\",","  \"Name\": \"string\",","  \"DisplayType\": \"string\",","  \"DisplaySize\": \"int\",","  \"DisplayLines\": \"int\",","  \"DisplayOrder\": \"int\",","  \"ValueType\": \"string\",","  \"IsRequired\": \"boolean\",","  \"IsDisabled\": \"boolean\",","  \"Version\": \"int\",","  \"FieldValues\": [","    \"string\"","  ]","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"e6302971-74b4-4a29-8b81-035ea615142e","exec":[""],"type":"text/javascript"}}],"id":"5dbb120f-0a91-466f-a1ae-6ae2166d11a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","value":"{{Attribute_Date_Version}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"DateField_updated\",\n  \"displayType\": \"DATE\",\n  \"displayLines\": 1,\n  \"displaySize\": 1,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{Attribute_Date_Id}}","description":"<p>Updates the date field</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}","{{Attribute_Date_Id}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5dbb120f-0a91-466f-a1ae-6ae2166d11a5"},{"name":"Edit Custom Attribute by Unauthorized User","event":[{"listen":"test","script":{"id":"2992bca4-ec84-406a-b1bc-67823df2d431","exec":["pm.test(\"Status code is 401\", function () {","    pm.response.to.have.status(401);","});","","var jsonData = JSON.parse(responseBody);","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('\"You must be a baseline admin to perform this action\"');","});"],"type":"text/javascript"}}],"id":"4d64144b-25ff-4bb7-8410-6fb1f825f055","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"},{"key":"If-Match","value":"{{Attribute_Multiline_Version}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"MultiLine_Text_updated\",\n  \"displayType\": \"TEXT\",\n  \"displayLines\": 5,\n  \"displaySize\": 5,\n  \"valueType\": \"String\",\n  \"isRequired\": false,\n  \"isDisabled\": false\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{Attribute_Multiline_Id}}","description":"<p>A \"401 Unauthorized\" error is thrown, when an authorized user tries to edit custom attribute via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}","{{Attribute_Multiline_Id}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4d64144b-25ff-4bb7-8410-6fb1f825f055"},{"name":"Edit System Attribute - Category Field","event":[{"listen":"test","script":{"id":"95bd70b3-5890-4291-a37b-10c7cce8871c","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"category_newfield_Id\", jsonData.FieldValues[4].Id);","pm.environment.set(\"category_newfield_Value\", jsonData.FieldValues[4].Value);","pm.environment.set(\"category_field_version\", jsonData.Version);","","","var schema = {","  \"Id\": \"string\",","  \"Name\": \"string\",","  \"DisplayType\": \"string\",","  \"DisplaySize\": \"int\",","  \"DisplayLines\": \"int\",","  \"DisplayOrder\": \"int\",","  \"ValueType\": \"string\",","  \"IsRequired\": \"boolean\",","  \"IsDisabled\": \"boolean\",","  \"Version\": \"int\",","  \"FieldValues\": [","    \"string\"","  ]","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}}],"id":"f1ab8806-1dc7-4873-bd99-e8e42b094baa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","value":"{{category_field_version}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"category\",\n  \"displayType\": \"DROPDOWN\",\n  \"displayLines\": 1,\n  \"displaySize\": 1,\n  \"valueType\": \"String\",\n  \"isRequired\": true,\n  \"isDisabled\": false,\n  \"fieldValues\": [\n    {\n      \"value\": \"Delivery Baseline\",\n      \"isDefaultValue\": false\n    },\n    {\n      \"value\": \"Deployment Baseline\",\n      \"isDefaultValue\": false\n    },\n    {\n      \"value\": \"Release Baseline\",\n      \"isDefaultValue\": false\n    },\n    {\n      \"value\": \"Integration Baseline\",\n      \"isDefaultValue\": false\n    },\n    {\n      \"value\": \"NewCategory_Baseline\"\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{category_field_Id}}","description":"<p>Updates the system-defined field \"Category\"</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}","{{category_field_Id}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f1ab8806-1dc7-4873-bd99-e8e42b094baa"},{"name":"Edit System Attribute - Cannot Edit Status Field","event":[{"listen":"test","script":{"id":"d53b37da-0f82-408f-bdca-fb0f7360e16f","exec":["pm.test(\"Status code is 400\", function () {","    pm.response.to.have.status(400);","});","","var jsonData = JSON.parse(responseBody);","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Field attribute \\'Name\\' is not allowed to change after field creation.\"');","});"],"type":"text/javascript"}}],"id":"ba03af7f-8fd8-4b29-8b81-f75b0afb3478","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","type":"text","value":"100"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"category\",\n  \"displayType\": \"DROPDOWN\",\n  \"displayLines\": 1,\n  \"displaySize\": 1,\n  \"valueType\": \"String\",\n  \"isRequired\": true,\n  \"isDisabled\": false,\n  \"fieldValues\": [\n    {\n      \"value\": \"Delivery Baseline\",\n      \"isDefaultValue\": false\n    },\n    {\n      \"value\": \"Deployment Baseline\",\n      \"isDefaultValue\": false\n    },\n    {\n      \"value\": \"Release Baseline\",\n      \"isDefaultValue\": false\n    },\n    {\n      \"value\": \"Integration Baseline\",\n      \"isDefaultValue\": false\n    },\n    {\n      \"value\": \"NewCategory_Baseline{{ }}\"\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{status_field_Id}}","description":"<p>A \"400 Bad Request\" error is thrown, when a REST API call tries to edit the default status field</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}","{{status_field_Id}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ba03af7f-8fd8-4b29-8b81-f75b0afb3478"},{"name":"Reorder Attributes","event":[{"listen":"test","script":{"id":"bca6c3fe-4451-483e-a531-b8bdbdb4b3d4","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","var schema = {","  \"Id\": \"string\",","  \"Name\": \"string\",","  \"DisplayType\": \"string\",","  \"DisplaySize\": \"int\",","  \"DisplayLines\": \"int\",","  \"DisplayOrder\": \"int\",","  \"ValueType\": \"string\",","  \"IsRequired\": \"boolean\",","  \"IsDisabled\": \"boolean\",","  \"Version\": \"int\",","  \"FieldValues\": [","    \"string\"","  ]","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});","","var att_drop_down = pm.environment.get(\"Attribute_DropDown_Name\");","var att_date = pm.environment.get(\"Attribute_Date_Name\");","var att_multiline = pm.environment.get(\"Attribute_Multiline_Name\");","var att_singleline = pm.environment.get(\"Attribute_Singleline_Name\");","var att_multiselect = pm.environment.get(\"Attribute_Multiselect_Name\");","","for(var i =0; i<7; i++){","    if(jsonData[i].Name == \"status\"){","        pm.expect(pm.response.text()).to.include('\"DisplayOrder\": 1');","    }","    if(jsonData[i].Name == \"category\"){","        pm.expect(pm.response.text()).to.include('\"DisplayOrder\": 2');","    }","    if(jsonData[i].Name == att_drop_down){","        pm.expect(pm.response.text()).to.include('\"DisplayOrder\": 3');","    }","    if(jsonData[i].Name == att_date){","        pm.expect(pm.response.text()).to.include('\"DisplayOrder\": 4');","    }","    if(jsonData[i].Name == att_multiline){","        pm.expect(pm.response.text()).to.include('\"DisplayOrder\": 5');","    }","    if(jsonData[i].Name == att_singleline){","        pm.expect(pm.response.text()).to.include('\"DisplayOrder\": 6');","    }","    if(jsonData[i].Name == att_multiselect){","        pm.expect(pm.response.text()).to.include('\"DisplayOrder\": 7');","    }","}",""],"type":"text/javascript"}}],"id":"f0851d92-dc80-4107-9680-b5f2deeca795","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"fields\": [\n    {\n      \"Name\": \"status\",\n      \"DisplayOrder\": 1\n    },\n    {\n      \"Name\": \"category\",\n      \"DisplayOrder\": 2\n    },\n    {\n      \"Name\": \"{{Attribute_DropDown_Name}}\",\n      \"DisplayOrder\": 3\n    },\n    {\n      \"Name\": \"{{Attribute_Date_Name}}\",\n      \"DisplayOrder\": 4\n    },\n    {\n      \"Name\": \"{{Attribute_Multiline_Name}}\",\n      \"DisplayOrder\": 5\n    },\n    {\n      \"Name\": \"{{Attribute_Singleline_Name}}\",\n      \"DisplayOrder\": 6\n    },\n    {\n      \"Name\": \"{{Attribute_Multiselect_Name}}\",\n      \"DisplayOrder\": 7\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}","description":"<p>Reorders both the system-defined and custom attributes</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"e343b7ce-7d1f-4693-8f27-5a64a91ca371","name":"Reorder Attributes","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"fields\": [\n    {\n      \"Name\": \"status\",\n      \"DisplayOrder\": 1\n    },\n    {\n      \"Name\": \"category\",\n      \"DisplayOrder\": 2\n    },\n    {\n      \"Name\": \"{{Attribute_DropDown_Name}}\",\n      \"DisplayOrder\": 3\n    },\n    {\n      \"Name\": \"{{Attribute_Date_Name}}\",\n      \"DisplayOrder\": 4\n    },\n    {\n      \"Name\": \"{{Attribute_Multiline_Name}}\",\n      \"DisplayOrder\": 5\n    },\n    {\n      \"Name\": \"{{Attribute_Singleline_Name}}\",\n      \"DisplayOrder\": 6\n    },\n    {\n      \"Name\": \"{{Attribute_Multiselect_Name}}\",\n      \"DisplayOrder\": 7\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:25:13 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Content-Length","value":"550"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"Id\": \"basefild1142\",\n        \"Name\": \"status\",\n        \"DisplayType\": \"DROPDOWN\",\n        \"DisplaySize\": 1,\n        \"DisplayLines\": 1,\n        \"ValueType\": \"String\",\n        \"IsRequired\": true,\n        \"IsDisabled\": false,\n        \"IsDeleted\": false,\n        \"IsUserDefined\": false,\n        \"DisplayOrder\": 1,\n        \"DefaultTextValue\": \"test\",\n        \"CreatedById\": \"user1001\",\n        \"DateCreated\": \"2018-10-21 16:23:06 +0530 IST\",\n        \"LastModifiedById\": \"user1001\",\n        \"DateLastModified\": \"2018-10-21 16:23:06 +0530 IST\",\n        \"HelpText\": \"\",\n        \"Version\": 100,\n        \"ParentFieldId\": \"\",\n        \"ProjectId\": \"proj1088\"\n    },\n    {\n        \"Id\": \"basefild1143\",\n        \"Name\": \"category\",\n        \"DisplayType\": \"DROPDOWN\",\n        \"DisplaySize\": 1,\n        \"DisplayLines\": 1,\n        \"ValueType\": \"String\",\n        \"IsRequired\": true,\n        \"IsDisabled\": false,\n        \"IsDeleted\": false,\n        \"IsUserDefined\": false,\n        \"DisplayOrder\": 2,\n        \"DefaultTextValue\": \"test\",\n        \"CreatedById\": \"user1001\",\n        \"DateCreated\": \"2018-10-21 16:23:06 +0530 IST\",\n        \"LastModifiedById\": \"user1161\",\n        \"DateLastModified\": \"2018-10-21 16:54:51 +0530 IST\",\n        \"HelpText\": \"\",\n        \"Version\": 101,\n        \"ParentFieldId\": \"\",\n        \"ProjectId\": \"proj1088\"\n    },\n    {\n        \"Id\": \"basefild1146\",\n        \"Name\": \"Attribute1_updated_883\",\n        \"DisplayType\": \"DROPDOWN\",\n        \"DisplaySize\": 1,\n        \"DisplayLines\": 1,\n        \"ValueType\": \"String\",\n        \"IsRequired\": false,\n        \"IsDisabled\": false,\n        \"IsDeleted\": false,\n        \"IsUserDefined\": true,\n        \"DisplayOrder\": 3,\n        \"DefaultTextValue\": \"\",\n        \"CreatedById\": \"user1161\",\n        \"DateCreated\": \"2018-10-21 16:49:00 +0530 IST\",\n        \"LastModifiedById\": \"user1161\",\n        \"DateLastModified\": \"2018-10-21 16:54:17 +0530 IST\",\n        \"HelpText\": \"\",\n        \"Version\": 101,\n        \"ParentFieldId\": \"\",\n        \"ProjectId\": \"proj1088\"\n    },\n    {\n        \"Id\": \"basefild1148\",\n        \"Name\": \"DateField_updated_288\",\n        \"DisplayType\": \"DATE\",\n        \"DisplaySize\": 1,\n        \"DisplayLines\": 1,\n        \"ValueType\": \"String\",\n        \"IsRequired\": false,\n        \"IsDisabled\": false,\n        \"IsDeleted\": false,\n        \"IsUserDefined\": true,\n        \"DisplayOrder\": 4,\n        \"DefaultTextValue\": \"\",\n        \"CreatedById\": \"user1161\",\n        \"DateCreated\": \"2018-10-21 16:50:46 +0530 IST\",\n        \"LastModifiedById\": \"user1161\",\n        \"DateLastModified\": \"2018-10-21 16:54:33 +0530 IST\",\n        \"HelpText\": \"\",\n        \"Version\": 101,\n        \"ParentFieldId\": \"\",\n        \"ProjectId\": \"proj1088\"\n    },\n    {\n        \"Id\": \"basefild1145\",\n        \"Name\": \"MultiLine_Text_updated423\",\n        \"DisplayType\": \"TEXT\",\n        \"DisplaySize\": 5,\n        \"DisplayLines\": 5,\n        \"ValueType\": \"String\",\n        \"IsRequired\": false,\n        \"IsDisabled\": false,\n        \"IsDeleted\": false,\n        \"IsUserDefined\": true,\n        \"DisplayOrder\": 5,\n        \"DefaultTextValue\": \"\",\n        \"CreatedById\": \"user1161\",\n        \"DateCreated\": \"2018-10-21 16:48:21 +0530 IST\",\n        \"LastModifiedById\": \"user1161\",\n        \"DateLastModified\": \"2018-10-21 16:54:10 +0530 IST\",\n        \"HelpText\": \"\",\n        \"Version\": 101,\n        \"ParentFieldId\": \"\",\n        \"ProjectId\": \"proj1088\"\n    },\n    {\n        \"Id\": \"basefild1144\",\n        \"Name\": \"SinlgeLine_Text_Updated_763\",\n        \"DisplayType\": \"TEXT\",\n        \"DisplaySize\": 1,\n        \"DisplayLines\": 1,\n        \"ValueType\": \"String\",\n        \"IsRequired\": false,\n        \"IsDisabled\": false,\n        \"IsDeleted\": false,\n        \"IsUserDefined\": true,\n        \"DisplayOrder\": 6,\n        \"DefaultTextValue\": \"\",\n        \"CreatedById\": \"user1161\",\n        \"DateCreated\": \"2018-10-21 16:47:23 +0530 IST\",\n        \"LastModifiedById\": \"user1161\",\n        \"DateLastModified\": \"2018-10-21 16:52:13 +0530 IST\",\n        \"HelpText\": \"\",\n        \"Version\": 101,\n        \"ParentFieldId\": \"\",\n        \"ProjectId\": \"proj1088\"\n    },\n    {\n        \"Id\": \"basefild1147\",\n        \"Name\": \"Attribute2_169_updated\",\n        \"DisplayType\": \"MULTISELECT\",\n        \"DisplaySize\": 1,\n        \"DisplayLines\": 1,\n        \"ValueType\": \"String\",\n        \"IsRequired\": false,\n        \"IsDisabled\": false,\n        \"IsDeleted\": false,\n        \"IsUserDefined\": true,\n        \"DisplayOrder\": 7,\n        \"DefaultTextValue\": \"\",\n        \"CreatedById\": \"user1161\",\n        \"DateCreated\": \"2018-10-21 16:49:55 +0530 IST\",\n        \"LastModifiedById\": \"user1161\",\n        \"DateLastModified\": \"2018-10-21 16:54:25 +0530 IST\",\n        \"HelpText\": \"\",\n        \"Version\": 101,\n        \"ParentFieldId\": \"\",\n        \"ProjectId\": \"proj1088\"\n    }\n]"}],"_postman_id":"f0851d92-dc80-4107-9680-b5f2deeca795"},{"name":"Reorder Attributes by Unauthorized User","event":[{"listen":"test","script":{"id":"91835b94-983f-4f85-9a92-4e8d89d8183a","exec":["pm.test(\"Status code is 401\", function () {","    pm.response.to.have.status(401);","});","","var jsonData = JSON.parse(responseBody);","","pm.test(\"Status code name has string\", function () {","    pm.response.to.have.status(\"Unauthorized\");","});","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('\"You must be a baseline admin to perform this action\"');","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}}],"id":"5f892f38-2d4e-4a10-b609-f539ead11cef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"body":{"mode":"raw","raw":"{\n  \"fields\": [\n    {\n      \"Name\": \"status\",\n      \"DisplayOrder\": 1\n    },\n    {\n      \"Name\": \"category\",\n      \"DisplayOrder\": 2\n    },\n    {\n      \"Name\": \"{{Attribute_DropDown_Name}}\",\n      \"DisplayOrder\": 3\n    },\n    {\n      \"Name\": \"{{Attribute_Date_Name}}\",\n      \"DisplayOrder\": 4\n    },\n    {\n      \"Name\": \"{{Attribute_Multiline_Name}}\",\n      \"DisplayOrder\": 5\n    },\n    {\n      \"Name\": \"{{Attribute_Singleline_Name}}\",\n      \"DisplayOrder\": 6\n    },\n    {\n      \"Name\": \"{{Attribute_Multiselect_Name}}\",\n      \"DisplayOrder\": 7\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}","description":"<p>A \"401 Unauthorized\" error is thrown, when an authorized user tries to reorder the attributes via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"c7765b18-b2f0-4af9-8534-1e8a111d8f36","name":"Reorder Attributes by Unauthorized User","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"body":{"mode":"raw","raw":"{\n  \"fields\": [\n    {\n      \"Name\": \"status\",\n      \"DisplayOrder\": 1\n    },\n    {\n      \"Name\": \"category\",\n      \"DisplayOrder\": 2\n    },\n    {\n      \"Name\": \"{{Attribute_DropDown_Name}}\",\n      \"DisplayOrder\": 3\n    },\n    {\n      \"Name\": \"{{Attribute_Date_Name}}\",\n      \"DisplayOrder\": 4\n    },\n    {\n      \"Name\": \"{{Attribute_Multiline_Name}}\",\n      \"DisplayOrder\": 5\n    },\n    {\n      \"Name\": \"{{Attribute_Singleline_Name}}\",\n      \"DisplayOrder\": 6\n    },\n    {\n      \"Name\": \"{{Attribute_Multiselect_Name}}\",\n      \"DisplayOrder\": 7\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:25:34 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"\"You must be a baseline admin to perform this action\""}],"_postman_id":"5f892f38-2d4e-4a10-b609-f539ead11cef"},{"name":"Reorder Attributes using Invalid Project ID","event":[{"listen":"test","script":{"id":"32d2ae15-9449-4341-98a8-6cf903fc0b59","exec":["pm.test(\"Status code is 400\", function () {","    pm.response.to.have.status(400);","});","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Invalid project id/path\",');","});","","","var jsonData = JSON.parse(responseBody);","var schema = {","  \"Id\": \"string\",","  \"Name\": \"string\",","  \"DisplayType\": \"string\",","  \"DisplaySize\": \"int\",","  \"DisplayLines\": \"int\",","  \"DisplayOrder\": \"int\",","  \"ValueType\": \"string\",","  \"IsRequired\": \"boolean\",","  \"IsDisabled\": \"boolean\",","  \"Version\": \"int\",","  \"FieldValues\": [","    \"string\"","  ]","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}}],"id":"6a1c48d9-d01e-4acf-9a93-69b9628932b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"fields\": [\n    {\n      \"Name\": \"status\",\n      \"DisplayOrder\": 1\n    },\n    {\n      \"Name\": \"category\",\n      \"DisplayOrder\": 2\n    },\n    {\n      \"Name\": \"{{Attribute_DropDown_Name}}\",\n      \"DisplayOrder\": 3\n    },\n    {\n      \"Name\": \"{{Attribute_Date_Name}}\",\n      \"DisplayOrder\": 4\n    },\n    {\n      \"Name\": \"{{Attribute_Multiline_Name}}\",\n      \"DisplayOrder\": 5\n    },\n    {\n      \"Name\": \"{{Attribute_Singleline_Name}}\",\n      \"DisplayOrder\": 6\n    },\n    {\n      \"Name\": \"{{Attribute_Multiselect_Name}}\",\n      \"DisplayOrder\": 7\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/proj0000","description":"<p>A \"400 Bad Request\" error is thrown, when an invalid project id is used while reordering attributes via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","proj0000"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"c9b69e1a-c15d-4182-994c-75e772ad4136","name":"Reorder Attributes using Invalid Project ID","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"fields\": [\n    {\n      \"Name\": \"status\",\n      \"DisplayOrder\": 1\n    },\n    {\n      \"Name\": \"category\",\n      \"DisplayOrder\": 2\n    },\n    {\n      \"Name\": \"{{Attribute_DropDown_Name}}\",\n      \"DisplayOrder\": 3\n    },\n    {\n      \"Name\": \"{{Attribute_Date_Name}}\",\n      \"DisplayOrder\": 4\n    },\n    {\n      \"Name\": \"{{Attribute_Multiline_Name}}\",\n      \"DisplayOrder\": 5\n    },\n    {\n      \"Name\": \"{{Attribute_Singleline_Name}}\",\n      \"DisplayOrder\": 6\n    },\n    {\n      \"Name\": \"{{Attribute_Multiselect_Name}}\",\n      \"DisplayOrder\": 7\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/proj0000"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:25:46 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"88"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"NotFound\",\n    \"message\": \"Invalid project id/path\",\n    \"parameter\": \"proj0000\"\n}"}],"_postman_id":"6a1c48d9-d01e-4acf-9a93-69b9628932b6"},{"name":"Delete Custom Attribute","event":[{"listen":"test","script":{"id":"255a21bf-5907-4a18-99a2-27dffdec2c7a","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Body matches string- Isdeleted : true\", function () {","    pm.expect(pm.response.text()).to.include('\"IsDeleted\": true');","});"],"type":"text/javascript"}}],"id":"88bf0fbe-14c2-4e32-90d2-cf88b07dd010","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{Multiline_Id}}","description":"<p>Deletes the selected custom attribute</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}","{{Multiline_Id}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"7ccdccf2-b3ee-46b3-9945-f4fee7c1ca22","name":"Delete Custom Attribute","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{Multiline_Id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:26:13 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Content-Length","value":"269"},{"key":"Keep-Alive","value":"timeout=15, max=9999"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"Id\": \"basefild1149\",\n    \"Name\": \"basefild1149MultiLine_Text_202\",\n    \"DisplayType\": \"TEXT\",\n    \"DisplaySize\": 5,\n    \"DisplayLines\": 5,\n    \"ValueType\": \"String\",\n    \"IsRequired\": false,\n    \"IsDisabled\": false,\n    \"IsDeleted\": true,\n    \"IsUserDefined\": true,\n    \"DisplayOrder\": 8,\n    \"CreatedById\": \"user1161\",\n    \"DateCreated\": \"2018-10-21 16:56:00 +0530 IST\",\n    \"LastModifiedById\": \"user1161\",\n    \"DateLastModified\": \"2018-10-21 16:56:11 +0530 IST\",\n    \"Version\": 101,\n    \"ProjectId\": \"proj1088\"\n}"}],"_postman_id":"88bf0fbe-14c2-4e32-90d2-cf88b07dd010"},{"name":"Delete System Attribute - Not Possible","event":[{"listen":"test","script":{"id":"f01e98e3-2644-4af3-820f-235480845887","exec":["pm.test(\"Status code is 404 - NotFound\", function () {","    pm.response.to.have.status(404);","});","","pm.test(\"Body matches string- Invalid customAttribute\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Invalid Custom Attribute/Field\"');","});","","pm.test(\"Status code name has string\", function () {","    pm.response.to.have.status(\"Not Found\");","});"],"type":"text/javascript"}}],"id":"6f4558b9-0020-4dbc-b549-87b455874b7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{category_field_Id}}","description":"<p>A \"404 Not Found\" error is thrown, when a user tries to delete the system-defined attribute via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}","{{category_field_Id}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"62722a8b-d42a-4696-b4d4-18e21a48f406","name":"Delete System Attribute - Not Possible","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{category_field_Id}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:27:00 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"99"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"NotFound\",\n    \"message\": \"Invalid Custom Attribute/Field\",\n    \"parameter\": \"basefild1143\"\n}"},{"id":"78572859-49a2-4ee9-80f7-fb2c5429f8da","name":"Delete System Attribute - Not Possible","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{category_field_Id}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:27:00 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"99"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"NotFound\",\n    \"message\": \"Invalid Custom Attribute/Field\",\n    \"parameter\": \"basefild1143\"\n}"}],"_postman_id":"6f4558b9-0020-4dbc-b549-87b455874b7e"},{"name":"Delete Custom Attribute by Unauthorized User","event":[{"listen":"test","script":{"id":"25d16e56-7412-48a6-931c-d0accb396933","exec":["pm.test(\"Status code is 491\", function () {","    pm.response.to.have.status(401);","});","","pm.test(\"Body matches string- You must be a baseline admin to perform this action\", function () {","    pm.expect(pm.response.text()).to.include('\"You must be a baseline admin to perform this action\"');","});","pm.test(\"Status code name has string-Unauthorized\", function () {","    pm.response.to.have.status(\"Unauthorized\");","});"],"type":"text/javascript"}}],"id":"c9c003fc-774f-4e66-bc07-cdadef3985a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{Multiline_Id}}","description":"<p>A \"404 Unauthorized\" error is thrown, when an unauthorized user tries to delete custom attribute via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}","{{Multiline_Id}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"592667b6-3e34-445e-b41e-a16e3bd7f4f8","name":"Delete Custom Attribute by Unauthorized User","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{Multiline_Id}}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:27:24 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"\"You must be a baseline admin to perform this action\""}],"_postman_id":"c9c003fc-774f-4e66-bc07-cdadef3985a3"},{"name":"Delete Custom Attribute using Invalid Project ID","event":[{"listen":"test","script":{"id":"dc67c176-623c-44a3-91b2-50c707a08fa3","exec":["pm.test(\"Status code is 404\", function () {","    pm.response.to.have.status(404);","});","","pm.test(\"Body matches string- Invalid project\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Invalid project id/path\"');","});","pm.test(\"Status code name has string- Not Found\", function () {","    pm.response.to.have.status(\"Not Found\");","});"],"type":"text/javascript"}}],"id":"835290b7-5060-4df4-a948-8cfb9b4716b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/proj0000/{{Multiline_Id}}","description":"<p>A \"404 Not Found\" error is thrown, when an invalid project id is used while trying to delete custom attribute via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","proj0000","{{Multiline_Id}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"06c0704a-076d-4ee3-bd87-f92f88538629","name":"Delete Custom Attribute using Invalid Project ID","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/proj0000/{{Multiline_Id}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:27:47 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"88"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"NotFound\",\n    \"message\": \"Invalid project id/path\",\n    \"parameter\": \"proj0000\"\n}"}],"_postman_id":"835290b7-5060-4df4-a948-8cfb9b4716b4"}],"id":"2a1030c4-113d-4a43-9836-52d19be6089b","description":"<p>Baseline Administrators use these APIs for managing attributes used in baselines.</p>\n","event":[{"listen":"prerequest","script":{"id":"0a060423-fc87-491d-8663-a14b865ff172","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ff1b7c73-e199-44ed-8447-3ad416921fa6","type":"text/javascript","exec":[""]}}],"_postman_id":"2a1030c4-113d-4a43-9836-52d19be6089b"},{"name":"Baseline Settings - Status and Workflow Management","item":[{"name":"Get Default Status Value","event":[{"listen":"test","script":{"id":"d1bd84be-8ebb-4e1d-829f-7db6ce198d2c","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Body matches string - IsDefaultvalue : true\", function () {","    pm.expect(pm.response.text()).to.include('\"IsDefaultValue\": true');","});","","var jsonData = JSON.parse(responseBody);","","var schema = {","        \"Id\" : \"string\",","        \"IsDefaultValue\" : \"bool\",","        \"Value\" : \"string\",","        \"MetaStatus\" : \"string\",","        \"DisplayOrder\" : \"int\",","        \"IsDeleted\" : \"bool\"","};","","pm.test('Schema is valid',function(){","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});","    "],"type":"text/javascript"}}],"id":"4913e324-08d5-4bcd-b25e-ccfbfcbc1583","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/{{status_field_Id}}/workflow/start-status","description":"<p>Gets the value of default system-defined field</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","{{status_field_Id}}","workflow","start-status"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4913e324-08d5-4bcd-b25e-ccfbfcbc1583"},{"name":"Get Default Status Value - Value Not Configured","event":[{"listen":"test","script":{"id":"1e9bcc49-2dfc-4075-884f-a2c8a8a953d8","exec":["pm.test(\"Status code is 400\", function () {","    pm.response.to.have.status(400);","});","","pm.test(\"Body matches string - IsDefaultvalue : true\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Field Constant for the field is not configured\"');","});","","var jsonData = JSON.parse(responseBody);","","var schema = {","        \"Id\" : \"string\",","        \"IsDefaultValue\" : \"bool\",","        \"Value\" : \"string\",","        \"MetaStatus\" : \"string\",","        \"DisplayOrder\" : \"int\",","        \"IsDeleted\" : \"bool\"","};","","pm.test('Schema is valid',function(){","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});","","pm.test(\"Status code name has string\", function () {","    pm.response.to.have.status(\"Bad Request\");","});    "],"type":"text/javascript"}}],"id":"096ea8cb-4e4b-45c5-88e4-5087c659d91e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/basefild0000/workflow/start-status","description":"<p>A \"400 Bad Request\" error is thrown, when trying to get the value of the default system-defined field, which is not configured yet</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","basefild0000","workflow","start-status"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"096ea8cb-4e4b-45c5-88e4-5087c659d91e"},{"name":"Get Default Status Value by Unauthorized User","event":[{"listen":"test","script":{"id":"624183ad-8524-4566-b383-dfb07aa85af7","exec":["pm.test(\"Status code is 401\", function () {","    pm.response.to.have.status(401);","});"],"type":"text/javascript"}}],"id":"a2936056-2236-4088-bbde-6483392a17d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/{{status_field_Id}}/workflow/start-status","description":"<p>A \"401 Unauthorized\" error is thrown, when an unauthorized user tries to get the value of default system-defined field</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","{{status_field_Id}}","workflow","start-status"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a2936056-2236-4088-bbde-6483392a17d6"},{"name":"Create Custom Status with \"Open\" Status Type","event":[{"listen":"test","script":{"id":"08c51f0c-a8fe-45e8-be9d-35e849b8aee3","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"status_open_id\", jsonData.Id);","pm.environment.set(\"status_open_Value\", jsonData.Value);","pm.environment.set(\"status_open_id_deleted\",jsonData.Id);","","var schema = {","    \"type\" : \"object\",","    \"properties\" : {","        \"id\" : {","            \"id\" : \"string\",","        },","        \"IsDefaultValue\" : {","            \"IsDefaultValue\" : \"boolean\",   ","        },","        \"Value\" : {","            \"Value\" : \"string\",","        },","        \"MetaStatus\" : {","            \"MetaStatus\" : \"string\",","        },","        \"DisplayOrder\" : {","            \"DisplayOrder\" : \"integer\",","        },","        \"IsDeleted\" : {","            \"IsDeleted\" : \"boolean\"","        },","    },","};","pm.test(\"Validating the Schema\",function(){","   var responseData = JSON.parse(responseBody);","     var result = tv4.validate(responseData, schema, false, true);","    if (result !== true) {","      console.log('Schema validation failed:', tv4.error.dataPath);","      }","  pm.expect(result).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}}],"id":"c157c54e-d77f-4fd9-b16a-41149aa2571d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"isDefaultValue\": false,\n  \"value\": \"status_1\",\n  \"metaStatus\": \"Open\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{status_field_Id}}/values","description":"<p>Create new baseline status field value with \"Open\"status type in a project.</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}","{{status_field_Id}}","values"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"77cddfd0-ac57-418a-89c3-ade453888025","name":"Create Custom Status with \"Open\" Status Type","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"isDefaultValue\": false,\n  \"value\": \"status_1\",\n  \"metaStatus\": \"Open\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{status_field_Id}}/values"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:30:20 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"164"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=9999"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"Id\": \"basefldv1600\",\n    \"FieldId\": \"basefild1142\",\n    \"IsDefaultValue\": false,\n    \"Value\": \"status_139\",\n    \"MetastatusId\": 1,\n    \"DisplayOrder\": 7,\n    \"IsDeleted\": false\n}"}],"_postman_id":"c157c54e-d77f-4fd9-b16a-41149aa2571d"},{"name":"Create Custom Status with \"Approved\" Status Type","event":[{"listen":"test","script":{"id":"0638ef1c-550a-40dd-a9ad-623482fbad88","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"status_approved_id\", jsonData.Id);","pm.environment.set(\"status_approved_Value\", jsonData.Value);","","var schema = {","       \"Id\" : \"string\",","        \"IsDefaultValue\" : \"bool\",","        \"Value\" : \"string\",","        \"MetaStatus\" : \"string\",","        \"DisplayOrder\" : \"int\",","        \"IsDeleted\" : \"bool\"","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}}],"id":"fa41a83b-1d36-4753-9376-c4a9a5739403","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"isDefaultValue\": false,\n  \"value\": \"status_1\",\n  \"metaStatus\": \"Approved\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{status_field_Id}}/values","description":"<p>Create new baseline status field value with \"Approved\" status type in a project.</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}","{{status_field_Id}}","values"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"0a6182ec-e56d-4c26-8465-cf96f4fed2ee","name":"Create Custom Status with \"Approved\" Status Type","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"isDefaultValue\": false,\n  \"value\": \"status_1\",\n  \"metaStatus\": \"Approved\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{status_field_Id}}/values"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:30:47 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"164"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"Id\": \"basefldv1601\",\n    \"FieldId\": \"basefild1142\",\n    \"IsDefaultValue\": false,\n    \"Value\": \"status_654\",\n    \"MetastatusId\": 2,\n    \"DisplayOrder\": 8,\n    \"IsDeleted\": false\n}"}],"_postman_id":"fa41a83b-1d36-4753-9376-c4a9a5739403"},{"name":"Create Custom Status with \"Rejected\" Status Type","event":[{"listen":"test","script":{"id":"b28229c3-1a51-4a4e-b8db-51c44790c866","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"status_rejected_id\", jsonData.Id);","pm.environment.set(\"status_rejected_Value\", jsonData.Value);","","var schema = {","       \"Id\" : \"string\",","        \"IsDefaultValue\" : \"bool\",","        \"Value\" : \"string\",","        \"MetaStatus\" : \"string\",","        \"DisplayOrder\" : \"int\",","        \"IsDeleted\" : \"bool\"","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}}],"id":"24702f41-8179-453f-9571-0be8918dafb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"isDefaultValue\": false,\n  \"value\": \"status_1\",\n  \"metaStatus\": \"Rejected\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{status_field_Id}}/values","description":"<p>Create new baseline status field value with \"Rejected\" status type in a project.</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}","{{status_field_Id}}","values"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"a966915b-11a7-4200-a906-1a86a8499de7","name":"Create Custom Status with \"Rejected\" Status Type","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"isDefaultValue\": false,\n  \"value\": \"status_1\",\n  \"metaStatus\": \"Rejected\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{status_field_Id}}/values"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:31:06 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"164"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"Id\": \"basefldv1602\",\n    \"FieldId\": \"basefild1142\",\n    \"IsDefaultValue\": false,\n    \"Value\": \"status_718\",\n    \"MetastatusId\": 3,\n    \"DisplayOrder\": 9,\n    \"IsDeleted\": false\n}"}],"_postman_id":"24702f41-8179-453f-9571-0be8918dafb6"},{"name":"Create Values for Category Field","event":[{"listen":"test","script":{"id":"5c032e69-25b6-4f60-ba7f-e280ac69acbe","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"category_value_id\", jsonData.Id);","pm.environment.set(\"category_value_name\", jsonData.Value);","","var schema = {","       \"Id\" : \"string\",","        \"IsDefaultValue\" : \"bool\",","        \"Value\" : \"string\",","        \"MetaStatus\" : \"string\",","        \"DisplayOrder\" : \"int\",","        \"IsDeleted\" : \"bool\"","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}}],"id":"f54b7e01-ac1e-49d5-a8ba-50ecc4e11351","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"isDefaultValue\": false,\n  \"value\": \"Category_value_1\",\n  \"metaStatus\": \"Open\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{category_field_Id}}/values","description":"<p>Creates values for the system-defined category field if the category field id is given in place of status field id</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}","{{category_field_Id}}","values"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"0fd29eaf-22b5-4863-94c1-e7421f81e2c2","name":"Create Values for Category Field","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"isDefaultValue\": false,\n  \"value\": \"Category_value_1\",\n  \"metaStatus\": \"Open\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{category_field_Id}}/values"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:31:21 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"173"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=9999"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"Id\": \"basefldv1603\",\n    \"FieldId\": \"basefild1143\",\n    \"IsDefaultValue\": false,\n    \"Value\": \"Category_value_914\",\n    \"MetastatusId\": -1,\n    \"DisplayOrder\": 6,\n    \"IsDeleted\": false\n}"}],"_postman_id":"f54b7e01-ac1e-49d5-a8ba-50ecc4e11351"},{"name":"Create Custom Status using Invalid Project ID","event":[{"listen":"test","script":{"id":"653b16c3-8db4-4b8e-be88-eaf0320f12ea","exec":["pm.test(\"Status code is 400\", function () {","    pm.response.to.have.status(400);","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});","","pm.test(\"Body matches string - Invalid project Id\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Invalid project id/path\"');","});"],"type":"text/javascript"}}],"id":"6e8a764c-9fa0-485f-b6a9-b2198fd2847f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"isDefaultValue\": false,\n  \"value\": \"Category_value_1\",\n  \"metaStatus\": \"Open\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/proj0000/{{status_field_Id}}/values","description":"<p>A \"400 Bad Request\" error is thrown, when an invalid project id is used while creating the custom status via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","proj0000","{{status_field_Id}}","values"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"e7b7c15f-52d3-4b9b-b162-930a8d524c8f","name":"Create Custom Status using Invalid Project ID","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"isDefaultValue\": false,\n  \"value\": \"Category_value_1\",\n  \"metaStatus\": \"Open\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/proj0000/{{status_field_Id}}/values"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:31:56 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"88"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"NotFound\",\n    \"message\": \"Invalid project id/path\",\n    \"parameter\": \"proj0000\"\n}"}],"_postman_id":"6e8a764c-9fa0-485f-b6a9-b2198fd2847f"},{"name":"Create Custom Status by Unauthorized User","event":[{"listen":"test","script":{"id":"ba41f6c9-298b-4cdf-bf1e-b948a330ab10","exec":["pm.test(\"Status code is 401\", function () {","    pm.response.to.have.status(401);","});","","pm.test(\"Body matches string-Permission denied\", function () {","    pm.expect(pm.response.text()).to.include('\"You must be a baseline admin to perform this action\"');","});","pm.test(\"Status code name has string- Unauthorized\", function () {","    pm.response.to.have.status(\"Unauthorized\");","});"],"type":"text/javascript"}}],"id":"8a48b2bc-e917-483d-8c12-a87e921d0aa0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"body":{"mode":"raw","raw":"{\n  \"isDefaultValue\": false,\n  \"value\": \"status_1\",\n  \"metaStatus\": \"Open\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{status_field_Id}}/values","description":"<p>A \"401 Unauthorized\" error is thrown, when an unauthorized user tries to create custom status via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}","{{status_field_Id}}","values"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"80752cd1-b3af-4935-a1d3-c91f87687da0","name":"Create Custom Status by Unauthorized User","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"body":{"mode":"raw","raw":"{\n  \"isDefaultValue\": false,\n  \"value\": \"status_1\",\n  \"metaStatus\": \"Open\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{status_field_Id}}/values"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:32:11 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"\"You must be a baseline admin to perform this action\""}],"_postman_id":"8a48b2bc-e917-483d-8c12-a87e921d0aa0"},{"name":"Get Custom Status Details","event":[{"listen":"test","script":{"id":"79d45ce6-9dca-4c5f-9c67-b75ba2780d36","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","","var status_open_id= pm.environment.get(\"status_open_id\");","var status_open_Value = pm.environment.get(\"status_open_Value\");","","for(var i=0; i<7; i++){","    if(jsonData.FieldValues[i].Value == status_open_Value){","        pm.expect(pm.response.text()).to.include('\"Id\": \"'+status_open_id+'\"');","    }","}","pm.test(\"Body matches string\", function () {","            pm.expect(pm.response.text()).to.include('\"Id\": \"'+status_open_id+'\"');","});"],"type":"text/javascript"}}],"id":"da64b3e2-8052-4023-a8f1-57b996f7668e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{status_field_Id}}/values","description":"<p>Gets the details of custom statuses (including default custom status) such as status id, status name, meta status name and so on</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}","{{status_field_Id}}","values"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"da64b3e2-8052-4023-a8f1-57b996f7668e"},{"name":"Get Category Field Details","event":[{"listen":"test","script":{"id":"33e79fba-d5ef-442a-b7a9-e0d82fa009ea","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","","var category_value_id= pm.environment.get(\"category_value_id\");","var category_value_name = pm.environment.get(\"category_value_name\");","","for(var i=0; i<5; i++){","    if(jsonData.FieldValues[i].Value == category_value_name){","        pm.expect(pm.response.text()).to.include('\"Id\": \"'+category_value_id+'\"');","    }","}","pm.test(\"Body matches string\", function () {","            pm.expect(pm.response.text()).to.include('\"Id\": \"'+category_value_id+'\"');","});"],"type":"text/javascript"}}],"id":"c1642f5f-ceda-430a-8d82-88a97f559fc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{category_field_Id}}/values","description":"<p>Gets the details of category field such as category id, category name, and so on</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}","{{category_field_Id}}","values"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c1642f5f-ceda-430a-8d82-88a97f559fc4"},{"name":"Get Custom Status Details using Invalid Project ID","event":[{"listen":"test","script":{"id":"c098e400-1466-4e65-8256-ae1a331961ca","exec":["pm.test(\"Status code is 404\", function () {","    pm.response.to.have.status(404);","});","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Invalid project id/path\"');","});"],"type":"text/javascript"}}],"id":"e161e0fe-09c7-4332-8d3f-05653adc96ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/proj0000/{{status_field_Id}}/values","description":"<p>A \"404 Not Found\" error is thrown, when an invalid project id is used while trying to get the details of custom statuses via REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","proj0000","{{status_field_Id}}","values"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e161e0fe-09c7-4332-8d3f-05653adc96ff"},{"name":"Get Custom Status Details by Unauthorized User","event":[{"listen":"test","script":{"id":"7978a88e-55c3-4e17-9b1e-61a98378fb0b","exec":["pm.test(\"Status code is 401\", function () {","    pm.response.to.have.status(401);","});"],"type":"text/javascript"}}],"id":"28066d09-5601-4382-b0f9-df490ba175b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{status_field_Id}}/values","description":"<p>A \"401 Unauthorized\" error is thrown, when an unauthorized user tries to get the custom status details via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}","{{status_field_Id}}","values"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"28066d09-5601-4382-b0f9-df490ba175b1"},{"name":"Edit Custom Status","event":[{"listen":"test","script":{"id":"18e2bf0d-d210-429d-97d4-cf250341be8f","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","","var schema = {","       \"Id\" : \"string\",","        \"IsDefaultValue\" : \"bool\",","        \"Value\" : \"string\",","        \"MetaStatus\" : \"string\",","        \"DisplayOrder\" : \"int\",","        \"IsDeleted\" : \"bool\"","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});","","","pm.environment.set(\"status_open_Value\", jsonData.Value);","pm.environment.set(\"status_open_id\", jsonData.Id);",""],"type":"text/javascript"}}],"id":"2c9887be-5432-4d78-912e-477567e8123a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"isDefaultValue\": false,\n  \"value\": \"{{status_open_Value}}_updated\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/values/{{status_open_id}}","description":"<p>Updates the selected custom status</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","values","{{status_open_id}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2c9887be-5432-4d78-912e-477567e8123a"},{"name":"Edit Custom Status with Deleted Status ID","event":[{"listen":"test","script":{"id":"f35b6930-3de4-4884-860a-933dd60be46f","exec":["pm.test(\"Status code is 404\", function () {","    pm.response.to.have.status(400);","});","",""],"type":"text/javascript"}}],"id":"ac6ff89e-e5cc-4981-a836-e74e2cd8a643","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"isDefaultValue\": false,\n  \"value\": \"{{status_open_Value}}_updated1\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/values/{{status_open_id_deleted}}","description":"<p>A \"404 Not Found\" error is thrown, when the id of a deleted custom status is used to edit the custom status</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","values","{{status_open_id_deleted}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ac6ff89e-e5cc-4981-a836-e74e2cd8a643"},{"name":"Create Custom Status","event":[{"listen":"test","script":{"id":"7f2e4549-671d-452d-ad8f-95bfba0ca19a","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"status_value_id\", jsonData.Id);","","var schema = {","       \"Id\" : \"string\",","        \"IsDefaultValue\" : \"bool\",","        \"Value\" : \"string\",","        \"MetaStatus\" : \"string\",","        \"DisplayOrder\" : \"int\",","        \"IsDeleted\" : \"bool\"","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});"],"type":"text/javascript"}}],"id":"c48c1a48-45a1-402b-a968-7670fe755b95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"isDefaultValue\": false,\n  \"value\": \"status_1\",\n  \"metaStatus\": \"Open\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{status_field_Id}}/values","description":"<p>Creates a custom status</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}","{{status_field_Id}}","values"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"8dbd84ab-cec3-452f-818e-8842b81a038a","name":"Create Custom Status","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"isDefaultValue\": false,\n  \"value\": \"status_1\",\n  \"metaStatus\": \"Open\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/{{status_field_Id}}/values"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:33:37 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"89"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"NotFound\",\n    \"message\": \"Invalid field value \",\n    \"parameter\": \"basefldv1600\"\n}"}],"_postman_id":"c48c1a48-45a1-402b-a968-7670fe755b95"},{"name":"Delete Custom Status","event":[{"listen":"test","script":{"id":"23889ecd-a4ed-4a4c-82cd-8e7392bd8049","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","var schema = {","       \"Id\" : \"string\",","        \"IsDefaultValue\" : \"bool\",","        \"Value\" : \"string\",","        \"MetaStatus\" : \"string\",","        \"DisplayOrder\" : \"int\",","        \"IsDeleted\" : \"bool\"","};","","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","","pm.test(\"Body matches string- IsDeleted to be true\", function () {","    pm.expect(pm.response.text()).to.include('\"IsDeleted\": true');","});"],"type":"text/javascript"}}],"id":"c54e5d0a-25cd-4773-8f33-435d14bc8933","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/values/{{status_value_id}}","description":"<p>Deletes the selected custom status</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","values","{{status_value_id}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"42ba8e0a-ee88-487e-8fa6-6f2c69742063","name":"Delete Custom Status","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/values/{{status_value_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:33:56 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"89"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"NotFound\",\n    \"message\": \"Invalid field value \",\n    \"parameter\": \"basefldv1563\"\n}"}],"_postman_id":"c54e5d0a-25cd-4773-8f33-435d14bc8933"},{"name":"Delete Category Field Value","event":[{"listen":"test","script":{"id":"3629b0de-5d1e-4557-ac73-8606cf9c4c6a","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","var schema = {","       \"Id\" : \"string\",","        \"IsDefaultValue\" : \"bool\",","        \"Value\" : \"string\",","        \"MetaStatus\" : \"string\",","        \"DisplayOrder\" : \"int\",","        \"IsDeleted\" : \"bool\"","};","","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","","pm.test(\"Body matches string- IsDeleted to be true\", function () {","    pm.expect(pm.response.text()).to.include('\"IsDeleted\": true');","});"],"type":"text/javascript"}}],"id":"98d5c29b-d185-4a5d-a702-6b34599ed697","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/values/{{category_value_id}}","description":"<p>Deletes the selected category field value</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","values","{{category_value_id}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"07294f99-d767-4b18-ac60-6ecb589c7779","name":"Delete Category Field Value","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/values/{{category_value_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:34:12 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Content-Length","value":"144"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"Id\": \"basefldv1603\",\n    \"FieldId\": \"basefild1143\",\n    \"IsDefaultValue\": false,\n    \"Value\": \"Category_value_914\",\n    \"MetastatusId\": -1,\n    \"DisplayOrder\": -1,\n    \"IsDeleted\": true\n}"}],"_postman_id":"98d5c29b-d185-4a5d-a702-6b34599ed697"},{"name":"Delete Already Deleted Category Field Value","event":[{"listen":"test","script":{"id":"d7313bc3-6f4e-4185-8996-6cd689e20bf5","exec":["pm.test(\"Status code is 404\", function () {","    pm.response.to.have.status(404);","});",""],"type":"text/javascript"}}],"id":"57fe87f9-cab4-4dd4-a905-a40d315a9f22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/values/{{category_value_id}}","description":"<p>A \"404 Not Found\" error is thrown, when a user tries to delete a category field value that was deleted earlier</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","values","{{category_value_id}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"3adb91e3-1641-4bf2-ba6e-e173275b8846","name":"Delete Already Deleted Category Field Value","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/values/{{category_value_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:34:33 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"89"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"NotFound\",\n    \"message\": \"Invalid field value \",\n    \"parameter\": \"basefldv1603\"\n}"}],"_postman_id":"57fe87f9-cab4-4dd4-a905-a40d315a9f22"},{"name":"Delete Custom Status using Invalid Status ID","event":[{"listen":"test","script":{"id":"a34548f9-03d2-4aef-8fe8-4ca6780396b2","exec":["pm.test(\"Status code is 400\", function () {","    pm.response.to.have.status(400);","});"],"type":"text/javascript"}}],"id":"882ab9e1-9239-4668-988f-b7a0d4d6e360","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/values/basefldv0000","description":"<p>A \"404 Not Found\" error is thrown, when an invalid custom status id is used while trying to delete the custom status via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","values","basefldv0000"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"74e5d1b6-7561-4768-8687-76e2a5957411","name":"Delete Custom Status using Invalid Status ID","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/values/basefldv0000"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:34:51 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"89"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"NotFound\",\n    \"message\": \"Invalid field value \",\n    \"parameter\": \"basefldv0000\"\n}"}],"_postman_id":"882ab9e1-9239-4668-988f-b7a0d4d6e360"},{"name":"Delete Custom Status by Unauthorized User","event":[{"listen":"test","script":{"id":"238ad17c-3136-4e1d-b2db-be6d7badf405","exec":["pm.test(\"Status code is 401\", function () {","    pm.response.to.have.status(401);","});","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('\"You must be a baseline admin to perform this action\"');","});"],"type":"text/javascript"}}],"id":"f45eb6c3-8fbf-44c0-9143-fbbd077c085e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/values/{{status_open_id}}","description":"<p>A \"401 Unauthorized\" error is throw, when an unauthorized user tries to delete custom status via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","values","{{status_open_id}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"102309ea-7dd5-47b7-81f3-ace86b14693b","name":"Delete Custom Status by Unauthorized User","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/values/{{status_open_id}}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:35:14 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"\"You must be a baseline admin to perform this action\""}],"_postman_id":"f45eb6c3-8fbf-44c0-9143-fbbd077c085e"},{"name":"Reorder Status Fields","event":[{"listen":"test","script":{"id":"8fdf18a0-d1f0-44a0-a1b5-05021e7ea208","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});","","var schema = {","       \"Id\" : \"string\",","       \"FieldId\" : \"string\",","        \"IsDefaultValue\" : \"bool\",","        \"Value\" : \"string\",","        \"MetaStatus\" : \"string\",","        \"DisplayOrder\" : \"int\",","        \"IsDeleted\" : \"bool\"","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var status_open_Value = pm.environment.get(\"status_open_Value\");","var status_approved_Value = pm.environment.get(\"status_approved_Value\");","var status_rejected_Value = pm.environment.get(\"status_rejected_Value\");","","for(var i =0; i<7; i++){","    if(jsonData[i].Value == \"Accept\"){","        pm.expect(pm.response.text()).to.include('\"DisplayOrder\": 1');","    }","    if(jsonData[i].Value == \"Submitted\"){","        pm.expect(pm.response.text()).to.include('\"DisplayOrder\": 2');","    }","    if(jsonData[i].Value == \"Acknowledge\"){","        pm.expect(pm.response.text()).to.include('\"DisplayOrder\": 3');","    }","    if(jsonData[i].Value == \"Approve\"){","        pm.expect(pm.response.text()).to.include('\"DisplayOrder\": 4');","    }","    if(jsonData[i].Value == status_open_Value){","        pm.expect(pm.response.text()).to.include('\"DisplayOrder\": 5');","    }","    if(jsonData[i].Value == status_approved_Value){","        pm.expect(pm.response.text()).to.include('\"DisplayOrder\": 6');","    }","    if(jsonData[i].Value == \"Duplicate\"){","        pm.expect(pm.response.text()).to.include('\"DisplayOrder\": 7');","    }","    if(jsonData[i].Value == \"Reject\"){","        pm.expect(pm.response.text()).to.include('\"DisplayOrder\": 8');","    }","    if(jsonData[i].Value == status_rejected_Value){","        pm.expect(pm.response.text()).to.include('\"DisplayOrder\": 9');","    }","}",""],"type":"text/javascript"}}],"id":"86ef3959-71c6-40b3-ae74-e12233039ca3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"fieldValues\": [\n    {\n      \"value\": \"Accept\",\n      \"displayOrder\": 1\n    },\n    {\n      \"value\": \"Submitted\",\n      \"displayOrder\": 2\n    },\n    {\n      \"value\": \"Acknowledge\",\n      \"displayOrder\": 3\n    },\n    {\n      \"value\": \"Approve\",\n      \"displayOrder\": 4\n    },\n    {\n      \"value\": \"{{status_open_Value}}\",\n      \"displayOrder\": 5\n    },\n    {\n      \"value\": \"{{status_approved_Value}}\",\n      \"displayOrder\": 6\n    },\n    {\n      \"value\": \"Duplicate\",\n      \"displayOrder\": 7\n    },\n    {\n      \"value\": \"Reject\",\n      \"displayOrder\": 8\n    },\n    {\n      \"value\": \"{{status_rejected_Value}}\",\n      \"displayOrder\": 9\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/status/values","description":"<p>Reorders the system-defined and custom status fields</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}","status","values"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"95bea201-e1ee-47b7-8f7f-2030ad1f7f15","name":"Reorder Status Fields","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"fieldValues\": [\n    {\n      \"value\": \"Accept\",\n      \"displayOrder\": 1\n    },\n    {\n      \"value\": \"Submitted\",\n      \"displayOrder\": 2\n    },\n    {\n      \"value\": \"Acknowledge\",\n      \"displayOrder\": 3\n    },\n    {\n      \"value\": \"Approve\",\n      \"displayOrder\": 4\n    },\n    {\n      \"value\": \"{{status_open_Value}}\",\n      \"displayOrder\": 5\n    },\n    {\n      \"value\": \"{{status_approved_Value}}\",\n      \"displayOrder\": 6\n    },\n    {\n      \"value\": \"Duplicate\",\n      \"displayOrder\": 7\n    },\n    {\n      \"value\": \"Reject\",\n      \"displayOrder\": 8\n    },\n    {\n      \"value\": \"{{status_rejected_Value}}\",\n      \"displayOrder\": 9\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/status/values"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:35:35 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Content-Length","value":"284"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"Id\": \"basefldv1576\",\n        \"FieldId\": \"basefild1142\",\n        \"IsDefaultValue\": false,\n        \"Value\": \"Accept\",\n        \"MetastatusId\": 2,\n        \"DisplayOrder\": 1,\n        \"IsDeleted\": false\n    },\n    {\n        \"Id\": \"basefldv1574\",\n        \"FieldId\": \"basefild1142\",\n        \"IsDefaultValue\": true,\n        \"Value\": \"Submitted\",\n        \"MetastatusId\": 1,\n        \"DisplayOrder\": 2,\n        \"IsDeleted\": false\n    },\n    {\n        \"Id\": \"basefldv1575\",\n        \"FieldId\": \"basefild1142\",\n        \"IsDefaultValue\": false,\n        \"Value\": \"Acknowledge\",\n        \"MetastatusId\": 2,\n        \"DisplayOrder\": 3,\n        \"IsDeleted\": false\n    },\n    {\n        \"Id\": \"basefldv1577\",\n        \"FieldId\": \"basefild1142\",\n        \"IsDefaultValue\": false,\n        \"Value\": \"Approve\",\n        \"MetastatusId\": 2,\n        \"DisplayOrder\": 4,\n        \"IsDeleted\": false\n    },\n    {\n        \"Id\": \"basefldv1605\",\n        \"FieldId\": \"basefild1142\",\n        \"IsDefaultValue\": false,\n        \"Value\": \"status_139_updated_updated\",\n        \"MetastatusId\": 1,\n        \"DisplayOrder\": 5,\n        \"IsDeleted\": false\n    },\n    {\n        \"Id\": \"basefldv1601\",\n        \"FieldId\": \"basefild1142\",\n        \"IsDefaultValue\": false,\n        \"Value\": \"status_654\",\n        \"MetastatusId\": 2,\n        \"DisplayOrder\": 6,\n        \"IsDeleted\": false\n    },\n    {\n        \"Id\": \"basefldv1578\",\n        \"FieldId\": \"basefild1142\",\n        \"IsDefaultValue\": false,\n        \"Value\": \"Duplicate\",\n        \"MetastatusId\": 3,\n        \"DisplayOrder\": 7,\n        \"IsDeleted\": false\n    },\n    {\n        \"Id\": \"basefldv1579\",\n        \"FieldId\": \"basefild1142\",\n        \"IsDefaultValue\": false,\n        \"Value\": \"Reject\",\n        \"MetastatusId\": 3,\n        \"DisplayOrder\": 8,\n        \"IsDeleted\": false\n    },\n    {\n        \"Id\": \"basefldv1602\",\n        \"FieldId\": \"basefild1142\",\n        \"IsDefaultValue\": false,\n        \"Value\": \"status_718\",\n        \"MetastatusId\": 3,\n        \"DisplayOrder\": 9,\n        \"IsDeleted\": false\n    }\n]"}],"_postman_id":"86ef3959-71c6-40b3-ae74-e12233039ca3"},{"name":"Reorder Status Fields using Invalid Project ID","event":[{"listen":"test","script":{"id":"c006b29f-209d-4ece-8a70-6dacac047429","exec":["pm.test(\"Status code is 400\", function () {","    pm.response.to.have.status(400);","});","","pm.test(\"Body matches string- Invalid project Id\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Invalid project id/path\"');","});"],"type":"text/javascript"}}],"id":"d75bd16d-a1eb-4b69-bb25-87db159b48fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"fieldValues\": [\n    {\n      \"value\": \"Accept\",\n      \"displayOrder\": 1\n    },\n    {\n      \"value\": \"Submitted\",\n      \"displayOrder\": 2\n    },\n    {\n      \"value\": \"Acknowledge\",\n      \"displayOrder\": 3\n    },\n    {\n      \"value\": \"Approve\",\n      \"displayOrder\": 4\n    },\n    {\n      \"value\": \"{{status_open_Value}}\",\n      \"displayOrder\": 5\n    },\n    {\n      \"value\": \"{{status_approved_Value}}\",\n      \"displayOrder\": 6\n    },\n    {\n      \"value\": \"Duplicate\",\n      \"displayOrder\": 7\n    },\n    {\n      \"value\": \"Reject\",\n      \"displayOrder\": 8\n    },\n    {\n      \"value\": \"{{status_rejected_Value}}\",\n      \"displayOrder\": 9\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/proj0000","description":"<p>A \"404 Not Found\" error is thrown, when an invalide project id is used while trying to reorder the system-defined and custom status fields</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","proj0000"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"96abc6f9-b32d-48d6-a957-631c30c8f90d","name":"Reorder Status Fields using Invalid Project ID","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"fieldValues\": [\n    {\n      \"value\": \"Accept\",\n      \"displayOrder\": 1\n    },\n    {\n      \"value\": \"Submitted\",\n      \"displayOrder\": 2\n    },\n    {\n      \"value\": \"Acknowledge\",\n      \"displayOrder\": 3\n    },\n    {\n      \"value\": \"Approve\",\n      \"displayOrder\": 4\n    },\n    {\n      \"value\": \"{{status_open_Value}}\",\n      \"displayOrder\": 5\n    },\n    {\n      \"value\": \"{{status_approved_Value}}\",\n      \"displayOrder\": 6\n    },\n    {\n      \"value\": \"Duplicate\",\n      \"displayOrder\": 7\n    },\n    {\n      \"value\": \"Reject\",\n      \"displayOrder\": 8\n    },\n    {\n      \"value\": \"{{status_rejected_Value}}\",\n      \"displayOrder\": 9\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/proj0000"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:35:58 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"88"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"NotFound\",\n    \"message\": \"Invalid project id/path\",\n    \"parameter\": \"proj0000\"\n}"}],"_postman_id":"d75bd16d-a1eb-4b69-bb25-87db159b48fc"},{"name":"Reorder Status Fields by Unauthorized User","event":[{"listen":"test","script":{"id":"a6158371-47b0-41dc-ab52-af56a457fc74","exec":["pm.test(\"Status code is 401\", function () {","    pm.response.to.have.status(401);","});","","pm.test(\"Body matches string- Permission denied\", function () {","    pm.expect(pm.response.text()).to.include('\"You must be a baseline admin to perform this action\"');","});","","pm.test(\"Status code name has string - Unauthorized\", function () {","    pm.response.to.have.status(\"Unauthorized\");","});"],"type":"text/javascript"}}],"id":"47046ab2-b1fe-4832-8630-218f3efb96ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"body":{"mode":"raw","raw":"{\n  \"fieldValues\": [\n    {\n      \"value\": \"Accept\",\n      \"displayOrder\": 1\n    },\n    {\n      \"value\": \"Submitted\",\n      \"displayOrder\": 2\n    },\n    {\n      \"value\": \"Acknowledge\",\n      \"displayOrder\": 3\n    },\n    {\n      \"value\": \"Approve\",\n      \"displayOrder\": 4\n    },\n    {\n      \"value\": \"{{status_open_Value}}\",\n      \"displayOrder\": 5\n    },\n    {\n      \"value\": \"{{status_approved_Value}}\",\n      \"displayOrder\": 6\n    },\n    {\n      \"value\": \"Duplicate\",\n      \"displayOrder\": 7\n    },\n    {\n      \"value\": \"Reject\",\n      \"displayOrder\": 8\n    },\n    {\n      \"value\": \"{{status_rejected_Value}}\",\n      \"displayOrder\": 9\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/status/values","description":"<p>A \"401 Unauthorized\" error is thrown, when an unauthorized user tries to reorder status fields via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}","status","values"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"9b9c2162-1015-41a5-afaa-096f6a365243","name":"Reorder Status Fields by Unauthorized User","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"body":{"mode":"raw","raw":"{\n  \"fieldValues\": [\n    {\n      \"value\": \"Accept\",\n      \"displayOrder\": 1\n    },\n    {\n      \"value\": \"Submitted\",\n      \"displayOrder\": 2\n    },\n    {\n      \"value\": \"Acknowledge\",\n      \"displayOrder\": 3\n    },\n    {\n      \"value\": \"Approve\",\n      \"displayOrder\": 4\n    },\n    {\n      \"value\": \"{{status_open_Value}}\",\n      \"displayOrder\": 5\n    },\n    {\n      \"value\": \"{{status_approved_Value}}\",\n      \"displayOrder\": 6\n    },\n    {\n      \"value\": \"Duplicate\",\n      \"displayOrder\": 7\n    },\n    {\n      \"value\": \"Reject\",\n      \"displayOrder\": 8\n    },\n    {\n      \"value\": \"{{status_rejected_Value}}\",\n      \"displayOrder\": 9\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/status/values"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:36:13 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"\"You must be a baseline admin to perform this action\""}],"_postman_id":"47046ab2-b1fe-4832-8630-218f3efb96ab"},{"name":"Add Role for Status Transition","event":[{"listen":"test","script":{"id":"573cffea-dcd2-4a9d-8b22-d1f8ffb6c318","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","","var schema = {","        \"Id\" : \"int\",","        \"RoleId\" : \"string\",","        \"RoleName\" : \"string\",","        \"FieldName\" : \"string\",","        \"FromStatus\" : \"string\",","        \"ToStatus\" : \"string\",","        \"projectId\" : \"string\",","","};","","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var status_op = pm.environment.get(\"status_open_Value\");","","","pm.test(\"Body matches string- From status\", function () {","    pm.expect(pm.response.text()).to.include('\"FromStatus\": \"'+status_op+'\"');","});","","pm.test(\"Body matches string - To status\", function () {","    pm.expect(pm.response.text()).to.include('\"ToStatus\": \"Accept\"');","});"],"type":"text/javascript"}}],"id":"67a95114-161d-435f-889f-e43499bb5474","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"transitions\": [\n    {\n      \"fromStatus\": \"{{status_open_id}}\",\n      \"toStatus\": \"{{status_accept_Id}}\"\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/transitions/by-project/{{projectId}}/role/{{roleId}}","description":"<p>Adds role for selected status transition</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","transitions","by-project","{{projectId}}","role","{{roleId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"67a95114-161d-435f-889f-e43499bb5474"},{"name":"Add Role for Status Transition - Role ID without Review Permission","event":[{"listen":"test","script":{"id":"458424c0-b016-4c17-8637-decc6862562e","exec":["pm.test(\"Status code is 400\", function () {","    pm.response.to.have.status(400);","});","","var jsonData = JSON.parse(responseBody);","","pm.test(\"Body matches string - enter a valid role\", function () {","    pm.expect(pm.response.text()).to.include('\"Please enter a valid role who has reviewer permission\"');","});"],"type":"text/javascript"}}],"id":"44e49ec1-dfc8-4a7a-ae10-a04684283db6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"transitions\": [\n    {\n      \"fromStatus\": \"{{status_open_id}}\",\n      \"toStatus\": \"{{status_accept_Id}}\"\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/transitions/by-project/{{projectId}}/role/role0000","description":"<p>A \"400 Bad Request\" error is thrown, when a role ID without baseline review permission is used while adding user role for selected status transition via the REST call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","transitions","by-project","{{projectId}}","role","role0000"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"44e49ec1-dfc8-4a7a-ae10-a04684283db6"},{"name":"Add Role for Status Transition - Invalid Project ID","event":[{"listen":"test","script":{"id":"c3a94872-afda-4141-91f5-619eb5fb5f41","exec":["pm.test(\"Status code is 404\", function () {","    pm.response.to.have.status(404);","});","","pm.test(\"Body matches string - Invalid ProjectId\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Invalid project id/path\"');","});"],"type":"text/javascript"}}],"id":"8b7b17e9-77c6-426d-9be5-e00c4dc84961","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"transitions\": [\n    {\n      \"fromStatus\": \"{{status_open_id}}\",\n      \"toStatus\": \"{{status_accept_Id}}\"\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/transitions/by-project/proj0000/role/{{roleId}}","description":"<p>A \"404 Not Found\" error is thrown, when an invalid project id is used while adding user role for status transition via the REST call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","transitions","by-project","proj0000","role","{{roleId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8b7b17e9-77c6-426d-9be5-e00c4dc84961"},{"name":"Add Role for Status Transition by Unauthorized User","event":[{"listen":"test","script":{"id":"17f0d2e3-14f6-4920-8b67-194b7e9ddf57","exec":["pm.test(\"Status code is 401\", function () {","    pm.response.to.have.status(401);","});","","pm.test(\"Body matches string - Unauthorized\", function () {","    pm.expect(pm.response.text()).to.include('\"You must be a baseline admin to perform this action\"');","});","","pm.test(\"Status code name has string- Unauthorized\", function () {","    pm.response.to.have.status(\"Unauthorized\");","});"],"type":"text/javascript"}}],"id":"5bb4c908-43e0-4816-882c-c517cb4a936e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"body":{"mode":"raw","raw":"{\n  \"transitions\": [\n    {\n      \"fromStatus\": \"{{status_open_id}}\",\n      \"toStatus\": \"{{status_accept_Id}}\"\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/transitions/by-project/{{projectId}}/role/{{roleId}}","description":"<p>A \"401 Unauthorized\" error is thrown, when an unauthorized user tries to add a user role for selecte status transition via the REST call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","transitions","by-project","{{projectId}}","role","{{roleId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5bb4c908-43e0-4816-882c-c517cb4a936e"},{"name":"Add Role for Status Transition using Invalid From Status","event":[{"listen":"test","script":{"id":"f8cdfec4-617b-4e3a-acc3-dc5982ca70e3","exec":["pm.test(\"Status code is 400\", function () {","    pm.response.to.have.status(400);","});","","pm.test(\"Body matches string - Enter valid status from open status type\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Please Enter a valid From Status from Open Status\"');","});","","pm.test(\"Status code name has string- Bad Request\", function () {","    pm.response.to.have.status(\"Bad Request\");","});"],"type":"text/javascript"}}],"id":"b1ff6b9b-97f1-4ae5-9010-21e24de4d0a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"transitions\": [\n    {\n      \"fromStatus\": \"{{status_approve_Id}}\",\n      \"toStatus\": \"{{status_accept_Id}}\"\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/transitions/by-project/{{projectId}}/role/{{roleId}}","description":"<p>A \"400 Bad Request\" error is thrown, when an invalid from status (not of \"open\" meta status) is provided while adding a user role for status transition via the REST call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","transitions","by-project","{{projectId}}","role","{{roleId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b1ff6b9b-97f1-4ae5-9010-21e24de4d0a3"},{"name":"Create Role for Baseline Admin Users","event":[{"listen":"test","script":{"id":"bb3f13bc-190d-46cc-8501-e5a1ce733359","exec":["pm.test(\"Status code is 201 - Role is created successfully.\", function () {","    pm.response.to.have.status(201);","});","","var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");"," ","tests[\"Has Content-Type\"] = contentTypeHeaderExists;"," ","if (contentTypeHeaderExists) {","    tests[\"Content-Type is application/json\"] = ","      responseHeaders[\"Content-Type\"].has(\"application/json\");","}","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});","","pm.test(\"Response time is less than 5000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(5000);","});","","var schema = {","  \"roleType\": \"Global\",","  \"projectId\": \"string\",","  \"title\": \"string\",","  \"description\": \"string\",","  \"preventInheritance\": true,","  \"requestable\": true,","  \"autoGrant\": true","};","","var jsonData = JSON.parse(responseBody);","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"baselineAdminRoleId\", jsonData.id);","postman.setEnvironmentVariable(\"baselineAdminRoleName\", jsonData.title);"],"type":"text/javascript"}}],"id":"9bc4efd0-e794-4d1f-922c-5156c79e36a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{AdminToken}}"}],"body":{"mode":"raw","raw":"{\r\n  \"roleType\": \"Project\",\r\n  \"projectId\": \"{{projectId}}\",\r\n  \"title\": \"BaselineReviewerRole\",\r\n  \"description\": \"Role created via REST API\",\r\n  \"preventInheritance\": true,\r\n  \"requestable\": true,\r\n  \"autoGrant\": true\r\n}"},"url":"{{HostName}}/ctfrest/foundation/v1/projects/{{projectId}}/roles","description":"<p>Creates user role for users with Baseline Admin permission</p>\n","urlObject":{"path":["ctfrest","foundation","v1","projects","{{projectId}}","roles"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"58281851-b114-48ae-a037-b2a59b87a0f6","name":"Create Role for Baseline Admin Users","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{AdminToken}}"}],"body":{"mode":"raw","raw":"{\r\n  \"roleType\": \"Project\",\r\n  \"projectId\": \"{{projectId}}\",\r\n  \"title\": \"BaselineReviewerRole\",\r\n  \"description\": \"Role created via REST API\",\r\n  \"preventInheritance\": true,\r\n  \"requestable\": true,\r\n  \"autoGrant\": true\r\n}"},"url":"{{HostName}}/ctfrest/foundation/v1/projects/{{projectId}}/roles"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:37:20 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/foundation/v1/roles/role1476"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"539"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"100\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"role\",\n    \"id\": \"role1476\",\n    \"title\": \"BaselineReviewerRole882\",\n    \"description\": \"Role created via REST API\",\n    \"createdInProjectId\": \"proj1088\",\n    \"status\": \"A\",\n    \"roleType\": \"Project\",\n    \"preventInheritance\": true,\n    \"requestable\": true,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/foundation/v1/roles/role1476\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/foundation/v1/roles/role1476\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/foundation/v1/roles/role1476\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"},{"id":"9851e477-4f5a-46e0-9fed-2bb595794ca4","name":"Create Role for Baseline Admin Users","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{AdminToken}}"}],"body":{"mode":"raw","raw":"{\r\n  \"roleType\": \"Project\",\r\n  \"projectId\": \"{{projectId}}\",\r\n  \"title\": \"BaselineReviewerRole\",\r\n  \"description\": \"Role created via REST API\",\r\n  \"preventInheritance\": true,\r\n  \"requestable\": true,\r\n  \"autoGrant\": true\r\n}"},"url":"{{HostName}}/ctfrest/foundation/v1/projects/{{projectId}}/roles"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:37:20 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Location","value":"https://teamforge.collab.net/ctfrest/foundation/v1/roles/role1476"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"539"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"ETag","value":"\"100\""},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"_type\": \"role\",\n    \"id\": \"role1476\",\n    \"title\": \"BaselineReviewerRole882\",\n    \"description\": \"Role created via REST API\",\n    \"createdInProjectId\": \"proj1088\",\n    \"status\": \"A\",\n    \"roleType\": \"Project\",\n    \"preventInheritance\": true,\n    \"requestable\": true,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/foundation/v1/roles/role1476\"\n        },\n        \"update\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/foundation/v1/roles/role1476\",\n            \"method\": \"PATCH\"\n        },\n        \"delete\": {\n            \"href\": \"https://teamforge.collab.net/ctfrest/foundation/v1/roles/role1476\",\n            \"method\": \"DELETE\"\n        }\n    }\n}"}],"_postman_id":"9bc4efd0-e794-4d1f-922c-5156c79e36a3"},{"name":"Assign Baseline Admin Permission for User Role","event":[{"listen":"test","script":{"id":"89d4d893-b26c-4865-93d1-b5a1cdf37e91","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"332a114b-da74-4f90-aded-3c6a9aa74799","exec":[""],"type":"text/javascript"}}],"id":"512dacd1-b4bd-4606-9365-c21b1b29caf4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"},{"key":"SoapAction","value":"Required"}],"body":{"mode":"raw","raw":"<soapenv:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://schema.open.collab.net/sfee50/soap60/service\">\r\n   <soapenv:Header/>\r\n   <soapenv:Body>\r\n      <ser:addCluster soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">\r\n         <sessionId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{AdminTokenSoap}}</sessionId>\r\n         <roleId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{baselineAdminRoleId}}</roleId>\r\n         <operationCluster xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">baseline_admin</operationCluster>\r\n                <folderId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\"></folderId>\r\n      </ser:addCluster>\r\n   </soapenv:Body>\r\n</soapenv:Envelope>"},"url":"{{HostName}}/ce-soap60/services/RbacApp","description":"<p>Assigns baseline admin permission for the user role</p>\n","urlObject":{"path":["ce-soap60","services","RbacApp"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"e3841616-6b7c-4c46-a3d1-d3d952ede51c","name":"Assign Baseline Admin Permission for User Role","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml"},{"key":"SoapAction","value":"Required"}],"body":{"mode":"raw","raw":"<soapenv:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://schema.open.collab.net/sfee50/soap60/service\">\r\n   <soapenv:Header/>\r\n   <soapenv:Body>\r\n      <ser:addCluster soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">\r\n         <sessionId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{AdminTokenSoap}}</sessionId>\r\n         <roleId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">{{baselineAdminRoleId}}</roleId>\r\n         <operationCluster xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\">baseline_admin</operationCluster>\r\n                <folderId xsi:type=\"xsd:string\" xs:type=\"type:string\" xmlns:xs=\"http://www.w3.org/2000/XMLSchema-instance\"></folderId>\r\n      </ser:addCluster>\r\n   </soapenv:Body>\r\n</soapenv:Envelope>"},"url":"{{HostName}}/ce-soap60/services/RbacApp"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:38:15 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Content-Type","value":"text/xml;charset=utf-8"},{"key":"CtfUserName","value":"admin"},{"key":"Cache-Control","value":"max-age=0"},{"key":"Expires","value":"Sun, 21 Oct 2018 11:38:14 GMT"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Content-Length","value":"233"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n    <soapenv:Body>\n        <ns1:addClusterResponse soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:ns1=\"http://schema.open.collab.net/sfee50/soap60/service\"/>\n    </soapenv:Body>\n</soapenv:Envelope>"}],"_postman_id":"512dacd1-b4bd-4606-9365-c21b1b29caf4"},{"name":"Add Role for Status Transition - Role with only Baseline Admin Permission","event":[{"listen":"test","script":{"id":"aa3ac27b-c887-4f91-92dd-0806d7cc6ac1","exec":["pm.test(\"Status code is 400\", function () {","    pm.response.to.have.status(400);","});","","var jsonData = JSON.parse(responseBody);","","var schema = {","        \"Id\" : \"int\",","        \"RoleId\" : \"string\",","        \"RoleName\" : \"string\",","        \"FieldName\" : \"string\",","        \"FromStatus\" : \"string\",","        \"ToStatus\" : \"string\",","        \"projectId\" : \"string\",","};","","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","pm.test(\"Body matches string - Need to enter valid role who has reviewer permission\", function () {","    pm.expect(pm.response.text()).to.include('\"Please enter a valid role who has reviewer permission\"');","});"],"type":"text/javascript"}}],"id":"09d9c49b-bcb3-4be0-96b7-5dc5daf501af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"transitions\": [\n    {\n      \"fromStatus\": \"{{status_open_id}}\",\n      \"toStatus\": \"{{status_accept_Id}}\"\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/transitions/by-project/{{projectId}}/role/{{baselineAdminRoleId}}","description":"<p>A \"400 Bad Request\" error is thrown, when trying to add a role with only baseline admin permission and without baseline review permission for status transition</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","transitions","by-project","{{projectId}}","role","{{baselineAdminRoleId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"09d9c49b-bcb3-4be0-96b7-5dc5daf501af"},{"name":"Update Status Transition","event":[{"listen":"test","script":{"id":"b6f16d57-a053-4916-9f65-178d920decd0","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","","var schema = {","        \"Id\" : \"int\",","        \"RoleId\" : \"string\",","        \"RoleName\" : \"string\",","        \"FieldName\" : \"string\",","        \"FromStatus\" : \"string\",","        \"ToStatus\" : \"string\",","        \"projectId\" : \"string\",","","};","","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var status_submitted_Id = pm.environment.get(\"status_submitted_Id\");","","","pm.test(\"Body matches string- From status\", function () {","    pm.expect(pm.response.text()).to.include('\"FromStatus\": \"'+status_submitted_Id+'\"');","});","","pm.test(\"Body matches string - To status\", function () {","    pm.expect(pm.response.text()).to.include('\"ToStatus\": \"Accept\"');","});"],"type":"text/javascript"}}],"id":"51644f0b-1cc7-43ae-9f70-d0cdc620a634","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"transitions\": [\n    {\n      \"fromStatus\": \"{{status_submitted_Id}}\",\n      \"toStatus\": \"{{status_accept_Id}}\"\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/transitions/by-project/{{projectId}}/role/{{roleId}}","description":"<p>Updates existing status transition to selected from and/or to statuses</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","transitions","by-project","{{projectId}}","role","{{roleId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"51644f0b-1cc7-43ae-9f70-d0cdc620a634"},{"name":"Get Roles with Status Transition Workflow","event":[{"listen":"test","script":{"id":"4872b91a-b004-40c4-adc0-806a863aa381","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","","var schema = {","        \"Id\" : \"int\",","        \"RoleId\" : \"string\",","        \"RoleName\" : \"string\",","        \"FieldName\" : \"string\",","        \"FromStatus\" : \"string\",","        \"ToStatus\" : \"string\",","        \"projectId\" : \"string\",","","};","","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","var roleId = pm.environment.get(\"roleId\");","","","pm.test(\"Body matches string- From status\", function () {","    pm.expect(pm.response.text()).to.include('\"RoleId\": \"'+roleId+'\"');","});"],"type":"text/javascript"}}],"id":"c9a7e884-076e-49f7-9492-de2c1e920900","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/transitions/by-project/{{projectId}}","description":"<p>Gets user roles for which status transition workflow has been added</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","transitions","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c9a7e884-076e-49f7-9492-de2c1e920900"},{"name":"Get Roles with Status Transition Workflow using Invalid Project ID","event":[{"listen":"test","script":{"id":"7b3a8a1b-fb4e-4a00-9399-5eed41a7165b","exec":["pm.test(\"Status code is 404\", function () {","    pm.response.to.have.status(404);","});","","var jsonData = JSON.parse(responseBody);","","var schema = {","        \"Id\" : \"int\",","        \"RoleId\" : \"string\",","        \"RoleName\" : \"string\",","        \"FieldName\" : \"string\",","        \"FromStatus\" : \"string\",","        \"ToStatus\" : \"string\",","        \"projectId\" : \"string\",","","};","","pm.test(\"Validating the Schema\",function(){","   pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});","","pm.test(\"Body matches string- Invalid project Id\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Invalid project id/path\"');","});"],"type":"text/javascript"}}],"id":"87b43197-fc0b-4ddd-88d8-05866906622e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/transitions/by-project/proj0000","description":"<p>A \"404 Not Found\" error is thrown, when an invalid project id is used while trying to get roles with status transition workflow via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","transitions","by-project","proj0000"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"87b43197-fc0b-4ddd-88d8-05866906622e"},{"name":"Get Roles with Status Transition Workflow by Unauthorized User","event":[{"listen":"test","script":{"id":"5833c958-0ed2-4fbe-9536-31ccbfce7a3a","exec":["pm.test(\"Status code is 401\", function () {","    pm.response.to.have.status(401);","});","","pm.test(\"Body matches string- Invalid project Id\", function () {","    pm.expect(pm.response.text()).to.include('\"You must be a baseline admin to perform this action\"');","});"],"type":"text/javascript"}}],"id":"e5d2b084-262e-4cfb-8fa8-ffaf9e8924da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/transitions/by-project/{{projectId}}","description":"<p>A \"401 Unauthorized\" error is thrown, when an unauthorized user tries to get user roles with status transition workflow via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","transitions","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e5d2b084-262e-4cfb-8fa8-ffaf9e8924da"},{"name":"Get Baseline Workflow Transition for Current User","event":[{"listen":"test","script":{"id":"95daa59c-67c6-4185-a69d-debb580ecb5a","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});",""],"type":"text/javascript"}}],"id":"8fcdeab6-df5d-4e39-9139-5f7b5734731f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/{{baseId1}}/transitions/myself","description":"<p>Gets the baseline status workflow transition for the user who has currently logged in</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","{{baseId1}}","transitions","myself"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8fcdeab6-df5d-4e39-9139-5f7b5734731f"},{"name":"Update Baseline Custom Fields","event":[{"listen":"test","script":{"id":"9dda65cc-2ca4-48fc-b60d-ab2ae8b346f8","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","","pm.test(\"Body matches string - Baseline updated successfully\", function () {","    pm.expect(pm.response.text()).to.include('\"Baseline Updated successfully.\"');","});"],"type":"text/javascript"}}],"id":"2cea60cc-a52d-43fb-8422-07371f0fd1c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","value":"{{baseline2_version}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"comparebaseline_updated\",\n  \"description\": \"comparing the baseline features with another filter conditions_updated\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"{{category_newfield_Id}}\",\n  \"flexFields\": [\n    {\n      \"id\": \"{{Attribute_DropDown_Id}}\",\n      \"name\": \"{{Attribute_DropDown_Name}}\",\n      \"values\": [\n        \"{{Attribute_DropDown_value1}}\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Date_Id}}\",\n      \"name\": \"{{Attribute_Date_Name}}\",\n      \"values\": [\n        \"2018-10-28\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiline_Id}}\",\n      \"name\": \"{{Attribute_Multiline_Name}}\",\n      \"values\": [\n        \"Multiline \\nText \\nBox\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Singleline_Id}}\",\n      \"name\": \"{{Attribute_Singleline_Name}}\",\n      \"values\": [\n        \"Single line text entry\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiselect_Id}}\",\n      \"name\": \"{{Attribute_Multiselect_Name}}\",\n      \"values\": [\n        \"{{Attribute_Multiselect_value1}}\"\n      ]\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/{{baseId2}}","description":"<p>Updates only the custom fields in the baseline.</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","{{baseId2}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"34a86cde-7cd5-473d-9156-913bcbf13e04","name":"Update Baseline Custom Fields","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","value":"{{baseline2_version}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"comparebaseline_updated\",\n  \"description\": \"comparing the baseline features with another filter conditions_updated\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"{{category_newfield_Id}}\",\n  \"flexFields\": [\n    {\n      \"id\": \"{{Attribute_DropDown_Id}}\",\n      \"name\": \"{{Attribute_DropDown_Name}}\",\n      \"values\": [\n        \"{{Attribute_DropDown_value1}}\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Date_Id}}\",\n      \"name\": \"{{Attribute_Date_Name}}\",\n      \"values\": [\n        \"2018-10-28\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiline_Id}}\",\n      \"name\": \"{{Attribute_Multiline_Name}}\",\n      \"values\": [\n        \"Multiline \\nText \\nBox\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Singleline_Id}}\",\n      \"name\": \"{{Attribute_Singleline_Name}}\",\n      \"values\": [\n        \"Single line text entry\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiselect_Id}}\",\n      \"name\": \"{{Attribute_Multiselect_Name}}\",\n      \"values\": [\n        \"{{Attribute_Multiselect_value1}}\"\n      ]\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/{{baseId2}}"},"status":"Not Modified","code":304,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:40:53 GMT"},{"key":"Server","value":"Apache"},{"key":"Connection","value":"Keep-Alive"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Vary","value":"User-Agent"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"2cea60cc-a52d-43fb-8422-07371f0fd1c8"},{"name":"Update Baseline Custom Fields with Status Transition","event":[{"listen":"test","script":{"id":"4035a3e3-26eb-410e-92e3-6da06bf2bb59","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Body matches string - Baseline updated successfully\", function () {","    pm.expect(pm.response.text()).to.include('\"Baseline Updated successfully.\"');","});"],"type":"text/javascript"}}],"id":"240f2f29-c63a-4a0c-ad82-f58c4e113d54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","type":"text","value":"{{baseline2_version}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"comparebaseline_updated\",\n  \"description\": \"comparing the baseline features with another filter conditions_updated\",\n  \"status\": \"{{status_accept_Id}}\",\n  \"category\": \"{{category_newfield_Id}}\",\n  \"flexFields\": [\n    {\n      \"id\": \"{{Attribute_DropDown_Id}}\",\n      \"name\": \"{{Attribute_DropDown_Name}}\",\n      \"values\": [\n        \"{{Attribute_DropDown_value1}}\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Date_Id}}\",\n      \"name\": \"{{Attribute_Date_Name}}\",\n      \"values\": [\n        \"2018-10-28\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiline_Id}}\",\n      \"name\": \"{{Attribute_Multiline_Name}}\",\n      \"values\": [\n        \"Multiline \\nText \\nBox\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Singleline_Id}}\",\n      \"name\": \"{{Attribute_Singleline_Name}}\",\n      \"values\": [\n        \"Single line text entry\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiselect_Id}}\",\n      \"name\": \"{{Attribute_Multiselect_Name}}\",\n      \"values\": [\n        \"{{Attribute_Multiselect_value1}}\"\n      ]\n    }\n  ],\n  \"comment\": \"Setting the status from submitted to accept based on status transistion. \"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/{{baseId2}}","description":"<p>Updates only the custom fields in the baseline and changes to the next status defined in the status transition workflow</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","{{baseId2}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"409096cf-503d-4dbd-aa02-c2c0bd52a8bc","name":"Update Baseline Custom Fields with Status Transition","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","type":"text","value":"{{baseline2_version}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"comparebaseline_updated\",\n  \"description\": \"comparing the baseline features with another filter conditions_updated\",\n  \"status\": \"{{status_accept_Id}}\",\n  \"category\": \"{{category_newfield_Id}}\",\n  \"flexFields\": [\n    {\n      \"id\": \"{{Attribute_DropDown_Id}}\",\n      \"name\": \"{{Attribute_DropDown_Name}}\",\n      \"values\": [\n        \"{{Attribute_DropDown_value1}}\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Date_Id}}\",\n      \"name\": \"{{Attribute_Date_Name}}\",\n      \"values\": [\n        \"2018-10-28\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiline_Id}}\",\n      \"name\": \"{{Attribute_Multiline_Name}}\",\n      \"values\": [\n        \"Multiline \\nText \\nBox\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Singleline_Id}}\",\n      \"name\": \"{{Attribute_Singleline_Name}}\",\n      \"values\": [\n        \"Single line text entry\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiselect_Id}}\",\n      \"name\": \"{{Attribute_Multiselect_Name}}\",\n      \"values\": [\n        \"{{Attribute_Multiselect_value1}}\"\n      ]\n    }\n  ],\n  \"comment\": \"Setting the status from submitted to accept based on status transistion. \"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/{{baseId2}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:41:25 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"32"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"\"Baseline Updated successfully.\""}],"_postman_id":"240f2f29-c63a-4a0c-ad82-f58c4e113d54"},{"name":"Update Baseline Fields to Unavailable Status","event":[{"listen":"test","script":{"id":"44aaaa8b-f3cd-41b7-aff9-f5c5171cfc4f","exec":["pm.test(\"Status code is 403\", function () {","    pm.response.to.have.status(403);","});","","","var status_submitted_Id = pm.environment.get(\"status_submitted_Id\");","","pm.test(\"Body matches string - Baseline updated successfully\", function () {","    pm.expect(pm.response.text()).to.include('\"User do not have permission to update baseline status as '+status_submitted_Id+'\"');","});"],"type":"text/javascript"}}],"id":"666b0ca7-c69e-4750-8c01-68702a3bdc5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","type":"text","value":"{{baseline2_version}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"comparebaseline_updated\",\n  \"description\": \"comparing the baseline features with another filter conditions_updated\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"{{category_newfield_Id}}\",\n  \"flexFields\": [\n    {\n      \"id\": \"{{Attribute_DropDown_Id}}\",\n      \"name\": \"{{Attribute_DropDown_Name}}\",\n      \"values\": [\n        \"{{Attribute_DropDown_value1}}\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Date_Id}}\",\n      \"name\": \"{{Attribute_Date_Name}}\",\n      \"values\": [\n        \"2018-10-28\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiline_Id}}\",\n      \"name\": \"{{Attribute_Multiline_Name}}\",\n      \"values\": [\n        \"Multiline \\nText \\nBox\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Singleline_Id}}\",\n      \"name\": \"{{Attribute_Singleline_Name}}\",\n      \"values\": [\n        \"Single line text entry\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiselect_Id}}\",\n      \"name\": \"{{Attribute_Multiselect_Name}}\",\n      \"values\": [\n        \"{{Attribute_Multiselect_value1}}\"\n      ]\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/{{baseId2}}","description":"<p>Update the baseline with baseline flex fields and status which is not configured in workflow.</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","{{baseId2}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"53a090ea-b7e1-4be8-a40a-cb2a801deb77","name":"Update Baseline Fields to Unavailable Status","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","type":"text","value":"{{baseline2_version}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"comparebaseline_updated\",\n  \"description\": \"comparing the baseline features with another filter conditions_updated\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"{{category_newfield_Id}}\",\n  \"flexFields\": [\n    {\n      \"id\": \"{{Attribute_DropDown_Id}}\",\n      \"name\": \"{{Attribute_DropDown_Name}}\",\n      \"values\": [\n        \"{{Attribute_DropDown_value1}}\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Date_Id}}\",\n      \"name\": \"{{Attribute_Date_Name}}\",\n      \"values\": [\n        \"2018-10-28\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiline_Id}}\",\n      \"name\": \"{{Attribute_Multiline_Name}}\",\n      \"values\": [\n        \"Multiline \\nText \\nBox\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Singleline_Id}}\",\n      \"name\": \"{{Attribute_Singleline_Name}}\",\n      \"values\": [\n        \"Single line text entry\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiselect_Id}}\",\n      \"name\": \"{{Attribute_Multiselect_Name}}\",\n      \"values\": [\n        \"{{Attribute_Multiselect_value1}}\"\n      ]\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/{{baseId2}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:47:38 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"71"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"\"User do not have permission to update baseline status as basefldv1574\""}],"_postman_id":"666b0ca7-c69e-4750-8c01-68702a3bdc5b"},{"name":"Update Baseline Field with Invalid Baseline ID","event":[{"listen":"test","script":{"id":"6d0c58d3-e56c-4f6c-8f0a-01c48985cc68","exec":["pm.test(\"Status code is 404\", function () {","    pm.response.to.have.status(404);","});","","pm.test(\"Body matches string - Invalid Vaseline Id\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Invalid Baseline Id\"');","});"],"type":"text/javascript"}}],"id":"56e53339-1043-4b3a-aaa2-754c1245aa7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","type":"text","value":"{{baseline2_version}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"comparebaseline_updated\",\n  \"description\": \"comparing the baseline features with another filter conditions_updated\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"{{category_newfield_Id}}\",\n  \"flexFields\": [\n    {\n      \"id\": \"{{Attribute_DropDown_Id}}\",\n      \"name\": \"{{Attribute_DropDown_Name}}\",\n      \"values\": [\n        \"{{Attribute_DropDown_value1}}\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Date_Id}}\",\n      \"name\": \"{{Attribute_Date_Name}}\",\n      \"values\": [\n        \"2018-10-28\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiline_Id}}\",\n      \"name\": \"{{Attribute_Multiline_Name}}\",\n      \"values\": [\n        \"Multiline \\nText \\nBox\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Singleline_Id}}\",\n      \"name\": \"{{Attribute_Singleline_Name}}\",\n      \"values\": [\n        \"Single line text entry\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiselect_Id}}\",\n      \"name\": \"{{Attribute_Multiselect_Name}}\",\n      \"values\": [\n        \"{{Attribute_Multiselect_value1}}\"\n      ]\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/base0000","description":"<p>When updating the custom fields in the baseline via the REST API call, a \"404 Not Found\"  error is thrown, when an invalid baseline id is used</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","base0000"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"9ff333bc-0dc3-4f86-8422-be6a46dbfbd6","name":"Update Baseline Field with Invalid Baseline ID","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","type":"text","value":"{{baseline2_version}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"comparebaseline_updated\",\n  \"description\": \"comparing the baseline features with another filter conditions_updated\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"{{category_newfield_Id}}\",\n  \"flexFields\": [\n    {\n      \"id\": \"{{Attribute_DropDown_Id}}\",\n      \"name\": \"{{Attribute_DropDown_Name}}\",\n      \"values\": [\n        \"{{Attribute_DropDown_value1}}\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Date_Id}}\",\n      \"name\": \"{{Attribute_Date_Name}}\",\n      \"values\": [\n        \"2018-10-28\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiline_Id}}\",\n      \"name\": \"{{Attribute_Multiline_Name}}\",\n      \"values\": [\n        \"Multiline \\nText \\nBox\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Singleline_Id}}\",\n      \"name\": \"{{Attribute_Singleline_Name}}\",\n      \"values\": [\n        \"Single line text entry\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiselect_Id}}\",\n      \"name\": \"{{Attribute_Multiselect_Name}}\",\n      \"values\": [\n        \"{{Attribute_Multiselect_value1}}\"\n      ]\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/base0000"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:48:30 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"84"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"NotFound\",\n    \"message\": \"Invalid Baseline Id\",\n    \"parameter\": \"base0000\"\n}"}],"_postman_id":"56e53339-1043-4b3a-aaa2-754c1245aa7e"},{"name":"Update Comments","event":[{"listen":"test","script":{"id":"bc67fd3a-91f1-43cc-87af-4edb31e6a872","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Body matches string - comment saved successfully\", function () {","    pm.expect(pm.response.text()).to.include('\"Comment saved successfully\"');","});"],"type":"text/javascript"}}],"id":"e1860914-b653-41b6-8df6-53eb2914c8de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"comment\": \"Comment updated in baseline via REST API\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/comment?objectId={{baseId2}}","description":"<p>Updates the comments in respective baseline using baseline ID in URL.</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","comment"],"host":["{{HostName}}"],"query":[{"key":"objectId","value":"{{baseId2}}"}],"variable":[]}},"response":[{"id":"32db5a24-5a9e-4fee-b7cb-784bfa788a0f","name":"Update Comments","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"comment\": \"Comment updated in baseline via REST API\"\n}"},"url":{"raw":"{{HostName}}/ctfrest/baseline/v1/router/comment?objectId={{baseId2}}","host":["{{HostName}}"],"path":["ctfrest","baseline","v1","router","comment"],"query":[{"key":"objectId","value":"{{baseId2}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:48:59 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"28"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"\"Comment saved successfully\""}],"_postman_id":"e1860914-b653-41b6-8df6-53eb2914c8de"},{"name":"Get Comments Count","event":[{"listen":"test","script":{"id":"f0ba41f8-ca4e-4d9b-9a19-bc04c9978d64","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Body matches string - total count\", function () {","    pm.expect(pm.response.text()).to.include('\"totalCount\": 5');","});"],"type":"text/javascript"}}],"id":"0424e949-5251-4d77-930e-78e443a3a144","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/audit?objectId={{baseId2}}&preference=all&offset=0&limit=10","description":"<p>Gets the count of comments in a baseline using baseline ID.</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","audit"],"host":["{{HostName}}"],"query":[{"key":"objectId","value":"{{baseId2}}"},{"key":"preference","value":"all"},{"key":"offset","value":"0"},{"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"0424e949-5251-4d77-930e-78e443a3a144"},{"name":"Create Baseline with Custom Fields","event":[{"listen":"test","script":{"id":"38c4131e-7660-4b6d-82e3-455ad2ead94a","exec":[""],"type":"text/javascript"}}],"id":"4470cfa1-14f7-4de6-88d2-1596e728a52d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"BaselineWithFlexFields\",\n  \"description\": \"Creating the baseline with newly created flex fields\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"{{category_value_id}}\",\n  \"flexFields\": [\n    {\n      \"id\": \"{{Attribute_DropDown_Id}}\",\n      \"values\": [\n        \"{{Attribute_DropDown_value0}}\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Date_Id}}\",\n      \"values\": [\n        \"2018-10-3\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiline_Id}}\",\n      \"values\": [\n        \"Multiline text box\\ntesting with\\nmultiple lines. \"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Singleline_Id}}\",\n      \"values\": [\n        \"Single line validation\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiselect_Id}}\",\n      \"values\": [\n        \"{{Attribute_Multiselect_value2}}\"\n      ]\n    }\n  ],\n  \"baselineDefinition\": {\n    \"filter\": {\n      \"trackers\": [\n        {\n          \"id\": \"{{TrackerID_0}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"Artifact\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_tracker1}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_open_t1}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          }\n        },\n        {\n          \"id\": \"{{TrackerID}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"\",\n              \"condition\": \"\",\n              \"values\": [],\n              \"LeftFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"\",\n                      \"condition\": \"\",\n                      \"values\": [],\n                      \"LeftFV\": {\n                        \"attribute\": \"title\",\n                        \"condition\": \"5\",\n                        \"values\": [\n                          \"Artifact\"\n                        ]\n                      },\n                      \"RightFV\": {\n                        \"attribute\": \"{{priority_fildID}}\",\n                        \"condition\": \"13\",\n                        \"values\": [\n                          \"2\"\n                        ],\n                        \"FVCondition\": \"\"\n                      },\n                      \"FVCondition\": \"2\"\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{PF_fildID}}\",\n                      \"condition\": \"19\",\n                      \"values\": [\n                        \"{{PF_title}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{team_fildID}}\",\n                    \"condition\": \"19\",\n                    \"values\": [\n                      \"{{Team_title}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"RightFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"{{Group_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{Group_val1_Id}}\",\n                        \"{{Group_val2_Id}}\"\n                      ]\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{Customer_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{customer_val1_Id}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{Category_ID}}\",\n                    \"condition\": \"13\",\n                    \"values\": [\n                      \"{{Category_val2_Id}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"FVCondition\": \"3\"\n              },\n              \"RightFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"{{MSFF_ID}}\",\n                  \"condition\": \"15\",\n                  \"values\": [\n                    \"{{MSFF_Val1ID}}\",\n                    \"{{MSFF_Val2ID}}\"\n                  ]\n                },\n                \"RightFV\": {\n                  \"attribute\": \"{{TkrSSFldID}}\",\n                  \"condition\": \"13\",\n                  \"values\": [\n                    \"{{TkrSSFldVal2ID}}\"\n                  ],\n                  \"FVCondition\": \"\"\n                },\n                \"FVCondition\": \"2\"\n              },\n              \"FVCondition\": \"3\"\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{reportedInRel_fildID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{ReleaseID1}}\"\n              ]\n            },\n            \"FVCondition\": \"3\"\n          }\n        }\n      ],\n      \"documentFolders\": {\n        \"folderIds\": [\n          \"{{DocRootFolderId}}\",\n          \"{{DocFolderId1}}\",\n          \"{{ChildDocFolderId}}\"\n        ],\n        \"version\": \"active\",\n        \"filters\": {\n          \"attribute\": \"\",\n          \"condition\": \"\",\n          \"values\": [],\n          \"LeftFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"doc\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_Doc}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_Draft_Doc}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"RightFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"{{DocSingleSelectFldID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{Doc_SSFF_Val2ID}}\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{DocMultiSelectFldID}}\",\n              \"condition\": \"15\",\n              \"values\": [\n                \"{{Doc_MSFF_Val3ID}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"FVCondition\": \"3\",\n          \"isInvalid\": false\n        },\n        \"docTree\": {\n          \"documentFolder\": {\n            \"internalDisabled\": false,\n            \"internalChecked\": true,\n            \"internalCollapsed\": true,\n            \"text\": \"Root Folder\",\n            \"value\": \"{{DocRootFolderId}}\",\n            \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n            \"parentFolderId\": \"DocumentApp2181\",\n            \"internalChildren\": [\n              {\n                \"internalDisabled\": false,\n                \"internalChecked\": true,\n                \"internalCollapsed\": true,\n                \"text\": \"DocFolder1\",\n                \"value\": \"{{DocFolderId1}}\",\n                \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                \"parentFolderId\": \"{{DocRootFolderId}}\",\n                \"internalChildren\": [\n                  {\n                    \"internalDisabled\": false,\n                    \"internalChecked\": true,\n                    \"internalCollapsed\": true,\n                    \"text\": \"ChildDocFolder\",\n                    \"value\": \"{{ChildDocFolderId}}\",\n                    \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                    \"parentFolderId\": \"{{DocFolderId1}}\"\n                  }\n                ]\n              }\n            ]\n          }\n        }\n      },\n      \"planningFolders\": {\n        \"planningFolderIds\": [\n          \"{{PF_Id}}\",\n          \"{{ChildPF_Id}}\",\n          \"{{SubChildPF_Id}}\"\n        ],\n        \"pfTree\": {\n          \"planningfolders\": {\n            \"children\": [\n              {\n                \"internalDisabled\": false,\n                \"internalChecked\": false,\n                \"internalCollapsed\": true,\n                \"text\": \"None\",\n                \"value\": \"none\",\n                \"imgUrl\": \"/sf-images/pngs/folder_closed.png\"\n              },\n              {\n                \"internalDisabled\": false,\n                \"internalChecked\": true,\n                \"internalCollapsed\": false,\n                \"text\": \"{{PF_title}}\",\n                \"value\": \"{{PF_Id}}\",\n                \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                \"parentFolderId\": \"{{ParentPF_Id}}\",\n                \"internalChildren\": [\n                  {\n                    \"internalDisabled\": false,\n                    \"internalChecked\": true,\n                    \"internalCollapsed\": true,\n                    \"text\": \"{{ChildPF_title}}\",\n                    \"value\": \"{{ChildPF_Id}}\",\n                    \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                    \"parentFolderId\": \"{{PF_Id}}\",\n                    \"internalChildren\": [\n                      {\n                        \"internalDisabled\": false,\n                        \"internalChecked\": true,\n                        \"internalCollapsed\": true,\n                        \"text\": \"{{SubChildPF_title}}\",\n                        \"value\": \"{{SubChildPF_Id}}\",\n                        \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                        \"parentFolderId\": \"{{ChildPF_Id}}\"\n                      }\n                    ]\n                  }\n                ]\n              }\n            ]\n          }\n        }\n      },\n      \"frs\": {\n        \"releaseIds\": [\n          \"{{ReleaseID1}}\"\n        ]\n      },\n      \"scms\": [],\n      \"binaries\": []\n    }\n  }\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}","description":"<p>Create baseline using newly created \"attributes\", \"status\" values of baseline.</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"d4f357d9-da06-4848-a0e6-e00b4428515b","name":"Create Baseline with Custom Fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"BaselineWithFlexFields\",\n  \"description\": \"Creating the baseline with newly created flex fields\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"{{category_value_id}}\",\n  \"flexFields\": [\n    {\n      \"id\": \"{{Attribute_DropDown_Id}}\",\n      \"values\": [\n        \"{{Attribute_DropDown_value0}}\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Date_Id}}\",\n      \"values\": [\n        \"2018-10-3\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiline_Id}}\",\n      \"values\": [\n        \"Multiline text box\\ntesting with\\nmultiple lines. \"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Singleline_Id}}\",\n      \"values\": [\n        \"Single line validation\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiselect_Id}}\",\n      \"values\": [\n        \"{{Attribute_Multiselect_value2}}\"\n      ]\n    }\n  ],\n  \"baselineDefinition\": {\n    \"filter\": {\n      \"trackers\": [\n        {\n          \"id\": \"{{TrackerID_0}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"Artifact\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_tracker1}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_open_t1}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          }\n        },\n        {\n          \"id\": \"{{TrackerID}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"\",\n              \"condition\": \"\",\n              \"values\": [],\n              \"LeftFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"\",\n                      \"condition\": \"\",\n                      \"values\": [],\n                      \"LeftFV\": {\n                        \"attribute\": \"title\",\n                        \"condition\": \"5\",\n                        \"values\": [\n                          \"Artifact\"\n                        ]\n                      },\n                      \"RightFV\": {\n                        \"attribute\": \"{{priority_fildID}}\",\n                        \"condition\": \"13\",\n                        \"values\": [\n                          \"2\"\n                        ],\n                        \"FVCondition\": \"\"\n                      },\n                      \"FVCondition\": \"2\"\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{PF_fildID}}\",\n                      \"condition\": \"19\",\n                      \"values\": [\n                        \"{{PF_title}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{team_fildID}}\",\n                    \"condition\": \"19\",\n                    \"values\": [\n                      \"{{Team_title}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"RightFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"{{Group_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{Group_val1_Id}}\",\n                        \"{{Group_val2_Id}}\"\n                      ]\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{Customer_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{customer_val1_Id}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{Category_ID}}\",\n                    \"condition\": \"13\",\n                    \"values\": [\n                      \"{{Category_val2_Id}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"FVCondition\": \"3\"\n              },\n              \"RightFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"{{MSFF_ID}}\",\n                  \"condition\": \"15\",\n                  \"values\": [\n                    \"{{MSFF_Val1ID}}\",\n                    \"{{MSFF_Val2ID}}\"\n                  ]\n                },\n                \"RightFV\": {\n                  \"attribute\": \"{{TkrSSFldID}}\",\n                  \"condition\": \"13\",\n                  \"values\": [\n                    \"{{TkrSSFldVal2ID}}\"\n                  ],\n                  \"FVCondition\": \"\"\n                },\n                \"FVCondition\": \"2\"\n              },\n              \"FVCondition\": \"3\"\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{reportedInRel_fildID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{ReleaseID1}}\"\n              ]\n            },\n            \"FVCondition\": \"3\"\n          }\n        }\n      ],\n      \"documentFolders\": {\n        \"folderIds\": [\n          \"{{DocRootFolderId}}\",\n          \"{{DocFolderId1}}\",\n          \"{{ChildDocFolderId}}\"\n        ],\n        \"version\": \"active\",\n        \"filters\": {\n          \"attribute\": \"\",\n          \"condition\": \"\",\n          \"values\": [],\n          \"LeftFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"doc\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_Doc}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_Draft_Doc}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"RightFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"{{DocSingleSelectFldID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{Doc_SSFF_Val2ID}}\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{DocMultiSelectFldID}}\",\n              \"condition\": \"15\",\n              \"values\": [\n                \"{{Doc_MSFF_Val3ID}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"FVCondition\": \"3\",\n          \"isInvalid\": false\n        },\n        \"docTree\": {\n          \"documentFolder\": {\n            \"internalDisabled\": false,\n            \"internalChecked\": true,\n            \"internalCollapsed\": true,\n            \"text\": \"Root Folder\",\n            \"value\": \"{{DocRootFolderId}}\",\n            \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n            \"parentFolderId\": \"DocumentApp2181\",\n            \"internalChildren\": [\n              {\n                \"internalDisabled\": false,\n                \"internalChecked\": true,\n                \"internalCollapsed\": true,\n                \"text\": \"DocFolder1\",\n                \"value\": \"{{DocFolderId1}}\",\n                \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                \"parentFolderId\": \"{{DocRootFolderId}}\",\n                \"internalChildren\": [\n                  {\n                    \"internalDisabled\": false,\n                    \"internalChecked\": true,\n                    \"internalCollapsed\": true,\n                    \"text\": \"ChildDocFolder\",\n                    \"value\": \"{{ChildDocFolderId}}\",\n                    \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                    \"parentFolderId\": \"{{DocFolderId1}}\"\n                  }\n                ]\n              }\n            ]\n          }\n        }\n      },\n      \"planningFolders\": {\n        \"planningFolderIds\": [\n          \"{{PF_Id}}\",\n          \"{{ChildPF_Id}}\",\n          \"{{SubChildPF_Id}}\"\n        ],\n        \"pfTree\": {\n          \"planningfolders\": {\n            \"children\": [\n              {\n                \"internalDisabled\": false,\n                \"internalChecked\": false,\n                \"internalCollapsed\": true,\n                \"text\": \"None\",\n                \"value\": \"none\",\n                \"imgUrl\": \"/sf-images/pngs/folder_closed.png\"\n              },\n              {\n                \"internalDisabled\": false,\n                \"internalChecked\": true,\n                \"internalCollapsed\": false,\n                \"text\": \"{{PF_title}}\",\n                \"value\": \"{{PF_Id}}\",\n                \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                \"parentFolderId\": \"{{ParentPF_Id}}\",\n                \"internalChildren\": [\n                  {\n                    \"internalDisabled\": false,\n                    \"internalChecked\": true,\n                    \"internalCollapsed\": true,\n                    \"text\": \"{{ChildPF_title}}\",\n                    \"value\": \"{{ChildPF_Id}}\",\n                    \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                    \"parentFolderId\": \"{{PF_Id}}\",\n                    \"internalChildren\": [\n                      {\n                        \"internalDisabled\": false,\n                        \"internalChecked\": true,\n                        \"internalCollapsed\": true,\n                        \"text\": \"{{SubChildPF_title}}\",\n                        \"value\": \"{{SubChildPF_Id}}\",\n                        \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                        \"parentFolderId\": \"{{ChildPF_Id}}\"\n                      }\n                    ]\n                  }\n                ]\n              }\n            ]\n          }\n        }\n      },\n      \"frs\": {\n        \"releaseIds\": [\n          \"{{ReleaseID1}}\"\n        ]\n      },\n      \"scms\": [],\n      \"binaries\": []\n    }\n  }\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:49:37 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"924"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"base1272\",\n    \"title\": \"BaselineWithFlexFields_944\",\n    \"description\": \"Creating the baseline with newly created flex fields\",\n    \"status\": \"Submitted\",\n    \"metastatusValue\": \"\",\n    \"type\": \"Implicit\",\n    \"category\": \"Category_value_914\",\n    \"projectId\": \"proj1088\",\n    \"createdBy\": \"apiUser997\",\n    \"modifiedBy\": \"apiUser997\",\n    \"approvedBy\": \"\",\n    \"flexFields\": [],\n    \"dateCreated\": \"10/21/2018\",\n    \"dateModified\": \"10/21/2018\",\n    \"dateApproved\": \"\",\n    \"version\": 100,\n    \"baselineDefinition\": {\n        \"filter\": {\n            \"trackers\": null,\n            \"planningFolders\": {\n                \"planningFolderIds\": null,\n                \"pfTree\": {\n                    \"planningfolders\": null\n                }\n            },\n            \"documentFolders\": {\n                \"folderIds\": null,\n                \"version\": \"\",\n                \"filters\": {},\n                \"fields\": null,\n                \"docTree\": {\n                    \"documentFolder\": null,\n                    \"totalCount\": 0\n                }\n            },\n            \"scms\": null,\n            \"frs\": {\n                \"releaseIds\": null\n            },\n            \"binaries\": null\n        }\n    },\n    \"bDefReferenceId\": 572\n}"}],"_postman_id":"4470cfa1-14f7-4de6-88d2-1596e728a52d"},{"name":"Create Baseline with Custom Fields using Invalid Field Value","event":[{"listen":"test","script":{"id":"7dd7e67d-11c9-4045-9056-bacf6ed02a05","exec":[" ","pm.test(\"Status code is 400\", function () {","    pm.response.to.have.status(400);","});"],"type":"text/javascript"}}],"id":"e57a13fb-8d12-4abe-9ec7-8e787d6029eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"BaselineWithFlexFields\",\n  \"description\": \"Creating the baseline with newly created flex fields\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"{{category_value_id}}\",\n  \"flexFields\": [\n    {\n      \"id\": \"{{Attribute_DropDown_Id}}\",\n      \"values\": [\n        \"{{Attribute_DropDown_value0}}\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Date_Id}}\",\n      \"values\": [\n        \"2018-10-3\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiline_Id}}\",\n      \"values\": [\n        \"Multiline text box\\ntesting with\\nmultiple lines. \"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Singleline_Id}}\",\n      \"values\": [\n        \"Single line validation\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiselect_Id}}\",\n      \"values\": [\n        \"{{Attribute_Multiselect_value2}}\"\n      ]\n    }\n  ],\n  \"baselineDefinition\": {\n    \"filter\": {\n      \"trackers\": [\n        {\n          \"id\": \"{{TrackerID_0}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"Artifact\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_tracker1}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_open_t1}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          }\n        },\n        {\n          \"id\": \"{{TrackerID}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"\",\n              \"condition\": \"\",\n              \"values\": [],\n              \"LeftFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"\",\n                      \"condition\": \"\",\n                      \"values\": [],\n                      \"LeftFV\": {\n                        \"attribute\": \"title\",\n                        \"condition\": \"5\",\n                        \"values\": [\n                          \"Artifact\"\n                        ]\n                      },\n                      \"RightFV\": {\n                        \"attribute\": \"{{priority_fildID}}\",\n                        \"condition\": \"13\",\n                        \"values\": [\n                          \"2\"\n                        ],\n                        \"FVCondition\": \"\"\n                      },\n                      \"FVCondition\": \"2\"\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{PF_fildID}}\",\n                      \"condition\": \"19\",\n                      \"values\": [\n                        \"{{PF_title}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{team_fildID}}\",\n                    \"condition\": \"19\",\n                    \"values\": [\n                      \"{{Team_title}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"RightFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"{{Group_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{Group_val1_Id}}\",\n                        \"{{Group_val2_Id}}\"\n                      ]\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{Customer_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{customer_val1_Id}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{Category_ID}}\",\n                    \"condition\": \"13\",\n                    \"values\": [\n                      \"{{Category_val2_Id}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"FVCondition\": \"3\"\n              },\n              \"RightFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"{{MSFF_ID}}\",\n                  \"condition\": \"15\",\n                  \"values\": [\n                    \"{{MSFF_Val1ID}}\",\n                    \"{{MSFF_Val2ID}}\"\n                  ]\n                },\n                \"RightFV\": {\n                  \"attribute\": \"{{TkrSSFldID}}\",\n                  \"condition\": \"13\",\n                  \"values\": [\n                    \"{{TkrSSFldVal2ID}}\"\n                  ],\n                  \"FVCondition\": \"\"\n                },\n                \"FVCondition\": \"2\"\n              },\n              \"FVCondition\": \"3\"\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{reportedInRel_fildID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{ReleaseID1}}\"\n              ]\n            },\n            \"FVCondition\": \"3\"\n          }\n        }\n      ],\n      \"documentFolders\": {\n        \"folderIds\": [\n          \"{{DocRootFolderId}}\",\n          \"{{DocFolderId1}}\",\n          \"{{ChildDocFolderId}}\"\n        ],\n        \"version\": \"active\",\n        \"filters\": {\n          \"attribute\": \"\",\n          \"condition\": \"\",\n          \"values\": [],\n          \"LeftFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"doc\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_Doc}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_Draft_Doc}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"RightFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"{{DocSingleSelectFldID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{Doc_SSFF_Val2ID}}\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{DocMultiSelectFldID}}\",\n              \"condition\": \"15\",\n              \"values\": [\n                \"{{Doc_MSFF_Val3ID}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"FVCondition\": \"3\",\n          \"isInvalid\": false\n        },\n        \"docTree\": {\n          \"documentFolder\": {\n            \"internalDisabled\": false,\n            \"internalChecked\": true,\n            \"internalCollapsed\": true,\n            \"text\": \"Root Folder\",\n            \"value\": \"{{DocRootFolderId}}\",\n            \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n            \"parentFolderId\": \"DocumentApp2181\",\n            \"internalChildren\": [\n              {\n                \"internalDisabled\": false,\n                \"internalChecked\": true,\n                \"internalCollapsed\": true,\n                \"text\": \"DocFolder1\",\n                \"value\": \"{{DocFolderId1}}\",\n                \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                \"parentFolderId\": \"{{DocRootFolderId}}\",\n                \"internalChildren\": [\n                  {\n                    \"internalDisabled\": false,\n                    \"internalChecked\": true,\n                    \"internalCollapsed\": true,\n                    \"text\": \"ChildDocFolder\",\n                    \"value\": \"{{ChildDocFolderId}}\",\n                    \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                    \"parentFolderId\": \"{{DocFolderId1}}\"\n                  }\n                ]\n              }\n            ]\n          }\n        }\n      },\n      \"planningFolders\": {\n        \"planningFolderIds\": [\n          \"{{PF_Id}}\",\n          \"{{ChildPF_Id}}\",\n          \"{{SubChildPF_Id}}\"\n        ],\n        \"pfTree\": {\n          \"planningfolders\": {\n            \"children\": [\n              {\n                \"internalDisabled\": false,\n                \"internalChecked\": false,\n                \"internalCollapsed\": true,\n                \"text\": \"None\",\n                \"value\": \"none\",\n                \"imgUrl\": \"/sf-images/pngs/folder_closed.png\"\n              },\n              {\n                \"internalDisabled\": false,\n                \"internalChecked\": true,\n                \"internalCollapsed\": false,\n                \"text\": \"{{PF_title}}\",\n                \"value\": \"{{PF_Id}}\",\n                \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                \"parentFolderId\": \"{{ParentPF_Id}}\",\n                \"internalChildren\": [\n                  {\n                    \"internalDisabled\": false,\n                    \"internalChecked\": true,\n                    \"internalCollapsed\": true,\n                    \"text\": \"{{ChildPF_title}}\",\n                    \"value\": \"{{ChildPF_Id}}\",\n                    \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                    \"parentFolderId\": \"{{PF_Id}}\",\n                    \"internalChildren\": [\n                      {\n                        \"internalDisabled\": false,\n                        \"internalChecked\": true,\n                        \"internalCollapsed\": true,\n                        \"text\": \"{{SubChildPF_title}}\",\n                        \"value\": \"{{SubChildPF_Id}}\",\n                        \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                        \"parentFolderId\": \"{{ChildPF_Id}}\"\n                      }\n                    ]\n                  }\n                ]\n              }\n            ]\n          }\n        }\n      },\n      \"frs\": {\n        \"releaseIds\": [\n          \"{{ReleaseID1}}\"\n        ]\n      },\n      \"scms\": [],\n      \"binaries\": []\n    }\n  }\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}","description":"<p>Inability to create baseline using newly created \"attributes\", \"status\" values of baseline with invalid filter conditions.</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"861d87d8-415e-4689-8f65-dd1bddd9a53e","name":"Create Baseline with Custom Fields using Invalid Field Value","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"BaselineWithFlexFields\",\n  \"description\": \"Creating the baseline with newly created flex fields\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"{{category_value_id}}\",\n  \"flexFields\": [\n    {\n      \"id\": \"{{Attribute_DropDown_Id}}\",\n      \"values\": [\n        \"{{Attribute_DropDown_value0}}\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Date_Id}}\",\n      \"values\": [\n        \"2018-10-3\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiline_Id}}\",\n      \"values\": [\n        \"Multiline text box\\ntesting with\\nmultiple lines. \"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Singleline_Id}}\",\n      \"values\": [\n        \"Single line validation\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiselect_Id}}\",\n      \"values\": [\n        \"{{Attribute_Multiselect_value2}}\"\n      ]\n    }\n  ],\n  \"baselineDefinition\": {\n    \"filter\": {\n      \"trackers\": [\n        {\n          \"id\": \"{{TrackerID_0}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"Artifact\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_tracker1}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_open_t1}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          }\n        },\n        {\n          \"id\": \"{{TrackerID}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"\",\n              \"condition\": \"\",\n              \"values\": [],\n              \"LeftFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"\",\n                      \"condition\": \"\",\n                      \"values\": [],\n                      \"LeftFV\": {\n                        \"attribute\": \"title\",\n                        \"condition\": \"5\",\n                        \"values\": [\n                          \"Artifact\"\n                        ]\n                      },\n                      \"RightFV\": {\n                        \"attribute\": \"{{priority_fildID}}\",\n                        \"condition\": \"13\",\n                        \"values\": [\n                          \"2\"\n                        ],\n                        \"FVCondition\": \"\"\n                      },\n                      \"FVCondition\": \"2\"\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{PF_fildID}}\",\n                      \"condition\": \"19\",\n                      \"values\": [\n                        \"{{PF_title}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{team_fildID}}\",\n                    \"condition\": \"19\",\n                    \"values\": [\n                      \"{{Team_title}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"RightFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"{{Group_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{Group_val1_Id}}\",\n                        \"{{Group_val2_Id}}\"\n                      ]\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{Customer_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{customer_val1_Id}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{Category_ID}}\",\n                    \"condition\": \"13\",\n                    \"values\": [\n                      \"{{Category_val2_Id}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"FVCondition\": \"3\"\n              },\n              \"RightFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"{{MSFF_ID}}\",\n                  \"condition\": \"15\",\n                  \"values\": [\n                    \"{{MSFF_Val1ID}}\",\n                    \"{{MSFF_Val2ID}}\"\n                  ]\n                },\n                \"RightFV\": {\n                  \"attribute\": \"{{TkrSSFldID}}\",\n                  \"condition\": \"13\",\n                  \"values\": [\n                    \"{{TkrSSFldVal2ID}}\"\n                  ],\n                  \"FVCondition\": \"\"\n                },\n                \"FVCondition\": \"2\"\n              },\n              \"FVCondition\": \"3\"\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{reportedInRel_fildID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{ReleaseID1}}\"\n              ]\n            },\n            \"FVCondition\": \"3\"\n          }\n        }\n      ],\n      \"documentFolders\": {\n        \"folderIds\": [\n          \"{{DocRootFolderId}}\",\n          \"{{DocFolderId1}}\",\n          \"{{ChildDocFolderId}}\"\n        ],\n        \"version\": \"active\",\n        \"filters\": {\n          \"attribute\": \"\",\n          \"condition\": \"\",\n          \"values\": [],\n          \"LeftFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"doc\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_Doc}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_Draft_Doc}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"RightFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"{{DocSingleSelectFldID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{Doc_SSFF_Val2ID}}\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{DocMultiSelectFldID}}\",\n              \"condition\": \"15\",\n              \"values\": [\n                \"{{Doc_MSFF_Val3ID}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"FVCondition\": \"3\",\n          \"isInvalid\": false\n        },\n        \"docTree\": {\n          \"documentFolder\": {\n            \"internalDisabled\": false,\n            \"internalChecked\": true,\n            \"internalCollapsed\": true,\n            \"text\": \"Root Folder\",\n            \"value\": \"{{DocRootFolderId}}\",\n            \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n            \"parentFolderId\": \"DocumentApp2181\",\n            \"internalChildren\": [\n              {\n                \"internalDisabled\": false,\n                \"internalChecked\": true,\n                \"internalCollapsed\": true,\n                \"text\": \"DocFolder1\",\n                \"value\": \"{{DocFolderId1}}\",\n                \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                \"parentFolderId\": \"{{DocRootFolderId}}\",\n                \"internalChildren\": [\n                  {\n                    \"internalDisabled\": false,\n                    \"internalChecked\": true,\n                    \"internalCollapsed\": true,\n                    \"text\": \"ChildDocFolder\",\n                    \"value\": \"{{ChildDocFolderId}}\",\n                    \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                    \"parentFolderId\": \"{{DocFolderId1}}\"\n                  }\n                ]\n              }\n            ]\n          }\n        }\n      },\n      \"planningFolders\": {\n        \"planningFolderIds\": [\n          \"{{PF_Id}}\",\n          \"{{ChildPF_Id}}\",\n          \"{{SubChildPF_Id}}\"\n        ],\n        \"pfTree\": {\n          \"planningfolders\": {\n            \"children\": [\n              {\n                \"internalDisabled\": false,\n                \"internalChecked\": false,\n                \"internalCollapsed\": true,\n                \"text\": \"None\",\n                \"value\": \"none\",\n                \"imgUrl\": \"/sf-images/pngs/folder_closed.png\"\n              },\n              {\n                \"internalDisabled\": false,\n                \"internalChecked\": true,\n                \"internalCollapsed\": false,\n                \"text\": \"{{PF_title}}\",\n                \"value\": \"{{PF_Id}}\",\n                \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                \"parentFolderId\": \"{{ParentPF_Id}}\",\n                \"internalChildren\": [\n                  {\n                    \"internalDisabled\": false,\n                    \"internalChecked\": true,\n                    \"internalCollapsed\": true,\n                    \"text\": \"{{ChildPF_title}}\",\n                    \"value\": \"{{ChildPF_Id}}\",\n                    \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                    \"parentFolderId\": \"{{PF_Id}}\",\n                    \"internalChildren\": [\n                      {\n                        \"internalDisabled\": false,\n                        \"internalChecked\": true,\n                        \"internalCollapsed\": true,\n                        \"text\": \"{{SubChildPF_title}}\",\n                        \"value\": \"{{SubChildPF_Id}}\",\n                        \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                        \"parentFolderId\": \"{{ChildPF_Id}}\"\n                      }\n                    ]\n                  }\n                ]\n              }\n            ]\n          }\n        }\n      },\n      \"frs\": {\n        \"releaseIds\": [\n          \"{{ReleaseID1}}\"\n        ]\n      },\n      \"scms\": [],\n      \"binaries\": []\n    }\n  }\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:50:10 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"920"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"base1273\",\n    \"title\": \"BaselineWithFlexFields\",\n    \"description\": \"Creating the baseline with newly created flex fields\",\n    \"status\": \"Submitted\",\n    \"metastatusValue\": \"\",\n    \"type\": \"Implicit\",\n    \"category\": \"Category_value_914\",\n    \"projectId\": \"proj1088\",\n    \"createdBy\": \"apiUser997\",\n    \"modifiedBy\": \"apiUser997\",\n    \"approvedBy\": \"\",\n    \"flexFields\": [],\n    \"dateCreated\": \"10/21/2018\",\n    \"dateModified\": \"10/21/2018\",\n    \"dateApproved\": \"\",\n    \"version\": 100,\n    \"baselineDefinition\": {\n        \"filter\": {\n            \"trackers\": null,\n            \"planningFolders\": {\n                \"planningFolderIds\": null,\n                \"pfTree\": {\n                    \"planningfolders\": null\n                }\n            },\n            \"documentFolders\": {\n                \"folderIds\": null,\n                \"version\": \"\",\n                \"filters\": {},\n                \"fields\": null,\n                \"docTree\": {\n                    \"documentFolder\": null,\n                    \"totalCount\": 0\n                }\n            },\n            \"scms\": null,\n            \"frs\": {\n                \"releaseIds\": null\n            },\n            \"binaries\": null\n        }\n    },\n    \"bDefReferenceId\": 573\n}"}],"_postman_id":"e57a13fb-8d12-4abe-9ec7-8e787d6029eb"},{"name":"Create Baseline with Custom Fields by Unauthorized User","event":[{"listen":"test","script":{"id":"489a689a-7a43-4cf4-8621-ef09e2636ac3","exec":["pm.test(\"Status code is 401\", function () {","    pm.response.to.have.status(401);","});","pm.test(\"Body matches string - Permission denied\", function () {","    pm.expect(pm.response.text()).to.include('\"You must have \\'createBaseline\\' permission to perform this action\"');","});","","pm.test(\"Status code name has string- Unauthorized\", function () {","    pm.response.to.have.status(\"Unauthorized\");","});"],"type":"text/javascript"}}],"id":"d8609f5c-f478-4417-8ba4-038106207fe3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"BaselineWithFlexFields\",\n  \"description\": \"Creating the baseline with newly created flex fields\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"{{category_value_id}}\",\n  \"flexFields\": [\n    {\n      \"id\": \"{{Attribute_DropDown_Id}}\",\n      \"values\": [\n        \"{{Attribute_DropDown_value0}}\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Date_Id}}\",\n      \"values\": [\n        \"2018-10-3\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiline_Id}}\",\n      \"values\": [\n        \"Multiline text box\\ntesting with\\nmultiple lines. \"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Singleline_Id}}\",\n      \"values\": [\n        \"Single line validation\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiselect_Id}}\",\n      \"values\": [\n        \"{{Attribute_Multiselect_value2}}\"\n      ]\n    }\n  ],\n  \"baselineDefinition\": {\n    \"filter\": {\n      \"trackers\": [\n        {\n          \"id\": \"{{TrackerID_0}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"Artifact\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_tracker1}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_open_t1}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          }\n        },\n        {\n          \"id\": \"{{TrackerID}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"\",\n              \"condition\": \"\",\n              \"values\": [],\n              \"LeftFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"\",\n                      \"condition\": \"\",\n                      \"values\": [],\n                      \"LeftFV\": {\n                        \"attribute\": \"title\",\n                        \"condition\": \"5\",\n                        \"values\": [\n                          \"Artifact\"\n                        ]\n                      },\n                      \"RightFV\": {\n                        \"attribute\": \"{{priority_fildID}}\",\n                        \"condition\": \"13\",\n                        \"values\": [\n                          \"2\"\n                        ],\n                        \"FVCondition\": \"\"\n                      },\n                      \"FVCondition\": \"2\"\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{PF_fildID}}\",\n                      \"condition\": \"19\",\n                      \"values\": [\n                        \"{{PF_title}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{team_fildID}}\",\n                    \"condition\": \"19\",\n                    \"values\": [\n                      \"{{Team_title}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"RightFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"{{Group_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{Group_val1_Id}}\",\n                        \"{{Group_val2_Id}}\"\n                      ]\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{Customer_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{customer_val1_Id}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{Category_ID}}\",\n                    \"condition\": \"13\",\n                    \"values\": [\n                      \"{{Category_val2_Id}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"FVCondition\": \"3\"\n              },\n              \"RightFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"{{MSFF_ID}}\",\n                  \"condition\": \"15\",\n                  \"values\": [\n                    \"{{MSFF_Val1ID}}\",\n                    \"{{MSFF_Val2ID}}\"\n                  ]\n                },\n                \"RightFV\": {\n                  \"attribute\": \"{{TkrSSFldID}}\",\n                  \"condition\": \"13\",\n                  \"values\": [\n                    \"{{TkrSSFldVal2ID}}\"\n                  ],\n                  \"FVCondition\": \"\"\n                },\n                \"FVCondition\": \"2\"\n              },\n              \"FVCondition\": \"3\"\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{reportedInRel_fildID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{ReleaseID1}}\"\n              ]\n            },\n            \"FVCondition\": \"3\"\n          }\n        }\n      ],\n      \"documentFolders\": {\n        \"folderIds\": [\n          \"{{DocRootFolderId}}\",\n          \"{{DocFolderId1}}\",\n          \"{{ChildDocFolderId}}\"\n        ],\n        \"version\": \"active\",\n        \"filters\": {\n          \"attribute\": \"\",\n          \"condition\": \"\",\n          \"values\": [],\n          \"LeftFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"doc\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_Doc}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_Draft_Doc}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"RightFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"{{DocSingleSelectFldID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{Doc_SSFF_Val2ID}}\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{DocMultiSelectFldID}}\",\n              \"condition\": \"15\",\n              \"values\": [\n                \"{{Doc_MSFF_Val3ID}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"FVCondition\": \"3\",\n          \"isInvalid\": false\n        },\n        \"docTree\": {\n          \"documentFolder\": {\n            \"internalDisabled\": false,\n            \"internalChecked\": true,\n            \"internalCollapsed\": true,\n            \"text\": \"Root Folder\",\n            \"value\": \"{{DocRootFolderId}}\",\n            \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n            \"parentFolderId\": \"DocumentApp2181\",\n            \"internalChildren\": [\n              {\n                \"internalDisabled\": false,\n                \"internalChecked\": true,\n                \"internalCollapsed\": true,\n                \"text\": \"DocFolder1\",\n                \"value\": \"{{DocFolderId1}}\",\n                \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                \"parentFolderId\": \"{{DocRootFolderId}}\",\n                \"internalChildren\": [\n                  {\n                    \"internalDisabled\": false,\n                    \"internalChecked\": true,\n                    \"internalCollapsed\": true,\n                    \"text\": \"ChildDocFolder\",\n                    \"value\": \"{{ChildDocFolderId}}\",\n                    \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                    \"parentFolderId\": \"{{DocFolderId1}}\"\n                  }\n                ]\n              }\n            ]\n          }\n        }\n      },\n      \"planningFolders\": {\n        \"planningFolderIds\": [\n          \"{{PF_Id}}\",\n          \"{{ChildPF_Id}}\",\n          \"{{SubChildPF_Id}}\"\n        ],\n        \"pfTree\": {\n          \"planningfolders\": {\n            \"children\": [\n              {\n                \"internalDisabled\": false,\n                \"internalChecked\": false,\n                \"internalCollapsed\": true,\n                \"text\": \"None\",\n                \"value\": \"none\",\n                \"imgUrl\": \"/sf-images/pngs/folder_closed.png\"\n              },\n              {\n                \"internalDisabled\": false,\n                \"internalChecked\": true,\n                \"internalCollapsed\": false,\n                \"text\": \"{{PF_title}}\",\n                \"value\": \"{{PF_Id}}\",\n                \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                \"parentFolderId\": \"{{ParentPF_Id}}\",\n                \"internalChildren\": [\n                  {\n                    \"internalDisabled\": false,\n                    \"internalChecked\": true,\n                    \"internalCollapsed\": true,\n                    \"text\": \"{{ChildPF_title}}\",\n                    \"value\": \"{{ChildPF_Id}}\",\n                    \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                    \"parentFolderId\": \"{{PF_Id}}\",\n                    \"internalChildren\": [\n                      {\n                        \"internalDisabled\": false,\n                        \"internalChecked\": true,\n                        \"internalCollapsed\": true,\n                        \"text\": \"{{SubChildPF_title}}\",\n                        \"value\": \"{{SubChildPF_Id}}\",\n                        \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                        \"parentFolderId\": \"{{ChildPF_Id}}\"\n                      }\n                    ]\n                  }\n                ]\n              }\n            ]\n          }\n        }\n      },\n      \"frs\": {\n        \"releaseIds\": [\n          \"{{ReleaseID1}}\"\n        ]\n      },\n      \"scms\": [],\n      \"binaries\": []\n    }\n  }\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}","description":"<p>An unauthorized user cannot create baseline using newly created \"attributes\", \"status\" values of baseline via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"d24b7ad3-41ab-4110-a139-3a5a840b91ed","name":"Create Baseline with Custom Fields by Unauthorized User","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"BaselineWithFlexFields\",\n  \"description\": \"Creating the baseline with newly created flex fields\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"{{category_value_id}}\",\n  \"flexFields\": [\n    {\n      \"id\": \"{{Attribute_DropDown_Id}}\",\n      \"values\": [\n        \"{{Attribute_DropDown_value0}}\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Date_Id}}\",\n      \"values\": [\n        \"2018-10-3\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiline_Id}}\",\n      \"values\": [\n        \"Multiline text box\\ntesting with\\nmultiple lines. \"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Singleline_Id}}\",\n      \"values\": [\n        \"Single line validation\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiselect_Id}}\",\n      \"values\": [\n        \"{{Attribute_Multiselect_value2}}\"\n      ]\n    }\n  ],\n  \"baselineDefinition\": {\n    \"filter\": {\n      \"trackers\": [\n        {\n          \"id\": \"{{TrackerID_0}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"Artifact\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_tracker1}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_open_t1}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          }\n        },\n        {\n          \"id\": \"{{TrackerID}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"\",\n              \"condition\": \"\",\n              \"values\": [],\n              \"LeftFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"\",\n                      \"condition\": \"\",\n                      \"values\": [],\n                      \"LeftFV\": {\n                        \"attribute\": \"title\",\n                        \"condition\": \"5\",\n                        \"values\": [\n                          \"Artifact\"\n                        ]\n                      },\n                      \"RightFV\": {\n                        \"attribute\": \"{{priority_fildID}}\",\n                        \"condition\": \"13\",\n                        \"values\": [\n                          \"2\"\n                        ],\n                        \"FVCondition\": \"\"\n                      },\n                      \"FVCondition\": \"2\"\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{PF_fildID}}\",\n                      \"condition\": \"19\",\n                      \"values\": [\n                        \"{{PF_title}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{team_fildID}}\",\n                    \"condition\": \"19\",\n                    \"values\": [\n                      \"{{Team_title}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"RightFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"{{Group_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{Group_val1_Id}}\",\n                        \"{{Group_val2_Id}}\"\n                      ]\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{Customer_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{customer_val1_Id}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{Category_ID}}\",\n                    \"condition\": \"13\",\n                    \"values\": [\n                      \"{{Category_val2_Id}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"FVCondition\": \"3\"\n              },\n              \"RightFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"{{MSFF_ID}}\",\n                  \"condition\": \"15\",\n                  \"values\": [\n                    \"{{MSFF_Val1ID}}\",\n                    \"{{MSFF_Val2ID}}\"\n                  ]\n                },\n                \"RightFV\": {\n                  \"attribute\": \"{{TkrSSFldID}}\",\n                  \"condition\": \"13\",\n                  \"values\": [\n                    \"{{TkrSSFldVal2ID}}\"\n                  ],\n                  \"FVCondition\": \"\"\n                },\n                \"FVCondition\": \"2\"\n              },\n              \"FVCondition\": \"3\"\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{reportedInRel_fildID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{ReleaseID1}}\"\n              ]\n            },\n            \"FVCondition\": \"3\"\n          }\n        }\n      ],\n      \"documentFolders\": {\n        \"folderIds\": [\n          \"{{DocRootFolderId}}\",\n          \"{{DocFolderId1}}\",\n          \"{{ChildDocFolderId}}\"\n        ],\n        \"version\": \"active\",\n        \"filters\": {\n          \"attribute\": \"\",\n          \"condition\": \"\",\n          \"values\": [],\n          \"LeftFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"doc\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_Doc}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_Draft_Doc}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"RightFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"{{DocSingleSelectFldID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{Doc_SSFF_Val2ID}}\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{DocMultiSelectFldID}}\",\n              \"condition\": \"15\",\n              \"values\": [\n                \"{{Doc_MSFF_Val3ID}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"FVCondition\": \"3\",\n          \"isInvalid\": false\n        },\n        \"docTree\": {\n          \"documentFolder\": {\n            \"internalDisabled\": false,\n            \"internalChecked\": true,\n            \"internalCollapsed\": true,\n            \"text\": \"Root Folder\",\n            \"value\": \"{{DocRootFolderId}}\",\n            \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n            \"parentFolderId\": \"DocumentApp2181\",\n            \"internalChildren\": [\n              {\n                \"internalDisabled\": false,\n                \"internalChecked\": true,\n                \"internalCollapsed\": true,\n                \"text\": \"DocFolder1\",\n                \"value\": \"{{DocFolderId1}}\",\n                \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                \"parentFolderId\": \"{{DocRootFolderId}}\",\n                \"internalChildren\": [\n                  {\n                    \"internalDisabled\": false,\n                    \"internalChecked\": true,\n                    \"internalCollapsed\": true,\n                    \"text\": \"ChildDocFolder\",\n                    \"value\": \"{{ChildDocFolderId}}\",\n                    \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                    \"parentFolderId\": \"{{DocFolderId1}}\"\n                  }\n                ]\n              }\n            ]\n          }\n        }\n      },\n      \"planningFolders\": {\n        \"planningFolderIds\": [\n          \"{{PF_Id}}\",\n          \"{{ChildPF_Id}}\",\n          \"{{SubChildPF_Id}}\"\n        ],\n        \"pfTree\": {\n          \"planningfolders\": {\n            \"children\": [\n              {\n                \"internalDisabled\": false,\n                \"internalChecked\": false,\n                \"internalCollapsed\": true,\n                \"text\": \"None\",\n                \"value\": \"none\",\n                \"imgUrl\": \"/sf-images/pngs/folder_closed.png\"\n              },\n              {\n                \"internalDisabled\": false,\n                \"internalChecked\": true,\n                \"internalCollapsed\": false,\n                \"text\": \"{{PF_title}}\",\n                \"value\": \"{{PF_Id}}\",\n                \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                \"parentFolderId\": \"{{ParentPF_Id}}\",\n                \"internalChildren\": [\n                  {\n                    \"internalDisabled\": false,\n                    \"internalChecked\": true,\n                    \"internalCollapsed\": true,\n                    \"text\": \"{{ChildPF_title}}\",\n                    \"value\": \"{{ChildPF_Id}}\",\n                    \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                    \"parentFolderId\": \"{{PF_Id}}\",\n                    \"internalChildren\": [\n                      {\n                        \"internalDisabled\": false,\n                        \"internalChecked\": true,\n                        \"internalCollapsed\": true,\n                        \"text\": \"{{SubChildPF_title}}\",\n                        \"value\": \"{{SubChildPF_Id}}\",\n                        \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                        \"parentFolderId\": \"{{ChildPF_Id}}\"\n                      }\n                    ]\n                  }\n                ]\n              }\n            ]\n          }\n        }\n      },\n      \"frs\": {\n        \"releaseIds\": [\n          \"{{ReleaseID1}}\"\n        ]\n      },\n      \"scms\": [],\n      \"binaries\": []\n    }\n  }\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:50:42 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"66"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"\"You must have 'createBaseline' permission to perform this action\""}],"_postman_id":"d8609f5c-f478-4417-8ba4-038106207fe3"},{"name":"Delete Status Transition using Role ID","event":[{"listen":"test","script":{"id":"279c812e-b685-4573-8afa-f10d0144c66e","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});",""],"type":"text/javascript"}}],"id":"6a194e38-57e7-448c-8cca-7f6bf47e083e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/baseline/v1/router/transitions/by-project/{{projectId}}/role/{{roleId}}","description":"<p>Delete the status transition of baseline using role Id.</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","transitions","by-project","{{projectId}}","role","{{roleId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"c647b9dd-ff60-4dde-bbdd-0ba8f481c396","name":"Delete Status Transition using Role ID","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":""},"url":"{{HostName}}/ctfrest/baseline/v1/router/transitions/by-project/{{projectId}}/role/{{roleId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Oct 2018 11:51:48 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"4"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"null"}],"_postman_id":"6a194e38-57e7-448c-8cca-7f6bf47e083e"},{"name":"Get Meta Status","event":[{"listen":"test","script":{"id":"ffac3e79-8bab-482d-af56-acba44f6429e","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Body matches string -Open\", function () {","    pm.expect(pm.response.text()).to.include('\"Value\": \"Open\"');","});","","pm.test(\"Body matches string -Open\", function () {","    pm.expect(pm.response.text()).to.include('\"Value\": \"Approved\"');","});","","pm.test(\"Body matches string -Open\", function () {","    pm.expect(pm.response.text()).to.include('\"Value\": \"Rejected\"');","});",""],"type":"text/javascript"}}],"id":"79c1250a-c386-4e6f-910e-007dcaa445f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/metastatus/values","description":"<p>Gets the meta statuses</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","metastatus","values"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"79c1250a-c386-4e6f-910e-007dcaa445f2"},{"name":"Get Meta Status by Unauthorized User","event":[{"listen":"test","script":{"id":"4e34835f-bdde-4fd4-a1dd-575ff655af4f","exec":["pm.test(\"Status code is 401\", function () {","    pm.response.to.have.status(401);","});"],"type":"text/javascript"}}],"id":"76679d07-19ae-4ae3-a83e-db595347482e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/metastatus/values","description":"<p>A \"401 Unauthorized\" error is thrown, when an unauthorized user tries to get the meta statuses via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","metastatus","values"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"76679d07-19ae-4ae3-a83e-db595347482e"}],"id":"6f2e99c4-dc4e-4bc7-a445-6b7e8385f639","description":"<p>Baseline Administrators use these APIs for managing statuses and workflow status transitions.</p>\n","event":[{"listen":"prerequest","script":{"id":"84b1fadb-6784-4af1-a727-4db23526ef9c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"15fedc1c-0ca2-440f-ab59-ff44ac37121a","type":"text/javascript","exec":[""]}}],"_postman_id":"6f2e99c4-dc4e-4bc7-a445-6b7e8385f639"},{"name":"Baseline Settings - Field Inclusions","item":[{"name":"Update Meta Field for Tracker","event":[{"listen":"test","script":{"id":"403a396f-b4fc-4afe-bc0c-80ae2bd5adde","exec":["pm.test(\"Status code is 204\", function () {","    pm.response.to.have.status(204);","});","pm.test(\"Status code name has string\", function () {","    pm.response.to.have.status(\"No Content\");","});"],"type":"text/javascript"}}],"id":"33cabfc5-4f82-4907-b8e4-dd01d25af83c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"[\n  {\n    \"id\": \"artifactId\",\n    \"name\": \"\",\n    \"displayOrder\": 1\n  },\n  {\n    \"id\": \"title\",\n    \"name\": \"\",\n    \"displayOrder\": 2\n  },\n  {\n    \"id\": \"{{Status_ID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 3\n  },\n  {\n    \"id\": \"{{priority_fildID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 4\n  },\n  {\n    \"id\": \"{{team_fildID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 5\n  },\n  {\n    \"id\": \"{{Category_ID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 6\n  },\n  {\n    \"id\": \"{{TextFldID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 7\n  },\n  {\n    \"id\": \"{{PF_fildID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 8\n  },\n  {\n    \"id\": \"{{reportedInRel_fildID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 9\n  },\n  {\n    \"id\": \"{{TkrSSFldID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 10\n  }\n]"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/manifest/by-folder/{{TrackerID}}","description":"<p>Updates the meta field information of Tracker using Tracker id</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}","manifest","by-folder","{{TrackerID}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"dac3ab83-b2c9-423d-8cff-46ad0a34095d","name":"Get Meta Field for Tracker","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"[\n  {\n    \"id\": \"artifactId\",\n    \"name\": \"\",\n    \"displayOrder\": 1\n  },\n  {\n    \"id\": \"title\",\n    \"name\": \"\",\n    \"displayOrder\": 2\n  },\n  {\n    \"id\": \"{{Status_ID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 3\n  },\n  {\n    \"id\": \"{{priority_fildID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 4\n  },\n  {\n    \"id\": \"{{team_fildID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 5\n  },\n  {\n    \"id\": \"{{Category_ID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 6\n  },\n  {\n    \"id\": \"{{TextFldID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 7\n  },\n  {\n    \"id\": \"{{PF_fildID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 8\n  },\n  {\n    \"id\": \"{{reportedInRel_fildID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 9\n  },\n  {\n    \"id\": \"{{TkrSSFldID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 10\n  }\n]"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/manifest/by-folder/{{TrackerID}}"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Oct 2018 06:20:42 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Set-Cookie","value":"JSESSIONID=1risBqrJ6YIUfKeX63G_4ChuAvALTfTPBzfipvcH.tf; path=/ctfrest; secure; HttpOnly"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=9998"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":""},{"id":"ea050617-ca2b-421b-bc23-696eeef1624b","name":"Get Meta Field for Tracker","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"[\n  {\n    \"id\": \"artifactId\",\n    \"name\": \"\",\n    \"displayOrder\": 1\n  },\n  {\n    \"id\": \"title\",\n    \"name\": \"\",\n    \"displayOrder\": 2\n  },\n  {\n    \"id\": \"{{Status_ID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 3\n  },\n  {\n    \"id\": \"{{priority_fildID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 4\n  },\n  {\n    \"id\": \"{{team_fildID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 5\n  },\n  {\n    \"id\": \"{{Category_ID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 6\n  },\n  {\n    \"id\": \"{{TextFldID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 7\n  },\n  {\n    \"id\": \"{{PF_fildID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 8\n  },\n  {\n    \"id\": \"{{reportedInRel_fildID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 9\n  },\n  {\n    \"id\": \"{{TkrSSFldID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 10\n  }\n]"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/manifest/by-folder/{{TrackerID}}"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"33cabfc5-4f82-4907-b8e4-dd01d25af83c"},{"name":"Update Meta Field for Document","event":[{"listen":"test","script":{"id":"7f0648f4-9060-4a9f-81e7-37f313e539fe","exec":["pm.test(\"Status code is 204\", function () {","    pm.response.to.have.status(204);","});","pm.test(\"Status code name has string\", function () {","    pm.response.to.have.status(\"No Content\");","});"],"type":"text/javascript"}}],"id":"bf8366b3-fa0d-4c88-94d6-3110ec1a0eb3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"[\n  {\n    \"id\": \"documentId\",\n    \"name\": \"\",\n    \"displayOrder\": 1\n  },\n  {\n    \"id\": \"title\",\n    \"name\": \"\",\n    \"displayOrder\": 2\n  },\n  {\n    \"id\": \"{{doc_status_Id}}\",\n    \"name\": \"\",\n    \"displayOrder\": 3\n  },\n  {\n    \"id\": \"version\",\n    \"name\": \"\",\n    \"displayOrder\": 4\n  },\n  {\n    \"id\": \"{{DocTxtFldID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 5\n  },\n  {\n    \"id\": \"{{DocMultiSelectFldID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 6\n  },\n  {\n    \"id\": \"{{DocUserFldID}}\",\n    \"name\": \"\",\n    \"displayOrder\": 7\n  }\n]"},"url":"{{HostName}}/ctfrest/baseline/v1/router/fields/by-project/{{projectId}}/manifest/by-folder/{{DocRootFolderId}}","description":"<p>Updates the meta field information of document using Document root folder Id.</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","fields","by-project","{{projectId}}","manifest","by-folder","{{DocRootFolderId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bf8366b3-fa0d-4c88-94d6-3110ec1a0eb3"}],"id":"f853dc24-f5d6-4fdd-986e-6581fcf29887","description":"<p>Baseline Administrators use these APIs for managing Tracker and Document fields that will be used as part of baseline.</p>\n","event":[{"listen":"prerequest","script":{"id":"3e8173a4-8d9b-4fa1-aa3c-406ec8eeba67","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a0977a68-f503-4ff8-8a2b-995e1379a925","type":"text/javascript","exec":[""]}}],"_postman_id":"f853dc24-f5d6-4fdd-986e-6581fcf29887"},{"name":"Baseline Settings - Project Baseline","item":[{"name":"Get Project Baseline Definition - Not Created","event":[{"listen":"test","script":{"id":"6a4d669a-44bb-488d-acc7-6581304fad32","exec":["pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Project baseline definition doesn\\'t exists for the given project\",');","});","","pm.test(\"Status code is 404\", function () {","    pm.response.to.have.status(404);","});"],"type":"text/javascript"}}],"id":"ff1722ee-c762-49c6-bc09-1bc358fcabdd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/{{projectId}}/project","description":"<p>A \"404 Not Found\" error is thrown, while trying to get the project baseline definition via the REST API call even though it is not created yet</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","by-project","{{projectId}}","project"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"a382e034-41c6-4baa-ac60-05cb7abae4df","name":"GetProjectBaselineDefintions_NEG Copy","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/{{projectId}}/project"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 24 Oct 2018 07:06:50 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"129"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"NotFound\",\n    \"message\": \"Project baseline definition doesn't exists for the given project\",\n    \"parameter\": \"proj1089\"\n}"}],"_postman_id":"ff1722ee-c762-49c6-bc09-1bc358fcabdd"},{"name":"Create Project Baseline Definition","event":[{"listen":"test","script":{"id":"d37900d1-ca5c-460e-86f7-4aa77d534a49","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"Project_Baseline_def_version\", jsonData.version);",""],"type":"text/javascript"}}],"id":"c3f424c5-1ee9-41ae-9152-60faca827d45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","type":"text","value":"{{Project_Baseline_def_version}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Creating Project Baseline Definition\",\n  \"description\": \"Project baseline definition created in the project\",\n  \"filter\": {\n    \"trackers\": [\n      {\n        \"id\": \"{{TrackerID_1}}\",\n        \"filters\": {}\n      }\n    ],\n    \"documentFolders\": {\n      \"folderIds\": [\n        \"{{ChildDocFolderId}}\"\n      ],\n      \"version\": \"active\",\n      \"filters\": {\n        \"attribute\": \"\",\n        \"condition\": \"\",\n        \"values\": [],\n        \"isInvalid\": false\n      }\n    },\n    \"planningFolders\": {\n      \"planningFolderIds\": [\n        \"{{SubChildPF_Id}}\"\n      ],\n      \"pfTree\": {}\n    },\n    \"frs\": {\n      \"releaseIds\": [\n        \"{{ReleaseID1}}\"\n      ]\n    },\n    \"scms\": [],\n    \"binaries\": []\n  }\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/{{projectId}}/project","description":"<p>Creates a project baseline definition in a project using project ID</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","by-project","{{projectId}}","project"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3f424c5-1ee9-41ae-9152-60faca827d45"},{"name":"Create Project Baseline Definition using Invalid Project ID","event":[{"listen":"test","script":{"id":"c80596eb-c4ed-47c8-8248-a862a7291011","exec":["pm.test(\"Status code is 404\", function () {","    pm.response.to.have.status(404);","});","","pm.test(\"Body matches string- Invalid Project Id\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Invalid project id/path\"');","});"],"type":"text/javascript"}}],"id":"76515bac-13f8-49d5-89d6-f09848290b9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","type":"text","value":"{{Project_Baseline_def_version}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Creating Project Baseline Definition\",\n  \"description\": \"Project baseline definition created in the project\",\n  \"filter\": {\n    \"trackers\": [\n      {\n        \"id\": \"{{TrackerID_1}}\",\n        \"filters\": {}\n      }\n    ],\n    \"documentFolders\": {\n      \"folderIds\": [\n        \"{{ChildDocFolderId}}\"\n      ],\n      \"version\": \"active\",\n      \"filters\": {\n        \"attribute\": \"\",\n        \"condition\": \"\",\n        \"values\": [],\n        \"isInvalid\": false\n      }\n    },\n    \"planningFolders\": {\n      \"planningFolderIds\": [\n        \"{{SubChildPF_Id}}\"\n      ],\n      \"pfTree\": {}\n    },\n    \"frs\": {\n      \"releaseIds\": [\n        \"{{ReleaseID2}}\"\n      ]\n    },\n    \"scms\": [],\n    \"binaries\": []\n  }\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/proj0000/project","description":"<p>A \"404 Not Found\" error is thrown, when an invalid project id is used while creating a project baseline definition via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","by-project","proj0000","project"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"76515bac-13f8-49d5-89d6-f09848290b9f"},{"name":"Create Project Baseline Definition - Version Mismatch","event":[{"listen":"test","script":{"id":"329fbb0c-013d-4fe5-a85d-2a9cc1b1d7aa","exec":["pm.test(\"Status code is 409\", function () {","    pm.response.to.have.status(409);","});","","pm.test(\"Body matches string- Version mismatch\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Version mismatch\"');","});"],"type":"text/javascript"}}],"id":"9ad1d2cd-ed10-4a07-8db2-ca38ccfc8b38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","type":"text","value":"000"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Creating Project Baseline Definition\",\n  \"description\": \"Project baseline definition created in the project\",\n  \"filter\": {\n    \"trackers\": [\n      {\n        \"id\": \"{{TrackerID_1}}\",\n        \"filters\": {}\n      }\n    ],\n    \"documentFolders\": {\n      \"folderIds\": [\n        \"{{ChildDocFolderId}}\"\n      ],\n      \"version\": \"active\",\n      \"filters\": {\n        \"attribute\": \"\",\n        \"condition\": \"\",\n        \"values\": [],\n        \"isInvalid\": false\n      }\n    },\n    \"planningFolders\": {\n      \"planningFolderIds\": [\n        \"{{SubChildPF_Id}}\"\n      ],\n      \"pfTree\": {}\n    },\n    \"frs\": {\n      \"releaseIds\": [\n        \"{{ReleaseID2}}\"\n      ]\n    },\n    \"scms\": [],\n    \"binaries\": []\n  }\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/{{projectId}}/project","description":"<p>A \"409 Conflict\" error is thrown, when an invalid version is used while trying to create project baseline definition via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","by-project","{{projectId}}","project"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9ad1d2cd-ed10-4a07-8db2-ca38ccfc8b38"},{"name":"Create Project Baseline Definition by Unauthorized User","event":[{"listen":"test","script":{"id":"d700657b-d2c3-4d2d-a060-ba2b57660bfc","exec":["pm.test(\"Status code is 401\", function () {","    pm.response.to.have.status(401);","});",""],"type":"text/javascript"}}],"id":"4abc8bca-e178-4aa0-b12a-fc1d494def8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"},{"key":"If-Match","type":"text","value":"{{Project_Baseline_def_version}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Creating Project Baseline Definition\",\n  \"description\": \"Project baseline definition created in the project\",\n  \"filter\": {\n    \"trackers\": [\n      {\n        \"id\": \"{{TrackerID_1}}\",\n        \"filters\": {}\n      }\n    ],\n    \"documentFolders\": {\n      \"folderIds\": [\n        \"{{ChildDocFolderId}}\"\n      ],\n      \"version\": \"active\",\n      \"filters\": {\n        \"attribute\": \"\",\n        \"condition\": \"\",\n        \"values\": [],\n        \"isInvalid\": false\n      }\n    },\n    \"planningFolders\": {\n      \"planningFolderIds\": [\n        \"{{SubChildPF_Id}}\"\n      ],\n      \"pfTree\": {}\n    },\n    \"frs\": {\n      \"releaseIds\": [\n        \"{{ReleaseID2}}\"\n      ]\n    },\n    \"scms\": [],\n    \"binaries\": []\n  }\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/{{projectId}}/project","description":"<p>A \"401 Unauthorized\" error is thrown, when an unauthorized user tries to create project baseline definition.</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","by-project","{{projectId}}","project"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4abc8bca-e178-4aa0-b12a-fc1d494def8e"},{"name":"Get Project Baseline Defintion","event":[{"listen":"test","script":{"id":"66cb90e5-5da8-449d-894f-5b7a94e2da50","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"7a9d8643-046c-4766-87fe-3ac95774819c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/{{projectId}}/project","description":"<p>Gets the project baseline definition information for a given project id</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","by-project","{{projectId}}","project"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7a9d8643-046c-4766-87fe-3ac95774819c"},{"name":"Create Project Baseline in Current Project","event":[{"listen":"test","script":{"id":"a332123c-abf8-4e30-925a-7347937b8eac","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"ProjectBaseline_ID\", jsonData.id);","pm.environment.set(\"ProjectBaseline_version\", jsonData.version);"],"type":"text/javascript"}}],"id":"d6a6f056-34d2-404a-a97c-f9d50e79b576","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"BaselineWithCurrentProject\",\n  \"description\": \"Baseline with current project using project definition\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"\",\n  \"flexFields\": [\n    {\n      \"id\": \"{{Attribute_DropDown_Id}}\",\n      \"values\": [\n        \"{{Attribute_DropDown_value0}}\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Date_Id}}\",\n      \"values\": [\n        \"2018-10-31\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiline_Id}}\",\n      \"values\": [\n        \"testing \\nMultiline\\nText\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Singleline_Id}}\",\n      \"values\": [\n        \"singlelinetext\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiselect_Id}}\",\n      \"values\": [\n        \"{{Attribute_Multiselect_value1}}\"\n      ]\n    }\n  ],\n  \"baselineDefinition\": {\n    \"filter\": {\n      \"trackers\": [\n        {\n          \"id\": \"{{TrackerID_1}}\",\n          \"filters\": {}\n        }\n      ],\n      \"documentFolders\": {\n        \"folderIds\": [\n          \"{{ChildDocFolderId}}\"\n        ],\n        \"version\": \"active\",\n        \"filters\": {},\n        \"docTree\": {\n          \"totalCount\": 1\n        }\n      },\n      \"planningFolders\": {\n        \"planningFolderIds\": [\n          \"{{SubChildPF_Id}}\"\n        ],\n        \"pfTree\": {\n          \"totalCount\": 1\n        }\n      },\n      \"frs\": {\n        \"releaseIds\": [\n          \"{{ReleaseID1}}\"\n        ]\n      },\n      \"scms\": [],\n      \"binaries\": null\n    }\n  }\n}\n  "},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}/project","description":"<p>Creates project baseline in current project using the project baseline definition</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","by-project","{{projectId}}","project"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"17a86057-e822-46f3-b0c3-2a499b1d72bf","name":"Create Project Baseline in Current Project","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"BaselineWithCurrentProject\",\n  \"description\": \"Baseline with current project using project definition\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"\",\n  \"flexFields\": [\n    {\n      \"id\": \"{{Attribute_DropDown_Id}}\",\n      \"values\": [\n        \"{{Attribute_DropDown_value0}}\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Date_Id}}\",\n      \"values\": [\n        \"2018-10-31\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiline_Id}}\",\n      \"values\": [\n        \"testing \\nMultiline\\nText\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Singleline_Id}}\",\n      \"values\": [\n        \"singlelinetext\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiselect_Id}}\",\n      \"values\": [\n        \"{{Attribute_Multiselect_value1}}\"\n      ]\n    }\n  ],\n  \"baselineDefinition\": {\n    \"filter\": {\n      \"trackers\": [\n        {\n          \"id\": \"{{TrackerID_1}}\",\n          \"filters\": {}\n        }\n      ],\n      \"documentFolders\": {\n        \"folderIds\": [\n          \"{{ChildDocFolderId}}\"\n        ],\n        \"version\": \"active\",\n        \"filters\": {},\n        \"docTree\": {\n          \"totalCount\": 1\n        }\n      },\n      \"planningFolders\": {\n        \"planningFolderIds\": [\n          \"{{SubChildPF_Id}}\"\n        ],\n        \"pfTree\": {\n          \"totalCount\": 1\n        }\n      },\n      \"frs\": {\n        \"releaseIds\": [\n          \"{{ReleaseID1}}\"\n        ]\n      },\n      \"scms\": [],\n      \"binaries\": null\n    }\n  }\n}\n  "},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}/project"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 26 Oct 2018 03:21:40 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"926"},{"key":"Set-Cookie","value":"JSESSIONID=DYMDdbLwt-xiQtp1uoD7mO9K6cV7UJBzcetlolyj.tf; path=/ctfrest; secure; HttpOnly"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=9999"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"base1429\",\n    \"title\": \"BaselineWithCurrentProject647\",\n    \"description\": \"Baseline with current project using project definition\",\n    \"status\": \"Submitted\",\n    \"metastatusValue\": \"\",\n    \"type\": \"Project\",\n    \"category\": \"Project Baseline\",\n    \"projectId\": \"proj1110\",\n    \"createdBy\": \"apiUser800\",\n    \"modifiedBy\": \"apiUser800\",\n    \"approvedBy\": \"\",\n    \"flexFields\": [],\n    \"dateCreated\": \"10/26/2018\",\n    \"dateModified\": \"10/26/2018\",\n    \"dateApproved\": \"\",\n    \"version\": 100,\n    \"baselineDefinition\": {\n        \"filter\": {\n            \"trackers\": null,\n            \"planningFolders\": {\n                \"planningFolderIds\": null,\n                \"pfTree\": {\n                    \"planningfolders\": null\n                }\n            },\n            \"documentFolders\": {\n                \"folderIds\": null,\n                \"version\": \"\",\n                \"filters\": {},\n                \"fields\": null,\n                \"docTree\": {\n                    \"documentFolder\": null,\n                    \"totalCount\": 0\n                }\n            },\n            \"scms\": null,\n            \"frs\": {\n                \"releaseIds\": null\n            },\n            \"binaries\": null\n        }\n    },\n    \"bDefReferenceId\": 895\n}"}],"_postman_id":"d6a6f056-34d2-404a-a97c-f9d50e79b576"},{"name":"Create Project Baseline in Current Project without Create Project Baseline Permission","event":[{"listen":"test","script":{"id":"f2755be4-bb07-45ba-bae0-22fca02c2f9b","exec":["pm.test(\"Status code is 401\", function () {","    pm.response.to.have.status(401);","});","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('\"You must have \\'createProjectBaseline\\' permission to perform this action\"');","});"],"type":"text/javascript"}}],"id":"caedb107-75fd-4be9-9930-5a888ecde163","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"BaselineCurrentProjectddfgdfgf\",\n  \"description\": \"tesitn fdg\",\n  \"status\": \"basefldv1224\",\n  \"category\": \"\",\n  \"flexFields\": [\n    {\n      \"id\": \"basefild1060\",\n      \"values\": [\n        \"basefldv1240\"\n      ]\n    },\n    {\n      \"id\": \"basefild1059\",\n      \"values\": [\n        \"2018-10-31\"\n      ]\n    },\n    {\n      \"id\": \"basefild1063\",\n      \"values\": [\n        \"testing \\nMultiline\\nText\"\n      ]\n    },\n    {\n      \"id\": \"basefild1062\",\n      \"values\": [\n        \"singlelinetext\"\n      ]\n    },\n    {\n      \"id\": \"basefild1061\",\n      \"values\": [\n        \"basefldv1243\"\n      ]\n    }\n  ],\n  \"baselineDefinition\": {\n    \"filter\": {\n      \"trackers\": [\n        {\n          \"id\": \"tracker1328\",\n          \"filters\": {}\n        }\n      ],\n      \"documentFolders\": {\n        \"folderIds\": [\n          \"docf1247\"\n        ],\n        \"version\": \"active\",\n        \"filters\": {},\n        \"docTree\": {\n          \"totalCount\": 1\n        }\n      },\n      \"planningFolders\": {\n        \"planningFolderIds\": [\n          \"plan1255\"\n        ],\n        \"pfTree\": {\n          \"totalCount\": 1\n        }\n      },\n      \"frs\": {\n        \"releaseIds\": [\n          \"rel1488\"\n        ]\n      },\n      \"scms\": [],\n      \"binaries\": null\n    }\n  }\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}/project","description":"<p>A \"401 Unauthorized\" error is thrown, when trying to create project baseline without \"Create Project Baseline\" permission via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","by-project","{{projectId}}","project"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"deb523e1-6bb1-42e4-8562-fabb263739b9","name":"Create Project Baseline in Current Project without Create Project Baseline Permission","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"BaselineCurrentProjectddfgdfgf\",\n  \"description\": \"tesitn fdg\",\n  \"status\": \"basefldv1224\",\n  \"category\": \"\",\n  \"flexFields\": [\n    {\n      \"id\": \"basefild1060\",\n      \"values\": [\n        \"basefldv1240\"\n      ]\n    },\n    {\n      \"id\": \"basefild1059\",\n      \"values\": [\n        \"2018-10-31\"\n      ]\n    },\n    {\n      \"id\": \"basefild1063\",\n      \"values\": [\n        \"testing \\nMultiline\\nText\"\n      ]\n    },\n    {\n      \"id\": \"basefild1062\",\n      \"values\": [\n        \"singlelinetext\"\n      ]\n    },\n    {\n      \"id\": \"basefild1061\",\n      \"values\": [\n        \"basefldv1243\"\n      ]\n    }\n  ],\n  \"baselineDefinition\": {\n    \"filter\": {\n      \"trackers\": [\n        {\n          \"id\": \"tracker1328\",\n          \"filters\": {}\n        }\n      ],\n      \"documentFolders\": {\n        \"folderIds\": [\n          \"docf1247\"\n        ],\n        \"version\": \"active\",\n        \"filters\": {},\n        \"docTree\": {\n          \"totalCount\": 1\n        }\n      },\n      \"planningFolders\": {\n        \"planningFolderIds\": [\n          \"plan1255\"\n        ],\n        \"pfTree\": {\n          \"totalCount\": 1\n        }\n      },\n      \"frs\": {\n        \"releaseIds\": [\n          \"rel1488\"\n        ]\n      },\n      \"scms\": [],\n      \"binaries\": null\n    }\n  }\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}/project"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 26 Oct 2018 03:22:21 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"73"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"\"You must have 'createProjectBaseline' permission to perform this action\""}],"_postman_id":"caedb107-75fd-4be9-9930-5a888ecde163"},{"name":"Get Project Baselines","event":[{"listen":"test","script":{"id":"58018ca9-db73-4012-b267-ae35a5b073ce","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"ProjectBaseline_version\", jsonData.version);"],"type":"text/javascript"}}],"id":"e8227071-6534-4d12-a02c-d39e8680b3ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/{{ProjectBaseline_ID}}","description":"<p>Gets the details of project baselines in current project using the project baseline definition</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","{{ProjectBaseline_ID}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e8227071-6534-4d12-a02c-d39e8680b3ba"},{"name":"Edit Project Baseline","event":[{"listen":"test","script":{"id":"f2a19b23-c5f5-445d-ae4d-efdf3094b737","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('\"Baseline Updated successfully.\"');","});"],"type":"text/javascript"}}],"id":"d7aab7c0-732e-4f54-a077-ba0b7e735eb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","value":"{{ProjectBaseline_version}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"BaselineWithCurrentProject_updated\",\n  \"description\": \"Baseline with current project using project definition_update\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"flexFields\": [\n    {\n      \"id\": \"{{Attribute_DropDown_Id}}\",\n      \"name\": \"{{Attribute_DropDown_Name}}_updated\",\n      \"values\": [\n        \"{{Attribute_DropDown_value1}}\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Date_Id}}\",\n      \"name\": \"{{Attribute_Date_Name}}_updated\",\n      \"values\": [\n        \"2018-10-31\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiline_Id}}\",\n      \"name\": \"{{Attribute_Multiline_Name}}_Updated\",\n      \"values\": [\n        \"testing \\nMultiline\\nText\\nupdated\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Singleline_Id}}\",\n      \"name\": \"{{Attribute_Singleline_Name}}_updated\",\n      \"values\": [\n        \"singlelinetext_updated\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiselect_Id}}\",\n      \"name\": \"{{Attribute_Multiselect_Name}}_updated\",\n      \"values\": [\n        \"{{Attribute_Multiselect_value0}}\",\n        \"{{Attribute_Multiselect_value2}}\"\n      ]\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/{{ProjectBaseline_ID}}","description":"<p>Edit project baseline with category \"Project Baseline\"</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","{{ProjectBaseline_ID}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d7aab7c0-732e-4f54-a077-ba0b7e735eb4"},{"name":"Edit Project Baseline with Category","event":[{"listen":"test","script":{"id":"be244055-7b62-4115-99de-8c40480e579c","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('\"Baseline Updated successfully.\"');","});"],"type":"text/javascript"}}],"id":"8c8cae3e-5341-4cef-b81e-e5aa5eaa9da0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","type":"text","value":"{{ProjectBaseline_version}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"BaselineWithCurrentProject_updated\",\n  \"description\": \"Baseline with current project using project definition_update\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"{{category_newfield_Id}}\",\n  \"flexFields\": [\n    {\n      \"id\": \"{{Attribute_DropDown_Id}}\",\n      \"name\": \"{{Attribute_DropDown_Name}}_updated\",\n      \"values\": [\n        \"{{Attribute_DropDown_value1}}\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Date_Id}}\",\n      \"name\": \"{{Attribute_Date_Name}}_updated\",\n      \"values\": [\n        \"2018-10-31\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiline_Id}}\",\n      \"name\": \"{{Attribute_Multiline_Name}}_Updated\",\n      \"values\": [\n        \"testing \\nMultiline\\nText\\nupdated\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Singleline_Id}}\",\n      \"name\": \"{{Attribute_Singleline_Name}}_updated\",\n      \"values\": [\n        \"singlelinetext_updated\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiselect_Id}}\",\n      \"name\": \"{{Attribute_Multiselect_Name}}_updated\",\n      \"values\": [\n        \"{{Attribute_Multiselect_value0}}\",\n        \"{{Attribute_Multiselect_value2}}\"\n      ]\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/{{ProjectBaseline_ID}}","description":"<p>Edits project baseline with category \"Project Baseline\"</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","{{ProjectBaseline_ID}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8c8cae3e-5341-4cef-b81e-e5aa5eaa9da0"},{"name":"Edit Project Baseline using Invalid Baseline ID","event":[{"listen":"test","script":{"id":"0dfc8d58-4c9b-47cf-964d-1604cd77ccf0","exec":["pm.test(\"Status code is 404\", function () {","    pm.response.to.have.status(404);","});","","pm.test(\"Body matches string- Invalid baseline Id\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Invalid Baseline Id\"');","});"],"type":"text/javascript"}}],"id":"7475329a-4fdd-43a4-80be-c5c4ae437a91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","type":"text","value":"{{ProjectBaseline_version}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"BaselineWithCurrentProject_updated\",\n  \"description\": \"Baseline with current project using project definition_update\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"{{category_newfield_Id}}\",\n  \"flexFields\": [\n    {\n      \"id\": \"{{Attribute_DropDown_Id}}\",\n      \"name\": \"{{Attribute_DropDown_Name}}_updated\",\n      \"values\": [\n        \"{{Attribute_DropDown_value1}}\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Date_Id}}\",\n      \"name\": \"{{Attribute_Date_Name}}_updated\",\n      \"values\": [\n        \"2018-10-31\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiline_Id}}\",\n      \"name\": \"{{Attribute_Multiline_Name}}_Updated\",\n      \"values\": [\n        \"testing \\nMultiline\\nText\\nupdated\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Singleline_Id}}\",\n      \"name\": \"{{Attribute_Singleline_Name}}_updated\",\n      \"values\": [\n        \"singlelinetext_updated\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiselect_Id}}\",\n      \"name\": \"{{Attribute_Multiselect_Name}}_updated\",\n      \"values\": [\n        \"{{Attribute_Multiselect_value0}}\",\n        \"{{Attribute_Multiselect_value2}}\"\n      ]\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/base0000","description":"<p>A \"404 Not Found\" error is thrown, when an invalid baseline id is used while trying to edit project baseline</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","base0000"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7475329a-4fdd-43a4-80be-c5c4ae437a91"},{"name":"Edit Project Baseline without Required Permission","event":[{"listen":"test","script":{"id":"6d68e6c5-ae27-4c1c-91ae-cc26daa6e66a","exec":["pm.test(\"Status code is 403\", function () {","    pm.response.to.have.status(403);","});","","pm.test(\"Body matches string- Forbidden\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"User do not have sufficient permissions: review\"');","});"],"type":"text/javascript"}}],"id":"a62f168f-398d-4ce1-a228-4b800d210633","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"},{"key":"If-Match","type":"text","value":"{{ProjectBaseline_version}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"BaselineWithCurrentProject_updated\",\n  \"description\": \"Baseline with current project using project definition_update\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"{{category_newfield_Id}}\",\n  \"flexFields\": [\n    {\n      \"id\": \"{{Attribute_DropDown_Id}}\",\n      \"name\": \"{{Attribute_DropDown_Name}}_updated\",\n      \"values\": [\n        \"{{Attribute_DropDown_value1}}\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Date_Id}}\",\n      \"name\": \"{{Attribute_Date_Name}}_updated\",\n      \"values\": [\n        \"2018-10-31\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiline_Id}}\",\n      \"name\": \"{{Attribute_Multiline_Name}}_Updated\",\n      \"values\": [\n        \"testing \\nMultiline\\nText\\nupdated\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Singleline_Id}}\",\n      \"name\": \"{{Attribute_Singleline_Name}}_updated\",\n      \"values\": [\n        \"singlelinetext_updated\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiselect_Id}}\",\n      \"name\": \"{{Attribute_Multiselect_Name}}_updated\",\n      \"values\": [\n        \"{{Attribute_Multiselect_value0}}\",\n        \"{{Attribute_Multiselect_value2}}\"\n      ]\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/{{ProjectBaseline_ID}}","description":"<p>A \"403 Forbidden\" is thrown, when trying to edit project baseline without required permission</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","{{ProjectBaseline_ID}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a62f168f-398d-4ce1-a228-4b800d210633"},{"name":"Edit Project Baseline - Version Mismatch","event":[{"listen":"test","script":{"id":"d0644ea3-8b01-47e2-8e5d-de4d84a57cde","exec":["pm.test(\"Status code is 409\", function () {","    pm.response.to.have.status(409);","});","","pm.test(\"Body matches string-  version mismatch\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Version mismatch\"');","});"],"type":"text/javascript"}}],"id":"57573944-48b7-4f1f-b3ef-6a3624aafda2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","type":"text","value":"100"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"BaselineWithCurrentProject_updated\",\n  \"description\": \"Baseline with current project using project definition_update\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"{{category_newfield_Id}}\",\n  \"flexFields\": [\n    {\n      \"id\": \"{{Attribute_DropDown_Id}}\",\n      \"name\": \"{{Attribute_DropDown_Name}}_updated\",\n      \"values\": [\n        \"{{Attribute_DropDown_value1}}\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Date_Id}}\",\n      \"name\": \"{{Attribute_Date_Name}}_updated\",\n      \"values\": [\n        \"2018-10-31\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiline_Id}}\",\n      \"name\": \"{{Attribute_Multiline_Name}}_Updated\",\n      \"values\": [\n        \"testing \\nMultiline\\nText\\nupdated\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Singleline_Id}}\",\n      \"name\": \"{{Attribute_Singleline_Name}}_updated\",\n      \"values\": [\n        \"singlelinetext_updated\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiselect_Id}}\",\n      \"name\": \"{{Attribute_Multiselect_Name}}_updated\",\n      \"values\": [\n        \"{{Attribute_Multiselect_value0}}\",\n        \"{{Attribute_Multiselect_value2}}\"\n      ]\n    }\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/{{ProjectBaseline_ID}}","description":"<p>A \"409 Conflict\" error is thrown, when a project baseline definition id with invalid version is used while trying to edit project baseline via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","{{ProjectBaseline_ID}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"57573944-48b7-4f1f-b3ef-6a3624aafda2"},{"name":"List Baseline Definitions","event":[{"listen":"test","script":{"id":"e6b026d6-de83-4149-9d33-d051062f3c50","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","","var schema = {","    \"type\": \"object\",","      \"properties\": {","        \"Offset\":{","            \"type\": \"integer\",","        },","        \"Limit\" : {","            \"type\": \"integer\",","        },","        \"TotalCount\" : {","            \"type\": \"integer\",","        },","        \"BaselineDefinitions\": [","            \"string\",","        ]","      }","};","","pm.test('Schema is valid', function() {","  pm.expect(tv4.validate(jsonData, schema)).to.be.true;","});"],"type":"text/javascript"}}],"id":"1b5fde33-bf3c-428c-ade7-fc2938b61643","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/{{projectId}}/search","description":"<p>Lists the baseline definitions in the project using the project ID.</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","by-project","{{projectId}}","search"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"bffc096e-453a-4020-a08b-75af783154d5","name":"List Baseline Definitions","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/{{projectId}}/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 26 Oct 2018 03:22:36 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Content-Length","value":"427"},{"key":"Keep-Alive","value":"timeout=15, max=9999"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"baselineDefinitions\": [\n        {\n            \"id\": \"bdef1851\",\n            \"title\": \"baselineDef1_updated in rest\",\n            \"description\": \"testing with baseline definition compare feature updated in rest\",\n            \"category\": \"Deployment Baseline\",\n            \"type\": \"Explicit\",\n            \"projectId\": \"proj1110\",\n            \"version\": 101,\n            \"createdBy\": \"apiUser800\",\n            \"modifiedBy\": \"apiUser800\",\n            \"dateCreated\": \"10/25/2018\",\n            \"dateLastModified\": \"10/25/2018\",\n            \"filter\": {\n                \"trackers\": null,\n                \"planningFolders\": {\n                    \"planningFolderIds\": null,\n                    \"pfTree\": {\n                        \"planningfolders\": null\n                    }\n                },\n                \"documentFolders\": {\n                    \"folderIds\": null,\n                    \"version\": \"\",\n                    \"filters\": {},\n                    \"fields\": null,\n                    \"docTree\": {\n                        \"documentFolder\": null,\n                        \"totalCount\": 0\n                    }\n                },\n                \"scms\": null,\n                \"frs\": {\n                    \"releaseIds\": null\n                },\n                \"binaries\": null\n            }\n        },\n        {\n            \"id\": \"bdef1849\",\n            \"title\": \"baselineDef1_518\",\n            \"description\": \"testing with baseline definition compare feature\",\n            \"category\": \"Delivery Baseline\",\n            \"type\": \"Explicit\",\n            \"projectId\": \"proj1110\",\n            \"version\": 100,\n            \"createdBy\": \"apiUser800\",\n            \"modifiedBy\": \"apiUser800\",\n            \"dateCreated\": \"10/25/2018\",\n            \"dateLastModified\": \"10/25/2018\",\n            \"filter\": {\n                \"trackers\": null,\n                \"planningFolders\": {\n                    \"planningFolderIds\": null,\n                    \"pfTree\": {\n                        \"planningfolders\": null\n                    }\n                },\n                \"documentFolders\": {\n                    \"folderIds\": null,\n                    \"version\": \"\",\n                    \"filters\": {},\n                    \"fields\": null,\n                    \"docTree\": {\n                        \"documentFolder\": null,\n                        \"totalCount\": 0\n                    }\n                },\n                \"scms\": null,\n                \"frs\": {\n                    \"releaseIds\": null\n                },\n                \"binaries\": null\n            }\n        }\n    ],\n    \"limit\": 10,\n    \"totalCount\": 2\n}"}],"_postman_id":"1b5fde33-bf3c-428c-ade7-fc2938b61643"},{"name":"List Baseline Definitions using Invalid Project ID","event":[{"listen":"test","script":{"id":"6fab2b0b-65a8-4838-9b0a-c8697d348579","exec":["pm.test(\"Status code is 404\", function () {","    pm.response.to.have.status(404);","});","","pm.test(\"Body matches string - Invalid projectId\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Invalid project id/path\"');","});"],"type":"text/javascript"}}],"id":"cf0b5a32-d6db-4555-8151-1ca6200ed72f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/proj0000/search","description":"<p>A \"404 Not Found\" error is thrown, when an invalid project id is used while trying to list baseline definitions via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","by-project","proj0000","search"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"6b8c6a01-66d2-4f8a-a05c-b8e47d9a7039","name":"List Baseline Definitions using Invalid Project ID","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/proj0000/search"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"cf0b5a32-d6db-4555-8151-1ca6200ed72f"},{"name":"Search Baseline Definition in Create Baseline Page","event":[{"listen":"test","script":{"id":"afddfbf3-4e3e-4cd2-9625-db6456561239","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var baseDefId2 = pm.environment.get(\"baseDefId2\");","","pm.test(\"Body matches the baseline definition ID which get searched for.\", function () {","    pm.expect(pm.response.text()).to.include('\"id\": \"'+baseDefId2+'\"');","});"],"type":"text/javascript"}}],"id":"ac435c9e-28a0-4612-ac23-322f5298218e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/{{projectId}}/list?searchBy=update","description":"<p>Search the baseline definition by its name using the search option in \"Definitions\" drop-down list on the create baseline page</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","by-project","{{projectId}}","list"],"host":["{{HostName}}"],"query":[{"key":"searchBy","value":"update"}],"variable":[]}},"response":[],"_postman_id":"ac435c9e-28a0-4612-ac23-322f5298218e"},{"name":"Search Baseline Definition using Invalid Search Keyword","event":[{"listen":"test","script":{"id":"6438c2c7-2963-40ba-8627-2f4f7bead666","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Body matches the to No Results Found\", function () {","    pm.expect(pm.response.text()).to.include('\"No Results Found\"');","});"],"type":"text/javascript"}}],"id":"049e0e00-84f5-4adc-97dc-98d5d9f70c07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/{{projectId}}/list?searchBy=invalid","description":"<p>\"No results found\" message is shown, when searching for baseline definition using invalid search keyword on the create baseline page</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","by-project","{{projectId}}","list"],"host":["{{HostName}}"],"query":[{"key":"searchBy","value":"invalid"}],"variable":[]}},"response":[],"_postman_id":"049e0e00-84f5-4adc-97dc-98d5d9f70c07"},{"name":"Search Baseline Definition using Invalid Project ID","event":[{"listen":"test","script":{"id":"73889341-7ba0-4153-bfb8-c203f8156c60","exec":["pm.test(\"Status code is 404\", function () {","    pm.response.to.have.status(404);","});","","pm.test(\"Body matches the to message: Invalid project id/path\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Invalid project id/path\"');","});"],"type":"text/javascript"}}],"id":"44ef28e4-5589-403d-beaa-60b071445c13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/proj0000/list?searchBy=update","description":"<p>A \"404 Not Found\" error is thrown, when an invalid project id is used while trying to search for a baseline definition on the create baseline page via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","by-project","proj0000","list"],"host":["{{HostName}}"],"query":[{"key":"searchBy","value":"update"}],"variable":[]}},"response":[],"_postman_id":"44ef28e4-5589-403d-beaa-60b071445c13"}],"id":"575288c3-2b4c-48ac-b4e2-2b412c285a7c","description":"<p>Provides the list of APIs used when creating project baselines and a project baseline definition.</p>\n","event":[{"listen":"prerequest","script":{"id":"f6186105-ef7a-491d-ac48-062114b1b13f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"fe23ad95-06bb-4884-871d-904061738d9c","type":"text/javascript","exec":[""]}}],"_postman_id":"575288c3-2b4c-48ac-b4e2-2b412c285a7c"},{"name":"Comments","item":[{"name":"Add Comments to Baseline","event":[{"listen":"test","script":{"id":"9ef742ca-6df9-40ea-8d7b-a40e5e456357","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include(\"Comment saved successfully\");","});",""],"type":"text/javascript"}}],"id":"b02c9fb4-a135-4ee0-86bf-76169daa4330","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"comment\": \"Adding new comment in the baseline\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/comment?objectId={{baseId2}}","description":"<p>Adds comments to a baseline</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","comment"],"host":["{{HostName}}"],"query":[{"key":"objectId","value":"{{baseId2}}"}],"variable":[]}},"response":[{"id":"980d8653-d49e-4dac-9e7f-302cdb70ccaa","name":"AddingCommentsToBaseline","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"comment\": \"Adding new comment in the baseline\"\n}"},"url":{"raw":"{{HostName}}/ctfrest/baseline/v1/router/comment?objectId={{baseId2}}","host":["{{HostName}}"],"path":["ctfrest","baseline","v1","router","comment"],"query":[{"key":"objectId","value":"{{baseId2}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 29 Oct 2018 15:39:23 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"28"},{"key":"Set-Cookie","value":"JSESSIONID=gWZSuzqaVB3aTem-S60uMkcwhIKU_T1QXwfgOjTY.tf; path=/ctfrest; secure; HttpOnly"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"\"Comment saved successfully\""}],"_postman_id":"b02c9fb4-a135-4ee0-86bf-76169daa4330"},{"name":"Add Comments to Baseline using Invalid Baseline ID","event":[{"listen":"test","script":{"id":"bb102230-5f8d-411f-8106-bdc30890e5a5","exec":["pm.test(\"Status code is 400\", function () {","    pm.response.to.have.status(400);","});","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Invalid Baseline Id\"');","});",""],"type":"text/javascript"}}],"id":"f51b40a4-6660-4037-ac3f-dd3276a813ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"comment\": \"Adding new comment in the baseline\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/comment?objectId=base0000","description":"<p>A \"400 Bad Request\" error is thrown, when an invalid baseline id is used when trying to add comments to a baseline via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","comment"],"host":["{{HostName}}"],"query":[{"key":"objectId","value":"base0000"}],"variable":[]}},"response":[{"id":"2352a837-77be-4f65-b480-c0e89404618b","name":"AddingCommentsToBaseline_NEG_400","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"comment\": \"Adding new comment in the baseline\"\n}"},"url":{"raw":"{{HostName}}/ctfrest/baseline/v1/router/comment?objectId=base0000","host":["{{HostName}}"],"path":["ctfrest","baseline","v1","router","comment"],"query":[{"key":"objectId","value":"base0000"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 29 Oct 2018 15:40:55 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"88"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"InvalidInput\",\n    \"message\": \"Invalid Baseline Id\",\n    \"parameter\": \"base0000\"\n}"}],"_postman_id":"f51b40a4-6660-4037-ac3f-dd3276a813ac"},{"name":"Add Comments to Baseline without Baseline Review Permission","event":[{"listen":"test","script":{"id":"993b6296-1310-41d3-9c67-5cc35fc4afd3","exec":["pm.test(\"Status code is 403\", function () {","    pm.response.to.have.status(403);","});","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"User do not have sufficient permissions: review\"');","});",""],"type":"text/javascript"}}],"id":"96c307dc-7189-4dd0-89ae-60c249408b64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{Token2}}"}],"body":{"mode":"raw","raw":"{\n  \"comment\": \"Adding new comment in the baseline\"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/comment?objectId={{baseId2}}","description":"<p>A \"403 Forbidden\" error is thrown, when a user without baseline review permission tries to add comments to a baseline via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","comment"],"host":["{{HostName}}"],"query":[{"key":"objectId","value":"{{baseId2}}"}],"variable":[]}},"response":[{"id":"b594a5e8-d174-4c9d-98a1-bcc9d8a9d523","name":"AddingCommentsToBaseline_NEG","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{Token2}}"}],"body":{"mode":"raw","raw":"{\n  \"comment\": \"Adding new comment in the baseline\"\n}"},"url":{"raw":"{{HostName}}/ctfrest/baseline/v1/router/comment?objectId={{baseId2}}","host":["{{HostName}}"],"path":["ctfrest","baseline","v1","router","comment"],"query":[{"key":"objectId","value":"{{baseId2}}"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 29 Oct 2018 16:02:13 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"94"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"PermissionDenied\",\n    \"message\": \"User do not have sufficient permissions: review\"\n}"}],"_postman_id":"96c307dc-7189-4dd0-89ae-60c249408b64"},{"name":"Get Comments for Baseline using \"Show All\" Option","event":[{"listen":"test","script":{"id":"c6ef1ff1-4b5d-4866-94b0-94aa32ce991e","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('\"newValue\": \"Adding new comment in the baseline\"');","});","","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('\"operation\": \"create\"');","});",""],"type":"text/javascript"}}],"id":"e3995ac8-dd8b-4e04-b2a0-3341087fa170","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Token}}","type":"text"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/audit?objectId={{baseId2}}&preference=all","description":"<p>Gets the details of all comments and audit log in a baseline, using the \"Show All\" option</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","audit"],"host":["{{HostName}}"],"query":[{"key":"objectId","value":"{{baseId2}}"},{"key":"preference","value":"all"}],"variable":[]}},"response":[],"_postman_id":"e3995ac8-dd8b-4e04-b2a0-3341087fa170"},{"name":"Get Comments for Baseline using \"Show All\" Option for an Invalid Baseline ID","event":[{"listen":"test","script":{"id":"1a1be252-f13f-41cd-bcb9-64ec9abd09b9","exec":["pm.test(\"Status code is 400\", function () {","    pm.response.to.have.status(400);","});","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Invalid Baseline Id\"');","});"],"type":"text/javascript"}}],"id":"128f71e8-7477-4ec7-9641-2f385826c9c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Token}}","type":"text"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/audit?objectId=base0000&preference=all","description":"<p>A \"400 Bad Request\" error is thrown, when an invalid baseline id is used when trying to get comments in a baseline using \"Show All\" option, via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","audit"],"host":["{{HostName}}"],"query":[{"key":"objectId","value":"base0000"},{"key":"preference","value":"all"}],"variable":[]}},"response":[],"_postman_id":"128f71e8-7477-4ec7-9641-2f385826c9c3"},{"name":"Get Comments for Baseline using \"Comments Only\" Option","event":[{"listen":"test","script":{"id":"96aedb6e-5530-41e9-9516-9a7fd1d30d20","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('\"newValue\": \"Adding new comment in the baseline\"');","});",""],"type":"text/javascript"}}],"id":"4c411ec9-0d92-4676-b255-6abb15f4ba2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/audit?objectId={{baseId2}}&preference=all","description":"<p>Gets the details of only comments in a baseline, using the \"Comments Only\" option</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","audit"],"host":["{{HostName}}"],"query":[{"key":"objectId","value":"{{baseId2}}"},{"key":"preference","value":"all"}],"variable":[]}},"response":[],"_postman_id":"4c411ec9-0d92-4676-b255-6abb15f4ba2b"},{"name":"Get Audit Log for Baseline","event":[{"listen":"test","script":{"id":"c75d3e81-ce83-4ee3-b2c6-f023a48bbaec","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('\"operation\": \"create\"');","});",""],"type":"text/javascript"}}],"id":"80ef2258-4f51-4a44-b63c-3d2916c0c76b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/audit?objectId={{baseId2}}&preference=all&offset=0&limit=10&=","description":"<p>Gets audit information for a baseline</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","audit"],"host":["{{HostName}}"],"query":[{"key":"objectId","value":"{{baseId2}}"},{"key":"preference","value":"all"},{"key":"offset","value":"0"},{"key":"limit","value":"10"},{"key":null,"value":""}],"variable":[]}},"response":[],"_postman_id":"80ef2258-4f51-4a44-b63c-3d2916c0c76b"},{"name":"Get Comments with Pagination using \"Show All\" Option","event":[{"listen":"test","script":{"id":"6b11183f-d2b8-4f49-a44a-e34a47f99619","exec":[""],"type":"text/javascript"}}],"id":"66f4316d-b1da-4e03-adc3-7b5660760e54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/audit?objectId={{baseId2}}&preference=all&offset=0&limit=10&=","description":"<p>Gets the details of all comments and audit log including pagination for a baseline, using the \"Show All\" option</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","audit"],"host":["{{HostName}}"],"query":[{"key":"objectId","value":"{{baseId2}}"},{"key":"preference","value":"all"},{"key":"offset","value":"0"},{"key":"limit","value":"10"},{"key":null,"value":""}],"variable":[]}},"response":[],"_postman_id":"66f4316d-b1da-4e03-adc3-7b5660760e54"},{"name":"Get Comments with Pagination using \"Comments Only\" Option","event":[{"listen":"test","script":{"id":"ee52e853-9539-4bc2-93d9-5dd771755b1a","exec":[""],"type":"text/javascript"}}],"id":"92de78fc-3033-4390-8612-3de9fa4bdaa0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/audit?objectId={{baseId2}}&preference=commentsOnly&offset=0&limit=10&=","description":"<p>Gets the details of only comments including pagination for a baseline, using the \"Comments Only\" option</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","audit"],"host":["{{HostName}}"],"query":[{"key":"objectId","value":"{{baseId2}}"},{"key":"preference","value":"commentsOnly"},{"key":"offset","value":"0"},{"key":"limit","value":"10"},{"key":null,"value":""}],"variable":[]}},"response":[],"_postman_id":"92de78fc-3033-4390-8612-3de9fa4bdaa0"}],"id":"9ad1c4f6-1747-478a-9dfa-2c174e48f05e","description":"<p>Provides the list of APIs used for handling comments in baselines</p>\n","event":[{"listen":"prerequest","script":{"id":"3ee980d4-3676-4532-a10b-90d7eb48ffb4","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"961d6379-3848-481c-b9c8-9e2b11b4ebe6","type":"text/javascript","exec":[""]}}],"_postman_id":"9ad1c4f6-1747-478a-9dfa-2c174e48f05e"},{"name":"Baseline Association - Trackers, Documents, File Releases","item":[{"name":"Get Associated Baseline Details for Artifact","event":[{"listen":"test","script":{"id":"0748804a-0f6b-4a36-a785-227e3d4a78f8","exec":["var baseId = pm.environment.get(\"baseId1\");","var baseFlexFieldId = pm.environment.get(\"baseFlexFieldId\");","var artifactId = pm.environment.get(\"ArtifactID1\");","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Response body should match to the baseline Id which get associated with artifact.\", function () {","    pm.expect(pm.response.text()).to.include('\"baselineId\": \"'+baseId+'\",');","    pm.expect(pm.response.text()).to.include('\"baselineId\": \"'+baseFlexFieldId+'\",');","});","","","pm.test(\"Response body should match to the artifact Id which get associated with baseline .\", function () {","    pm.expect(pm.response.text()).to.include('\"artifactId\": \"'+artifactId+'\"');","});","","pm.test(\"Total associated result count should be 2\", function () {","     pm.expect(pm.response.text()).to.include('\"totalResultsCount\": \"2\"');","});"],"type":"text/javascript"}}],"id":"e1aac482-e7c0-4d1f-8028-2b9d4d6b16ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/item/{{ArtifactID1}}/baselines","description":"<p>Gets the details of the baselines associated with the artifact</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","item","{{ArtifactID1}}","baselines"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e1aac482-e7c0-4d1f-8028-2b9d4d6b16ae"},{"name":"Get Associated Baseline Details for Invalid Artifact ID","event":[{"listen":"test","script":{"id":"88c8ff21-e53f-42f1-b0e8-bf7eb287f596","exec":["","pm.test(\"Status code is 400 - Bad Request\", function () {","    pm.response.to.have.status(400);","});","","pm.test(\"Response body should contain message as invalid ID\", function () {","     pm.expect(pm.response.text()).to.include('\"message\": \"Invalid id\"');","});","","pm.test(\"Status code name has string\", function () {","    pm.response.to.have.status(\"Bad Request\");","});"],"type":"text/javascript"}}],"id":"7d11b61e-7732-45ad-9f16-758a652e0c9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/item/artf0000/baselines","description":"<p>A \"400 Bad Request\" error is thrown, when trying to get the details of associated baselines using an invalid artifact id via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","item","artf0000","baselines"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7d11b61e-7732-45ad-9f16-758a652e0c9b"},{"name":"Get Associated Baseline Details for Document","event":[{"listen":"test","script":{"id":"325fe0bd-3e64-4925-8178-5e31dcba7f58","exec":["var baseId = pm.environment.get(\"baseId1\");","var baseFlexFieldId = pm.environment.get(\"baseFlexFieldId\");","var docId = pm.environment.get(\"DocId2\");","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Response body should match to the baseline Id which get associated with document.\", function () {","    pm.expect(pm.response.text()).to.include('\"baselineId\": \"'+baseId+'\",');","    pm.expect(pm.response.text()).to.include('\"baselineId\": \"'+baseFlexFieldId+'\",');","});","","pm.test(\"Response body should match to the document ID which get associated with baseline.\", function () {","    pm.expect(pm.response.text()).to.include('\"documentId\": \"'+docId+'\"');","});","","pm.test(\"Total associated result count should be 1\", function () {","     pm.expect(pm.response.text()).to.include('\"totalResultsCount\": \"2\"');","});"],"type":"text/javascript"}}],"id":"c9a7c0b9-a6a3-4855-baf7-2271a927f06a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/item/{{DocId2}}/baselines","description":"<p>Gets the details of the baselines associated with the document</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","item","{{DocId2}}","baselines"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c9a7c0b9-a6a3-4855-baf7-2271a927f06a"},{"name":"Get Associated Baseline Details for Invalid Document ID","event":[{"listen":"test","script":{"id":"61ce9f91-a5ad-4ba0-8381-a9a7be3f8975","exec":["","pm.test(\"Status code is 400 - Bad Request\", function () {","    pm.response.to.have.status(400);","});","","pm.test(\"Response body should contain message as invalid ID\", function () {","     pm.expect(pm.response.text()).to.include('\"message\": \"Invalid id\"');","});","","pm.test(\"Status code name has string\", function () {","    pm.response.to.have.status(\"Bad Request\");","});"],"type":"text/javascript"}}],"id":"e920466b-3024-4778-850b-1d61239cfa48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/item/doc0000/baselines","description":"<p>A \"400 Bad Request\" error is thrown, when trying to get the details of associated baselines using an invalid document id via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","item","doc0000","baselines"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e920466b-3024-4778-850b-1d61239cfa48"},{"name":"Get Associated Baseline Details for File Release","event":[{"listen":"test","script":{"id":"fe1696df-99f4-4baa-950f-91fedb0e499c","exec":["var baseId = pm.environment.get(\"baseId1\");","var baseId2 = pm.environment.get(\"baseId2\");","var baseFlexFieldId = pm.environment.get(\"baseFlexFieldId\");","var ProjectBaseline_ID = pm.environment.get(\"ProjectBaseline_ID\");","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Response body should match to all baseline Id which get associated with release.\", function () {","    pm.expect(pm.response.text()).to.include('\"baselineId\": \"'+baseId+'\",');","    pm.expect(pm.response.text()).to.include('\"baselineId\": \"'+baseId2+'\"');","    pm.expect(pm.response.text()).to.include('\"baselineId\": \"'+baseFlexFieldId+'\",');","    pm.expect(pm.response.text()).to.include('\"baselineId\": \"'+ProjectBaseline_ID+'\",');","});","","pm.test(\"Total associated result count should be 4\", function () {","     pm.expect(pm.response.text()).to.include('\"totalResultsCount\": \"4\"');","});"],"type":"text/javascript"}}],"id":"cdb817cc-41c5-4035-8a97-0add70aba118","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/item/{{ReleaseID1}}/baselines","description":"<p>Gets the details of the baselines associated with the file release</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","item","{{ReleaseID1}}","baselines"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cdb817cc-41c5-4035-8a97-0add70aba118"},{"name":"Get Associated Baseline Details for Invalid Release ID","event":[{"listen":"test","script":{"id":"0ace5599-f99f-4938-95f9-12c5286fc6f6","exec":["","pm.test(\"Status code is 400 - Bad Request\", function () {","    pm.response.to.have.status(400);","});","","pm.test(\"Response body should contain message as invalid ID\", function () {","     pm.expect(pm.response.text()).to.include('\"message\": \"Invalid id\"');","});","","pm.test(\"Status code name has string\", function () {","    pm.response.to.have.status(\"Bad Request\");","});"],"type":"text/javascript"}}],"id":"3b5672e9-aa83-40f0-a509-11a1df7b1cf1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/item/rel0000/baselines","description":"<p>A \"400 Bad Request\" error is thrown, when trying to get the details of associated baselines using an invalid document id via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","item","rel0000","baselines"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3b5672e9-aa83-40f0-a509-11a1df7b1cf1"},{"name":"Get Associated Baseline Details for Invalid Document Folder ID","event":[{"listen":"test","script":{"id":"b42f982f-9232-42e3-8f3e-b84f5dbbe0be","exec":["","pm.test(\"Status code is 404 - Not Found\", function () {","    pm.response.to.have.status(404);","});","","pm.test(\"Response body should contain message as page not found for incorrect object ID\", function () {","     pm.expect(pm.response.text()).to.include('404 page not found');","});","","pm.test(\"Status code name has string\", function () {","    pm.response.to.have.status(\"Not Found\");","});"],"type":"text/javascript"}}],"id":"51d1aeb6-b3f7-467f-929f-ef43a70e4cbc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/item/docf2342/baselines","description":"<p>A \"404 Page Not Found\" error is thrown, when trying to get the details of associated baselines using an invalid document folder id via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","item","docf2342","baselines"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"51d1aeb6-b3f7-467f-929f-ef43a70e4cbc"},{"name":"Get Associated Baseline Details for Artifact Not used in Baselines","event":[{"listen":"test","script":{"id":"8244aa0a-c8af-416d-9b8d-dd831a3c50f0","exec":["","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Response body should contain result count as 0 since the artifact is not get filtered in baseline\", function () {","     pm.expect(pm.response.text()).to.include('\"totalResultsCount\": \"0\"');","});",""],"type":"text/javascript"}}],"id":"fd11b652-c8e5-427c-aca1-575ab561a023","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/item/{{Tracker_3_ArtifactID0}}/baselines","description":"<p>Returns \"0\", if the artifact is not used in any of the existing baselines in the project</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","item","{{Tracker_3_ArtifactID0}}","baselines"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fd11b652-c8e5-427c-aca1-575ab561a023"},{"name":"Get Associated Baseline Details for Restricted Users without Access to Project","event":[{"listen":"test","script":{"id":"74f0fa63-512f-42b7-a0e5-0c2d63a2702c","exec":["pm.test(\"Status code is 401\", function () {","    pm.response.to.have.status(401);","});"],"type":"text/javascript"}}],"id":"74815614-e72d-43cf-909d-5bc8c73b9474","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/item/{{ArtifactID1}}/baselines","description":"<p>A \"401 Unauthorized\" error is thrown, if a user without project access permission try to get the details of baselines associated with the artifact, via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","item","{{ArtifactID1}}","baselines"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"74815614-e72d-43cf-909d-5bc8c73b9474"}],"id":"2ac0224c-d63f-4835-93b3-cb989a5ece74","description":"<p>Provides the list of APIs used for handling the association between baselines and TeamForge components such as Trackers, Documents, and File Releases</p>\n","event":[{"listen":"prerequest","script":{"id":"996d5899-4805-4b24-8341-cc49b589c93e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"527d55c6-6c19-442d-8945-246ecf22a8ce","type":"text/javascript","exec":[""]}}],"_postman_id":"2ac0224c-d63f-4835-93b3-cb989a5ece74"},{"name":"Baseline Monitoring","item":[{"name":"Get Baseline Monitoring Status","event":[{"listen":"test","script":{"id":"26bafc32-1a24-4786-a046-cebfd8562951","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Body matches string isMonitored to be true\", function () {","    pm.expect(pm.response.text()).to.include('\"isMonitored\": true');","});"],"type":"text/javascript"}}],"id":"e0228916-e51b-44e0-bc6b-2625fe4c2e2a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/monitor/baseline/{{baseId1}}","description":"<p>Gets the monitoring status of the baseline</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","monitor","baseline","{{baseId1}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e0228916-e51b-44e0-bc6b-2625fe4c2e2a"},{"name":"Get Baseline Monitoring Status using Invalid Baseline ID","event":[{"listen":"test","script":{"id":"0510db4b-2b7b-4941-84bc-03c00d4c3136","exec":["pm.test(\"Status code is 404\", function () {","    pm.response.to.have.status(404);","});","","pm.test(\"Body matches string Invalid baseline Id\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Invalid Baseline Id\"');","});"],"type":"text/javascript"}}],"id":"7e5d3495-6f04-42ad-bf34-38edc31b9906","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/monitor/baseline/base0000","description":"<p>\"A 404 Not Found\" error is thrown, when trying to get the monitoring status of the baseline using invalid baseline id via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","monitor","baseline","base0000"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7e5d3495-6f04-42ad-bf34-38edc31b9906"},{"name":"Get Baseline Monitoring Status by Unauthorized User","event":[{"listen":"test","script":{"id":"c17d9992-0fc0-4190-b8cd-2930ea4013d2","exec":["pm.test(\"Status code is 401\", function () {","    pm.response.to.have.status(401);","});","","pm.test(\"Body matches string Invalid baseline Id\", function () {","    pm.expect(pm.response.text()).to.include('\"You must have \\'view\\' permission to perform this action\"');","});"],"type":"text/javascript"}}],"id":"8035ac7e-4f35-4221-8bdc-3bb9704cf576","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Token2}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/monitor/baseline/{{baseId2}}","description":"<p>A \"401 Unauthorized\" error is thrown, when a user without \"view baseline\" permission tries to see the monitoring status of the baseline, via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","monitor","baseline","{{baseId2}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8035ac7e-4f35-4221-8bdc-3bb9704cf576"},{"name":"Unmonitor Baseline","event":[{"listen":"test","script":{"id":"78cffe93-742a-489a-a0e0-809feabae9e7","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Body matches string isMonitored to be true\", function () {","    pm.expect(pm.response.text()).to.include('\"isMonitored\": false');","});"],"type":"text/javascript"}}],"id":"26088a1d-777c-455b-96c3-30244ec56b27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n\"isMonitored\" : false\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/monitor/baseline/{{baseId1}}","description":"<p>Sets the monitoring status of the baseline to \"False\" to unmonitor the baseline</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","monitor","baseline","{{baseId1}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"26088a1d-777c-455b-96c3-30244ec56b27"},{"name":"Get Monitoring Status for Unmonitored Baseline","event":[{"listen":"test","script":{"id":"db8b58af-f733-4370-b72e-f6b2ed317f64","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Body matches string isMonitored to be false\", function () {","    pm.expect(pm.response.text()).to.include('\"isMonitored\": false');","});"],"type":"text/javascript"}}],"id":"f6d89046-80c3-4898-9b8f-8483e621988c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/monitor/baseline/{{baseId1}}","description":"<p>Gets the monitoring status for the baseline that is not being monitored</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","monitor","baseline","{{baseId1}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f6d89046-80c3-4898-9b8f-8483e621988c"},{"name":"Set Baseline Monitoring Status to \"True\"","event":[{"listen":"test","script":{"id":"0cc469a8-b9a1-43bc-b327-1bbf6e231b22","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Body matches string isMonitored to be true\", function () {","    pm.expect(pm.response.text()).to.include('\"isMonitored\": true');","});"],"type":"text/javascript"}}],"id":"c53a3cf2-3317-48f5-8571-f25daa15cf37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n\"isMonitored\" : true\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/monitor/baseline/{{baseId1}}","description":"<p>Sets the monitoring status of the baseline to \"True\"</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","monitor","baseline","{{baseId1}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c53a3cf2-3317-48f5-8571-f25daa15cf37"},{"name":"Unmonitor Baseline by Unauthorized User","event":[{"listen":"test","script":{"id":"89df6e04-3569-4bcb-ae5f-efb96457778f","exec":["pm.test(\"Status code is 401\", function () {","    pm.response.to.have.status(401);","});","","pm.test(\"Body matches string isMonitored to be true\", function () {","    pm.expect(pm.response.text()).to.include('\"You must have \\'view\\' permission to perform this action\"');","});"],"type":"text/javascript"}}],"id":"81e2d582-8551-4c84-a12d-0ccca2d6e7cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"body":{"mode":"raw","raw":"{\n\"isMonitored\" : false\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/monitor/baseline/{{baseId2}}","description":"<p>A \"401 Unauthorized\" error is thrown, when a user without \"view baseline\" permission tries to unmonitor a baseline, via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","monitor","baseline","{{baseId2}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"81e2d582-8551-4c84-a12d-0ccca2d6e7cc"},{"name":"Set Baseline Monitoring Status using Invalid Baseline ID","event":[{"listen":"test","script":{"id":"5f0491c1-0d32-4a57-b49d-fa9847a0aca0","exec":["pm.test(\"Status code is 404\", function () {","    pm.response.to.have.status(404);","});","","pm.test(\"Body matches string isMonitored to be true\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Invalid Baseline Id\"');","});"],"type":"text/javascript"}}],"id":"02d86440-b927-4a1f-99e9-7d5abb54f0a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n\"isMonitored\" : true\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/monitor/baseline/base0000","description":"<p>A \"404 Not Found\" error is thrown, when a user tries to change the baseline monitoring status using invalid baseline id via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","monitor","baseline","base0000"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"02d86440-b927-4a1f-99e9-7d5abb54f0a2"}],"id":"0e6fd4e7-69e9-47c5-8a1d-87c440102f9a","description":"<p>Provides the list of APIs used to monitor or unmonitor baselines</p>\n","event":[{"listen":"prerequest","script":{"id":"bf1fb3d2-d07a-494f-84e1-4a493f673ede","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"bbac0ce8-f453-4ed4-8e78-8a07001afa40","type":"text/javascript","exec":[""]}}],"_postman_id":"0e6fd4e7-69e9-47c5-8a1d-87c440102f9a"},{"name":"External Baselines","item":[{"name":"List External Baselines","event":[{"listen":"test","script":{"id":"128f94a3-b3a9-4d1b-9e10-56ffc20c56d3","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","if(jsonData[0]){"," for(var i=0; i<1; i++){","     for(var j=0; j<1; j++){","         console.log(\"Inside For loop\", i , j);","         pm.environment.set(\"ExternalProjectID_\"+i+\"\", jsonData[i].projectId);","         pm.environment.set(\"ExternalBaselineID_\"+i+\"\", jsonData[i].baselines[j].id);","     }"," }","}","else{","console.log(\"Inside else loop\");","pm.environment.set(\"ExternalProjectID\", jsonData.projectId);","pm.environment.set(\"ExternalBaselineID\", jsonData.baselines[0].id);","}"],"type":"text/javascript"}}],"id":"56fffd6c-0dc4-43cd-9c62-963e10567645","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}/search?offset=0&sortBy=dateCreated&sortOrder=asc&type=external","description":"<p>Lists the baselines from other TeamForge projects</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","by-project","{{projectId}}","search"],"host":["{{HostName}}"],"query":[{"key":"offset","value":"0"},{"key":"sortBy","value":"dateCreated"},{"key":"sortOrder","value":"asc"},{"key":"type","value":"external"}],"variable":[]}},"response":[{"id":"ff08c0bb-ace4-494e-816d-bfa0c735ace2","name":"ListExternalBaselineAmongAllProjects","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n}"},"url":{"raw":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}/search?offset=0&sortBy=dateCreated&sortOrder=asc&type=external","host":["{{HostName}}"],"path":["ctfrest","baseline","v1","router","baselines","by-project","{{projectId}}","search"],"query":[{"key":"offset","value":"0"},{"key":"sortBy","value":"dateCreated"},{"key":"sortOrder","value":"asc"},{"key":"type","value":"external"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 17 Jan 2019 09:24:19 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Content-Length","value":"250"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"projectId\": \"proj1010\",\n        \"projectName\": \"Test1\",\n        \"projectPath\": \"projects.test1\",\n        \"baselines\": [\n            {\n                \"id\": \"base1001\",\n                \"title\": \"TEST1\",\n                \"projectPath\": \"\"\n            },\n            {\n                \"id\": \"base1003\",\n                \"title\": \"binary\",\n                \"projectPath\": \"\"\n            },\n            {\n                \"id\": \"base1006\",\n                \"title\": \"ProjectBaselineProjectBaselineProjectBaselineProjectBaselineProjectBaselineProjectBaselineProjectBaselineProjectBaselineProjectBaselineProjectBaselineProjectBaselineProjectBaselineProjectBaselineProjectBaselineProjectBaselineProjectBaselineProjectBaseline\",\n                \"projectPath\": \"\"\n            },\n            {\n                \"id\": \"base1007\",\n                \"title\": \"Raw1BaselineTest\",\n                \"projectPath\": \"\"\n            },\n            {\n                \"id\": \"base1009\",\n                \"title\": \"Test2\",\n                \"projectPath\": \"\"\n            }\n        ]\n    },\n    {\n        \"projectId\": \"proj1008\",\n        \"projectName\": \"CollabNet Agile Baseline 2.0\",\n        \"projectPath\": \"projects.collabnet_agile_baseline_20\",\n        \"baselines\": [\n            {\n                \"id\": \"base1002\",\n                \"title\": \"create baseline\",\n                \"projectPath\": \"\"\n            }\n        ]\n    }\n]"}],"_postman_id":"56fffd6c-0dc4-43cd-9c62-963e10567645"},{"name":"Create Baseline with External Baselines","event":[{"listen":"test","script":{"id":"3fb2a191-5279-453b-aa53-0cd86151bb27","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"Baseline_ExternalID\", jsonData.id);","pm.environment.set(\"Baseline_ExternalTitle\", jsonData.title);","pm.environment.set(\"Baseline_ExternalVersion\", jsonData.version);"],"type":"text/javascript"}}],"id":"23ce28cb-19ed-4b7d-beed-a04198f649ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"ExternalBaseline_2304\",\n  \"description\": \"Creating the baseline with external baseline option and nested baseline\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"{{category_delivery_Id}}\",\n  \"flexFields\": [\n    {\n      \"id\": \"{{Attribute_DropDown_Id}}\",\n      \"values\": [\n        \"{{Attribute_DropDown_value0}}\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Date_Id}}\",\n      \"values\": [\n        \"2019-1-17\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiline_Id}}\",\n      \"values\": [\n        \"Testing multiline text box\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Singleline_Id}}\",\n      \"values\": [\n        \"Testing single line text box\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiselect_Id}}\",\n      \"values\": [\n        \"{{Attribute_Multiselect_value1}}\"\n      ]\n    }\n  ],\n \"baselineDefinition\": {\n    \"filter\": {\n      \"trackers\": [\n        {\n          \"id\": \"{{TrackerID_0}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"Artifact\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_tracker1}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_open_t1}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          }\n        },\n        {\n          \"id\": \"{{TrackerID}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"\",\n              \"condition\": \"\",\n              \"values\": [],\n              \"LeftFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"\",\n                      \"condition\": \"\",\n                      \"values\": [],\n                      \"LeftFV\": {\n                        \"attribute\": \"title\",\n                        \"condition\": \"5\",\n                        \"values\": [\n                          \"Artifact\"\n                        ]\n                      },\n                      \"RightFV\": {\n                        \"attribute\": \"{{priority_fildID}}\",\n                        \"condition\": \"13\",\n                        \"values\": [\n                          \"2\"\n                        ],\n                        \"FVCondition\": \"\"\n                      },\n                      \"FVCondition\": \"2\"\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{PF_fildID}}\",\n                      \"condition\": \"19\",\n                      \"values\": [\n                        \"{{PF_title}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{team_fildID}}\",\n                    \"condition\": \"19\",\n                    \"values\": [\n                      \"{{Team_title}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"RightFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"{{Group_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{Group_val1_Id}}\",\n                        \"{{Group_val2_Id}}\"\n                      ]\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{Customer_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{customer_val1_Id}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{Category_ID}}\",\n                    \"condition\": \"13\",\n                    \"values\": [\n                      \"{{Category_val2_Id}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"FVCondition\": \"3\"\n              },\n              \"RightFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"{{MSFF_ID}}\",\n                  \"condition\": \"15\",\n                  \"values\": [\n                    \"{{MSFF_Val1ID}}\",\n                    \"{{MSFF_Val2ID}}\"\n                  ]\n                },\n                \"RightFV\": {\n                  \"attribute\": \"{{TkrSSFldID}}\",\n                  \"condition\": \"13\",\n                  \"values\": [\n                    \"{{TkrSSFldVal2ID}}\"\n                  ],\n                  \"FVCondition\": \"\"\n                },\n                \"FVCondition\": \"2\"\n              },\n              \"FVCondition\": \"3\"\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{reportedInRel_fildID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{ReleaseID1}}\"\n              ]\n            },\n            \"FVCondition\": \"3\"\n          }\n        }\n      ],\n      \"documentFolders\": {\n        \"folderIds\": [\n          \"{{DocRootFolderId}}\",\n          \"{{DocFolderId1}}\",\n          \"{{ChildDocFolderId}}\"\n        ],\n        \"version\": \"active\",\n        \"filters\": {\n          \"attribute\": \"\",\n          \"condition\": \"\",\n          \"values\": [],\n          \"LeftFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"doc\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_Doc}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_Draft_Doc}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"RightFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"{{DocSingleSelectFldID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{Doc_SSFF_Val2ID}}\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{DocMultiSelectFldID}}\",\n              \"condition\": \"15\",\n              \"values\": [\n                \"{{Doc_MSFF_Val3ID}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"FVCondition\": \"3\",\n          \"isInvalid\": false\n        },\n        \"docTree\": {\n          \"documentFolder\": {\n            \"internalDisabled\": false,\n            \"internalChecked\": true,\n            \"internalCollapsed\": false,\n            \"text\": \"Root Folder\",\n            \"value\": \"{{DocRootFolderId}}\",\n            \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n            \"parentFolderId\": \"{{DocParentFolderID}}\",\n            \"internalChildren\": [\n              {\n                \"internalDisabled\": false,\n                \"internalChecked\": true,\n                \"internalCollapsed\": false,\n                \"text\": \"DocFolder1\",\n                \"value\": \"{{DocFolderId1}}\",\n                \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                \"parentFolderId\": \"{{DocRootFolderId}}\",\n                \"internalChildren\": [\n                  {\n                    \"internalDisabled\": false,\n                    \"internalChecked\": true,\n                    \"internalCollapsed\": false,\n                    \"text\": \"ChildDocFolder\",\n                    \"value\": \"{{ChildDocFolderId}}\",\n                    \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                    \"parentFolderId\": \"{{DocFolderId1}}\"\n                  }\n                ]\n              }\n            ]\n          }\n        }\n      },\n      \"planningFolders\": {\n        \"planningFolderIds\": [\n          \"{{PF_Id}}\"\n        ],\n        \"pfTree\": {\n          \"planningfolders\": {\n            \"children\": [\n              {\n                \"internalDisabled\": false,\n                \"internalChecked\": false,\n                \"internalCollapsed\": true,\n                \"text\": \"None\",\n                \"value\": \"none\",\n                \"imgUrl\": \"/sf-images/pngs/folder_closed.png\"\n              },\n              {\n                \"internalDisabled\": false,\n                \"internalChecked\": true,\n                \"internalCollapsed\": false,\n                \"text\": \"{{PF_title}}\",\n                \"value\": \"{{PF_Id}}\",\n                \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                \"parentFolderId\": \"{{ParentPF_Id}}\",\n                \"internalChildren\": [\n                  {\n                    \"internalDisabled\": false,\n                    \"internalChecked\": true,\n                    \"internalCollapsed\": false,\n                    \"text\": \"{{ChildPF_title}}\",\n                    \"value\": \"{{ChildPF_Id}}\",\n                    \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                    \"parentFolderId\": \"{{PF_Id}}\",\n                    \"internalChildren\": [\n                      {\n                        \"internalDisabled\": false,\n                        \"internalChecked\": true,\n                        \"internalCollapsed\": false,\n                        \"text\": \"{{SubChildPF_title}}\",\n                        \"value\": \"{{SubChildPF_Id}}\",\n                        \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                        \"parentFolderId\": \"{{ChildPF_Id}}\"\n                      }\n                    ]\n                  }\n                ]\n              }\n            ]\n          }\n        }\n      },\n      \"frs\": {\n        \"releaseIds\": [\n          \"{{ReleaseID1}}\"\n        ]\n      },\n      \"scms\": [],\n      \"binaries\": []\n    },\n    \"nestedBaselineDefinitions\": [],\n    \"nestedExternalBaselines\": [\n      \"{{ExternalBaselineID_0}}\"\n    ]\n  }\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}","description":"<p>Creates a baseline with the external baselines included</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"8975a20c-68b7-4b63-9de0-3c67e92530ff","name":"Create Baseline with External Baselines","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"ExternalBaseline_2304\",\n  \"description\": \"Creating the baseline with external baseline option and nested baseline\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"{{category_delivery_Id}}\",\n  \"flexFields\": [\n    {\n      \"id\": \"{{Attribute_DropDown_Id}}\",\n      \"values\": [\n        \"{{Attribute_DropDown_value0}}\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Date_Id}}\",\n      \"values\": [\n        \"2019-1-17\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiline_Id}}\",\n      \"values\": [\n        \"Testing multiline text box\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Singleline_Id}}\",\n      \"values\": [\n        \"Testing single line text box\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiselect_Id}}\",\n      \"values\": [\n        \"{{Attribute_Multiselect_value1}}\"\n      ]\n    }\n  ],\n \"baselineDefinition\": {\n    \"filter\": {\n      \"trackers\": [\n        {\n          \"id\": \"{{TrackerID_0}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"Artifact\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_tracker1}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_open_t1}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          }\n        },\n        {\n          \"id\": \"{{TrackerID}}\",\n          \"filters\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"\",\n              \"condition\": \"\",\n              \"values\": [],\n              \"LeftFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"\",\n                      \"condition\": \"\",\n                      \"values\": [],\n                      \"LeftFV\": {\n                        \"attribute\": \"title\",\n                        \"condition\": \"5\",\n                        \"values\": [\n                          \"Artifact\"\n                        ]\n                      },\n                      \"RightFV\": {\n                        \"attribute\": \"{{priority_fildID}}\",\n                        \"condition\": \"13\",\n                        \"values\": [\n                          \"2\"\n                        ],\n                        \"FVCondition\": \"\"\n                      },\n                      \"FVCondition\": \"2\"\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{PF_fildID}}\",\n                      \"condition\": \"19\",\n                      \"values\": [\n                        \"{{PF_title}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{team_fildID}}\",\n                    \"condition\": \"19\",\n                    \"values\": [\n                      \"{{Team_title}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"RightFV\": {\n                  \"attribute\": \"\",\n                  \"condition\": \"\",\n                  \"values\": [],\n                  \"LeftFV\": {\n                    \"attribute\": \"\",\n                    \"condition\": \"\",\n                    \"values\": [],\n                    \"LeftFV\": {\n                      \"attribute\": \"{{Group_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{Group_val1_Id}}\",\n                        \"{{Group_val2_Id}}\"\n                      ]\n                    },\n                    \"RightFV\": {\n                      \"attribute\": \"{{Customer_ID}}\",\n                      \"condition\": \"13\",\n                      \"values\": [\n                        \"{{customer_val1_Id}}\"\n                      ],\n                      \"FVCondition\": \"\"\n                    },\n                    \"FVCondition\": \"2\"\n                  },\n                  \"RightFV\": {\n                    \"attribute\": \"{{Category_ID}}\",\n                    \"condition\": \"13\",\n                    \"values\": [\n                      \"{{Category_val2_Id}}\"\n                    ],\n                    \"FVCondition\": \"\"\n                  },\n                  \"FVCondition\": \"2\"\n                },\n                \"FVCondition\": \"3\"\n              },\n              \"RightFV\": {\n                \"attribute\": \"\",\n                \"condition\": \"\",\n                \"values\": [],\n                \"LeftFV\": {\n                  \"attribute\": \"{{MSFF_ID}}\",\n                  \"condition\": \"15\",\n                  \"values\": [\n                    \"{{MSFF_Val1ID}}\",\n                    \"{{MSFF_Val2ID}}\"\n                  ]\n                },\n                \"RightFV\": {\n                  \"attribute\": \"{{TkrSSFldID}}\",\n                  \"condition\": \"13\",\n                  \"values\": [\n                    \"{{TkrSSFldVal2ID}}\"\n                  ],\n                  \"FVCondition\": \"\"\n                },\n                \"FVCondition\": \"2\"\n              },\n              \"FVCondition\": \"3\"\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{reportedInRel_fildID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{ReleaseID1}}\"\n              ]\n            },\n            \"FVCondition\": \"3\"\n          }\n        }\n      ],\n      \"documentFolders\": {\n        \"folderIds\": [\n          \"{{DocRootFolderId}}\",\n          \"{{DocFolderId1}}\",\n          \"{{ChildDocFolderId}}\"\n        ],\n        \"version\": \"active\",\n        \"filters\": {\n          \"attribute\": \"\",\n          \"condition\": \"\",\n          \"values\": [],\n          \"LeftFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"title\",\n              \"condition\": \"5\",\n              \"values\": [\n                \"doc\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{status_fildID_Doc}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{status_Draft_Doc}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"RightFV\": {\n            \"attribute\": \"\",\n            \"condition\": \"\",\n            \"values\": [],\n            \"LeftFV\": {\n              \"attribute\": \"{{DocSingleSelectFldID}}\",\n              \"condition\": \"13\",\n              \"values\": [\n                \"{{Doc_SSFF_Val2ID}}\"\n              ]\n            },\n            \"RightFV\": {\n              \"attribute\": \"{{DocMultiSelectFldID}}\",\n              \"condition\": \"15\",\n              \"values\": [\n                \"{{Doc_MSFF_Val3ID}}\"\n              ],\n              \"FVCondition\": \"\"\n            },\n            \"FVCondition\": \"2\"\n          },\n          \"FVCondition\": \"3\",\n          \"isInvalid\": false\n        },\n        \"docTree\": {\n          \"documentFolder\": {\n            \"internalDisabled\": false,\n            \"internalChecked\": true,\n            \"internalCollapsed\": false,\n            \"text\": \"Root Folder\",\n            \"value\": \"{{DocRootFolderId}}\",\n            \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n            \"parentFolderId\": \"{{DocParentFolderID}}\",\n            \"internalChildren\": [\n              {\n                \"internalDisabled\": false,\n                \"internalChecked\": true,\n                \"internalCollapsed\": false,\n                \"text\": \"DocFolder1\",\n                \"value\": \"{{DocFolderId1}}\",\n                \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                \"parentFolderId\": \"{{DocRootFolderId}}\",\n                \"internalChildren\": [\n                  {\n                    \"internalDisabled\": false,\n                    \"internalChecked\": true,\n                    \"internalCollapsed\": false,\n                    \"text\": \"ChildDocFolder\",\n                    \"value\": \"{{ChildDocFolderId}}\",\n                    \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                    \"parentFolderId\": \"{{DocFolderId1}}\"\n                  }\n                ]\n              }\n            ]\n          }\n        }\n      },\n      \"planningFolders\": {\n        \"planningFolderIds\": [\n          \"{{PF_Id}}\"\n        ],\n        \"pfTree\": {\n          \"planningfolders\": {\n            \"children\": [\n              {\n                \"internalDisabled\": false,\n                \"internalChecked\": false,\n                \"internalCollapsed\": true,\n                \"text\": \"None\",\n                \"value\": \"none\",\n                \"imgUrl\": \"/sf-images/pngs/folder_closed.png\"\n              },\n              {\n                \"internalDisabled\": false,\n                \"internalChecked\": true,\n                \"internalCollapsed\": false,\n                \"text\": \"{{PF_title}}\",\n                \"value\": \"{{PF_Id}}\",\n                \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                \"parentFolderId\": \"{{ParentPF_Id}}\",\n                \"internalChildren\": [\n                  {\n                    \"internalDisabled\": false,\n                    \"internalChecked\": true,\n                    \"internalCollapsed\": false,\n                    \"text\": \"{{ChildPF_title}}\",\n                    \"value\": \"{{ChildPF_Id}}\",\n                    \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                    \"parentFolderId\": \"{{PF_Id}}\",\n                    \"internalChildren\": [\n                      {\n                        \"internalDisabled\": false,\n                        \"internalChecked\": true,\n                        \"internalCollapsed\": false,\n                        \"text\": \"{{SubChildPF_title}}\",\n                        \"value\": \"{{SubChildPF_Id}}\",\n                        \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                        \"parentFolderId\": \"{{ChildPF_Id}}\"\n                      }\n                    ]\n                  }\n                ]\n              }\n            ]\n          }\n        }\n      },\n      \"frs\": {\n        \"releaseIds\": [\n          \"{{ReleaseID1}}\"\n        ]\n      },\n      \"scms\": [],\n      \"binaries\": []\n    },\n    \"nestedBaselineDefinitions\": [],\n    \"nestedExternalBaselines\": [\n      \"{{ExternalBaselineID_0}}\"\n    ]\n  }\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"23ce28cb-19ed-4b7d-beed-a04198f649ec"},{"name":"Get Document Folder Details using Root Document Folder ID","event":[{"listen":"test","script":{"id":"f452a41a-c676-4691-8a1a-6ce7cd46f14a","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"DocParentFolderID\",  jsonData.parentId);"],"type":"text/javascript"}}],"id":"6d4dc9b4-09bf-4bbe-b274-635e9e156625","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/docman/v1/documentfolders/{{DocRootFolderId}}","description":"<p>Returns the document folder details included in a root document folder</p>\n","urlObject":{"path":["ctfrest","docman","v1","documentfolders","{{DocRootFolderId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6d4dc9b4-09bf-4bbe-b274-635e9e156625"},{"name":"Get Baseline Details with External Baselines","event":[{"listen":"test","script":{"id":"e87479db-003b-4463-95cb-fcc3f7047ea2","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var NestedExternalBaselineID = pm.environment.get(\"ExternalBaselineID_0\");","","","pm.test(\"Body matches string - nestedExternalBaselines section\", function () {","    pm.expect(pm.response.text()).to.include('\"nestedExternalBaselines\"');","});","","","pm.test(\"Body matches nested baseline ID which is stored as variable\", function () {","    pm.expect(pm.response.text()).to.include('\"id\": \"'+NestedExternalBaselineID+'\"');","});"],"type":"text/javascript"}}],"id":"e080d927-96f8-4e8b-877f-45eba1efd879","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/{{Baseline_ExternalID}}","description":"<p>Returns the details of the baselines that have external baseline included in them</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","{{Baseline_ExternalID}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e080d927-96f8-4e8b-877f-45eba1efd879"},{"name":"Create Baseline Definition with External Baselines","event":[{"listen":"test","script":{"id":"8b4cc30d-0fd5-4824-af63-3530be1585c3","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"BaselineDef_ExternalID\", jsonData.id);","pm.environment.set(\"BaselineDef_ExternalTitle\", jsonData.title);"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"50670717-0643-4924-a2be-5eb8b1e5e20a","exec":[""],"type":"text/javascript"}}],"id":"34d5674c-7f64-4732-97d3-f32732c6e7f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"ExternalBaselineDefinition_2304\",\n  \"description\": \"Creating the baseline definition with external baseline option and nested baseline\",\n  \"category\": \"{{category_value_id}}\",\n  \"filter\": {\n    \"trackers\": [\n      {\n        \"id\": \"{{TrackerID_1}}\",\n        \"filters\": {}\n      }\n    ],\n    \"documentFolders\": {\n      \"folderIds\": [],\n      \"version\": \"active\",\n      \"filters\": {\n        \"attribute\": \"\",\n        \"condition\": \"\",\n        \"values\": [],\n        \"isInvalid\": false\n      },\n      \"docTree\": {\n        \"documentFolder\": {\n          \"internalDisabled\": false,\n          \"internalChecked\": false,\n          \"internalCollapsed\": true,\n          \"text\": \"Root Folder\",\n          \"value\": \"{{DocRootFolderId}}\",\n          \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n          \"parentFolderId\": \"{{DocParentFolderID}}\",\n          \"internalChildren\": [\n            {\n              \"internalDisabled\": false,\n              \"internalChecked\": false,\n              \"internalCollapsed\": true,\n              \"text\": \"DocFolder1\",\n              \"value\": \"{{DocFolderId1}}\",\n              \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n              \"parentFolderId\": \"{{DocRootFolderId}}\",\n              \"internalChildren\": [\n                {\n                  \"internalDisabled\": false,\n                  \"internalChecked\": false,\n                  \"internalCollapsed\": true,\n                  \"text\": \" \",\n                  \"value\": \"Place holder\",\n                  \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                  \"parentFolderId\": \"{{DocRootFolderId}}\"\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"planningFolders\": {\n      \"planningFolderIds\": [],\n      \"pfTree\": {\n        \"planningfolders\": {\n          \"children\": [\n            {\n              \"internalDisabled\": false,\n              \"internalChecked\": false,\n              \"internalCollapsed\": true,\n              \"text\": \"None\",\n              \"value\": \"none\",\n              \"imgUrl\": \"/sf-images/pngs/folder_closed.png\"\n            },\n            {\n              \"internalDisabled\": false,\n              \"internalChecked\": false,\n              \"internalCollapsed\": true,\n              \"text\": \"{{PF_title}}\",\n              \"value\": \"{{PF_Id}}\",\n              \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n              \"parentFolderId\": \"{{ParentPF_Id}}\",\n              \"internalChildren\": [\n                {\n                  \"internalDisabled\": false,\n                  \"internalChecked\": false,\n                  \"internalCollapsed\": true,\n                  \"text\": \" \",\n                  \"value\": \"Place holder\",\n                  \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                  \"parentFolderId\": \" \"\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"frs\": {\n      \"releaseIds\": []\n    },\n    \"scms\": [],\n    \"binaries\": []\n  },\n  \"nestedBaselineDefinitions\": [\n    \"{{baseDefId1}}\"\n  ],\n  \"nestedExternalBaselines\": [\n    \"{{ExternalBaselineID_0}}\"\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/{{projectId}}","description":"<p>Creates a baseline definition with the external baselines included</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","by-project","{{projectId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"f6bf1abe-1975-496d-9ab7-6f7d7661f4b3","name":"Create Baseline Definition with External Baselines","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"ExternalBaselineDefinition_2304\",\n  \"description\": \"Creating the baseline definition with external baseline option and nested baseline\",\n  \"category\": \"{{category_value_id}}\",\n  \"filter\": {\n    \"trackers\": [\n      {\n        \"id\": \"{{TrackerID_1}}\",\n        \"filters\": {}\n      }\n    ],\n    \"documentFolders\": {\n      \"folderIds\": [],\n      \"version\": \"active\",\n      \"filters\": {\n        \"attribute\": \"\",\n        \"condition\": \"\",\n        \"values\": [],\n        \"isInvalid\": false\n      },\n      \"docTree\": {\n        \"documentFolder\": {\n          \"internalDisabled\": false,\n          \"internalChecked\": false,\n          \"internalCollapsed\": true,\n          \"text\": \"Root Folder\",\n          \"value\": \"{{DocRootFolderId}}\",\n          \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n          \"parentFolderId\": \"{{DocParentFolderID}}\",\n          \"internalChildren\": [\n            {\n              \"internalDisabled\": false,\n              \"internalChecked\": false,\n              \"internalCollapsed\": true,\n              \"text\": \"DocFolder1\",\n              \"value\": \"{{DocFolderId1}}\",\n              \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n              \"parentFolderId\": \"{{DocRootFolderId}}\",\n              \"internalChildren\": [\n                {\n                  \"internalDisabled\": false,\n                  \"internalChecked\": false,\n                  \"internalCollapsed\": true,\n                  \"text\": \" \",\n                  \"value\": \"Place holder\",\n                  \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                  \"parentFolderId\": \"{{DocRootFolderId}}\"\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"planningFolders\": {\n      \"planningFolderIds\": [],\n      \"pfTree\": {\n        \"planningfolders\": {\n          \"children\": [\n            {\n              \"internalDisabled\": false,\n              \"internalChecked\": false,\n              \"internalCollapsed\": true,\n              \"text\": \"None\",\n              \"value\": \"none\",\n              \"imgUrl\": \"/sf-images/pngs/folder_closed.png\"\n            },\n            {\n              \"internalDisabled\": false,\n              \"internalChecked\": false,\n              \"internalCollapsed\": true,\n              \"text\": \"{{PF_title}}\",\n              \"value\": \"{{PF_Id}}\",\n              \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n              \"parentFolderId\": \"{{ParentPF_Id}}\",\n              \"internalChildren\": [\n                {\n                  \"internalDisabled\": false,\n                  \"internalChecked\": false,\n                  \"internalCollapsed\": true,\n                  \"text\": \" \",\n                  \"value\": \"Place holder\",\n                  \"imgUrl\": \"/sf-images/pngs/folder_closed.png\",\n                  \"parentFolderId\": \" \"\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"frs\": {\n      \"releaseIds\": []\n    },\n    \"scms\": [],\n    \"binaries\": []\n  },\n  \"nestedBaselineDefinitions\": [\n    \"{{baseDefId1}}\"\n  ],\n  \"nestedExternalBaselines\": [\n    \"{{ExternalBaselineID_0}}\"\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/{{projectId}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 17 Jan 2019 10:24:13 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"378"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"bdef1032\",\n    \"title\": \"ExternalBaselineDefinition_254\",\n    \"description\": \"Creating the baseline definition with external baseline option and nested baseline\",\n    \"category\": \"Release Baseline\",\n    \"type\": \"Explicit\",\n    \"createdBy\": \"user1008\",\n    \"dateCreated\": \"01/17/2019\",\n    \"modifiedBy\": \"user1008\",\n    \"dateModified\": \"01/17/2019\",\n    \"version\": 100,\n    \"projectId\": \"proj1015\"\n}"}],"_postman_id":"34d5674c-7f64-4732-97d3-f32732c6e7f3"},{"name":"Get Baseline Definition Details with External Baselines","event":[{"listen":"test","script":{"id":"c252e53d-6e0c-4134-944f-204cc754fa9f","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var NestedExternalBaselineID = pm.environment.get(\"ExternalBaselineID_0\");","var BaselineDef1 = pm.environment.get(\"baseDefId1\");","var BaselineDef2 = pm.environment.get(\"baseDefId2\");","","pm.test(\"Body matches string - nestedExternalBaselines section\", function () {","    pm.expect(pm.response.text()).to.include('\"nestedExternalBaselines\"');","});","","","pm.test(\"Body matches nested baseline ID which is stored as variable\", function () {","    pm.expect(pm.response.text()).to.include('\"id\": \"'+NestedExternalBaselineID+'\"');","});","","pm.test(\"Body matches string - nestedBaselineDefinitions section\", function () {","    pm.expect(pm.response.text()).to.include('\"nestedBaselineDefinitions\"');","});","","pm.test(\"Body matches nested baseline definition ID which is stored as variable\", function () {","    pm.expect(pm.response.text()).to.include('\"id\": \"'+BaselineDef1+'\"');","    pm.expect(pm.response.text()).to.include('\"id\": \"'+BaselineDef2+'\"');","});"],"type":"text/javascript"}}],"id":"f7331013-7362-4641-8da2-33300795c021","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/{{BaselineDef_ExternalID}}","description":"<p>Returns the details of the baseline definitions that have external baselines included in them</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","{{BaselineDef_ExternalID}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f7331013-7362-4641-8da2-33300795c021"},{"name":"Get Union of Filter Criteria from Baseline Definition(s)","event":[{"listen":"test","script":{"id":"52f1517e-4143-41b2-a7c8-c31940cc3811","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var NestedExternalBaselineID = pm.environment.get(\"ExternalBaselineID_0\");","var BaselineDef1 = pm.environment.get(\"baseDefId1\");","var BaselineDef2 = pm.environment.get(\"baseDefId2\");","","pm.test(\"Body matches string - nestedExternalBaselines section\", function () {","    pm.expect(pm.response.text()).to.include('\"nestedExternalBaselines\"');","});","","","pm.test(\"Body matches nested baseline ID which is stored as variable\", function () {","    pm.expect(pm.response.text()).to.include('\"id\": \"'+NestedExternalBaselineID+'\"');","});","","pm.test(\"Body matches string - nestedBaselineDefinitions section\", function () {","    pm.expect(pm.response.text()).to.include('\"nestedBaselineDefinitions\"');","});","","pm.test(\"Body matches nested baseline definition ID which is stored as variable\", function () {","    pm.expect(pm.response.text()).to.include('\"id\": \"'+BaselineDef1+'\"');","    pm.expect(pm.response.text()).to.include('\"id\": \"'+BaselineDef2+'\"');","});","","var TrackerID_0 = pm.environment.get(\"TrackerID_0\");","var TrackerID_1 = pm.environment.get(\"TrackerID_1\");","var TrackerID_2 = pm.environment.get(\"TrackerID_2\");","var TrackerID_3 = pm.environment.get(\"TrackerID_3\");","var PF_Id = pm.environment.get(\"PF_Id\");","var ChildPF_Id = pm.environment.get(\"ChildPF_Id\");","var DocRootFolderId = pm.environment.get(\"DocRootFolderId\");","var DocFolderId1 = pm.environment.get(\"DocFolderId1\");","var ChildDocFolderId = pm.environment.get(\"ChildDocFolderId\");","","pm.test(\"Body matches to trackers, Documents , FRS, PF that get union together in nested baseline definition and external baseline\", function () {","    pm.expect(pm.response.text()).to.include('\"id\": \"'+TrackerID_0+'\"');","    pm.expect(pm.response.text()).to.include('\"id\": \"'+TrackerID_1+'\"');","    pm.expect(pm.response.text()).to.include('\"id\": \"'+TrackerID_2+'\"');","    pm.expect(pm.response.text()).to.include('\"id\": \"'+TrackerID_3+'\"');","    pm.expect(pm.response.text()).to.include(PF_Id);","    pm.expect(pm.response.text()).to.include(ChildPF_Id);","    pm.expect(pm.response.text()).to.include(DocRootFolderId);","    pm.expect(pm.response.text()).to.include(DocFolderId1);","    pm.expect(pm.response.text()).to.include(ChildDocFolderId);","});"],"type":"text/javascript"}}],"id":"06e19795-863d-4153-8be0-9489bf8ba19b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/{{BaselineDef_ExternalID}}?projectpath=projects.{{projectname}}&nestedBdefIncluded=true","description":"<p>Returns the union of filter criteria included in a baseline and the filter criteria of baseline definition(s) included in the baseline</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","{{BaselineDef_ExternalID}}"],"host":["{{HostName}}"],"query":[{"key":"projectpath","value":"projects.{{projectname}}"},{"key":"nestedBdefIncluded","value":"true"}],"variable":[]}},"response":[],"_postman_id":"06e19795-863d-4153-8be0-9489bf8ba19b"}],"id":"a588fda1-7a9c-423a-a353-df71cf7a19d1","description":"<p>Provides the list of APIs used for handling external baselines</p>\n","event":[{"listen":"prerequest","script":{"id":"c41dd7d4-6d41-4bc8-b15f-0fb5b8440502","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e9fd4ea1-a15f-420c-8c49-b2bb78465869","type":"text/javascript","exec":[""]}}],"_postman_id":"a588fda1-7a9c-423a-a353-df71cf7a19d1"},{"name":"Project Creation Using Project Baselines","item":[{"name":"Update Baseline Status Transition","event":[{"listen":"test","script":{"id":"40a7b129-e77f-4a55-a465-6594a4eb8e69","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","","pm.test(\"Body matches string- From status\", function () {","    pm.expect(pm.response.text()).to.include('\"FromStatus\": \"Submitted\"');","});","","pm.test(\"Body matches string - To status\", function () {","    pm.expect(pm.response.text()).to.include('\"ToStatus\": \"Accept\"');","});"],"type":"text/javascript"}}],"id":"f0a40212-7ba2-4113-a15d-97759a831819","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"transitions\": [\n    {\n      \"fromStatus\": \"{{status_submitted_Id}}\",\n      \"toStatus\": \"{{status_accept_Id}}\"\n    },\n    {\n      \"fromStatus\": \"{{status_submitted_Id}}\",\n      \"toStatus\": \"{{status_acknowledge_Id}}\"\n    },\n    {\n      \"fromStatus\": \"{{status_submitted_Id}}\",\n      \"toStatus\": \"{{status_approve_Id}}\"\n    }\n\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/transitions/by-project/{{projectId}}/role/{{roleId}}","description":"<p>Update the status transistion by changing the \"From Status\" to \"To Status\"</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","transitions","by-project","{{projectId}}","role","{{roleId}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f0a40212-7ba2-4113-a15d-97759a831819"},{"name":"Update Project Baseline Definition By Including Multiple Baseline Definitions","event":[{"listen":"test","script":{"id":"9dcba7f9-b9e5-4aeb-a8c8-4ee5802b7c74","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"Project_Baseline_def_version\", jsonData.version);",""],"type":"text/javascript"}}],"id":"d0cb873b-9379-4b11-bfd2-e49bcad2bb87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","type":"text","value":"{{Project_Baseline_def_version}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Creating Project Baseline Definition\",\n  \"description\": \"Project baseline definition created in the project\",\n  \"filter\": {\n    \"trackers\": [\n      {\n        \"id\": \"{{TrackerID_1}}\",\n        \"filters\": {}\n      }\n    ],\n    \"documentFolders\": {\n      \"folderIds\": [\n        \"{{ChildDocFolderId}}\"\n      ],\n      \"version\": \"active\",\n      \"filters\": {\n        \"attribute\": \"\",\n        \"condition\": \"\",\n        \"values\": [],\n        \"isInvalid\": false\n      }\n    },\n    \"planningFolders\": {\n      \"planningFolderIds\": [\n        \"{{SubChildPF_Id}}\"\n      ],\n      \"pfTree\": {}\n    },\n    \"frs\": {\n      \"releaseIds\": [\n        \"{{ReleaseID1}}\"\n      ]\n    },\n    \"scms\": [],\n    \"binaries\": []\n  },\n  \"nestedBaselineDefinitions\": [\n    \"{{baseDefId1}}\",\n    \"{{baseDefId2}}\"\n  ],\n  \"nestedExternalBaselines\": [\n  \t\"{{ExternalBaselineID_0}}\"\n  \t]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/definitions/by-project/{{projectId}}/project","description":"<p>Updates an existing project baseline definition to include multiple baseline definitions</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","definitions","by-project","{{projectId}}","project"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d0cb873b-9379-4b11-bfd2-e49bcad2bb87"},{"name":"Create Project Baseline with Multiple Baseline Definitions in Project Baseline Definition","event":[{"listen":"test","script":{"id":"4c64e2f2-c6ae-49b6-8e9e-f78b208804b7","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"NewProjectBaseline_ID\", jsonData.id);","pm.environment.set(\"NewProjectBaseline_version\", jsonData.version);"],"type":"text/javascript"}}],"id":"88fb7ec7-6ace-4f9d-8042-3136005a907f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Project baseline233\",\n  \"description\": \"Baseline with current project using project definition\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"\",\n  \"flexFields\": [\n    {\n      \"id\": \"{{Attribute_DropDown_Id}}\",\n      \"values\": [\n        \"{{Attribute_DropDown_value0}}\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Date_Id}}\",\n      \"values\": [\n        \"2018-10-31\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiline_Id}}\",\n      \"values\": [\n        \"testing \\nMultiline\\nText\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Singleline_Id}}\",\n      \"values\": [\n        \"singlelinetext\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiselect_Id}}\",\n      \"values\": [\n        \"{{Attribute_Multiselect_value1}}\"\n      ]\n    }\n  ],\n  \"baselineDefinition\": {\n    \"filter\": {\n      \"trackers\": [\n        {\n          \"id\": \"{{TrackerID_1}}\",\n          \"filters\": {}\n        }\n      ],\n      \"documentFolders\": {\n        \"folderIds\": [\n          \"{{ChildDocFolderId}}\"\n        ],\n        \"version\": \"active\",\n        \"filters\": {},\n        \"docTree\": {\n          \"totalCount\": 1\n        }\n      },\n      \"planningFolders\": {\n        \"planningFolderIds\": [\n          \"{{SubChildPF_Id}}\"\n        ],\n        \"pfTree\": {\n          \"totalCount\": 1\n        }\n      },\n      \"frs\": {\n        \"releaseIds\": [\n          \"{{ReleaseID1}}\"\n        ]\n      },\n      \"scms\": [],\n      \"binaries\": []\n    },\n  \"nestedBaselineDefinitions\": [\n    \"{{baseDefId1}}\",\n    \"{{baseDefId2}}\"\n  ],\n  \"nestedExternalBaselines\": [\n  \t\"{{ExternalBaselineID_0}}\"\n  \t]\n}\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}/project","description":"<p>Creates a project baseline after multiple baseline definitions are included in the project baseline definition</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","by-project","{{projectId}}","project"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"30d09db9-3366-481c-90c0-14cd96b1e7fb","name":"Create Project Baseline with Multiple Baseline Definitions in Project Baseline Definition","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Project baseline233\",\n  \"description\": \"Baseline with current project using project definition\",\n  \"status\": \"{{status_submitted_Id}}\",\n  \"category\": \"\",\n  \"flexFields\": [\n    {\n      \"id\": \"{{Attribute_DropDown_Id}}\",\n      \"values\": [\n        \"{{Attribute_DropDown_value0}}\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Date_Id}}\",\n      \"values\": [\n        \"2018-10-31\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiline_Id}}\",\n      \"values\": [\n        \"testing \\nMultiline\\nText\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Singleline_Id}}\",\n      \"values\": [\n        \"singlelinetext\"\n      ]\n    },\n    {\n      \"id\": \"{{Attribute_Multiselect_Id}}\",\n      \"values\": [\n        \"{{Attribute_Multiselect_value1}}\"\n      ]\n    }\n  ],\n  \"baselineDefinition\": {\n    \"filter\": {\n      \"trackers\": [\n        {\n          \"id\": \"{{TrackerID_1}}\",\n          \"filters\": {}\n        }\n      ],\n      \"documentFolders\": {\n        \"folderIds\": [\n          \"{{ChildDocFolderId}}\"\n        ],\n        \"version\": \"active\",\n        \"filters\": {},\n        \"docTree\": {\n          \"totalCount\": 1\n        }\n      },\n      \"planningFolders\": {\n        \"planningFolderIds\": [\n          \"{{SubChildPF_Id}}\"\n        ],\n        \"pfTree\": {\n          \"totalCount\": 1\n        }\n      },\n      \"frs\": {\n        \"releaseIds\": [\n          \"{{ReleaseID1}}\"\n        ]\n      },\n      \"scms\": [],\n      \"binaries\": []\n    },\n  \"nestedBaselineDefinitions\": [\n    \"{{baseDefId1}}\",\n    \"{{baseDefId2}}\"\n  ],\n  \"nestedExternalBaselines\": [\n  \t\"{{ExternalBaselineID_0}}\"\n  \t]\n}\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/by-project/{{projectId}}/project"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 17 Jan 2019 10:54:17 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1694"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"base1024\",\n    \"title\": \"Project baseline291\",\n    \"description\": \"Baseline with current project using project definition\",\n    \"status\": \"Submitted\",\n    \"metastatusValue\": \"\",\n    \"type\": \"Project\",\n    \"category\": \"Project Baseline\",\n    \"projectId\": \"proj1015\",\n    \"createdBy\": \"apiUser513\",\n    \"modifiedBy\": \"apiUser513\",\n    \"approvedBy\": \"\",\n    \"flexFields\": [\n        {\n            \"id\": \"basefild1021\",\n            \"name\": \"Attribute1_updated_23\",\n            \"fieldType\": \"DROPDOWN\",\n            \"values\": [\n                \"Att_value_404_updated\"\n            ]\n        },\n        {\n            \"id\": \"basefild1023\",\n            \"name\": \"DateField_894\",\n            \"fieldType\": \"DATE\",\n            \"values\": [\n                \"10/31/2018\"\n            ]\n        },\n        {\n            \"id\": \"basefild1020\",\n            \"name\": \"MultiLine_Text_updated741\",\n            \"fieldType\": \"TEXT\",\n            \"values\": [\n                \"testing \\nMultiline\\nText\"\n            ]\n        },\n        {\n            \"id\": \"basefild1019\",\n            \"name\": \"SinlgeLine_Text_Updated_233\",\n            \"fieldType\": \"TEXT\",\n            \"values\": [\n                \"singlelinetext\"\n            ]\n        },\n        {\n            \"id\": \"basefild1022\",\n            \"name\": \"Attribute2_630_updated\",\n            \"fieldType\": \"MULTISELECT\",\n            \"values\": [\n                \"checkbox2_updated\"\n            ]\n        }\n    ],\n    \"dateCreated\": \"01/17/2019\",\n    \"dateModified\": \"01/17/2019\",\n    \"dateApproved\": \"\",\n    \"version\": 100,\n    \"baselineDefinition\": {\n        \"filter\": {\n            \"trackers\": null,\n            \"planningFolders\": {\n                \"planningFolderIds\": null,\n                \"pfTree\": {\n                    \"planningfolders\": null\n                }\n            },\n            \"documentFolders\": {\n                \"folderIds\": null,\n                \"version\": \"\",\n                \"filters\": {},\n                \"fields\": null,\n                \"docTree\": {\n                    \"documentFolder\": null,\n                    \"totalCount\": 0\n                }\n            },\n            \"scms\": null,\n            \"frs\": {\n                \"releaseIds\": null\n            },\n            \"binaries\": null\n        },\n        \"nestedExternalBaselines\": null,\n        \"nestedBaselineDefinitions\": null\n    },\n    \"bDefReferenceId\": 41\n}"}],"_postman_id":"88fb7ec7-6ace-4f9d-8042-3136005a907f"},{"name":"Update Project Baseline Status with External Baselines to \"Approved\"","event":[{"listen":"test","script":{"id":"f40505ed-40fd-4014-b38b-5bca16d39ab5","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Body matches string - Baseline updated successfully\", function () {","    pm.expect(pm.response.text()).to.include('\"Baseline Updated successfully.\"');","});"],"type":"text/javascript"}}],"id":"6dc9e29d-6ffe-44c0-9ba7-4447c7dc6eeb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{Token}}"},{"key":"If-Match","type":"text","value":"{{NewProjectBaseline_version}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"ProjectBaseline_233_updated\",\n  \"description\": \"Updating the project baseline to Approve status\",\n  \"status\": \"{{status_approve_Id}}\",\n  \"comment\": \"Setting the status from submitted to approve based on status transistion. \"\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/{{NewProjectBaseline_ID}}","description":"<p>Updates the project baseline that includes external baseline by changing the status to \"Approved\".</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","{{NewProjectBaseline_ID}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6dc9e29d-6ffe-44c0-9ba7-4447c7dc6eeb"},{"name":"Create Project Using Project Baseline","event":[{"listen":"test","script":{"id":"d24e8e8f-081b-4a24-9b78-8ad285ea6a11","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"NewProjectID_Baseline\", jsonData.projectId);","pm.environment.set(\"NewProjectTitle_Baseline\", jsonData.title);","","pm.test(\"Body matches string - project created successfully\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Project created successfully\"');","});","","var id= pm.environment.get(\"NewProjectBaseline_ID\");","","pm.test(\"Body matches string - project created successfully\", function () {","    pm.expect(pm.response.text()).to.include('\"baselineId\": \"'+id+'\"');","});"],"type":"text/javascript"}}],"id":"2d3afdac-1fc4-48b2-83b8-aedf3ce6532d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n\t\"baselineId\":\"{{NewProjectBaseline_ID}}\",\n\t\"project\" : {\n\t\t\"title\" : \"Project_Baseline_233\",\n\t\t\"description\":\"Project created via project baseline which loaded with project baseline filter conditions.\"\n\t}\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/create-project","description":"<p>Creates a TeamForge project using a project baseline</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","create-project"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2d3afdac-1fc4-48b2-83b8-aedf3ce6532d"},{"name":"Get Project Baseline Details","event":[{"listen":"test","script":{"id":"b69f1290-0938-42c9-b0e7-a8557e39e392","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});",""],"type":"text/javascript"}}],"id":"fcb57784-5700-45e9-ab3d-117d94a342f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/baselines/{{NewProjectBaseline_ID}}","description":"<p>Returns the details of all project baselines in the project</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","baselines","{{NewProjectBaseline_ID}}"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fcb57784-5700-45e9-ab3d-117d94a342f7"}],"id":"fe669177-da87-4e58-816b-c7b4718c9518","description":"<p>Provides the list of APIs used when creating TeamForge projects via Project Baselines</p>\n","event":[{"listen":"prerequest","script":{"id":"ae8f50d3-1771-43bc-b8ff-1ab5b52cf561","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7bcbf5cd-9ae6-4de1-b4c1-86874de2545a","type":"text/javascript","exec":[""]}}],"_postman_id":"fe669177-da87-4e58-816b-c7b4718c9518"},{"name":"Baseline Package","item":[{"name":"List Packages","event":[{"listen":"test","script":{"id":"a4c050f6-3bbf-4b04-a798-7666af0aef97","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});",""],"type":"text/javascript"}}],"id":"b2c7dcb1-e40a-415c-88fb-0d994a608594","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"url":"{{HostName}}/ctfrest/baseline/v1/router/package/baselines/{{NewProjectBaseline_ID}}/list","description":"<p>Ability to get monitoring status of the baseline.</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","package","baselines","{{NewProjectBaseline_ID}}","list"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b2c7dcb1-e40a-415c-88fb-0d994a608594"},{"name":"Create Package - Include Trackers as Package Criteria","event":[{"listen":"test","script":{"id":"f270cabb-3c72-4f12-8361-e8d6536ed1fd","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"packageId_Tracker\", jsonData.packageId);","postman.setEnvironmentVariable(\"packageTitle_Tracker\", jsonData.title);",""],"type":"text/javascript"}}],"id":"6bb599ea-6e7b-4fc2-8020-09b6eec4493a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Package_345\",\n  \"categories\": [\n    \"Tracker\"\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/package/baselines/{{NewProjectBaseline_ID}}/create","description":"<p>Creates a package with Tracker selected as the package criteria</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","package","baselines","{{NewProjectBaseline_ID}}","create"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"8d926232-20a8-4678-abe1-6b2c4ebed0de","name":"Create Package - Include Trackers as Package Criteria","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Package_345\",\n  \"categories\": [\n    \"Tracker\"\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/package/baselines/{{NewProjectBaseline_ID}}/create"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 31 Jan 2019 05:05:24 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"296"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"packageId\": \"basepckg1090\",\n    \"title\": \"Package_446\",\n    \"status\": \"Package is being generated\",\n    \"category\": \"Tracker\",\n    \"userName\": \"apiUser264\",\n    \"userFullName\": \"apiUser890\",\n    \"dateCreated\": \"01/31/2019 10:35 IST\",\n    \"downloadPath\": \"https://cu134.cloud.maa.collab.net/baseline/packages/NA\"\n}"}],"_postman_id":"6bb599ea-6e7b-4fc2-8020-09b6eec4493a"},{"name":"Create Package - Include Documents as Package Criteria","event":[{"listen":"test","script":{"id":"8918e2d7-5409-4d48-a460-fb73dbbf06d1","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"packageId_Doc\", jsonData.packageId);","postman.setEnvironmentVariable(\"packageTitle_Doc\", jsonData.title);",""],"type":"text/javascript"}}],"id":"b3b4e371-00d7-42f4-88cf-a865c0909aee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Package_345\",\n  \"categories\": [\n    \"Document\"\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/package/baselines/{{NewProjectBaseline_ID}}/create","description":"<p>Creates a package with document selected as package criteria</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","package","baselines","{{NewProjectBaseline_ID}}","create"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"62a6f25f-08b1-4acf-9446-2ffa11d73dab","name":"Create Package - Include Documents as Package Criteria","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Package_345\",\n  \"categories\": [\n    \"Document\"\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/package/baselines/{{NewProjectBaseline_ID}}/create"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 31 Jan 2019 05:05:51 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"295"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=9999"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"packageId\": \"basepckg1092\",\n    \"title\": \"Package_0\",\n    \"status\": \"Package is being generated\",\n    \"category\": \"Document\",\n    \"userName\": \"apiUser264\",\n    \"userFullName\": \"apiUser890\",\n    \"dateCreated\": \"01/31/2019 10:35 IST\",\n    \"downloadPath\": \"https://cu134.cloud.maa.collab.net/baseline/packages/NA\"\n}"}],"_postman_id":"b3b4e371-00d7-42f4-88cf-a865c0909aee"},{"name":"Create Package - Include FRS as Package Criteria","event":[{"listen":"test","script":{"id":"436ab62e-3508-400e-8c54-98bd6c8aea6d","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"packageId_Frs\", jsonData.packageId);","postman.setEnvironmentVariable(\"packageTitle_Frs\", jsonData.title);",""],"type":"text/javascript"}}],"id":"91596058-d515-4835-8bd8-f807dcdd0034","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Package_345\",\n  \"categories\": [\n    \"Frs\"\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/package/baselines/{{NewProjectBaseline_ID}}/create","description":"<p>Creates a package with FRS selected as package criteria</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","package","baselines","{{NewProjectBaseline_ID}}","create"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"d3626ee0-97c0-4d39-8355-0dda8d82ce50","name":"Create Package - Include FRS as Package Criteria","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Package_345\",\n  \"categories\": [\n    \"Frs\"\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/package/baselines/{{NewProjectBaseline_ID}}/create"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 31 Jan 2019 05:05:40 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"292"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"packageId\": \"basepckg1091\",\n    \"title\": \"Package_144\",\n    \"status\": \"Package is being generated\",\n    \"category\": \"Frs\",\n    \"userName\": \"apiUser264\",\n    \"userFullName\": \"apiUser890\",\n    \"dateCreated\": \"01/31/2019 10:35 IST\",\n    \"downloadPath\": \"https://cu134.cloud.maa.collab.net/baseline/packages/NA\"\n}"}],"_postman_id":"91596058-d515-4835-8bd8-f807dcdd0034"},{"name":"Create Package - Include All Categories as Package Criteria","event":[{"listen":"test","script":{"id":"c356a6ef-915b-4919-8a8b-0a1e82470bd3","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});",""],"type":"text/javascript"}}],"id":"9b7097ef-035d-4a73-b57f-21c0f4f5a994","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Package_345\",\n  \"categories\": [\n    \"Document\",\n    \"Tracker\",\n    \"Frs\"\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/package/baselines/{{NewProjectBaseline_ID}}/create","description":"<p>Creates a package by including all categories used in the baseline</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","package","baselines","{{NewProjectBaseline_ID}}","create"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"532c10e8-87c3-4fcf-abc0-93d8ba866e22","name":"Create Package - Include All Categories as Package Criteria","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Package_345\",\n  \"categories\": [\n    \"Document\",\n    \"Tracker\",\n    \"Frs\"\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/package/baselines/{{NewProjectBaseline_ID}}/create"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 31 Jan 2019 05:06:06 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"309"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"packageId\": \"basepckg1093\",\n    \"title\": \"Package_886\",\n    \"status\": \"Package is being generated\",\n    \"category\": \"Document,Tracker,Frs\",\n    \"userName\": \"apiUser264\",\n    \"userFullName\": \"apiUser890\",\n    \"dateCreated\": \"01/31/2019 10:35 IST\",\n    \"downloadPath\": \"https://cu134.cloud.maa.collab.net/baseline/packages/NA\"\n}"}],"_postman_id":"9b7097ef-035d-4a73-b57f-21c0f4f5a994"},{"name":"Create Package - Include \"Trackers\" Category Used in Other Package","event":[{"listen":"test","script":{"id":"fd2d8064-dd2e-4fdc-89ab-2d3859815c2a","exec":["pm.test(\"Status code is 400\", function () {","    pm.response.to.have.status(400);","});","","pm.test(\"Body matches string - Package category already exists\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Package for the category already exists\"');","});","","pm.test(\"Status code name has string- Bad Request\", function () {","    pm.response.to.have.status(\"Bad Request\");","});"],"type":"text/javascript"}}],"id":"9907cb8e-abc0-4e0b-900b-3bbaa4b4d43c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Package_345\",\n  \"categories\": [\n    \"Tracker\"\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/package/baselines/{{NewProjectBaseline_ID}}/create","description":"<p>A \"400 Bad Request\" error is thrown, when a user tries to include the category \"Trackers\" that was already used in an earlier package, via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","package","baselines","{{NewProjectBaseline_ID}}","create"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"f4a865eb-2b26-459e-92dc-912374b4826b","name":"Create Package - Include \"Trackers\" Category Used in Other Package","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Package_345\",\n  \"categories\": [\n    \"Tracker\"\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/package/baselines/{{NewProjectBaseline_ID}}/create"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 31 Jan 2019 05:06:14 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"78"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"NotFound\",\n    \"message\": \"Package for the category already exists\"\n}"}],"_postman_id":"9907cb8e-abc0-4e0b-900b-3bbaa4b4d43c"},{"name":"Create Package - Include \"Documents\" Category Used in Other Package","event":[{"listen":"test","script":{"id":"0d1509b3-0bee-4842-8516-e15e4b361d68","exec":["pm.test(\"Status code is 400\", function () {","    pm.response.to.have.status(400);","});","","pm.test(\"Body matches string - Package category already exists\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Package for the category already exists\"');","});","","pm.test(\"Status code name has string- Bad Request\", function () {","    pm.response.to.have.status(\"Bad Request\");","});"],"type":"text/javascript"}}],"id":"11e3796a-bf6e-4646-a087-d75f1d117d92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Package_345\",\n  \"categories\": [\n    \"Document\"\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/package/baselines/{{NewProjectBaseline_ID}}/create","description":"<p>A \"400 Bad Request\" error is thrown, when a user tries to include the category \"Documents\" that was already in an earlier package, via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","package","baselines","{{NewProjectBaseline_ID}}","create"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"96aa7b17-07f5-461e-9458-7de81788a547","name":"Create Package - Include \"Documents\" Category Used in Other Package","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Package_345\",\n  \"categories\": [\n    \"Document\"\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/package/baselines/{{NewProjectBaseline_ID}}/create"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 31 Jan 2019 05:06:30 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"78"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"NotFound\",\n    \"message\": \"Package for the category already exists\"\n}"}],"_postman_id":"11e3796a-bf6e-4646-a087-d75f1d117d92"},{"name":"Create Package - Include \"File Release\" Category Used in Other Package","event":[{"listen":"test","script":{"id":"6f74e3ce-7a13-487f-b319-4775ae90647f","exec":["pm.test(\"Status code is 400\", function () {","    pm.response.to.have.status(400);","});","","pm.test(\"Body matches string - Package category already exists\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Package for the category already exists\"');","});","","pm.test(\"Status code name has string- Bad Request\", function () {","    pm.response.to.have.status(\"Bad Request\");","});"],"type":"text/javascript"}}],"id":"6bb7340d-a000-4c2b-a012-1a9afa823a42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Package_345\",\n  \"categories\": [\n    \"Frs\"\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/package/baselines/{{NewProjectBaseline_ID}}/create","description":"<p>A \"400 Bad Request\" error is thrown, when a user tries to include the category \"File Release\" that was already used in an earlier package, via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","package","baselines","{{NewProjectBaseline_ID}}","create"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"e2b7e110-5dd0-4fe5-9baf-0e7edbb70ad9","name":"Create Package - Include \"File Release\" Category Used in Other Package","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Package_345\",\n  \"categories\": [\n    \"Frs\"\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/package/baselines/{{NewProjectBaseline_ID}}/create"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 31 Jan 2019 05:56:30 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"78"},{"key":"Set-Cookie","value":"JSESSIONID=qDxXXh251PDHhyEbXAbj6GQk4WVB-5zzfZHIUwiF.tf; path=/ctfrest; secure; HttpOnly"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"NotFound\",\n    \"message\": \"Package for the category already exists\"\n}"}],"_postman_id":"6bb7340d-a000-4c2b-a012-1a9afa823a42"},{"name":"Create Package by Unauthorized User","event":[{"listen":"test","script":{"id":"4e3768e1-19d5-4376-9289-e6c7a4b1579c","exec":["pm.test(\"Status code is 401\", function () {","    pm.response.to.have.status(401);","});","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('\"You must have \\'packageGeneration\\' permission to perform this action\"');","});"],"type":"text/javascript"}}],"id":"6edfdb5f-d449-4dac-8604-308a89cc45c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Package_345\",\n  \"categories\": [\n    \"Tracker\"\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/package/baselines/{{NewProjectBaseline_ID}}/create","description":"<p>A \"401 Unauthorized\" error is thrown, when a user without \"Package Generation\" permission tries to create a baseline package, via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","package","baselines","{{NewProjectBaseline_ID}}","create"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"64b6e4de-2f91-45c1-a18d-0967273f4c0f","name":"Create Package by Unauthorized User","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token2}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Package_345\",\n  \"categories\": [\n    \"Tracker\"\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/package/baselines/{{NewProjectBaseline_ID}}/create"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 31 Jan 2019 05:07:37 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"69"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"\"You must have 'packageGeneration' permission to perform this action\""}],"_postman_id":"6edfdb5f-d449-4dac-8604-308a89cc45c7"},{"name":"Create Package From an Unapproved Baseline","event":[{"listen":"test","script":{"id":"7baabd66-6cff-49ea-8276-30ac92b38a5b","exec":["pm.test(\"Status code is 400\", function () {","    pm.response.to.have.status(400);","});","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('\"message\": \"Package can be created only in approved baselines\"');","});"],"type":"text/javascript"}}],"id":"3a7f218b-2333-4a0e-8466-8d0381505fb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Package_345\",\n  \"categories\": [\n    \"Tracker\"\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/package/baselines/{{baseId1}}/create","description":"<p>A \"400 Bad Request\" error is thrown, when a user tries to create a package (including \"Trackers\" category as package criteria) from an unapproved baseline, via the REST API call</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","package","baselines","{{baseId1}}","create"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"802b994c-1089-4976-97ad-2a9b9332dd36","name":"Create Package From an Unapproved Baseline","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Package_345\",\n  \"categories\": [\n    \"Tracker\"\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/package/baselines/{{baseId1}}/create"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 31 Jan 2019 05:07:55 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"78"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"NotFound\",\n    \"message\": \"Package for the category already exists\"\n}"}],"_postman_id":"3a7f218b-2333-4a0e-8466-8d0381505fb6"},{"name":"Create Package Using Baseline Definition ID","event":[{"listen":"test","script":{"id":"f396c6cb-eebc-4e44-9983-3e9d05c7a8f0","exec":["pm.test(\"Status code is 404\", function () {","    pm.response.to.have.status(404);","});","","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include('404 page not found');","});"],"type":"text/javascript"}}],"id":"1361bbbd-3575-42d4-8af3-65d3d9a3c9a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Package_345\",\n  \"categories\": [\n    \"Tracker\"\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/package/base/{{baseDefId1}}/create","description":"<p>A \"404 Not Found\" error is thrown, when a user tries to create a baseline package using Baseline Definition ID instead of Baseline ID</p>\n","urlObject":{"path":["ctfrest","baseline","v1","router","package","base","{{baseDefId1}}","create"],"host":["{{HostName}}"],"query":[],"variable":[]}},"response":[{"id":"79b186b4-83d4-4767-b398-82647cefc54e","name":"Create Packag using Baseline Definition ID","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{Token}}"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Package_345\",\n  \"categories\": [\n    \"Tracker\"\n  ]\n}"},"url":"{{HostName}}/ctfrest/baseline/v1/router/package/base/{{baseDefId1}}/create"},"status":"Not Found","code":404,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Thu, 31 Jan 2019 05:18:27 GMT"},{"key":"Server","value":"Apache"},{"key":"X-XSS-PROTECTION","value":"1"},{"key":"Strict-Transport-Security","value":"max-age=7884000; includeSubdomains;"},{"key":"Expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Content-Type","value":"text/plain;charset=utf-8"},{"key":"Content-Length","value":"19"},{"key":"X-UA-Compatible","value":"IE=Edge"},{"key":"Vary","value":"User-Agent"},{"key":"Keep-Alive","value":"timeout=15, max=10000"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"404 page not found\n"}],"_postman_id":"1361bbbd-3575-42d4-8af3-65d3d9a3c9a1"}],"id":"476c85f0-3e5e-43de-a2df-aeba1069d229","description":"<p>Provides the list of APIs used when creating baseline packages</p>\n","event":[{"listen":"prerequest","script":{"id":"f6916f0c-7c6b-42a5-86c7-4ff27f05b3c7","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"39a56a16-ab93-46cb-b133-b21499723a54","type":"text/javascript","exec":[""]}}],"_postman_id":"476c85f0-3e5e-43de-a2df-aeba1069d229"}],"event":[{"listen":"prerequest","script":{"id":"87cac141-8b98-4450-af94-90bd746a285d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"01332b41-42c1-4710-9131-a46408d083b2","type":"text/javascript","exec":[""]}}]}