Commit 617c68a3 authored by John Red Medrano's avatar John Red Medrano

update postman collection

parent 4a4e7be9
{ {
"info": { "info": {
"_postman_id": "2bf303e7-1321-4d01-bc03-3f94211d4712", "_postman_id": "733e6f05-1f26-4ab8-bcfb-a379c0263a73",
"name": "RMSv2 copy", "name": "RMSv2 copy",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
}, },
...@@ -16,6 +16,10 @@ ...@@ -16,6 +16,10 @@
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "{{baseurl}}/master/companies/", "raw": "{{baseurl}}/master/companies/",
"host": [ "host": [
...@@ -30,13 +34,88 @@ ...@@ -30,13 +34,88 @@
}, },
"response": [] "response": []
}, },
{
"name": "Upload Attachment",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "url",
"type": "file",
"src": ""
},
{
"key": "url",
"type": "file",
"src": ""
}
]
},
"url": {
"raw": "{{baseurl}}/master/attachments/",
"host": [
"{{baseurl}}"
],
"path": [
"master",
"attachments",
""
]
}
},
"response": []
},
{
"name": "Upload Attachment Copy",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "url",
"type": "file",
"src": ""
},
{
"key": "url",
"type": "file",
"src": ""
}
]
},
"url": {
"raw": "{{baseurl}}/master/attachments/",
"host": [
"{{baseurl}}"
],
"path": [
"master",
"attachments",
""
]
}
},
"response": []
},
{ {
"name": "Department Listing", "name": "Department Listing",
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "{{baseurl}}/master/departments/?company=COMPANY-20190917-0000001", "raw": "{{baseurl}}/master/departments/",
"host": [ "host": [
"{{baseurl}}" "{{baseurl}}"
], ],
...@@ -44,12 +123,6 @@ ...@@ -44,12 +123,6 @@
"master", "master",
"departments", "departments",
"" ""
],
"query": [
{
"key": "company",
"value": "COMPANY-20190917-0000001"
}
] ]
} }
}, },
...@@ -60,6 +133,10 @@ ...@@ -60,6 +133,10 @@
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "{{baseurl}}/master/user-types/", "raw": "{{baseurl}}/master/user-types/",
"host": [ "host": [
...@@ -79,6 +156,10 @@ ...@@ -79,6 +156,10 @@
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "{{baseurl}}/master/users/", "raw": "{{baseurl}}/master/users/",
"host": [ "host": [
...@@ -94,7 +175,6 @@ ...@@ -94,7 +175,6 @@
"response": [] "response": []
} }
], ],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true "_postman_isSubFolder": true
}, },
{ {
...@@ -108,6 +188,10 @@ ...@@ -108,6 +188,10 @@
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "{{baseurl}}/management/applications/", "raw": "{{baseurl}}/management/applications/",
"host": [ "host": [
...@@ -127,6 +211,10 @@ ...@@ -127,6 +211,10 @@
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "{{baseurl}}/management/applications/APP-20190917-0000001/", "raw": "{{baseurl}}/management/applications/APP-20190917-0000001/",
"host": [ "host": [
...@@ -189,14 +277,14 @@ ...@@ -189,14 +277,14 @@
"raw": "{\n\t\"name\": \"rms2\"\n}" "raw": "{\n\t\"name\": \"rms2\"\n}"
}, },
"url": { "url": {
"raw": "{{baseurl}}/management/applications/APP-20190917-0000001/", "raw": "{{baseurl}}/management/applications/APP-20190925-0000004/",
"host": [ "host": [
"{{baseurl}}" "{{baseurl}}"
], ],
"path": [ "path": [
"management", "management",
"applications", "applications",
"APP-20190917-0000001", "APP-20190925-0000004",
"" ""
] ]
} }
...@@ -235,7 +323,6 @@ ...@@ -235,7 +323,6 @@
"response": [] "response": []
} }
], ],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true "_postman_isSubFolder": true
}, },
{ {
...@@ -246,6 +333,10 @@ ...@@ -246,6 +333,10 @@
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "{{baseurl}}/management/companies/", "raw": "{{baseurl}}/management/companies/",
"host": [ "host": [
...@@ -265,6 +356,10 @@ ...@@ -265,6 +356,10 @@
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "{{baseurl}}/management/companies/COMPANY-20190909-0000001/", "raw": "{{baseurl}}/management/companies/COMPANY-20190909-0000001/",
"host": [ "host": [
...@@ -373,7 +468,6 @@ ...@@ -373,7 +468,6 @@
"response": [] "response": []
} }
], ],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true "_postman_isSubFolder": true
}, },
{ {
...@@ -384,6 +478,10 @@ ...@@ -384,6 +478,10 @@
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "{{baseurl}}/management/departments/", "raw": "{{baseurl}}/management/departments/",
"host": [ "host": [
...@@ -403,6 +501,10 @@ ...@@ -403,6 +501,10 @@
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "{{baseurl}}/management/departments/DEPARTMENT-20190919-0000001/", "raw": "{{baseurl}}/management/departments/DEPARTMENT-20190919-0000001/",
"host": [ "host": [
...@@ -511,7 +613,6 @@ ...@@ -511,7 +613,6 @@
"response": [] "response": []
} }
], ],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true "_postman_isSubFolder": true
}, },
{ {
...@@ -522,6 +623,10 @@ ...@@ -522,6 +623,10 @@
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "{{baseurl}}/management/modules/?page=2", "raw": "{{baseurl}}/management/modules/?page=2",
"host": [ "host": [
...@@ -547,6 +652,10 @@ ...@@ -547,6 +652,10 @@
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "{{baseurl}}/management/modules/MODULE-20190919-0000007/", "raw": "{{baseurl}}/management/modules/MODULE-20190919-0000007/",
"host": [ "host": [
...@@ -659,7 +768,6 @@ ...@@ -659,7 +768,6 @@
"response": [] "response": []
} }
], ],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true "_postman_isSubFolder": true
}, },
{ {
...@@ -670,6 +778,10 @@ ...@@ -670,6 +778,10 @@
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "{{baseurl}}/management/users/", "raw": "{{baseurl}}/management/users/",
"host": [ "host": [
...@@ -689,6 +801,10 @@ ...@@ -689,6 +801,10 @@
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "{{baseurl}}/management/users/USER-20190919-0000028/", "raw": "{{baseurl}}/management/users/USER-20190919-0000028/",
"host": [ "host": [
...@@ -891,11 +1007,9 @@ ...@@ -891,11 +1007,9 @@
"response": [] "response": []
} }
], ],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true "_postman_isSubFolder": true
} }
], ],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true "_postman_isSubFolder": true
}, },
{ {
...@@ -906,6 +1020,10 @@ ...@@ -906,6 +1020,10 @@
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "{{baseurl}}/auth/current-user/", "raw": "{{baseurl}}/auth/current-user/",
"host": [ "host": [
...@@ -1070,49 +1188,43 @@ ...@@ -1070,49 +1188,43 @@
"response": [] "response": []
} }
], ],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true "_postman_isSubFolder": true
} }
], ]
"protocolProfileBehavior": {}
}, },
{ {
"name": "Change Request", "name": "Change Request",
"item": [ "item": [
{ {
"name": "CR Forms", "name": "CR Templates",
"item": [ "item": [
{ {
"name": "CR Form Header", "name": "CR Template Header",
"item": [ "item": [
{ {
"name": "Create Form Header", "name": "Template Header Post",
"request": { "request": {
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
"key": "Content-Type", "key": "Content-Type",
"name": "Content-Type", "name": "Content-Type",
"type": "text", "value": "application/json",
"value": "application/json" "type": "text"
} }
], ],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "{\r\n \"requested_to_template_name\": \"Security Project\",\r\n \"requested_to_objective\": \"Sample Objective\",\r\n \"requested_to_target_date\": \"2019-09-03T13:59:29.694560\",\r\n \"requested_to_priority\": \"Normal\",\r\n \"description\": \"Lorem Ipsum\",\r\n \"company_desc\": \"Oneberry\",\r\n \"status\": \"Pending\",\r\n \"requested_to_template_id\": \"JTC\",\r\n \"department_desc\": \"Oneberry Superuser\",\r\n \"requested_desc\": \"Super User\",\r\n \"requested_to_company\": \"COMPANY-20190909-0000002\",\r\n \"requested_to_department\": \"DEPARTMENT-20190909-0000002\",\r\n \"requested_to_user\": \"USER-20190913-0000007\",\r\n \"requested_by_user\": \"USER-20190913-0000006\",\r\n \"requested_by_department\": \"admin\",\r\n \"template_no\": \"TMP-20190924-0000001\",\r\n \"frm_approvers\": [\r\n {\r\n \"level\": \"1\",\r\n \"delegation\": \"HOD\",\r\n \"user\": \"USER-20190913-0000009\",\r\n \"tmp_approver\": \"TMPAPR-20190924-0000001\"\r\n },\r\n {\r\n \"level\": \"2\",\r\n \"delegation\": \"Approver\",\r\n \"user\": \"USER-20190913-0000009\",\r\n \"tmp_approver\": \"TMPAPR-20190924-0000002\"\r\n },\r\n {\r\n \"level\": \"3\",\r\n \"delegation\": \"Approver\",\r\n \"user\": \"USER-20190913-0000008\",\r\n \"tmp_approver\": \"TMPAPR-20190924-0000003\"\r\n }\r\n ],\r\n \"frm_stakes\": [\r\n\t{\r\n \"delegation\": \"Mandatory Stakeholder\",\r\n \"user\": \"USER-20190913-0000009\",\r\n \"tmp_stake\": \"TMPSTK-20190924-0000001\"\r\n },\r\n {\r\n \"delegation\": \"Stake Approver\",\r\n \"user\": \"USER-20190913-0000008\",\r\n \"tmp_stake\": \"TMPSTK-20190924-0000002\"\r\n }\r\n\t\r\n ],\r\n \r\n \"frm_attachments\": [\r\n {\r\n \"attachment_type\": \"Hello\",\r\n \"attachment_name\": \"heyu\",\r\n \"file_name\": \"Sample\",\r\n \"description\": \"Sameple Desc\",\r\n \"file_upload\": null,\r\n \"uploaded_by\": \"USER-20190913-0000006\",\r\n \"tmp_attach\": \"TMPATCH-20190924-0000001\"\r\n },\r\n {\r\n \"attachment_type\": \"Hello\",\r\n \"attachment_name\": \"heyu\",\r\n \"file_name\": \"Sample\",\r\n \"description\": \"Sameple Desc\",\r\n \"file_upload\": null,\r\n \"uploaded_by\": \"USER-20190913-0000006\",\r\n \"tmp_attach\": \"TMPATCH-20190924-0000002\"\r\n }\r\n ],\r\n \"frm_details\": [\r\n {\r\n \"field_idx\": \"Hello\",\r\n \"field_ref\": \"heyu\",\r\n \"field_val\": \"Sample\",\r\n \"field_props\": \"Sameple Desc\",\r\n \"tmp_detail\": \"TMPDETAIL-20190924-0000001\"\r\n },\r\n {\r\n \"field_idx\": \"Hello\",\r\n \"field_ref\": \"heyu\",\r\n \"field_val\": \"Sample\",\r\n \"field_props\": \"Sameple Desc\",\r\n \"tmp_detail\": \"TMPDETAIL-20190924-0000002\"\r\n }\r\n ]\r\n}" "raw": "{\r\n\t\"requested_to_template_name\": \"Sample Template\",\r\n\t\"requested_to_template_id\": \"JTC21\",\r\n\t\"requested_to_objective\": \"Sample Objective\",\r\n\t\"requested_to_target_date\": \"10\",\r\n\t\"requested_to_priority\": \"High\",\r\n\t\"description\": \"sample description\",\r\n\t\"created_by_department\": \"admin\",\r\n\t\"created_by_user\": \"USER-20190913-0000006\",\r\n\t\"requested_to_company\": \"COMPANY-20190909-0000002\",\r\n\t\"requested_to_department\": \"DEPARTMENT-20190909-0000002\",\r\n\t\"requested_to_user\": \"USER-20190913-0000007\",\r\n\t\r\n\t\r\n\t\"tmp_approvers\": [{\r\n\t\t\t\"level\": \"1\",\r\n\t\t\t\"delegation\": \"HOD\",\r\n\t\t\t\"user\": \"\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"level\": \"2\",\r\n\t\t\t\"delegation\": \"Approver\",\r\n\t\t\t\"user\": \"USER-20190913-0000009\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"level\": \"3\",\r\n\t\t\t\"delegation\": \"Approver\",\r\n\t\t\t\"user\": \"USER-20190913-0000008\"\r\n\t\t}\r\n\t],\r\n\t\r\n\t\"tmp_stakes\": [{\r\n\t\t\t\"delegation\": \"Mandatory Stakeholder\",\r\n\t\t\t\"user\": \"USER-20190913-0000009\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"delegation\": \"Stake Approver\",\r\n\t\t\t\"user\": \"USER-20190913-0000008\"\r\n\t\t}\r\n\t],\r\n\t\r\n\t\"tmp_attachments\": [{\r\n\t\t\t\"attachment_type\": \"Hello\",\r\n\t\t\t\"attachment_name\": \"heyu\",\r\n\t\t\t\"file_name\": \"Sample\",\r\n\t\t\t\"description\": \"Sameple Desc\",\r\n\t\t\t\"uploaded_by\": \"USER-20190913-0000006\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"attachment_type\": \"Hello\",\r\n\t\t\t\"attachment_name\": \"heyu\",\r\n\t\t\t\"file_name\": \"Sample\",\r\n\t\t\t\"description\": \"Sameple Desc\",\r\n\t\t\t\"uploaded_by\": \"USER-20190913-0000006\"\r\n\t\t}\r\n\t],\r\n\t\r\n\t\"tmp_details\": [{\r\n\t\t\t\"field_idx\": \"Hello\",\r\n\t\t\t\"field_ref\": \"heyu\",\r\n\t\t\t\"field_val\": \"Sample\",\r\n\t\t\t\"field_props\": \"Sameple Desc\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"field_idx\": \"Hello\",\r\n\t\t\t\"field_ref\": \"heyu\",\r\n\t\t\t\"field_val\": \"Sample\",\r\n\t\t\t\"field_props\": \"Sameple Desc\"\r\n\t\t}\r\n\t]\r\n}"
}, },
"url": { "url": {
"raw": "http://localhost:8000/api/v1/change-request/form-post/", "raw": "{{baseurl}}/change-request/template-post/",
"protocol": "http",
"host": [ "host": [
"localhost" "{{baseurl}}"
], ],
"port": "8000",
"path": [ "path": [
"api",
"v1",
"change-request", "change-request",
"form-post", "template-post",
"" ""
] ]
} }
...@@ -1120,12 +1232,16 @@ ...@@ -1120,12 +1232,16 @@
"response": [] "response": []
}, },
{ {
"name": "List of Forms", "name": "List of Templates",
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "http://localhost:8000/api/v1/change-request/form/", "raw": "http://localhost:8000/api/v1/change-request/template/",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
...@@ -1135,7 +1251,7 @@ ...@@ -1135,7 +1251,7 @@
"api", "api",
"v1", "v1",
"change-request", "change-request",
"form", "template",
"" ""
] ]
} }
...@@ -1143,12 +1259,16 @@ ...@@ -1143,12 +1259,16 @@
"response": [] "response": []
}, },
{ {
"name": "View Form", "name": "View Template",
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190924-0000001/", "raw": "http://localhost:8000/api/v1/change-request/template/TMP-20190916-0000002/",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
...@@ -1158,8 +1278,8 @@ ...@@ -1158,8 +1278,8 @@
"api", "api",
"v1", "v1",
"change-request", "change-request",
"form", "template",
"FRM-20190924-0000001", "TMP-20190916-0000002",
"" ""
] ]
} }
...@@ -1167,12 +1287,23 @@ ...@@ -1167,12 +1287,23 @@
"response": [] "response": []
}, },
{ {
"name": "Delete Form", "name": "Edit Template",
"request": { "request": {
"method": "DELETE", "method": "PATCH",
"header": [], "header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"template_no\": \"TMP-20190911-0000001\",\r\n \"requested_to_template_name\": \"Sample Template\",\r\n \"requested_to_objective\": \"hello objective\",\r\n \"requested_to_target_date\": \"2019-09-03T13:59:29.694560\",\r\n \"requested_to_priority\": \"High\",\r\n \"description\": \"sample description\",\r\n \"archived_at\": \"2019-09-11T18:59:09.296883\",\r\n \"requested_to_template_id\": \"temp\",\r\n \"requested_to_company\": \"COMPANY-20190909-0000002\",\r\n \"requested_to_department\": \"DEPARTMENT-20190909-0000002\",\r\n \"requested_to_user\": \"USER-20190909-0000005\",\r\n \"created_by_user\": \"USER-20190909-0000005\",\r\n \"created_by_department\": \"admin\",\r\n \r\n \"tmp_approvers\": [\r\n {\r\n \"id\": 1,\r\n \"level\": \"1\",\r\n \"delegation\": \"Approver\",\r\n \"created\": \"2019-09-11T18:59:09.509901\",\r\n \"archived_at\": null,\r\n \"code\": \"TMPAPR-20190911-0000001\",\r\n \"user\": \"USER-20190909-0000005\",\r\n \"template_no\": \"TMP-20190911-0000001\"\r\n },\r\n {\r\n \"id\": 2,\r\n \"level\": \"2\",\r\n \"delegation\": \"Approver\",\r\n \"created\": \"2019-09-11T18:59:09.607909\",\r\n \"archived_at\": null,\r\n \"code\": \"TMPAPR-20190911-0000002\",\r\n \"user\": \"USER-20190909-0000005\",\r\n \"template_no\": \"TMP-20190911-0000001\"\r\n }\r\n ],\r\n \"tmp_stakes\": [\r\n {\r\n \"id\": 1,\r\n \"delegation\": \"Mandatory Approver\",\r\n \"created\": \"2019-09-11T18:59:09.618924\",\r\n \"archived_at\": null,\r\n \"code\": \"TMPSTK-20190911-0000001\",\r\n \"user\": \"USER-20190909-0000005\",\r\n \"template_no\": \"TMP-20190911-0000001\"\r\n },\r\n {\r\n \"id\": 2,\r\n \"delegation\": \"Stake Approver\",\r\n \"created\": \"2019-09-11T18:59:09.619886\",\r\n \"archived_at\": null,\r\n \"code\": \"TMPSTK-20190911-0000002\",\r\n \"user\": \"USER-20190909-0000005\",\r\n \"template_no\": \"TMP-20190911-0000001\"\r\n }\r\n ],\r\n \"tmp_attachments\": [\r\n {\r\n \"id\": 1,\r\n \"attachment_type\": \"Hello\",\r\n \"attachment_name\": \"heyu\",\r\n \"file_name\": \"Sample\",\r\n \"description\": \"Sameple Desc\",\r\n \"file_upload\": null,\r\n \"created\": \"2019-09-11T18:59:09.631923\",\r\n \"archived_at\": null,\r\n \"code\": \"TMPATCH-20190911-0000001\",\r\n \"uploaded_by\": \"USER-20190909-0000005\",\r\n \"template_no\": \"TMP-20190911-0000001\"\r\n },\r\n {\r\n \"id\": 2,\r\n \"attachment_type\": \"Hello\",\r\n \"attachment_name\": \"heyu\",\r\n \"file_name\": \"Sample\",\r\n \"description\": \"Sameple Desc\",\r\n \"file_upload\": null,\r\n \"created\": \"2019-09-11T18:59:09.674881\",\r\n \"archived_at\": null,\r\n \"code\": \"TMPATCH-20190911-0000002\",\r\n \"uploaded_by\": \"USER-20190909-0000005\",\r\n \"template_no\": \"TMP-20190911-0000001\"\r\n }\r\n ],\r\n \"tmp_details\": [\r\n {\r\n \"id\": 1,\r\n \"field_idx\": \"Hello\",\r\n \"field_ref\": \"heyu\",\r\n \"field_val\": \"Sample\",\r\n \"field_props\": \"Sameple Desc\",\r\n \"created\": \"2019-09-11T18:59:09.684922\",\r\n \"archived_at\": null,\r\n \"code\": \"TMPDETAIL-20190911-0000001\",\r\n \"template_no\": \"TMP-20190911-0000001\"\r\n },\r\n {\r\n \"id\": 2,\r\n \"field_idx\": \"Hello\",\r\n \"field_ref\": \"heyu\",\r\n \"field_val\": \"Sample\",\r\n \"field_props\": \"Sameple Desc\",\r\n \"created\": \"2019-09-11T18:59:09.685887\",\r\n \"archived_at\": null,\r\n \"code\": \"TMPDETAIL-20190911-0000002\",\r\n \"template_no\": \"TMP-20190911-0000001\"\r\n }\r\n ]\r\n}"
},
"url": { "url": {
"raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190909-0000006/", "raw": "http://localhost:8000/api/v1/change-request/template/TMP-20190911-0000001/",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
...@@ -1182,8 +1313,8 @@ ...@@ -1182,8 +1313,8 @@
"api", "api",
"v1", "v1",
"change-request", "change-request",
"form", "template",
"FRM-20190909-0000006", "TMP-20190911-0000001",
"" ""
] ]
} }
...@@ -1191,12 +1322,16 @@ ...@@ -1191,12 +1322,16 @@
"response": [] "response": []
}, },
{ {
"name": "Re Route for Approval", "name": "Archive Template",
"request": { "request": {
"method": "PATCH", "method": "PATCH",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190913-0000002/re_route/", "raw": "http://localhost:8000/api/v1/change-request/template/archived/",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
...@@ -1206,9 +1341,8 @@ ...@@ -1206,9 +1341,8 @@
"api", "api",
"v1", "v1",
"change-request", "change-request",
"form", "template",
"FRM-20190913-0000002", "archived",
"re_route",
"" ""
] ]
} }
...@@ -1216,12 +1350,16 @@ ...@@ -1216,12 +1350,16 @@
"response": [] "response": []
}, },
{ {
"name": "Resubmit", "name": "Retrieve Template",
"request": { "request": {
"method": "PATCH", "method": "PATCH",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190913-0000002/re_submit/", "raw": "http://localhost:8000/api/v1/change-request/template/TMP-20190909-0000002/",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
...@@ -1231,9 +1369,8 @@ ...@@ -1231,9 +1369,8 @@
"api", "api",
"v1", "v1",
"change-request", "change-request",
"form", "template",
"FRM-20190913-0000002", "TMP-20190909-0000002",
"re_submit",
"" ""
] ]
} }
...@@ -1241,28 +1378,46 @@ ...@@ -1241,28 +1378,46 @@
"response": [] "response": []
}, },
{ {
"name": "CR Action", "name": "Delete Template",
"request": { "request": {
"method": "PATCH", "method": "DELETE",
"header": [ "header": [],
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "{\r\n \"id\": 1,\r\n \"form_code\": \"FRM-20190913-0000001\",\r\n \"delegation\": \"Requestor\",\r\n \"action\": \"Rejected\",\r\n \"level\": \"1\",\r\n \"remarks\": \"\",\r\n \"form_status\": \"Pending\"\r\n}", "raw": ""
"options": {
"raw": {
"language": "json"
}
}
}, },
"url": { "url": {
"raw": "http://localhost:8000/api/v1/change-request/form/actions/", "raw": "{{baseurl}}/change-request/template/TMP-20190916-0000003/",
"host": [
"{{baseurl}}"
],
"path": [
"change-request",
"template",
"TMP-20190916-0000003",
""
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "CR Template Approver",
"item": [
{
"name": "List of Approvers",
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/template-approvers/",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
...@@ -1272,8 +1427,7 @@ ...@@ -1272,8 +1427,7 @@
"api", "api",
"v1", "v1",
"change-request", "change-request",
"form", "template-approvers",
"actions",
"" ""
] ]
} }
...@@ -1281,28 +1435,16 @@ ...@@ -1281,28 +1435,16 @@
"response": [] "response": []
}, },
{ {
"name": "Submit", "name": "View Approver",
"request": { "request": {
"method": "PATCH", "method": "GET",
"header": [ "header": [],
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "{\r\n \"requested_to_template_name\": \"Security Projects\",\r\n \"requested_to_objective\": \"Sample Objective\",\r\n \"requested_to_target_date\": \"2019-09-03T13:59:29.694560\",\r\n \"requested_to_priority\": \"Normal\",\r\n \"description\": \"Lorem Ipsum\",\r\n \"cancel_date\": null,\r\n \"status\": \"Pending\",\r\n \"company_desc\": \"Oneberry\",\r\n \"department_desc\": \"Oneberry Superuser\",\r\n \"requested_desc\": \"Super User\",\r\n \"requested_to_template_id\": \"JTC-20190924-0000001\",\r\n \"requested_to_company\": \"COMPANY-20190909-0000002\",\r\n \"requested_to_department\": \"DEPARTMENT-20190909-0000002\",\r\n \"requested_to_user\": \"USER-20190913-0000007\",\r\n \"requested_by_user\": \"USER-20190913-0000006\",\r\n \"requested_by_department\": \"admin\",\r\n \"template_no\": \"TMP-20190924-0000001\",\r\n \"frm_approvers\": [\r\n {\r\n \"id\": 1,\r\n \"level\": \"1\",\r\n \"delegation\": \"HOD\",\r\n \"created\": \"2019-09-24T19:08:26.539805\",\r\n \"code\": \"FRMAPR-20190924-0000001\",\r\n \"remarks\": null,\r\n \"action\": null,\r\n \"action_date\": null,\r\n \"date_sent\": null,\r\n \"user\": \"USER-20190913-0000009\",\r\n \"form_code\": \"FRM-20190924-0000001\",\r\n \"tmp_approver\": \"TMPAPR-20190924-0000001\",\r\n \"name\": \"Kath\",\r\n \"department\": \"Superuser\",\r\n \"company\": \"Total Integrated Resources\"\r\n },\r\n {\r\n \"id\": 2,\r\n \"level\": \"2\",\r\n \"delegation\": \"Approver\",\r\n \"created\": \"2019-09-24T19:08:26.582803\",\r\n \"code\": \"FRMAPR-20190924-0000002\",\r\n \"remarks\": null,\r\n \"action\": null,\r\n \"action_date\": null,\r\n \"date_sent\": null,\r\n \"user\": \"USER-20190913-0000009\",\r\n \"form_code\": \"FRM-20190924-0000001\",\r\n \"tmp_approver\": \"TMPAPR-20190924-0000002\",\r\n \"name\": \"Kath\",\r\n \"department\": \"Superuser\",\r\n \"company\": \"Total Integrated Resources\"\r\n },\r\n {\r\n \"level\": \"3\",\r\n \"delegation\": \"Approver\",\r\n \"remarks\": null,\r\n \"action\": null,\r\n \"action_date\": null,\r\n \"date_sent\": null,\r\n \"user\": \"USER-20190913-0000008\",\r\n \"form_code\": \"FRM-20190924-0000001\"\r\n }\r\n ],\r\n \"frm_stakes\": [\r\n {\r\n \"id\": 2,\r\n \"delegation\": \"Stake Approver\",\r\n \"created\": \"2019-09-24T19:08:26.607806\",\r\n \"code\": \"FRMSTK-20190924-0000002\",\r\n \"date_added\": null,\r\n \"user\": \"USER-20190913-0000008\",\r\n \"form_code\": \"FRM-20190924-0000001\",\r\n \"tmp_stake\": \"TMPSTK-20190924-0000002\"\r\n }\r\n ],\r\n \"frm_attachments\": [\r\n {\r\n \"id\": 2,\r\n \"attachment_type\": \"Hello\",\r\n \"attachment_name\": \"heyu\",\r\n \"file_name\": \"Sample\",\r\n \"description\": \"Sameple Desc\",\r\n \"file_upload\": null,\r\n \"created\": \"2019-09-24T19:08:26.657804\",\r\n \"code\": \"FRMATCH-20190924-0000002\",\r\n \"uploaded_by\": \"USER-20190913-0000006\",\r\n \"form_code\": \"FRM-20190924-0000001\",\r\n \"tmp_attach\": \"TMPATCH-20190924-0000002\"\r\n }\r\n ],\r\n \"frm_details\": [\r\n {\r\n \"id\": 2,\r\n \"field_idx\": \"Hello\",\r\n \"field_ref\": \"heyu\",\r\n \"field_val\": \"Sample\",\r\n \"field_props\": \"Sameple Desc\",\r\n \"created\": \"2019-09-24T19:08:26.672805\",\r\n \"code\": \"FRMDETAIL-20190924-0000002\",\r\n \"form_code\": \"FRM-20190924-0000001\",\r\n \"tmp_detail\": \"TMPDETAIL-20190924-0000002\"\r\n }\r\n ],\r\n \"action\": \"No\"\r\n}", "raw": ""
"options": {
"raw": {
"language": "json"
}
}
}, },
"url": { "url": {
"raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190924-0000001/submit/", "raw": "http://localhost:8000/api/v1/change-request/template-approvers/TMPAPR-20190911-0000001/",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
...@@ -1312,9 +1454,41 @@ ...@@ -1312,9 +1454,41 @@
"api", "api",
"v1", "v1",
"change-request", "change-request",
"form", "template-approvers",
"FRM-20190924-0000001", "TMPAPR-20190911-0000001",
"submit", ""
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "CR Template Stakeholder",
"item": [
{
"name": "List of Stakeholders",
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/template-stakeholders/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"template-stakeholders",
"" ""
] ]
} }
...@@ -1322,28 +1496,16 @@ ...@@ -1322,28 +1496,16 @@
"response": [] "response": []
}, },
{ {
"name": "Save", "name": "View Stakeholder",
"request": { "request": {
"method": "PATCH", "method": "GET",
"header": [ "header": [],
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "{\r\n \"requested_to_template_name\": \"Security Projects\",\r\n \"requested_to_objective\": \"Sample Objective\",\r\n \"requested_to_target_date\": \"2019-09-03T13:59:29.694560\",\r\n \"requested_to_priority\": \"Normal\",\r\n \"description\": \"Lorem Ipsum\",\r\n \"cancel_date\": null,\r\n \"status\": \"Draft\",\r\n \"company_desc\": \"Oneberry\",\r\n \"department_desc\": \"Oneberry Superuser\",\r\n \"requested_desc\": \"Super User\",\r\n \"requested_to_template_id\": \"JTC-20190924-0000001\",\r\n \"requested_to_company\": \"COMPANY-20190909-0000002\",\r\n \"requested_to_department\": \"DEPARTMENT-20190909-0000002\",\r\n \"requested_to_user\": \"USER-20190913-0000007\",\r\n \"requested_by_user\": \"USER-20190913-0000006\",\r\n \"requested_by_department\": \"admin\",\r\n \"template_no\": \"TMP-20190924-0000001\",\r\n \"frm_approvers\": [\r\n {\r\n \"id\": 1,\r\n \"level\": \"1\",\r\n \"delegation\": \"HOD\",\r\n \"created\": \"2019-09-24T19:08:26.539805\",\r\n \"code\": \"FRMAPR-20190924-0000001\",\r\n \"remarks\": null,\r\n \"action\": null,\r\n \"action_date\": null,\r\n \"date_sent\": null,\r\n \"user\": \"USER-20190913-0000009\",\r\n \"form_code\": \"FRM-20190924-0000001\",\r\n \"tmp_approver\": \"TMPAPR-20190924-0000001\",\r\n \"name\": \"Kath\",\r\n \"department\": \"Superuser\",\r\n \"company\": \"Total Integrated Resources\"\r\n },\r\n {\r\n \"id\": 2,\r\n \"level\": \"2\",\r\n \"delegation\": \"Approver\",\r\n \"created\": \"2019-09-24T19:08:26.582803\",\r\n \"code\": \"FRMAPR-20190924-0000002\",\r\n \"remarks\": null,\r\n \"action\": null,\r\n \"action_date\": null,\r\n \"date_sent\": null,\r\n \"user\": \"USER-20190913-0000009\",\r\n \"form_code\": \"FRM-20190924-0000001\",\r\n \"tmp_approver\": \"TMPAPR-20190924-0000002\",\r\n \"name\": \"Kath\",\r\n \"department\": \"Superuser\",\r\n \"company\": \"Total Integrated Resources\"\r\n },\r\n {\r\n \"level\": \"3\",\r\n \"delegation\": \"Approver\",\r\n \"remarks\": null,\r\n \"action\": null,\r\n \"action_date\": null,\r\n \"date_sent\": null,\r\n \"user\": \"USER-20190913-0000008\",\r\n \"form_code\": \"FRM-20190924-0000001\"\r\n }\r\n ],\r\n \"frm_stakes\": [\r\n {\r\n \"id\": 2,\r\n \"delegation\": \"Stake Approver\",\r\n \"created\": \"2019-09-24T19:08:26.607806\",\r\n \"code\": \"FRMSTK-20190924-0000002\",\r\n \"date_added\": null,\r\n \"user\": \"USER-20190913-0000008\",\r\n \"form_code\": \"FRM-20190924-0000001\",\r\n \"tmp_stake\": \"TMPSTK-20190924-0000002\"\r\n }\r\n ],\r\n \"frm_attachments\": [\r\n {\r\n \"id\": 2,\r\n \"attachment_type\": \"Hello\",\r\n \"attachment_name\": \"heyu\",\r\n \"file_name\": \"Sample\",\r\n \"description\": \"Sameple Desc\",\r\n \"file_upload\": null,\r\n \"created\": \"2019-09-24T19:08:26.657804\",\r\n \"code\": \"FRMATCH-20190924-0000002\",\r\n \"uploaded_by\": \"USER-20190913-0000006\",\r\n \"form_code\": \"FRM-20190924-0000001\",\r\n \"tmp_attach\": \"TMPATCH-20190924-0000002\"\r\n }\r\n ],\r\n \"frm_details\": [\r\n {\r\n \"id\": 2,\r\n \"field_idx\": \"Hello\",\r\n \"field_ref\": \"heyu\",\r\n \"field_val\": \"Sample\",\r\n \"field_props\": \"Sameple Desc\",\r\n \"created\": \"2019-09-24T19:08:26.672805\",\r\n \"code\": \"FRMDETAIL-20190924-0000002\",\r\n \"form_code\": \"FRM-20190924-0000001\",\r\n \"tmp_detail\": \"TMPDETAIL-20190924-0000002\"\r\n }\r\n ],\r\n \"action\": \"No\"\r\n}", "raw": ""
"options": {
"raw": {
"language": "json"
}
}
}, },
"url": { "url": {
"raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190924-0000001/save/", "raw": "http://localhost:8000/api/v1/change-request/template-stakeholders/TMPSTK-20190909-0000001/",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
...@@ -1353,9 +1515,8 @@ ...@@ -1353,9 +1515,8 @@
"api", "api",
"v1", "v1",
"change-request", "change-request",
"form", "template-stakeholders",
"FRM-20190924-0000001", "TMPSTK-20190909-0000001",
"save",
"" ""
] ]
} }
...@@ -1363,19 +1524,22 @@ ...@@ -1363,19 +1524,22 @@
"response": [] "response": []
} }
], ],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true "_postman_isSubFolder": true
}, },
{ {
"name": "CR Form Approver", "name": "CR Template Attachment",
"item": [ "item": [
{ {
"name": "List of Approvers", "name": "List of Attachments",
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "http://localhost:8000/api/v1/change-request/form-approvers/", "raw": "http://localhost:8000/api/v1/change-request/template-attachments/",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
...@@ -1385,7 +1549,7 @@ ...@@ -1385,7 +1549,7 @@
"api", "api",
"v1", "v1",
"change-request", "change-request",
"form-approvers", "template-attachments",
"" ""
] ]
} }
...@@ -1393,12 +1557,16 @@ ...@@ -1393,12 +1557,16 @@
"response": [] "response": []
}, },
{ {
"name": "View Approver", "name": "View Attachment",
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "http://localhost:8000/api/v1/change-request/form-approvers/TMPAPR-20190909-0000001/", "raw": "http://localhost:8000/api/v1/change-request/template-attachments/TMPATCH-20190909-0000001/",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
...@@ -1408,8 +1576,8 @@ ...@@ -1408,8 +1576,8 @@
"api", "api",
"v1", "v1",
"change-request", "change-request",
"form-approvers", "template-attachments",
"TMPAPR-20190909-0000001", "TMPATCH-20190909-0000001",
"" ""
] ]
} }
...@@ -1417,19 +1585,22 @@ ...@@ -1417,19 +1585,22 @@
"response": [] "response": []
} }
], ],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true "_postman_isSubFolder": true
}, },
{ {
"name": "CR Form Stakeholder", "name": "CR Template Detail",
"item": [ "item": [
{ {
"name": "List of Stakeholders", "name": "List of Details",
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "http://localhost:8000/api/v1/change-request/form-stakeholders/", "raw": "http://localhost:8000/api/v1/change-request/template-details/",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
...@@ -1439,7 +1610,7 @@ ...@@ -1439,7 +1610,7 @@
"api", "api",
"v1", "v1",
"change-request", "change-request",
"form-stakeholders", "template-details",
"" ""
] ]
} }
...@@ -1447,12 +1618,16 @@ ...@@ -1447,12 +1618,16 @@
"response": [] "response": []
}, },
{ {
"name": "View Stakeholder", "name": "View Detail",
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "http://localhost:8000/api/v1/change-request/form-stakeholders/TMPSTK-20190909-0000001/", "raw": "http://localhost:8000/api/v1/change-request/template-details/TMPDETAIL-20190909-0000001/",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
...@@ -1462,8 +1637,8 @@ ...@@ -1462,8 +1637,8 @@
"api", "api",
"v1", "v1",
"change-request", "change-request",
"form-stakeholders", "template-details",
"TMPSTK-20190909-0000001", "TMPDETAIL-20190909-0000001",
"" ""
] ]
} }
...@@ -1471,19 +1646,35 @@ ...@@ -1471,19 +1646,35 @@
"response": [] "response": []
} }
], ],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true "_postman_isSubFolder": true
}, }
],
"_postman_isSubFolder": true
},
{
"name": "CR Forms",
"item": [
{ {
"name": "CR Form Attachment", "name": "CR Form Header",
"item": [ "item": [
{ {
"name": "List of Attachments", "name": "Create Form Header",
"request": { "request": {
"method": "GET", "method": "POST",
"header": [], "header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n\t\"requested_to_template_name\": \"Sample Template\",\r\n\t\"requested_to_template_id\": \"JTC\",\r\n\t\"requested_to_objective\": \"Sample Objective\",\r\n\t\"requested_to_target_date\": \"2019-09-03 13:59:29.694560\",\r\n\t\"requested_to_priority\": \"High\",\r\n\t\"description\": \"sample description\",\r\n\t\"status\": \"Pending\",\r\n\t\"company_desc\": \"Oneberry\",\r\n\t\"department_desc\": \"Oneberry Superuser\",\r\n\t\"requested_desc\": \"Super User\",\r\n\t\"requested_by_department\": \"admin\",\r\n\t\"requested_by_user\": \"USER-20190913-0000006\",\r\n\t\"requested_to_company\": \"COMPANY-20190909-0000002\",\r\n\t\"requested_to_department\": \"DEPARTMENT-20190909-0000002\",\r\n\t\"requested_to_user\": \"USER-20190913-0000007\",\r\n\t\"template_no\": \"TMP-20190916-0000002\",\r\n\t\r\n\t\"frm_approvers\": [{\r\n\t\t\t\"level\": \"1\",\r\n\t\t\t\"delegation\": \"HOD\",\r\n\t\t\t\"user\": \"USER-20190913-0000008\",\r\n\t\t\t\"tmp_approver\": \"TMPAPR-20190916-0000004\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"level\": \"2\",\r\n\t\t\t\"delegation\": \"Approver\",\r\n\t\t\t\"user\": \"USER-20190913-0000009\",\r\n\t\t\t\"tmp_approver\": \"TMPAPR-20190913-0000002\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"level\": \"3\",\r\n\t\t\t\"delegation\": \"Approver\",\r\n\t\t\t\"user\": \"USER-20190913-0000008\",\r\n\t\t\t\"tmp_approver\": \"TMPAPR-20190913-0000003\"\r\n\t\t}\r\n\t],\r\n\t\r\n\t\"frm_stakes\": [{\r\n\t\t\t\"date_added\": \"2019-09-03 13:59:29.694560\",\r\n\t\t\t\"delegation\": \"Mandatory Stakeholder\",\r\n\t\t\t\"user\": \"USER-20190913-0000009\",\r\n\t\t\t\"tmp_stake\": \"TMPSTK-20190913-0000001\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"date_added\": \"2019-09-03 13:59:29.694560\",\r\n\t\t\t\"delegation\": \"Stake Approver\",\r\n\t\t\t\"user\": \"USER-20190913-0000008\",\r\n\t\t\t\"tmp_stake\": \"TMPSTK-20190913-0000002\"\r\n\t\t}\r\n\t],\r\n\t\r\n\t\"frm_attachments\": [{\r\n\t\t\t\"attachment_type\": \"Hello\",\r\n\t\t\t\"attachment_name\": \"heyu\",\r\n\t\t\t\"file_name\": \"Sample\",\r\n\t\t\t\"description\": \"Sameple Desc\",\r\n\t\t\t\"uploaded_by\": \"USER-20190913-0000006\",\r\n\t\t\t\"tmp_attach\": \"TMPATCH-20190913-0000001\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"attachment_type\": \"Hello\",\r\n\t\t\t\"attachment_name\": \"heyu\",\r\n\t\t\t\"file_name\": \"Sample\",\r\n\t\t\t\"description\": \"Sameple Desc\",\r\n\t\t\t\"uploaded_by\": \"USER-20190913-0000006\",\r\n\t\t\t\"tmp_attach\": \"TMPATCH-20190913-0000002\"\r\n\t\t}\r\n\t],\r\n\t\r\n\t\"frm_details\": [{\r\n\t\t\t\"field_idx\": \"Hello\",\r\n\t\t\t\"field_ref\": \"heyu\",\r\n\t\t\t\"field_val\": \"Sample\",\r\n\t\t\t\"field_props\": \"Sameple Desc\",\r\n\t\t\t\"tmp_detail\": \"TMPDETAIL-20190913-0000001\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"field_idx\": \"Hello\",\r\n\t\t\t\"field_ref\": \"heyu\",\r\n\t\t\t\"field_val\": \"Sample\",\r\n\t\t\t\"field_props\": \"Sameple Desc\",\r\n\t\t\t\"tmp_detail\": \"TMPDETAIL-20190913-0000002\"\r\n\t\t}\r\n\t]\r\n}"
},
"url": { "url": {
"raw": "http://localhost:8000/api/v1/change-request/form-attachments/", "raw": "http://localhost:8000/api/v1/change-request/form-post/",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
...@@ -1493,7 +1684,7 @@ ...@@ -1493,7 +1684,7 @@
"api", "api",
"v1", "v1",
"change-request", "change-request",
"form-attachments", "form-post",
"" ""
] ]
} }
...@@ -1501,26 +1692,16 @@ ...@@ -1501,26 +1692,16 @@
"response": [] "response": []
}, },
{ {
"name": "View Attachment", "name": "List of Forms",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": { "request": {
"method": "GET", "method": "GET",
"header": [ "header": [],
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "{\r\n \"attachment_type\": \"Mandatory Attached\",\r\n \"attachment_name\": \"Mandatory Stakeholder\",\r\n \"file_name\": \"USER-20190909-0000005\",\r\n \"description\": \"Sample Desc 1\",\r\n \"file_upload\": null,\r\n \"code\": \"FRMATCH-20190909-0000001\",\r\n \"uploaded_by\": \"USER-20190909-0000005\",\r\n \"form_code\": \"FRM-20190909-0000005\",\r\n \"tmp_attach\": \"TMPATCH-20190909-0000001\"\r\n}" "raw": ""
}, },
"url": { "url": {
"raw": "http://localhost:8000/api/v1/change-request/form-attachments/FRMATCH-20190909-0000001/", "raw": "http://localhost:8000/api/v1/change-request/form/",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
...@@ -1530,28 +1711,24 @@ ...@@ -1530,28 +1711,24 @@
"api", "api",
"v1", "v1",
"change-request", "change-request",
"form-attachments", "form",
"FRMATCH-20190909-0000001",
"" ""
] ]
} }
}, },
"response": [] "response": []
} },
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "CR Form Detail",
"item": [
{ {
"name": "List of Details", "name": "View Form",
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "http://localhost:8000/api/v1/change-request/form-details/", "raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190912-0000002/",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
...@@ -1561,7 +1738,8 @@ ...@@ -1561,7 +1738,8 @@
"api", "api",
"v1", "v1",
"change-request", "change-request",
"form-details", "form",
"FRM-20190912-0000002",
"" ""
] ]
} }
...@@ -1569,12 +1747,23 @@ ...@@ -1569,12 +1747,23 @@
"response": [] "response": []
}, },
{ {
"name": "View Detail", "name": "Edit Form",
"request": { "request": {
"method": "GET", "method": "PUT",
"header": [], "header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"requested_to_template_name\": \"Sample Templates\",\r\n \"requested_to_template_id\": \"Samp\",\r\n \"requested_to_objective\": \"hello objective\",\r\n \"requested_to_target_date\": \"2019-09-03T13:59:29.694560\",\r\n \"requested_to_priority\": \"High\",\r\n \"description\": \"sample description\",\r\n \"form_code\": \"FRM-20190909-0000006\",\r\n \"cancel_date\": null,\r\n \"status\": \"Pending\",\r\n \"company_desc\": \"Oneberry\",\r\n \"department_desc\": \"Oneberry Superuser\",\r\n \"requested_desc\": \"Super User\",\r\n \"old_form_code\": \"\",\r\n \"requested_to_company\": \"COMPANY-20190909-0000002\",\r\n \"requested_to_department\": \"DEPARTMENT-20190909-0000002\",\r\n \"requested_to_user\": \"USER-20190909-0000005\",\r\n \"requested_by_user\": \"USER-20190909-0000005\",\r\n \"requested_by_department\": \"admin\",\r\n \"template_no\": \"TMP-20190909-0000001\",\r\n \"action\": \"No\"\r\n}"
},
"url": { "url": {
"raw": "http://localhost:8000/api/v1/change-request/form-details/FRMDETAIL-20190909-0000001/", "raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190909-0000006/",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
...@@ -1584,52 +1773,46 @@ ...@@ -1584,52 +1773,46 @@
"api", "api",
"v1", "v1",
"change-request", "change-request",
"form-details", "form",
"FRMDETAIL-20190909-0000001", "FRM-20190909-0000006",
"" ""
] ]
} }
}, },
"response": [] "response": []
} },
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "CR Templates",
"item": [
{
"name": "CR Template Header",
"item": [
{ {
"name": "Template Header Post", "name": "Delete Form",
"request": { "request": {
"method": "POST", "auth": {
"header": [ "type": "bearer",
{ "bearer": [
"key": "Content-Type", {
"name": "Content-Type", "key": "token",
"value": "application/json", "value": "951574546a6d45af34dfef101840bba27f1ab574",
"type": "text" "type": "string"
} }
], ]
},
"method": "DELETE",
"header": [],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "{\r\n\t\"requested_to_template_name\": \"Security Project\",\r\n\t\"requested_to_template_id\": \"JTC\",\r\n\t\"requested_to_objective\": \"Sample Objective\",\r\n\t\"requested_to_target_date\": \"10\",\r\n\t\"requested_to_priority\": \"Normal\",\r\n\t\"description\": \"Lorem Ipsum\",\r\n\t\"created_by_department\": \"DEPARTMENT-20190923-0000002\",\r\n\t\"created_by_user\": \"USER-20190924-0000043\",\r\n\t\"requested_to_company\": \"COMPANY-20190923-0000001\",\r\n\t\"requested_to_department\": \"DEPARTMENT-20190923-0000001\",\r\n\t\"requested_to_user\": \"USER-20190925-0000045\",\r\n\t\r\n\t\"tmp_approvers\": [{\r\n\t\t\t\"level\": \"1\",\r\n\t\t\t\"delegation\": \"Head of Department\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"level\": \"2\",\r\n\t\t\t\"delegation\": \"Approver\",\r\n\t\t\t\"user\": \"USER-20190924-0000042\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"level\": \"3\",\r\n\t\t\t\"delegation\": \"SD/OD\",\r\n\t\t\t\"user\": \"USER-20190924-0000041\"\r\n\t\t}\r\n\t],\r\n\t\r\n\t\"tmp_stakes\": [{\r\n\t\t\t\"delegation\": \"Mandatory Stakeholder\",\r\n\t\t\t\"user\": \"USER-20190924-0000042\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"delegation\": \"Mandatory Stakeholder\",\r\n\t\t\t\"user\": \"USER-20190924-0000041\"\r\n\t\t}\r\n\t],\r\n\t\r\n\t\"tmp_attachments\": [{\r\n\t\t\t\"attachment_type\": \"Hello\",\r\n\t\t\t\"attachment_name\": \"Attachment 1\",\r\n\t\t\t\"file_name\": \"Sample Attachment 1\",\r\n\t\t\t\"file_upload\": null,\r\n\t\t\t\"description\": \"Sameple Description\",\r\n\t\t\t\"uploaded_by\": \"USER-20190924-0000043\"\r\n\t\t}\r\n\t],\r\n\t\r\n\t\"tmp_details\": [{\r\n\t\t\t\"field_idx\": \"Hello\",\r\n\t\t\t\"field_ref\": \"heyu\",\r\n\t\t\t\"field_val\": \"Sample\",\r\n\t\t\t\"field_props\": \"Sample Desc\"\r\n\t\t}\r\n\t]\r\n}" "raw": ""
}, },
"url": { "url": {
"raw": "{{baseurl}}/change-request/template-post/", "raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190909-0000006/",
"protocol": "http",
"host": [ "host": [
"{{baseurl}}" "localhost"
], ],
"port": "8000",
"path": [ "path": [
"api",
"v1",
"change-request", "change-request",
"template-post", "form",
"FRM-20190909-0000006",
"" ""
] ]
} }
...@@ -1637,18 +1820,28 @@ ...@@ -1637,18 +1820,28 @@
"response": [] "response": []
}, },
{ {
"name": "List of Templates", "name": "Re Route for Approval",
"request": { "request": {
"method": "GET", "method": "PATCH",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "{{baseurl}}/change-request/template/", "raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190913-0000002/re_route/",
"protocol": "http",
"host": [ "host": [
"{{baseurl}}" "localhost"
], ],
"port": "8000",
"path": [ "path": [
"api",
"v1",
"change-request", "change-request",
"template", "form",
"FRM-20190913-0000002",
"re_route",
"" ""
] ]
} }
...@@ -1656,19 +1849,28 @@ ...@@ -1656,19 +1849,28 @@
"response": [] "response": []
}, },
{ {
"name": "View Template", "name": "Resubmit",
"request": { "request": {
"method": "GET", "method": "PATCH",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "{{baseurl}}/change-request/template/TMP-20190925-0000002/", "raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190913-0000001/re_submit/",
"protocol": "http",
"host": [ "host": [
"{{baseurl}}" "localhost"
], ],
"port": "8000",
"path": [ "path": [
"api",
"v1",
"change-request", "change-request",
"template", "form",
"TMP-20190925-0000002", "FRM-20190913-0000001",
"re_submit",
"" ""
] ]
} }
...@@ -1676,7 +1878,7 @@ ...@@ -1676,7 +1878,7 @@
"response": [] "response": []
}, },
{ {
"name": "Edit Template", "name": "CR Action",
"request": { "request": {
"method": "PATCH", "method": "PATCH",
"header": [ "header": [
...@@ -1689,17 +1891,21 @@ ...@@ -1689,17 +1891,21 @@
], ],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "{\r\n \"requested_to_template_name\": \"Security Project\",\r\n \"requested_to_objective\": \"Sample Objective\",\r\n \"requested_to_target_date\": \"10\",\r\n \"requested_to_priority\": \"Normal\",\r\n \"description\": \"Lorem Ipsum\",\r\n \"requested_to_template_id\": \"JTC\",\r\n \"requested_to_company\": \"COMPANY-20190923-0000001\",\r\n \"requested_to_department\": \"DEPARTMENT-20190923-0000001\",\r\n \"requested_to_user\": \"USER-20190925-0000045\",\r\n \"created_by_user\": \"USER-20190924-0000043\",\r\n \"created_by_department\": \"DEPARTMENT-20190923-0000002\",\r\n \"tmp_approvers\": [\r\n {\r\n \"id\": 4,\r\n \"level\": \"1\",\r\n \"delegation\": \"Head of Department\",\r\n \"user\": null,\r\n \"template_no\": \"TMP-20190925-0000002\"\r\n },\r\n {\r\n \"id\": 5,\r\n \"level\": \"2\",\r\n \"delegation\": \"Approver\",\r\n \"user\": \"USER-20190924-0000042\",\r\n \"template_no\": \"TMP-20190925-0000002\"\r\n },\r\n {\r\n \"id\": 6,\r\n \"level\": \"3\",\r\n \"delegation\": \"SD/OD\",\r\n \"user\": \"USER-20190924-0000041\",\r\n \"template_no\": \"TMP-20190925-0000002\"\r\n }\r\n ],\r\n \"tmp_stakes\": [\r\n {\r\n \"id\": 1,\r\n \"delegation\": \"Mandatory Stakeholder\",\r\n \"user\": \"USER-20190924-0000042\",\r\n \"template_no\": \"TMP-20190925-0000002\"\r\n },\r\n {\r\n \"id\": 2,\r\n \"delegation\": \"Mandatory Stakeholder\",\r\n \"user\": \"USER-20190924-0000041\",\r\n \"template_no\": \"TMP-20190925-0000002\"\r\n }\r\n ],\r\n \"tmp_attachments\": [\r\n {\r\n \"id\": 1,\r\n \"attachment_type\": \"Hellos\",\r\n \"attachment_name\": \"Attachment 1\",\r\n \"file_name\": \"Sample Attachment 1\",\r\n \"description\": \"Sameple Description\",\r\n \"file_upload\": null,\r\n \"uploaded_by\": \"USER-20190924-0000043\",\r\n \"template_no\": \"TMP-20190925-0000002\"\r\n }\r\n ],\r\n \"tmp_details\": [\r\n {\r\n \"id\": 1,\r\n \"field_idx\": \"Hellos\",\r\n \"field_ref\": \"heyu\",\r\n \"field_val\": \"Sample\",\r\n \"field_props\": \"Sample Desc\",\r\n \"template_no\": \"TMP-20190925-0000002\"\r\n }\r\n ]\r\n}" "raw": "{\r\n \"id\": 1,\r\n \"user\": \"\",\r\n \"form_code\": \"\",\r\n \"delegation\": \"\",\r\n \"action\": \"Approved\",\r\n \"level\": \"\",\r\n \"remarks\": \"Approver\"\r\n}"
}, },
"url": { "url": {
"raw": "{{baseurl}}/change-request/template/TMP-20190925-0000002/", "raw": "http://localhost:8000/api/v1/change-request/form/actions/",
"protocol": "http",
"host": [ "host": [
"{{baseurl}}" "localhost"
], ],
"port": "8000",
"path": [ "path": [
"api",
"v1",
"change-request", "change-request",
"template", "form",
"TMP-20190925-0000002", "actions",
"" ""
] ]
} }
...@@ -1707,19 +1913,71 @@ ...@@ -1707,19 +1913,71 @@
"response": [] "response": []
}, },
{ {
"name": "Delete Template", "name": "Submit",
"request": { "request": {
"method": "DELETE", "method": "PATCH",
"header": [], "header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"id\": 1,\r\n \"created\": \"2019-09-10T17:21:10.794834\",\r\n \"remarks\": \"Approver\",\r\n \"action\": \"Approved\",\r\n \"date_sent\": \"2019-09-03T13:59:29.694560\",\r\n \"user\": \"USER-20190909-0000005\",\r\n \"form_code\": \"FRM-20190910-0000001\",\r\n \"tmp_approver\": \"TMPAPR-20190910-0000001\"\r\n}"
},
"url": { "url": {
"raw": "{{baseurl}}/change-request/template/TMP-20190925-0000002/", "raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190912-0000002/actions/",
"protocol": "http",
"host": [ "host": [
"{{baseurl}}" "localhost"
], ],
"port": "8000",
"path": [ "path": [
"api",
"v1",
"change-request", "change-request",
"template", "form",
"TMP-20190925-0000002", "FRM-20190912-0000002",
"actions",
""
]
}
},
"response": []
},
{
"name": "Save",
"request": {
"method": "PATCH",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"id\": 1,\r\n \"created\": \"2019-09-10T17:21:10.794834\",\r\n \"remarks\": \"Approver\",\r\n \"action\": \"Approved\",\r\n \"date_sent\": \"2019-09-03T13:59:29.694560\",\r\n \"user\": \"USER-20190909-0000005\",\r\n \"form_code\": \"FRM-20190910-0000001\",\r\n \"tmp_approver\": \"TMPAPR-20190910-0000001\"\r\n}"
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190912-0000002/actions/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form",
"FRM-20190912-0000002",
"actions",
"" ""
] ]
} }
...@@ -1727,19 +1985,22 @@ ...@@ -1727,19 +1985,22 @@
"response": [] "response": []
} }
], ],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true "_postman_isSubFolder": true
}, },
{ {
"name": "CR Template Approver", "name": "CR Form Approver",
"item": [ "item": [
{ {
"name": "List of Approvers", "name": "List of Approvers",
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "http://localhost:8000/api/v1/change-request/template-approvers/", "raw": "http://localhost:8000/api/v1/change-request/form-approvers/",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
...@@ -1749,7 +2010,7 @@ ...@@ -1749,7 +2010,7 @@
"api", "api",
"v1", "v1",
"change-request", "change-request",
"template-approvers", "form-approvers",
"" ""
] ]
} }
...@@ -1761,8 +2022,12 @@ ...@@ -1761,8 +2022,12 @@
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "http://localhost:8000/api/v1/change-request/template-approvers/TMPAPR-20190924-0000015/", "raw": "http://localhost:8000/api/v1/change-request/form-approvers/TMPAPR-20190909-0000001/",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
...@@ -1772,8 +2037,8 @@ ...@@ -1772,8 +2037,8 @@
"api", "api",
"v1", "v1",
"change-request", "change-request",
"template-approvers", "form-approvers",
"TMPAPR-20190924-0000015", "TMPAPR-20190909-0000001",
"" ""
] ]
} }
...@@ -1781,19 +2046,22 @@ ...@@ -1781,19 +2046,22 @@
"response": [] "response": []
} }
], ],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true "_postman_isSubFolder": true
}, },
{ {
"name": "CR Template Stakeholder", "name": "CR Form Stakeholder",
"item": [ "item": [
{ {
"name": "List of Stakeholders", "name": "List of Stakeholders",
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "http://localhost:8000/api/v1/change-request/template-stakeholders/", "raw": "http://localhost:8000/api/v1/change-request/form-stakeholders/",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
...@@ -1803,7 +2071,7 @@ ...@@ -1803,7 +2071,7 @@
"api", "api",
"v1", "v1",
"change-request", "change-request",
"template-stakeholders", "form-stakeholders",
"" ""
] ]
} }
...@@ -1815,8 +2083,12 @@ ...@@ -1815,8 +2083,12 @@
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "http://localhost:8000/api/v1/change-request/template-stakeholders/TMPSTK-20190909-0000001/", "raw": "http://localhost:8000/api/v1/change-request/form-stakeholders/TMPSTK-20190909-0000001/",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
...@@ -1826,7 +2098,7 @@ ...@@ -1826,7 +2098,7 @@
"api", "api",
"v1", "v1",
"change-request", "change-request",
"template-stakeholders", "form-stakeholders",
"TMPSTK-20190909-0000001", "TMPSTK-20190909-0000001",
"" ""
] ]
...@@ -1835,19 +2107,22 @@ ...@@ -1835,19 +2107,22 @@
"response": [] "response": []
} }
], ],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true "_postman_isSubFolder": true
}, },
{ {
"name": "CR Template Attachment", "name": "CR Form Attachment",
"item": [ "item": [
{ {
"name": "List of Attachments", "name": "List of Attachments",
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "http://localhost:8000/api/v1/change-request/template-attachments/", "raw": "http://localhost:8000/api/v1/change-request/form-attachments/",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
...@@ -1857,7 +2132,7 @@ ...@@ -1857,7 +2132,7 @@
"api", "api",
"v1", "v1",
"change-request", "change-request",
"template-attachments", "form-attachments",
"" ""
] ]
} }
...@@ -1866,11 +2141,25 @@ ...@@ -1866,11 +2141,25 @@
}, },
{ {
"name": "View Attachment", "name": "View Attachment",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"attachment_type\": \"Mandatory Attached\",\r\n \"attachment_name\": \"Mandatory Stakeholder\",\r\n \"file_name\": \"USER-20190909-0000005\",\r\n \"description\": \"Sample Desc 1\",\r\n \"file_upload\": null,\r\n \"code\": \"FRMATCH-20190909-0000001\",\r\n \"uploaded_by\": \"USER-20190909-0000005\",\r\n \"form_code\": \"FRM-20190909-0000005\",\r\n \"tmp_attach\": \"TMPATCH-20190909-0000001\"\r\n}"
},
"url": { "url": {
"raw": "http://localhost:8000/api/v1/change-request/template-attachments/TMPATCH-20190909-0000001/", "raw": "http://localhost:8000/api/v1/change-request/form-attachments/FRMATCH-20190909-0000001/",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
...@@ -1880,8 +2169,8 @@ ...@@ -1880,8 +2169,8 @@
"api", "api",
"v1", "v1",
"change-request", "change-request",
"template-attachments", "form-attachments",
"TMPATCH-20190909-0000001", "FRMATCH-20190909-0000001",
"" ""
] ]
} }
...@@ -1889,19 +2178,22 @@ ...@@ -1889,19 +2178,22 @@
"response": [] "response": []
} }
], ],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true "_postman_isSubFolder": true
}, },
{ {
"name": "CR Template Detail", "name": "CR Form Detail",
"item": [ "item": [
{ {
"name": "List of Details", "name": "List of Details",
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "http://localhost:8000/api/v1/change-request/template-details/", "raw": "http://localhost:8000/api/v1/change-request/form-details/",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
...@@ -1911,7 +2203,7 @@ ...@@ -1911,7 +2203,7 @@
"api", "api",
"v1", "v1",
"change-request", "change-request",
"template-details", "form-details",
"" ""
] ]
} }
...@@ -1923,8 +2215,12 @@ ...@@ -1923,8 +2215,12 @@
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "http://localhost:8000/api/v1/change-request/template-details/TMPDETAIL-20190909-0000001/", "raw": "http://localhost:8000/api/v1/change-request/form-details/FRMDETAIL-20190909-0000001/",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
...@@ -1934,8 +2230,8 @@ ...@@ -1934,8 +2230,8 @@
"api", "api",
"v1", "v1",
"change-request", "change-request",
"template-details", "form-details",
"TMPDETAIL-20190909-0000001", "FRMDETAIL-20190909-0000001",
"" ""
] ]
} }
...@@ -1943,11 +2239,9 @@ ...@@ -1943,11 +2239,9 @@
"response": [] "response": []
} }
], ],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true "_postman_isSubFolder": true
} }
], ],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true "_postman_isSubFolder": true
}, },
{ {
...@@ -1958,6 +2252,10 @@ ...@@ -1958,6 +2252,10 @@
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "{{baseurl}}/change-request/allowed-companies/", "raw": "{{baseurl}}/change-request/allowed-companies/",
"host": [ "host": [
...@@ -2003,17 +2301,20 @@ ...@@ -2003,17 +2301,20 @@
"response": [] "response": []
} }
], ],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true "_postman_isSubFolder": true
}, },
{ {
"name": "Master", "name": "Filter by Allowed Company",
"item": [ "item": [
{ {
"name": "List of Company", "name": "List of Company",
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "{{baseurl}}/change-request/companies/", "raw": "{{baseurl}}/change-request/companies/",
"host": [ "host": [
...@@ -2033,6 +2334,10 @@ ...@@ -2033,6 +2334,10 @@
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "{{baseurl}}/change-request/departments/?company_code=COMPANY-20190917-0000001", "raw": "{{baseurl}}/change-request/departments/?company_code=COMPANY-20190917-0000001",
"host": [ "host": [
...@@ -2058,8 +2363,12 @@ ...@@ -2058,8 +2363,12 @@
"request": { "request": {
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": { "url": {
"raw": "{{baseurl}}/change-request/user-list/?department_code=DEPARTMENT-20190917-0000001&company_code=COMPANY-20190917-0000001", "raw": "{{baseurl}}/change-request/user-list/?department_code=DEPARTMENT-20190923-0000001&company_code=COMPANY-20190923-0000001",
"host": [ "host": [
"{{baseurl}}" "{{baseurl}}"
], ],
...@@ -2071,11 +2380,11 @@ ...@@ -2071,11 +2380,11 @@
"query": [ "query": [
{ {
"key": "department_code", "key": "department_code",
"value": "DEPARTMENT-20190917-0000001" "value": "DEPARTMENT-20190923-0000001"
}, },
{ {
"key": "company_code", "key": "company_code",
"value": "COMPANY-20190917-0000001" "value": "COMPANY-20190923-0000001"
} }
] ]
} }
...@@ -2083,11 +2392,9 @@ ...@@ -2083,11 +2392,9 @@
"response": [] "response": []
} }
], ],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true "_postman_isSubFolder": true
} }
], ]
"protocolProfileBehavior": {}
}, },
{ {
"name": "Notifications", "name": "Notifications",
...@@ -2282,8 +2589,7 @@ ...@@ -2282,8 +2589,7 @@
}, },
"response": [] "response": []
} }
], ]
"protocolProfileBehavior": {}
} }
], ],
"auth": { "auth": {
...@@ -2291,7 +2597,7 @@ ...@@ -2291,7 +2597,7 @@
"bearer": [ "bearer": [
{ {
"key": "token", "key": "token",
"value": "ba9a275c67036d872f5cfd6862488fc115569fd3", "value": "84b7b325abedd50a537f78504ab2ff93dfe2d61b",
"type": "string" "type": "string"
} }
] ]
...@@ -2317,6 +2623,5 @@ ...@@ -2317,6 +2623,5 @@
] ]
} }
} }
], ]
"protocolProfileBehavior": {}
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment