Commit f0c89196 authored by Gladys Forte's avatar Gladys Forte

postman

parent 16dd9e7f
......@@ -32,11 +32,11 @@ def list_by_user(user_id_number):
).values('group_pivots')
return_queryset = models.ChangeRequestFormHeader.objects.filter(
Q(is_active=True) |
Q(frm_approvers__user__code=user_id_number) |
Q(frm_stakes__user__code=user_id_number) |
Q(requested_by_user=user_id_number) |
Q(requested_to_department__in=priviledgeCrs)
Q(requested_to_department__in=priviledgeCrs) |
Q(is_active=True)
).exclude(
Q(status__icontains='Draft') &
~Q(requested_by_user=user_id_number)
......@@ -59,6 +59,7 @@ def list_by_user_archived(user_id_number):
).values('group_pivots')
return_queryset = models.ChangeRequestFormHeader.objects.filter(
Q(is_active=False) |
Q(frm_approvers__user__code=user_id_number) |
Q(frm_stakes__user__code=user_id_number) |
Q(requested_by_user=user_id_number) |
......@@ -85,8 +86,7 @@ def list_by_user_without_dept(user_id_number):
Q(requested_by_user=user_id_number)
).exclude(
Q(status__icontains='Draft') &
~Q(requested_by_user=user_id_number) |
Q(status__icontains='Archived')
~Q(requested_by_user=user_id_number)
).distinct()
return return_queryset
......
{
"info": {
"_postman_id": "733e6f05-1f26-4ab8-bcfb-a379c0263a73",
"name": "RMSv2 copy",
"_postman_id": "30240930-2f51-45d9-8cfe-5cb4a6e29069",
"name": "RMSv2",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
......@@ -16,10 +16,6 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/master/companies/",
"host": [
......@@ -44,13 +40,13 @@
"formdata": [
{
"key": "url",
"type": "file",
"src": ""
"value": "",
"type": "file"
},
{
"key": "url",
"type": "file",
"src": ""
"value": "",
"type": "file"
}
]
},
......@@ -81,13 +77,13 @@
"formdata": [
{
"key": "url",
"type": "file",
"src": ""
"value": "",
"type": "file"
},
{
"key": "url",
"type": "file",
"src": ""
"value": "",
"type": "file"
}
]
},
......@@ -110,10 +106,6 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/master/departments/",
"host": [
......@@ -133,10 +125,6 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/master/user-types/",
"host": [
......@@ -156,10 +144,6 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/master/users/",
"host": [
......@@ -175,6 +159,7 @@
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
......@@ -188,10 +173,6 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/management/applications/",
"host": [
......@@ -211,10 +192,6 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/management/applications/APP-20190917-0000001/",
"host": [
......@@ -323,6 +300,7 @@
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
......@@ -333,10 +311,6 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/management/companies/",
"host": [
......@@ -356,10 +330,6 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/management/companies/COMPANY-20190909-0000001/",
"host": [
......@@ -468,6 +438,7 @@
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
......@@ -478,10 +449,6 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/management/departments/",
"host": [
......@@ -501,10 +468,6 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/management/departments/DEPARTMENT-20190919-0000001/",
"host": [
......@@ -613,6 +576,7 @@
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
......@@ -623,10 +587,6 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/management/modules/?page=2",
"host": [
......@@ -652,10 +612,6 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/management/modules/MODULE-20190919-0000007/",
"host": [
......@@ -768,6 +724,7 @@
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
......@@ -778,10 +735,6 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/management/users/",
"host": [
......@@ -801,10 +754,6 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/management/users/USER-20190919-0000028/",
"host": [
......@@ -991,8 +940,8 @@
"formdata": [
{
"key": "image",
"type": "file",
"src": ""
"value": "",
"type": "file"
},
{
"key": "name",
......@@ -1087,9 +1036,11 @@
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
......@@ -1100,10 +1051,6 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/auth/current-user/",
"host": [
......@@ -1268,43 +1215,49 @@
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
}
]
],
"protocolProfileBehavior": {}
},
{
"name": "Change Request",
"item": [
{
"name": "CR Templates",
"name": "CR Forms",
"item": [
{
"name": "CR Template Header",
"name": "Dashboard",
"item": [
{
"name": "Template Header Post",
"name": "Form Dashboard",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "POST",
"method": "GET",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
"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\": \"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\"file_upload\": \"1\",\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\"file_upload\": \"2\",\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}"
"raw": ""
},
"url": {
"raw": "{{baseurl}}/change-request/template-post/",
"raw": "{{baseurl}}/change-request/form/dashboard/",
"host": [
"{{baseurl}}"
],
"path": [
"change-request",
"template-post",
"form",
"dashboard",
""
]
}
......@@ -1312,77 +1265,151 @@
"response": []
},
{
"name": "List of Templates",
"name": "Form Dashboard Copy",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [],
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/change-request/template/",
"raw": "http://devapi.rmsv2.oneberrysystem.com/api/v1/change-request/form/dashboard/?date_required_from=2019-09-01&date_required_to=2019-09-02&date_modified_from=2019-09-04&date_modified_to=2019-09-05&company_requested_to=COMPANY-20190923-0000001&department_requested_to=DEPARTMENT-20190923-0000002&form_type=closed",
"protocol": "http",
"host": [
"{{baseurl}}"
"devapi",
"rmsv2",
"oneberrysystem",
"com"
],
"path": [
"api",
"v1",
"change-request",
"template",
"form",
"dashboard",
""
],
"query": [
{
"key": "date_required_from",
"value": "2019-09-01"
},
{
"key": "date_required_to",
"value": "2019-09-02"
},
{
"key": "date_modified_from",
"value": "2019-09-04"
},
{
"key": "date_modified_to",
"value": "2019-09-05"
},
{
"key": "company_requested_to",
"value": "COMPANY-20190923-0000001"
},
{
"key": "department_requested_to",
"value": "DEPARTMENT-20190923-0000002"
},
{
"key": "form_type",
"value": "closed"
}
]
}
},
"response": []
},
{
"name": "View Template",
"name": "Form Status",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [],
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/change-request/template/TMP-20190927-0000001/",
"raw": "{{baseurl}}/change-request/form/status/?status=pending&ordering=created&page_size=1",
"host": [
"{{baseurl}}"
],
"path": [
"change-request",
"template",
"TMP-20190927-0000001",
"form",
"status",
""
],
"query": [
{
"key": "status",
"value": "pending"
},
{
"key": "ordering",
"value": "created"
},
{
"key": "page_size",
"value": "1"
}
]
}
},
"response": []
},
{
"name": "Edit Template",
"name": "Form Overdue",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "PATCH",
"method": "GET",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
"type": "text",
"value": "application/json"
}
],
"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}"
"raw": ""
},
"url": {
"raw": "{{baseurl}}/change-request/template/TMP-20190911-0000001/",
"raw": "{{baseurl}}/change-request/form/overdue/",
"host": [
"{{baseurl}}"
],
"path": [
"change-request",
"template",
"TMP-20190911-0000001",
"form",
"overdue",
""
]
}
......@@ -1390,23 +1417,33 @@
"response": []
},
{
"name": "Archive Template",
"name": "Form Awaiting",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "PATCH",
"header": [],
"method": "GET",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/change-request/template/archived/",
"raw": "{{baseurl}}/change-request/form/awaiting/",
"host": [
"{{baseurl}}"
],
"path": [
"change-request",
"template",
"archived",
"form",
"awaiting",
""
]
}
......@@ -1414,80 +1451,115 @@
"response": []
},
{
"name": "Retrieve Template",
"name": "Form History",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "PATCH",
"header": [],
"auth": {
"type": "oauth2",
"oauth2": [
{
"key": "accessToken",
"value": "cJeBxXT2KVtu7yPUQ5HlESDqTmss8G6m",
"type": "string"
},
{
"key": "tokenType",
"type": "any"
},
{
"key": "addTokenTo",
"value": "header",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/change-request/template/TMP-20190909-0000002/",
"raw": "{{baseurl}}/change-request-service/form/FRM-20190823-0000002/history/?page=2",
"host": [
"{{baseurl}}"
],
"path": [
"change-request",
"template",
"TMP-20190909-0000002",
"change-request-service",
"form",
"FRM-20190823-0000002",
"history",
""
],
"query": [
{
"key": "page",
"value": "2"
}
]
}
},
"response": []
},
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "CR Form Header",
"item": [
{
"name": "Delete Template",
"name": "Create Form Header",
"request": {
"method": "DELETE",
"header": [],
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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 \"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\": \"werwer\",\r\n \"requested_to_company\": \"COMPANY-20190923-0000001\",\r\n \"requested_to_department\": \"DEPARTMENT-20190923-0000002\",\r\n \"requested_to_user\": \"USER-20190923-0000010\",\r\n \"requested_by_user\": \"USER-20190923-0000010\",\r\n \"requested_by_department\": \"DEPARTMENT-20190923-0000002\",\r\n \"template_no\": \"TMP-20190930-0000016\",\r\n \"frm_approvers\": [\r\n {\r\n \"level\": 1,\r\n \"delegation\": \"Approver\",\r\n \"code\": \"FRMAPR-20190928-0000015\",\r\n \"remarks\": null,\r\n \"action\": null,\r\n \"action_date\": null,\r\n \"date_sent\": null,\r\n \"user\": \"USER-20190923-0000010\",\r\n \"form_code\": \"FRM-20190928-0000003\",\r\n \"tmp_approver\": null\r\n }\r\n ],\r\n \"frm_stakes\": [\r\n {\r\n \"delegation\": \"Mandatory Stakeholder\",\r\n \"created\": \"2019-09-28T12:35:03.866080\",\r\n \"code\": \"FRMSTK-20190928-0000003\",\r\n \"date_added\": null,\r\n \"user\": \"USER-20190923-0000010\",\r\n \"tmp_stake\": null\r\n }\r\n ],\r\n \"frm_attachments\": [\r\n ],\r\n \"frm_details\": [\r\n {\r\n \"field_idx\": \"2\",\r\n \"field_ref\": \"SHRQSTN-8mf1mtpahnjk13d3jia\",\r\n \"field_val\": \"\\\"\\\"\",\r\n \"field_props\": \"{\\\"id\\\":\\\"5d28715801c3f9e2d74e61e71\\\",\\\"code\\\":\\\"SHRQSTN\\\",\\\"name\\\":\\\"Short Answer\\\",\\\"description\\\":\\\"Text Field\\\",\\\"kvps\\\":[{\\\"code\\\":\\\"QSTN1\\\",\\\"hint\\\":\\\"Ask short question here.\\\",\\\"type\\\":\\\"String\\\",\\\"name\\\":\\\"Enter one here\\\",\\\"value\\\":\\\"\\\",\\\"items\\\":[]},{\\\"code\\\":\\\"REQUIRED\\\",\\\"hint\\\":\\\"Required\\\",\\\"type\\\":\\\"Boolean\\\",\\\"name\\\":true,\\\"value\\\":\\\"\\\",\\\"items\\\":[]}],\\\"template\\\":\\\"\\\\n <span class=\\\\\\\"subtitle-1\\\\\\\">Enter one here</span>\\\\n <input-field\\\\n :value=\\\\\\\"value\\\\\\\"\\\\n @input=\\\\\\\"(e) => { $emit('input', e) }\\\\\\\"\\\\n :max_text = \\\\\\\"'80'\\\\\\\"\\\\n :type=\\\\\\\"'String'\\\\\\\"\\\\n :required=\\\\\\\"true\\\\\\\"\\\\n />\\\\n \\\"}\",\r\n \"created\": \"2019-09-28T17:38:53.441175\",\r\n \"code\": \"TMPDETAIL-20190928-0000006\",\r\n \"template_no\": \"TMP-20190928-0000008\"\r\n },\r\n {\r\n \"field_idx\": \"3\",\r\n \"field_ref\": \"SHRQSTN-1l3zgkkoszahk13d4ag0\",\r\n \"field_val\": \"\\\"\\\"\",\r\n \"field_props\": \"{\\\"id\\\":\\\"5d28715801c3f9e2d74e61e71\\\",\\\"code\\\":\\\"SHRQSTN\\\",\\\"name\\\":\\\"Short Answer\\\",\\\"description\\\":\\\"Text Field\\\",\\\"kvps\\\":[{\\\"code\\\":\\\"QSTN1\\\",\\\"hint\\\":\\\"Ask short question here.\\\",\\\"type\\\":\\\"String\\\",\\\"name\\\":\\\"Enter two here\\\",\\\"value\\\":\\\"\\\",\\\"items\\\":[]},{\\\"code\\\":\\\"REQUIRED\\\",\\\"hint\\\":\\\"Required\\\",\\\"type\\\":\\\"Boolean\\\",\\\"name\\\":false,\\\"value\\\":\\\"\\\",\\\"items\\\":[]}],\\\"template\\\":\\\"\\\\n <span class=\\\\\\\"subtitle-1\\\\\\\">Enter two here</span>\\\\n <input-field\\\\n :value=\\\\\\\"value\\\\\\\"\\\\n @input=\\\\\\\"(e) => { $emit('input', e) }\\\\\\\"\\\\n :max_text = \\\\\\\"'80'\\\\\\\"\\\\n :type=\\\\\\\"'String'\\\\\\\"\\\\n :required=\\\\\\\"false\\\\\\\"\\\\n />\\\\n \\\"}\",\r\n \"created\": \"2019-09-28T17:38:53.443366\",\r\n \"code\": \"TMPDETAIL-20190928-0000007\",\r\n \"template_no\": \"TMP-20190928-0000008\"\r\n }\r\n ]\r\n}"
},
"url": {
"raw": "{{baseurl}}/change-request/template/TMP-20190916-0000003/",
"raw": "{{baseurl}}/change-request/form-post/",
"host": [
"{{baseurl}}"
],
"path": [
"change-request",
"template",
"TMP-20190916-0000003",
"form-post",
""
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "CR Template Approver",
"item": [
},
{
"name": "List of Approvers",
"name": "List of Forms",
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/template-approvers/",
"protocol": "http",
"raw": "{{baseurl}}/change-request/form/",
"host": [
"localhost"
"{{baseurl}}"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"template-approvers",
"form",
""
]
}
......@@ -1495,52 +1567,97 @@
"response": []
},
{
"name": "View Approver",
"name": "View Form",
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/change-request/template-approvers/TMPAPR-20190911-0000001/",
"raw": "{{baseurl}}/change-request/form/FRM-20190930-0000031/",
"host": [
"{{baseurl}}"
],
"path": [
"change-request",
"template-approvers",
"TMPAPR-20190911-0000001",
"form",
"FRM-20190930-0000031",
""
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "CR Template Stakeholder",
"item": [
},
{
"name": "List of Stakeholders",
"name": "Re Route for Approval",
"request": {
"method": "GET",
"method": "PATCH",
"header": [],
"url": {
"raw": "{{baseurl}}/change-request/form/FRM-20190930-0000035/re_route/",
"host": [
"{{baseurl}}"
],
"path": [
"change-request",
"form",
"FRM-20190930-0000035",
"re_route",
""
]
}
},
"response": []
},
{
"name": "Resubmit",
"request": {
"method": "PATCH",
"header": [],
"url": {
"raw": "{{baseurl}}/change-request/form/FRM-20190930-0000035/re_submit/",
"host": [
"{{baseurl}}"
],
"path": [
"change-request",
"form",
"FRM-20190930-0000035",
"re_submit",
""
]
}
},
"response": []
},
{
"name": "CR Action",
"request": {
"method": "PATCH",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/x-www-form-urlencoded",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
"raw": "{\r\n \"id\": 116,\r\n \"form_code\": \"FRM-20191001-0000042\",\r\n \"delegation\": \"Head of Department\",\r\n \"action\": \"rejected\",\r\n \"level\": \"1\",\r\n \"remarks\": \"due to lack of docu\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseurl}}/change-request/template-stakeholders/",
"raw": "{{baseurl}}/change-request/form/actions/",
"host": [
"{{baseurl}}"
],
"path": [
"change-request",
"template-stakeholders",
"form",
"actions",
""
]
}
......@@ -1548,56 +1665,73 @@
"response": []
},
{
"name": "View Stakeholder",
"name": "Submit",
"request": {
"method": "GET",
"header": [],
"method": "PATCH",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"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 \"company_desc\": \"Oneberry\",\r\n \"department_desc\": \"Oneberry Superuser\",\r\n \"requested_desc\": \"Super User\",\r\n \"requested_to_template_id\": \"JTC\",\r\n \"requested_to_company\": \"COMPANY-20190923-0000002\",\r\n \"requested_to_department\": \"DEPARTMENT-20190923-0000002\",\r\n \"requested_to_user\": \"USER-20190923-0000001\",\r\n \"requested_by_user\": \"USER-20190923-0000001\",\r\n \"requested_by_department\": \"DEPARTMENT-20190923-0000002\",\r\n \"template_no\": \"TMP-20190928-0000006\",\r\n \"frm_approvers\": [\r\n {\r\n \"id\": 1,\r\n \"level\": \"1\",\r\n \"delegation\": \"HOD\",\r\n \"created\": \"2019-09-27T16:33:40.650391\",\r\n \"code\": \"FRMAPR-20190927-0000001\",\r\n \"remarks\": null,\r\n \"action\": null,\r\n \"action_date\": null,\r\n \"date_sent\": null,\r\n \"user\": \"USER-20190923-0000001\",\r\n \"form_code\": \"FRM-20190927-0000001\",\r\n \"tmp_approver\": null\r\n },\r\n {\r\n \"id\": 2,\r\n \"level\": \"2\",\r\n \"delegation\": \"Approver\",\r\n \"created\": \"2019-09-27T16:33:40.698423\",\r\n \"code\": \"FRMAPR-20190927-0000002\",\r\n \"remarks\": null,\r\n \"action\": null,\r\n \"action_date\": null,\r\n \"date_sent\": null,\r\n \"user\": \"USER-20190923-0000001\",\r\n \"form_code\": \"FRM-20190927-0000001\",\r\n \"tmp_approver\": null\r\n }\r\n ],\r\n \"frm_stakes\": [\r\n {\r\n \"id\": 1,\r\n \"delegation\": \"Mandatory Stakeholder\",\r\n \"created\": \"2019-09-27T16:33:40.712421\",\r\n \"code\": \"FRMSTK-20190927-0000001\",\r\n \"date_added\": null,\r\n \"user\": \"USER-20190923-0000001\",\r\n \"form_code\": \"FRM-20190927-0000001\",\r\n \"tmp_stake\": null\r\n }\r\n ],\r\n \"frm_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 \"created\": \"2019-09-27T16:33:40.720390\",\r\n \"code\": \"FRMATCH-20190927-0000001\",\r\n \"uploaded_by\": \"USER-20190923-0000001\",\r\n \"form_code\": \"FRM-20190927-0000001\",\r\n \"file_upload\": null,\r\n \"tmp_attach\": null\r\n }\r\n ],\r\n \"frm_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-27T16:33:40.765389\",\r\n \"code\": \"FRMDETAIL-20190927-0000001\",\r\n \"form_code\": \"FRM-20190927-0000001\",\r\n \"tmp_detail\": null\r\n }\r\n ]\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseurl}}/change-request/template-stakeholders/TMPSTK-20190909-0000001/",
"raw": "{{baseurl}}/change-request/form/FRM-20190928-0000002/submit/",
"host": [
"{{baseurl}}"
],
"path": [
"change-request",
"template-stakeholders",
"TMPSTK-20190909-0000001",
"form",
"FRM-20190928-0000002",
"submit",
""
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "CR Template Attachment",
"item": [
},
{
"name": "List of Attachments",
"name": "Save",
"request": {
"method": "GET",
"header": [],
"method": "PATCH",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"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 \"company_desc\": \"Oneberry\",\r\n \"department_desc\": \"Oneberry Superuser\",\r\n \"requested_desc\": \"Super User\",\r\n \"requested_to_template_id\": \"JTC\",\r\n \"requested_to_company\": \"COMPANY-20190923-0000002\",\r\n \"requested_to_department\": \"DEPARTMENT-20190923-0000002\",\r\n \"requested_to_user\": \"USER-20190923-0000001\",\r\n \"requested_by_user\": \"USER-20190923-0000001\",\r\n \"requested_by_department\": \"DEPARTMENT-20190923-0000002\",\r\n \"template_no\": \"TMP-20190927-0000001\",\r\n \"frm_approvers\": [\r\n {\r\n \"id\": 1,\r\n \"level\": \"1\",\r\n \"delegation\": \"HOD\",\r\n \"created\": \"2019-09-27T16:33:40.650391\",\r\n \"code\": \"FRMAPR-20190927-0000001\",\r\n \"remarks\": null,\r\n \"action\": null,\r\n \"action_date\": null,\r\n \"date_sent\": null,\r\n \"user\": \"USER-20190923-0000001\",\r\n \"form_code\": \"FRM-20190927-0000001\",\r\n \"tmp_approver\": null\r\n },\r\n {\r\n \"id\": 2,\r\n \"level\": \"2\",\r\n \"delegation\": \"Approver\",\r\n \"created\": \"2019-09-27T16:33:40.698423\",\r\n \"code\": \"FRMAPR-20190927-0000002\",\r\n \"remarks\": null,\r\n \"action\": null,\r\n \"action_date\": null,\r\n \"date_sent\": null,\r\n \"user\": \"USER-20190923-0000001\",\r\n \"form_code\": \"FRM-20190927-0000001\",\r\n \"tmp_approver\": null\r\n }\r\n ],\r\n \"frm_stakes\": [\r\n {\r\n \"id\": 1,\r\n \"delegation\": \"Mandatory Stakeholder\",\r\n \"created\": \"2019-09-27T16:33:40.712421\",\r\n \"code\": \"FRMSTK-20190927-0000001\",\r\n \"date_added\": null,\r\n \"user\": \"USER-20190923-0000001\",\r\n \"form_code\": \"FRM-20190927-0000001\",\r\n \"tmp_stake\": null\r\n }\r\n ],\r\n \"frm_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 \"created\": \"2019-09-27T16:33:40.720390\",\r\n \"code\": \"FRMATCH-20190927-0000001\",\r\n \"uploaded_by\": \"USER-20190923-0000001\",\r\n \"form_code\": \"FRM-20190927-0000001\",\r\n \"file_upload\": null,\r\n \"tmp_attach\": null\r\n }\r\n ],\r\n \"frm_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-27T16:33:40.765389\",\r\n \"code\": \"FRMDETAIL-20190927-0000001\",\r\n \"form_code\": \"FRM-20190927-0000001\",\r\n \"tmp_detail\": null\r\n }\r\n ]\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/template-attachments/",
"protocol": "http",
"raw": "{{baseurl}}/change-request/form/FRM-20190927-0000001/save/",
"host": [
"localhost"
"{{baseurl}}"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"template-attachments",
"form",
"FRM-20190927-0000001",
"save",
""
]
}
......@@ -1605,27 +1739,85 @@
"response": []
},
{
"name": "View Attachment",
"name": "Delete Form",
"request": {
"method": "GET",
"header": [],
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
"raw": "",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/template-attachments/TMPATCH-20190909-0000001/",
"protocol": "http",
"raw": "{{baseurl}}/change-request/form/FRM-20191002-0000037/",
"host": [
"localhost"
"{{baseurl}}"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"template-attachments",
"TMPATCH-20190909-0000001",
"form",
"FRM-20191002-0000037",
""
]
}
},
"response": []
},
{
"name": "Archived List",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseurl}}/change-request/form/archived/",
"host": [
"{{baseurl}}"
],
"path": [
"change-request",
"form",
"archived",
""
]
}
},
"response": []
},
{
"name": "Restore Archive",
"request": {
"method": "PATCH",
"header": [],
"url": {
"raw": ""
}
},
"response": []
},
{
"name": "Download",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseurl}}/change-request/form-download/",
"host": [
"{{baseurl}}"
],
"path": [
"change-request",
"form-download",
""
]
}
......@@ -1633,32 +1825,25 @@
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "CR Template Detail",
"name": "CR Form Approver",
"item": [
{
"name": "List of Details",
"name": "List of Approvers",
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/template-details/",
"protocol": "http",
"raw": "{{baseurl}}/change-request/form-approvers/",
"host": [
"localhost"
"{{baseurl}}"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"template-details",
"form-approvers",
""
]
}
......@@ -1666,27 +1851,19 @@
"response": []
},
{
"name": "View Detail",
"name": "View Approver",
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/template-details/TMPDETAIL-20190909-0000001/",
"protocol": "http",
"raw": "{{baseurl}}/change-request/form-approvers/FRMAPR-20190927-0000001/",
"host": [
"localhost"
"{{baseurl}}"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"template-details",
"TMPDETAIL-20190909-0000001",
"form-approvers",
"FRMAPR-20190927-0000001",
""
]
}
......@@ -1694,45 +1871,25 @@
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
}
],
"_postman_isSubFolder": true
},
{
"name": "CR Forms",
"item": [
},
{
"name": "CR Form Header",
"name": "CR Form Stakeholder",
"item": [
{
"name": "Create Form Header",
"name": "List of Stakeholders",
"request": {
"method": "POST",
"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}"
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form-post/",
"protocol": "http",
"raw": "{{baseurl}}/change-request/form-stakeholders/",
"host": [
"localhost"
"{{baseurl}}"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form-post",
"form-stakeholders",
""
]
}
......@@ -1740,46 +1897,45 @@
"response": []
},
{
"name": "List of Forms",
"name": "View Stakeholder",
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/change-request/form/",
"raw": "{{baseurl}}/change-request/form-stakeholders/TMPSTK-20190909-0000001/",
"host": [
"{{baseurl}}"
],
"path": [
"change-request",
"form",
"form-stakeholders",
"TMPSTK-20190909-0000001",
""
]
}
},
"response": []
},
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "CR Form Attachment",
"item": [
{
"name": "View Form",
"name": "List of Attachments",
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/change-request/form/FRM-20190912-0000002/",
"raw": "{{baseurl}}/change-request/form-attachments/",
"host": [
"{{baseurl}}"
],
"path": [
"change-request",
"form",
"FRM-20190912-0000002",
"form-attachments",
""
]
}
......@@ -1787,9 +1943,12 @@
"response": []
},
{
"name": "Edit Form",
"name": "View Attachment",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "PUT",
"method": "GET",
"header": [
{
"key": "Content-Type",
......@@ -1800,59 +1959,43 @@
],
"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}"
"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": {
"raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190909-0000006/",
"protocol": "http",
"raw": "{{baseurl}}/change-request/form-attachments/FRMATCH-20190909-0000001/",
"host": [
"localhost"
"{{baseurl}}"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form",
"FRM-20190909-0000006",
"form-attachments",
"FRMATCH-20190909-0000001",
""
]
}
},
"response": []
},
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "CR Form Detail",
"item": [
{
"name": "Delete Form",
"name": "List of Details",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "951574546a6d45af34dfef101840bba27f1ab574",
"type": "string"
}
]
},
"method": "DELETE",
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190909-0000006/",
"protocol": "http",
"raw": "{{baseurl}}/change-request/form-details/",
"host": [
"localhost"
"{{baseurl}}"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form",
"FRM-20190909-0000006",
"form-details",
""
]
}
......@@ -1860,128 +2003,108 @@
"response": []
},
{
"name": "Re Route for Approval",
"name": "View Detail",
"request": {
"method": "PATCH",
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190913-0000002/re_route/",
"protocol": "http",
"raw": "{{baseurl}}/change-request/form-details/FRMDETAIL-20190909-0000001/",
"host": [
"localhost"
"{{baseurl}}"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form",
"FRM-20190913-0000002",
"re_route",
"form-details",
"FRMDETAIL-20190909-0000001",
""
]
}
},
"response": []
},
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "CR Templates",
"item": [
{
"name": "CR Template Header",
"item": [
{
"name": "Resubmit",
"name": "Template Header Post",
"request": {
"method": "PATCH",
"header": [],
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
"raw": "{\r\n\t\"requested_to_template_name\": \"Security Projects\",\r\n\t\"requested_to_template_id\": \"unionsq\",\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-20190923-0000001\",\r\n\t\"requested_to_company\": \"COMPANY-20190923-0000001\",\r\n\t\"requested_to_department\": \"DEPARTMENT-20190923-0000002\",\r\n\t\"requested_to_user\": \"USER-20190923-0000001\",\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],\r\n\t\r\n\t\"tmp_stakes\": [{\r\n\t\t\"delegation\": \"Mandatory Stakeholder\",\r\n\t\t\"user\": \"USER-20190923-0000001\"\r\n\t}\r\n\t],\r\n\t\r\n\t\"tmp_attachments\": [{\r\n\t\t\"attachment_type\": \"hello\",\r\n\t\t\"attachment_name\": \"hello name\",\r\n\t\t\"file_name\": \"hello\",\r\n\t\t\"description\": \"hello desc\",\r\n\t\t\"file_upload\": 1,\r\n\t\t\"uploaded_by\": \"USER-20190923-0000001\"\r\n\t}\r\n\t],\r\n\t\r\n\t\"tmp_details\": [{\r\n\t\t\"field_idx\": \"ss\",\r\n\t\t\"field_ref\": \"ss\",\r\n\t\t\"field_val\": \"ss\",\r\n\t\t\"field_props\": \"ss\"\r\n\t}\r\n\t]\r\n}"
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190913-0000001/re_submit/",
"protocol": "http",
"raw": "{{baseurl}}/change-request/template-post/",
"host": [
"localhost"
"{{baseurl}}"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form",
"FRM-20190913-0000001",
"re_submit",
"template-post",
""
]
}
},
"response": []
},
{
"name": "CR Action",
"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 \"user\": \"\",\r\n \"form_code\": \"\",\r\n \"delegation\": \"\",\r\n \"action\": \"Approved\",\r\n \"level\": \"\",\r\n \"remarks\": \"Approver\"\r\n}"
},
"response": []
},
{
"name": "List of Templates",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form/actions/",
"protocol": "http",
"raw": "{{baseurl}}/change-request/template/?ordering=template_no",
"host": [
"localhost"
"{{baseurl}}"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form",
"actions",
"template",
""
],
"query": [
{
"key": "ordering",
"value": "template_no"
}
]
}
},
"response": []
},
{
"name": "Submit",
"name": "View Template",
"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}"
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190912-0000002/actions/",
"protocol": "http",
"raw": "{{baseurl}}/change-request/template/TMP-20190930-0000016/",
"host": [
"localhost"
"{{baseurl}}"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form",
"FRM-20190912-0000002",
"actions",
"template",
"TMP-20190930-0000016",
""
]
}
......@@ -1989,7 +2112,7 @@
"response": []
},
{
"name": "Save",
"name": "Edit Template",
"request": {
"method": "PATCH",
"header": [
......@@ -2002,22 +2125,17 @@
],
"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}"
"raw": "{\r\n \"requested_to_template_name\": \"Security Projects\",\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\": \"BPSI\",\r\n \"requested_to_company\": \"COMPANY-20190923-0000001\",\r\n \"requested_to_department\": \"DEPARTMENT-20190923-0000002\",\r\n \"requested_to_user\": \"USER-20190923-0000001\",\r\n \"created_by_user\": \"USER-20190923-0000001\",\r\n \"created_by_department\": \"DEPARTMENT-20190923-0000002\",\r\n \"tmp_approvers\": [\r\n {\r\n \"id\": 2,\r\n \"level\": \"1\",\r\n \"delegation\": \"Head of Department\",\r\n \"user\": null\r\n },\r\n {\r\n \"level\": \"2\",\r\n \"delegation\": \"Approver\",\r\n \"user\": \"USER-20190923-0000001\"\r\n }\r\n ],\r\n \"tmp_stakes\": [\r\n {\r\n \"id\": 1,\r\n \"delegation\": \"Mandatory Stakeholder\",\r\n \"created\": \"2019-09-27T15:05:56.221176\",\r\n \"code\": \"TMPSTK-20190927-0000001\",\r\n \"user\": \"USER-20190923-0000001\",\r\n \"company\": \"COMPANY-20190923-0000001\",\r\n \"department\": \"DEPARTMENT-20190923-0000001\"\r\n }\r\n ],\r\n \"tmp_attachments\": [\r\n {\r\n \"id\": 1,\r\n \"attachment_type\": \"hello\",\r\n \"attachment_name\": \"hello name\",\r\n \"file_name\": \"hello\",\r\n \"description\": \"hello desc\",\r\n \"created\": \"2019-09-27T15:05:56.254174\",\r\n \"code\": \"TMPATCH-20190927-0000001\",\r\n \"uploaded_by\": \"USER-20190923-0000001\",\r\n \"file_upload\": null\r\n }\r\n ],\r\n \"tmp_details\": [\r\n {\r\n \"id\": 1,\r\n \"field_idx\": \"ss\",\r\n \"field_ref\": \"ss\",\r\n \"field_val\": \"ss\",\r\n \"field_props\": \"ss\",\r\n \"created\": \"2019-09-27T15:05:56.287185\",\r\n \"code\": \"TMPDETAIL-20190927-0000001\",\r\n \"template_no\": \"TMP-20190927-0000002\"\r\n }\r\n ]\r\n}"
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190912-0000002/actions/",
"protocol": "http",
"raw": "{{baseurl}}/change-request/template/TMP-20190928-0000003/",
"host": [
"localhost"
"{{baseurl}}"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form",
"FRM-20190912-0000002",
"actions",
"template",
"TMP-20190928-0000003",
""
]
}
......@@ -2025,22 +2143,19 @@
"response": []
},
{
"name": "Download",
"name": "Delete Template",
"request": {
"method": "GET",
"method": "DELETE",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/change-request/template/",
"raw": "{{baseurl}}/change-request/template/TMP-20190928-0000003/",
"host": [
"{{baseurl}}"
],
"path": [
"change-request",
"template",
"TMP-20190928-0000003",
""
]
}
......@@ -2048,32 +2163,25 @@
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "CR Form Approver",
"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/form-approvers/",
"protocol": "http",
"raw": "{{baseurl}}/change-request/template-approvers/",
"host": [
"localhost"
"{{baseurl}}"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form-approvers",
"template-approvers",
""
]
}
......@@ -2085,23 +2193,15 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form-approvers/TMPAPR-20190909-0000001/",
"protocol": "http",
"raw": "{{baseurl}}/change-request/template-approvers/TMPAPR-20190924-0000015/",
"host": [
"localhost"
"{{baseurl}}"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form-approvers",
"TMPAPR-20190909-0000001",
"template-approvers",
"TMPAPR-20190924-0000015",
""
]
}
......@@ -2109,32 +2209,25 @@
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "CR Form Stakeholder",
"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/form-stakeholders/",
"protocol": "http",
"raw": "{{baseurl}}/change-request/template-stakeholders/",
"host": [
"localhost"
"{{baseurl}}"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form-stakeholders",
"template-stakeholders",
""
]
}
......@@ -2146,22 +2239,14 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form-stakeholders/TMPSTK-20190909-0000001/",
"protocol": "http",
"raw": "{{baseurl}}/change-request/template-stakeholders/TMPSTK-20190909-0000001/",
"host": [
"localhost"
"{{baseurl}}"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form-stakeholders",
"template-stakeholders",
"TMPSTK-20190909-0000001",
""
]
......@@ -2170,32 +2255,25 @@
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "CR Form Attachment",
"name": "CR Template Attachment",
"item": [
{
"name": "List of Attachments",
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form-attachments/",
"protocol": "http",
"raw": "{{baseurl}}/change-request/template-attachments/",
"host": [
"localhost"
"{{baseurl}}"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form-attachments",
"template-attachments",
""
]
}
......@@ -2204,36 +2282,18 @@
},
{
"name": "View Attachment",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"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}"
},
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form-attachments/FRMATCH-20190909-0000001/",
"protocol": "http",
"raw": "{{baseurl}}/change-request/template-attachments/TMPATCH-20190909-0000001/",
"host": [
"localhost"
"{{baseurl}}"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form-attachments",
"FRMATCH-20190909-0000001",
"template-attachments",
"TMPATCH-20190909-0000001",
""
]
}
......@@ -2241,32 +2301,25 @@
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "CR Form Detail",
"name": "CR Template Detail",
"item": [
{
"name": "List of Details",
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form-details/",
"protocol": "http",
"raw": "{{baseurl}}/change-request/template-details/",
"host": [
"localhost"
"{{baseurl}}"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form-details",
"template-details",
""
]
}
......@@ -2278,23 +2331,15 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form-details/FRMDETAIL-20190909-0000001/",
"protocol": "http",
"raw": "{{baseurl}}/change-request/template-details/TMPDETAIL-20190909-0000001/",
"host": [
"localhost"
"{{baseurl}}"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form-details",
"FRMDETAIL-20190909-0000001",
"template-details",
"TMPDETAIL-20190909-0000001",
""
]
}
......@@ -2302,9 +2347,11 @@
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
......@@ -2315,10 +2362,6 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/change-request/allowed-companies/",
"host": [
......@@ -2364,6 +2407,7 @@
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
......@@ -2374,10 +2418,6 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/change-request/template-companies/",
"host": [
......@@ -2397,10 +2437,6 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/change-request/template-departments/?company_code=COMPANY-20190923-0000001",
"host": [
......@@ -2426,10 +2462,6 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/change-request/template-user-list/?department_code=DEPARTMENT-20191001-0000017",
"host": [
......@@ -2451,6 +2483,7 @@
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
......@@ -2461,10 +2494,6 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/change-request/form-companies/",
"host": [
......@@ -2484,10 +2513,6 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/change-request/form-departments/?company_code=COMPANY-20190923-0000001",
"host": [
......@@ -2513,10 +2538,6 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/change-request/form-user-list/?department_code=DEPARTMENT-20191001-0000017",
"host": [
......@@ -2542,10 +2563,6 @@
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseurl}}/change-request/allowed-templates/?department_code=DEPARTMENT-20190923-0000001",
"host": [
......@@ -2567,9 +2584,11 @@
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
}
]
],
"protocolProfileBehavior": {}
},
{
"name": "Notifications",
......@@ -2580,16 +2599,6 @@
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "951574546a6d45af34dfef101840bba27f1ab574",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"body": {
......@@ -2597,65 +2606,21 @@
"raw": ""
},
"url": {
"raw": "http://localhost:8000/api/v1/management/notifications/",
"protocol": "http",
"raw": "{{baseurl}}/management/notifications/?account_no=USER-20190927-0000011",
"host": [
"localhost"
"{{baseurl}}"
],
"port": "8000",
"path": [
"api",
"v1",
"management",
"notifications",
""
]
}
},
"response": []
},
{
"name": "Create Notification",
"request": {
"auth": {
"type": "bearer",
"bearer": [
],
"query": [
{
"key": "token",
"value": "37d5c7c08f82cc0f8a3a73634d3b6a78ead3da37",
"type": "string"
"key": "account_no",
"value": "USER-20190927-0000011"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"form_header_code\": \"FRM-20190902-000001\",\n \"notif_type\": \"ACTIVITY\",\n \"message\": \"Oneberry CCTV Replacement Request due in 5 days\",\n \"is_read\": false,\n \"app\": \"APP-20190903-0000002\",\n \"account_no\": \"USER-20190904-0000002\",\n \"sender_account_no\": \"USER-20190904-0000002\"\n}"
},
"url": {
"raw": "http://devapi.rmsv2.oneberrysystem.com:7020/api/v1/notifications/",
"protocol": "http",
"host": [
"devapi",
"rmsv2",
"oneberrysystem",
"com"
],
"port": "7020",
"path": [
"api",
"v1",
"notifications",
""
]
}
},
"response": []
......@@ -2663,21 +2628,6 @@
{
"name": "Update Read Status by ids",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "password123",
"type": "string"
},
{
"key": "username",
"value": "admin",
"type": "string"
}
]
},
"method": "PATCH",
"header": [
{
......@@ -2689,22 +2639,17 @@
],
"body": {
"mode": "raw",
"raw": "{\n\t\"ids\": [8]\n}"
"raw": "{\n\t\"ids\": [5]\n}"
},
"url": {
"raw": "http://devapi.rmsv2.oneberrysystem.com/api/v1/notifications/USER-20190903-0000002/seen/",
"protocol": "http",
"raw": "{{baseurl}}/management/notifications/USER-20190927-0000011/seen/",
"host": [
"devapi",
"rmsv2",
"oneberrysystem",
"com"
"{{baseurl}}"
],
"path": [
"api",
"v1",
"management",
"notifications",
"USER-20190903-0000002",
"USER-20190927-0000011",
"seen",
""
]
......@@ -2715,21 +2660,6 @@
{
"name": "Update Read Status by account_no",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "password123",
"type": "string"
},
{
"key": "username",
"value": "admin",
"type": "string"
}
]
},
"method": "PATCH",
"header": [
{
......@@ -2744,19 +2674,14 @@
"raw": ""
},
"url": {
"raw": "http://devapi.rmsv2.oneberrysystem.com/api/v1/notifications/USER-20190903-0000002/seenall/",
"protocol": "http",
"raw": "{{baseurl}}/management/notifications/USER-20190927-0000011/seenall/",
"host": [
"devapi",
"rmsv2",
"oneberrysystem",
"com"
"{{baseurl}}"
],
"path": [
"api",
"v1",
"management",
"notifications",
"USER-20190903-0000002",
"USER-20190927-0000011",
"seenall",
""
]
......@@ -2764,7 +2689,8 @@
},
"response": []
}
]
],
"protocolProfileBehavior": {}
}
],
"auth": {
......@@ -2772,7 +2698,7 @@
"bearer": [
{
"key": "token",
"value": "84053738abba94c9619a6bfc5905c9674f6b59a1",
"value": "d157c0d54e592d1ff0c746e0e58a8406d952353c",
"type": "string"
}
]
......@@ -2798,5 +2724,6 @@
]
}
}
]
],
"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