{ "info": { "_postman_id": "e6fc5fe6-4793-46e6-82d6-43d968c693a0", "name": "Estimate Service Collection", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "28174622" }, "item": [ { "name": "_create_estimate-success", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"Response is successful\", () =>\r", " pm.expect(pm.response.to.have.status(200))\r", ");\r", "\r", "\r", "pm.test(\"Response is successful and set the estimate variables\", function () {\r", " let responseData = pm.response.json();\r", " pm.environment.set(\"estimateId\", responseData.estimates[0].id);\r", " pm.environment.set(\"estimateNumber\", responseData.estimates[0].estimateNumber);\r", "});\r", "\r", "pm.test(\"estimate's workflow status is created\", function () {\r", " let responseData = pm.response.json();\r", " pm.expect(responseData.estimates[0].wfStatus).eq(\"VERIFIED\");\r", "});\r", "\r", "\r", "" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"estimates\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 0,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"{{authToken}}\",\r\n \"userInfo\": {\r\n \"id\": 109,\r\n \"uuid\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\r\n \"userName\": \"Nipsyyyy\",\r\n \"name\": \"Nipun \",\r\n \"mobileNumber\": \"9667076655\",\r\n \"emailId\": null,\r\n \"locale\": null,\r\n \"type\": \"EMPLOYEE\",\r\n \"roles\": [\r\n {\r\n \"name\": \"Employee\",\r\n \"code\": \"EMPLOYEE\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST_CHECKER\",\r\n \"code\": \"EST_CHECKER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"Organization admin\",\r\n \"code\": \"ORG_ADMIN\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_TECH_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"HRMS Admin\",\r\n \"code\": \"HRMS_ADMIN\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"Organization staff\",\r\n \"code\": \"ORG_STAFF\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST CREATOR\",\r\n \"code\": \"EST_CREATOR\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI APPROVER\",\r\n \"code\": \"LOI_APPROVER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST FIN SANC\",\r\n \"code\": \"EST_FIN_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI CREATOR\",\r\n \"code\": \"LOI_CREATOR\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"SUPER USER\",\r\n \"code\": \"SUPERUSER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_ADMIN_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"MUNICIPAL ENGINEER\",\r\n \"code\": \"MUNICIPAL_ENGINEER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI CHECKER\",\r\n \"code\": \"LOI_CHECKER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"JUNIOR ENGINEER\",\r\n \"code\": \"JUNIOR_ENGINEER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n }\r\n ],\r\n \"active\": true,\r\n \"tenantId\": \"pb.amritsar\",\r\n \"permanentCity\": \"Amritsar\"\r\n },\r\n \"signature\": \"string\"\r\n },\r\n \"estimate\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"projectId\": \"{{projectId}}\",\r\n \"proposalDate\": 1658222690000,\r\n \"status\": \"DRAFT\",\r\n \"wfStatus\": \"CREATED\",\r\n \"name\": \"Construct new schools v22209-inboxv1\",\r\n \"referenceNumber\": \"File-1348430283v233209testv1\",\r\n \"description\": \"Construct new schools\",\r\n \"executingDepartment\": \"ADM\",\r\n \"address\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"latitude\": 0,\r\n \"longitude\": 0,\r\n \"addressNumber\": \"kormangla v2233209v1\",\r\n \"addressLine1\": \"forum 123\",\r\n \"addressLine2\": \"string 123\",\r\n \"landmark\": \"circle\",\r\n \"city\": \"bangalore\",\r\n \"pincode\": \"560250\",\r\n \"detail\": \"string\"\r\n },\r\n \"estimateDetails\": [\r\n {\r\n \"category\": \"SOR\",\r\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n \"unitRate\": 0,\r\n \"noOfunit\": 0,\r\n \"height\": null,\r\n \"isDeduction\": false,\r\n \"length\": null,\r\n \"quantity\": 2,\r\n \"width\": null,\r\n \"uom\": \"string\",\r\n \"uomValue\": 0,\r\n \"amountDetail\": [\r\n {\r\n \"type\": \"Gst v209v1, cess v2, charge \",\r\n \"amount\": 89657,\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n },\r\n \"workflow\": {\r\n \"action\": \"SUBMIT\",\r\n \"comment\": \"string\" \r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https://{{hostWithPort}}/estimate-service/estimate/v1/_create", "protocol": "https", "host": [ "{{hostWithPort}}" ], "path": [ "estimate-service", "estimate", "v1", "_create" ] } }, "response": [ { "name": "_create_estimate", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"requestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"string\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 0,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"d11921f0-0dae-46bc-a357-4609c80f44cf\",\r\n \"signature\": \"string\"\r\n },\r\n \"estimate\": {\r\n \"tenantId\": \"pb.amritsar\",\r\n \"projectId\": \"uuuid-oi123467-Qastry\",\r\n \"proposalDate\": 1658222690000,\r\n \"status\": \"ACTIVE\",\r\n \"wfStatus\": \"CREATED\",\r\n \"name\": \"Construct new schools\",\r\n \"referenceNumber\": \"File-18430283\",\r\n \"description\": \"Construct new schools\",\r\n \"executingDepartment\": \"DEPT_1\",\r\n \"address\": {\r\n \"tenantId\": \"pb.jalandhar\",\r\n \"latitude\": 0,\r\n \"longitude\": 0,\r\n \"addressNumber\": \"kormangla\",\r\n \"addressLine1\": \"forum 1\",\r\n \"addressLine2\": \"string\",\r\n \"landmark\": \"circle\",\r\n \"city\": \"bangalore\",\r\n \"pincode\": \"560150\",\r\n \"detail\": \"string\"\r\n },\r\n \"estimateDetails\": [\r\n {\r\n \"category\": \"Overhead, SOR, non-SOR\",\r\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n \"unitRate\": 0,\r\n \"noOfunit\": 0,\r\n \"uom\": \"string\",\r\n \"uomValue\": 0,\r\n \"amountDetail\": [\r\n {\r\n \"type\": \"Gst, cess, charge \",\r\n \"amount\":34567,\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n },\r\n \"workflow\": {\r\n \"action\": \"CREATE\",\r\n \"comment\": \"string\",\r\n \"assignees\": [\r\n \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\"\r\n ]\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https://works-dev.digit.org/estimate-service/estimate/v1/_create", "protocol": "https", "host": [ "works-dev", "digit", "org" ], "path": [ "estimate-service", "estimate", "v1", "_create" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 19 Jan 2023 05:53:28 GMT" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Connection", "value": "keep-alive" }, { "key": "Vary", "value": "Accept-Encoding" }, { "key": "Strict-Transport-Security", "value": "max-age=63072000; includeSubdomains; preload" }, { "key": "X-Lua-Resty-WAF-ID", "value": "9a13b8dffd5bc21ff7cb" }, { "key": "x-correlation-id", "value": "9fd1a9a7-dfcd-4cf2-b009-899a66b06959" }, { "key": "Cache-Control", "value": "no-cache, no-store, max-age=0, must-revalidate" }, { "key": "Content-Security-Policy", "value": "default-src 'self' https: 'unsafe-eval' 'unsafe-inline'; object-src 'none'; img-src 'self' https: data: blob:; style-src https: blob: 'unsafe-inline'; worker-src 'self' blob:; font-src 'self' https: data: blob:; child-src 'self' https: data: blob:;" }, { "key": "Referrer-Policy", "value": "no-referrer-when-downgrade" }, { "key": "X-Content-Type-Options", "value": "nosniff" }, { "key": "X-Download-Options", "value": "noopen" }, { "key": "X-Frame-Options", "value": "sameorigin" }, { "key": "X-XSS-Protection", "value": "1" }, { "key": "Content-Encoding", "value": "gzip" } ], "cookie": [], "body": "{\n \"responseInfo\": {\n \"apiId\": null,\n \"ver\": null,\n \"ts\": 0,\n \"resMsgId\": \"uief87324\",\n \"msgId\": \"string\",\n \"status\": \"successful\"\n },\n \"estimates\": [\n {\n \"id\": \"2a1ada05-8dc0-4213-9a82-8146a3dd45cb\",\n \"tenantId\": \"pb.amritsar\",\n \"estimateNumber\": \"EP/2022-23/01/000192\",\n \"projectId\": \"uuuid-oi123467-Qastry\",\n \"proposalDate\": 1674107608670,\n \"status\": \"ACTIVE\",\n \"wfStatus\": \"CREATED\",\n \"name\": \"Construct new schools\",\n \"referenceNumber\": \"File-18430283\",\n \"description\": \"Construct new schools\",\n \"executingDepartment\": \"DEPT_1\",\n \"address\": {\n \"id\": null,\n \"tenantId\": \"pb.jalandhar\",\n \"latitude\": 0,\n \"longitude\": 0,\n \"addressNumber\": \"kormangla\",\n \"addressLine1\": \"forum 1\",\n \"addressLine2\": \"string\",\n \"landmark\": \"circle\",\n \"city\": \"bangalore\",\n \"pincode\": \"560150\",\n \"detail\": \"string\"\n },\n \"estimateDetails\": [\n {\n \"id\": null,\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\n \"category\": \"Overhead, SOR, non-SOR\",\n \"name\": \"string\",\n \"description\": \"string\",\n \"unitRate\": 0,\n \"noOfunit\": 0,\n \"uom\": \"string\",\n \"uomValue\": 0,\n \"amountDetail\": [\n {\n \"id\": null,\n \"type\": \"Gst, cess, charge \",\n \"amount\": 34567,\n \"additionalDetails\": {}\n }\n ],\n \"additionalDetails\": {}\n }\n ],\n \"auditDetails\": {\n \"createdBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"lastModifiedBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"createdTime\": 1674107608669,\n \"lastModifiedTime\": 1674107608669\n },\n \"additionalDetails\": {}\n }\n ],\n \"TotalCount\": null\n}" }, { "name": "_create_estimate", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"requestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"string\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 0,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"d11921f0-0dae-46bc-a357-4609c80f44cf\",\r\n \"signature\": \"string\"\r\n },\r\n \"estimate\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"projectId\": \"uuuid-oi123467-Qastry\",\r\n \"proposalDate\": 1658222690000,\r\n \"status\": \"ACTIVE\",\r\n \"wfStatus\": \"CREATED\",\r\n \"name\": \"Construct new schools\",\r\n \"referenceNumber\": \"File-18430283\",\r\n \"description\": \"Construct new schools\",\r\n \"executingDepartment\": \"DEPT_1\",\r\n \"address\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"latitude\": 0,\r\n \"longitude\": 0,\r\n \"addressNumber\": \"kormangla\",\r\n \"addressLine1\": \"forum 1\",\r\n \"addressLine2\": \"string\",\r\n \"landmark\": \"circle\",\r\n \"city\": \"bangalore\",\r\n \"pincode\": \"560150\",\r\n \"detail\": \"string\"\r\n },\r\n \"estimateDetails\": [\r\n {\r\n \"category\": \"Overhead, SOR, non-SOR\",\r\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n \"unitRate\": 0,\r\n \"noOfunit\": 0,\r\n \"uom\": \"string\",\r\n \"uomValue\": 0,\r\n \"amountDetail\": [\r\n {\r\n \"type\": \"Gst, cess, charge \",\r\n \"amount\": 34567,\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n },\r\n \"workflow\": {\r\n \"action\": \"CREATE\",\r\n \"comment\": \"string\",\r\n \"assignees\": [\r\n \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\"\r\n ]\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_create", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_create" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 19 Jan 2023 12:55:37 GMT" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Connection", "value": "keep-alive" }, { "key": "Vary", "value": "Accept-Encoding" }, { "key": "Strict-Transport-Security", "value": "max-age=63072000; includeSubdomains; preload" }, { "key": "X-Lua-Resty-WAF-ID", "value": "e4a808ae6c5656c53bf8" }, { "key": "x-correlation-id", "value": "a2d3db09-6ace-4332-961e-b937e353d69e" }, { "key": "Cache-Control", "value": "no-cache, no-store, max-age=0, must-revalidate" }, { "key": "Content-Security-Policy", "value": "default-src 'self' https: 'unsafe-eval' 'unsafe-inline'; object-src 'none'; img-src 'self' https: data: blob:; style-src https: blob: 'unsafe-inline'; worker-src 'self' blob:; font-src 'self' https: data: blob:; child-src 'self' https: data: blob:;" }, { "key": "Referrer-Policy", "value": "no-referrer-when-downgrade" }, { "key": "X-Content-Type-Options", "value": "nosniff" }, { "key": "X-Download-Options", "value": "noopen" }, { "key": "X-Frame-Options", "value": "sameorigin" }, { "key": "X-XSS-Protection", "value": "1" }, { "key": "Content-Encoding", "value": "gzip" } ], "cookie": [], "body": "{\n \"responseInfo\": {\n \"apiId\": null,\n \"ver\": null,\n \"ts\": 0,\n \"resMsgId\": \"uief87324\",\n \"msgId\": \"string\",\n \"status\": \"successful\"\n },\n \"estimates\": [\n {\n \"id\": \"a4fdc78d-759f-405a-866b-002f7833d53c\",\n \"tenantId\": \"pb.amritsar\",\n \"estimateNumber\": \"EP/2022-23/01/000205\",\n \"projectId\": \"uuuid-oi123467-Qastry\",\n \"proposalDate\": 1674132937544,\n \"status\": \"ACTIVE\",\n \"wfStatus\": \"CREATED\",\n \"name\": \"Construct new schools\",\n \"referenceNumber\": \"File-18430283\",\n \"description\": \"Construct new schools\",\n \"executingDepartment\": \"DEPT_1\",\n \"address\": {\n \"id\": \"c7673454-f9ec-4948-ac5d-9d16c1697d44\",\n \"tenantId\": \"pb.amritsar\",\n \"latitude\": 0,\n \"longitude\": 0,\n \"addressNumber\": \"kormangla\",\n \"addressLine1\": \"forum 1\",\n \"addressLine2\": \"string\",\n \"landmark\": \"circle\",\n \"city\": \"bangalore\",\n \"pincode\": \"560150\",\n \"detail\": \"string\"\n },\n \"estimateDetails\": [\n {\n \"id\": \"574d9eb7-b51e-4953-8c11-ebd73e26964b\",\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\n \"category\": \"Overhead, SOR, non-SOR\",\n \"name\": \"string\",\n \"description\": \"string\",\n \"unitRate\": 0,\n \"noOfunit\": 0,\n \"uom\": \"string\",\n \"uomValue\": 0,\n \"amountDetail\": [\n {\n \"id\": \"55c165c2-7107-4469-906b-989a779cb95f\",\n \"type\": \"Gst, cess, charge \",\n \"amount\": 34567,\n \"additionalDetails\": {}\n }\n ],\n \"additionalDetails\": {}\n }\n ],\n \"auditDetails\": {\n \"createdBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"lastModifiedBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"createdTime\": 1674132937544,\n \"lastModifiedTime\": 1674132937544\n },\n \"additionalDetails\": {}\n }\n ],\n \"TotalCount\": null\n}" }, { "name": "_create_estimate", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"string\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 0,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"d11921f0-0dae-46bc-a357-4609c80f44cf\",\r\n \"userInfo\": {\r\n \"id\": 109,\r\n \"uuid\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\r\n \"userName\": \"Nipsyyyy\",\r\n \"name\": \"Nipun \",\r\n \"mobileNumber\": \"9667076655\",\r\n \"emailId\": null,\r\n \"locale\": null,\r\n \"type\": \"EMPLOYEE\",\r\n \"roles\": [\r\n {\r\n \"name\": \"Employee\",\r\n \"code\": \"EMPLOYEE\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST_CHECKER\",\r\n \"code\": \"EST_CHECKER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"Organization admin\",\r\n \"code\": \"ORG_ADMIN\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_TECH_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"HRMS Admin\",\r\n \"code\": \"HRMS_ADMIN\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"Organization staff\",\r\n \"code\": \"ORG_STAFF\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST CREATOR\",\r\n \"code\": \"EST_CREATOR\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI APPROVER\",\r\n \"code\": \"LOI_APPROVER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST FIN SANC\",\r\n \"code\": \"EST_FIN_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI CREATOR\",\r\n \"code\": \"LOI_CREATOR\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"SUPER USER\",\r\n \"code\": \"SUPERUSER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_ADMIN_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"MUNICIPAL ENGINEER\",\r\n \"code\": \"MUNICIPAL_ENGINEER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI CHECKER\",\r\n \"code\": \"LOI_CHECKER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"JUNIOR ENGINEER\",\r\n \"code\": \"JUNIOR_ENGINEER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n }\r\n ],\r\n \"active\": true,\r\n \"tenantId\": \"pb.amritsar\",\r\n \"permanentCity\": \"Amritsar\"\r\n },\r\n \"signature\": \"string\"\r\n },\r\n \"estimate\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"projectId\": \"{{projectId}}\",\r\n \"proposalDate\": 1658222690000,\r\n \"status\": \"ACTIVE\",\r\n \"wfStatus\": \"CREATED\",\r\n \"name\": \"Construct new schools\",\r\n \"referenceNumber\": \"File-18430283\",\r\n \"description\": \"Construct new schools\",\r\n \"executingDepartment\": \"DEPT_1\",\r\n \"address\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"latitude\": 0,\r\n \"longitude\": 0,\r\n \"addressNumber\": \"kormangla\",\r\n \"addressLine1\": \"forum 1\",\r\n \"addressLine2\": \"string\",\r\n \"landmark\": \"circle\",\r\n \"city\": \"bangalore\",\r\n \"pincode\": \"560150\",\r\n \"detail\": \"string\"\r\n },\r\n \"estimateDetails\": [\r\n {\r\n \"category\": \"Overhead, SOR, non-SOR\",\r\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n \"unitRate\": 0,\r\n \"noOfunit\": 0,\r\n \"uom\": \"string\",\r\n \"uomValue\": 0,\r\n \"amountDetail\": [\r\n {\r\n \"type\": \"Gst, cess, charge \",\r\n \"amount\": 34567,\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n },\r\n \"workflow\": {\r\n \"action\": \"CREATE\",\r\n \"comment\": \"string\",\r\n \"assignees\": [\r\n \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\"\r\n ]\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_create", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_create" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Tue, 24 Jan 2023 15:38:13 GMT" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Connection", "value": "keep-alive" }, { "key": "Vary", "value": "Accept-Encoding" }, { "key": "Strict-Transport-Security", "value": "max-age=63072000; includeSubdomains; preload" }, { "key": "X-Lua-Resty-WAF-ID", "value": "7d477fc8f02e1c7fa772" }, { "key": "x-correlation-id", "value": "fb68d005-229f-4bb7-9c08-7e650a696c37" }, { "key": "Cache-Control", "value": "no-cache, no-store, max-age=0, must-revalidate" }, { "key": "Content-Security-Policy", "value": "default-src 'self' https: 'unsafe-eval' 'unsafe-inline'; object-src 'none'; img-src 'self' https: data: blob:; style-src https: blob: 'unsafe-inline'; worker-src 'self' blob:; font-src 'self' https: data: blob:; child-src 'self' https: data: blob:;" }, { "key": "Referrer-Policy", "value": "no-referrer-when-downgrade" }, { "key": "X-Content-Type-Options", "value": "nosniff" }, { "key": "X-Download-Options", "value": "noopen" }, { "key": "X-Frame-Options", "value": "sameorigin" }, { "key": "X-XSS-Protection", "value": "1" }, { "key": "Content-Encoding", "value": "gzip" } ], "cookie": [], "body": "{\n \"ResponseInfo\": {\n \"apiId\": null,\n \"ver\": null,\n \"ts\": 0,\n \"resMsgId\": \"uief87324\",\n \"msgId\": \"string\",\n \"status\": \"successful\"\n },\n \"estimates\": [\n {\n \"id\": \"9c3c57ef-ecb9-4e2b-8480-cdb44e07bed2\",\n \"tenantId\": \"pb.amritsar\",\n \"estimateNumber\": \"EP/2022-23/01/000260\",\n \"projectId\": \"854b3f54-3775-4a14-a962-9eba6620f0d3\",\n \"proposalDate\": 1674574691873,\n \"status\": \"ACTIVE\",\n \"wfStatus\": \"CREATED\",\n \"name\": \"Construct new schools\",\n \"referenceNumber\": \"File-18430283\",\n \"description\": \"Construct new schools\",\n \"executingDepartment\": \"DEPT_1\",\n \"address\": {\n \"id\": \"426e1a1b-970e-49f7-81c1-7c3fd33a1828\",\n \"tenantId\": \"pb.amritsar\",\n \"latitude\": 0,\n \"longitude\": 0,\n \"addressNumber\": \"kormangla\",\n \"addressLine1\": \"forum 1\",\n \"addressLine2\": \"string\",\n \"landmark\": \"circle\",\n \"city\": \"bangalore\",\n \"pincode\": \"560150\",\n \"detail\": \"string\"\n },\n \"estimateDetails\": [\n {\n \"id\": \"f37db2f7-9670-4f8a-9f4c-1d3de17e53d8\",\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\n \"category\": \"Overhead, SOR, non-SOR\",\n \"name\": \"string\",\n \"description\": \"string\",\n \"unitRate\": 0,\n \"noOfunit\": 0,\n \"uom\": \"string\",\n \"uomValue\": 0,\n \"amountDetail\": [\n {\n \"id\": \"2b548113-28b6-4e4e-9e86-a63dd311624d\",\n \"type\": \"Gst, cess, charge \",\n \"amount\": 34567,\n \"additionalDetails\": {}\n }\n ],\n \"additionalDetails\": {}\n }\n ],\n \"auditDetails\": {\n \"createdBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"lastModifiedBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"createdTime\": 1674574691872,\n \"lastModifiedTime\": 1674574691872\n },\n \"additionalDetails\": {}\n }\n ],\n \"TotalCount\": null\n}" }, { "name": "_create_estimate", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"string\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 0,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"d11921f0-0dae-46bc-a357-4609c80f44cf\",\r\n \"userInfo\": {\r\n \"id\": 109,\r\n \"uuid\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\r\n \"userName\": \"Nipsyyyy\",\r\n \"name\": \"Nipun \",\r\n \"mobileNumber\": \"9667076655\",\r\n \"emailId\": null,\r\n \"locale\": null,\r\n \"type\": \"EMPLOYEE\",\r\n \"roles\": [\r\n {\r\n \"name\": \"Employee\",\r\n \"code\": \"EMPLOYEE\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST_CHECKER\",\r\n \"code\": \"EST_CHECKER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"Organization admin\",\r\n \"code\": \"ORG_ADMIN\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_TECH_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"HRMS Admin\",\r\n \"code\": \"HRMS_ADMIN\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"Organization staff\",\r\n \"code\": \"ORG_STAFF\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST CREATOR\",\r\n \"code\": \"EST_CREATOR\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI APPROVER\",\r\n \"code\": \"LOI_APPROVER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST FIN SANC\",\r\n \"code\": \"EST_FIN_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI CREATOR\",\r\n \"code\": \"LOI_CREATOR\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"SUPER USER\",\r\n \"code\": \"SUPERUSER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_ADMIN_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"MUNICIPAL ENGINEER\",\r\n \"code\": \"MUNICIPAL_ENGINEER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI CHECKER\",\r\n \"code\": \"LOI_CHECKER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"JUNIOR ENGINEER\",\r\n \"code\": \"JUNIOR_ENGINEER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n }\r\n ],\r\n \"active\": true,\r\n \"tenantId\": \"pb.amritsar\",\r\n \"permanentCity\": \"Amritsar\"\r\n },\r\n \"signature\": \"string\"\r\n },\r\n \"estimate\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"projectId\": \"{{projectId}}\",\r\n \"proposalDate\": 1658222690000,\r\n \"status\": \"ACTIVE\",\r\n \"wfStatus\": \"CREATED\",\r\n \"name\": \"Construct new schools\",\r\n \"referenceNumber\": \"File-18430283\",\r\n \"description\": \"Construct new schools\",\r\n \"executingDepartment\": \"DEPT_1\",\r\n \"address\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"latitude\": 0,\r\n \"longitude\": 0,\r\n \"addressNumber\": \"kormangla\",\r\n \"addressLine1\": \"forum 1\",\r\n \"addressLine2\": \"string\",\r\n \"landmark\": \"circle\",\r\n \"city\": \"bangalore\",\r\n \"pincode\": \"560150\",\r\n \"detail\": \"string\"\r\n },\r\n \"estimateDetails\": [\r\n {\r\n \"category\": \"Overhead, SOR, non-SOR\",\r\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n \"unitRate\": 0,\r\n \"noOfunit\": 0,\r\n \"uom\": \"string\",\r\n \"uomValue\": 0,\r\n \"amountDetail\": [\r\n {\r\n \"type\": \"Gst, cess, charge \",\r\n \"amount\": 34567,\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n },\r\n \"workflow\": {\r\n \"action\": \"CREATE\",\r\n \"comment\": \"string\",\r\n \"assignees\": [\r\n \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\"\r\n ]\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_create", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_create" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Tue, 24 Jan 2023 15:40:07 GMT" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Connection", "value": "keep-alive" }, { "key": "Vary", "value": "Accept-Encoding" }, { "key": "Strict-Transport-Security", "value": "max-age=63072000; includeSubdomains; preload" }, { "key": "X-Lua-Resty-WAF-ID", "value": "060e4e49845d52a77e4c" }, { "key": "x-correlation-id", "value": "6fc4d384-364a-4f7b-a63e-79603eb573a2" }, { "key": "Cache-Control", "value": "no-cache, no-store, max-age=0, must-revalidate" }, { "key": "Content-Security-Policy", "value": "default-src 'self' https: 'unsafe-eval' 'unsafe-inline'; object-src 'none'; img-src 'self' https: data: blob:; style-src https: blob: 'unsafe-inline'; worker-src 'self' blob:; font-src 'self' https: data: blob:; child-src 'self' https: data: blob:;" }, { "key": "Referrer-Policy", "value": "no-referrer-when-downgrade" }, { "key": "X-Content-Type-Options", "value": "nosniff" }, { "key": "X-Download-Options", "value": "noopen" }, { "key": "X-Frame-Options", "value": "sameorigin" }, { "key": "X-XSS-Protection", "value": "1" }, { "key": "Content-Encoding", "value": "gzip" } ], "cookie": [], "body": "{\n \"ResponseInfo\": {\n \"apiId\": null,\n \"ver\": null,\n \"ts\": 0,\n \"resMsgId\": \"uief87324\",\n \"msgId\": \"string\",\n \"status\": \"successful\"\n },\n \"estimates\": [\n {\n \"id\": \"55985006-fa37-4145-9f81-26711986a9b7\",\n \"tenantId\": \"pb.amritsar\",\n \"estimateNumber\": \"EP/2022-23/01/000261\",\n \"projectId\": \"854b3f54-3775-4a14-a962-9eba6620f0d3\",\n \"proposalDate\": 1674574807062,\n \"status\": \"ACTIVE\",\n \"wfStatus\": \"CREATED\",\n \"name\": \"Construct new schools\",\n \"referenceNumber\": \"File-18430283\",\n \"description\": \"Construct new schools\",\n \"executingDepartment\": \"DEPT_1\",\n \"address\": {\n \"id\": \"6dfe7276-9431-48fc-9e3c-7c8f9a19ae72\",\n \"tenantId\": \"pb.amritsar\",\n \"latitude\": 0,\n \"longitude\": 0,\n \"addressNumber\": \"kormangla\",\n \"addressLine1\": \"forum 1\",\n \"addressLine2\": \"string\",\n \"landmark\": \"circle\",\n \"city\": \"bangalore\",\n \"pincode\": \"560150\",\n \"detail\": \"string\"\n },\n \"estimateDetails\": [\n {\n \"id\": \"dcc7dba0-54d0-479d-8816-7f624bd5967c\",\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\n \"category\": \"Overhead, SOR, non-SOR\",\n \"name\": \"string\",\n \"description\": \"string\",\n \"unitRate\": 0,\n \"noOfunit\": 0,\n \"uom\": \"string\",\n \"uomValue\": 0,\n \"amountDetail\": [\n {\n \"id\": \"02b7d15d-f958-4fa0-bfb6-db419c6a1a7c\",\n \"type\": \"Gst, cess, charge \",\n \"amount\": 34567,\n \"additionalDetails\": {}\n }\n ],\n \"additionalDetails\": {}\n }\n ],\n \"auditDetails\": {\n \"createdBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"lastModifiedBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"createdTime\": 1674574807061,\n \"lastModifiedTime\": 1674574807061\n },\n \"additionalDetails\": {}\n }\n ],\n \"TotalCount\": null\n}" }, { "name": "_create_estimate-success", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"estimate-service\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 0,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"{{authToken}}\",\r\n \"userInfo\": {\r\n \"id\": 109,\r\n \"uuid\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\r\n \"userName\": \"Nipsyyyy\",\r\n \"name\": \"Nipun \",\r\n \"mobileNumber\": \"9667076655\",\r\n \"emailId\": null,\r\n \"locale\": null,\r\n \"type\": \"EMPLOYEE\",\r\n \"roles\": [\r\n {\r\n \"name\": \"Employee\",\r\n \"code\": \"EMPLOYEE\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST_CHECKER\",\r\n \"code\": \"EST_CHECKER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"Organization admin\",\r\n \"code\": \"ORG_ADMIN\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_TECH_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"HRMS Admin\",\r\n \"code\": \"HRMS_ADMIN\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"Organization staff\",\r\n \"code\": \"ORG_STAFF\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST CREATOR\",\r\n \"code\": \"EST_CREATOR\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI APPROVER\",\r\n \"code\": \"LOI_APPROVER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST FIN SANC\",\r\n \"code\": \"EST_FIN_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI CREATOR\",\r\n \"code\": \"LOI_CREATOR\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"SUPER USER\",\r\n \"code\": \"SUPERUSER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_ADMIN_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"MUNICIPAL ENGINEER\",\r\n \"code\": \"MUNICIPAL_ENGINEER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI CHECKER\",\r\n \"code\": \"LOI_CHECKER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"JUNIOR ENGINEER\",\r\n \"code\": \"JUNIOR_ENGINEER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n }\r\n ],\r\n \"active\": true,\r\n \"tenantId\": \"pb.amritsar\",\r\n \"permanentCity\": \"Amritsar\"\r\n },\r\n \"signature\": \"string\"\r\n },\r\n \"estimate\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"projectId\": \"{{projectId}}\",\r\n \"proposalDate\": 1658222690000,\r\n \"status\": \"ACTIVE\",\r\n \"wfStatus\": \"CREATED\",\r\n \"name\": \"Construct new schools v222\",\r\n \"referenceNumber\": \"File-1348430283v2332\",\r\n \"description\": \"Construct new schools\",\r\n \"executingDepartment\": \"DEPT_1\",\r\n \"address\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"latitude\": 0,\r\n \"longitude\": 0,\r\n \"addressNumber\": \"kormangla v22332\",\r\n \"addressLine1\": \"forum 123\",\r\n \"addressLine2\": \"string 123\",\r\n \"landmark\": \"circle\",\r\n \"city\": \"bangalore\",\r\n \"pincode\": \"560250\",\r\n \"detail\": \"string\"\r\n },\r\n \"estimateDetails\": [\r\n {\r\n \"category\": \"Overhead, SOR, non-SOR\",\r\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n \"unitRate\": 0,\r\n \"noOfunit\": 0,\r\n \"uom\": \"string\",\r\n \"uomValue\": 0,\r\n \"amountDetail\": [\r\n {\r\n \"type\": \"Gst v2, cess v2, charge \",\r\n \"amount\": 56789,\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n },\r\n \"workflow\": {\r\n \"action\": \"CREATE\",\r\n \"comment\": \"string\",\r\n \"assignees\": [\r\n \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\"\r\n ]\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_create", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_create" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Wed, 08 Feb 2023 17:24:13 GMT" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Connection", "value": "keep-alive" }, { "key": "Vary", "value": "Accept-Encoding" }, { "key": "Strict-Transport-Security", "value": "max-age=63072000; includeSubdomains; preload" }, { "key": "X-Lua-Resty-WAF-ID", "value": "71a96c6f5d90bdefe292" }, { "key": "x-correlation-id", "value": "617f6c67-c1e0-4258-8696-8912427f207a" }, { "key": "Cache-Control", "value": "no-cache, no-store, max-age=0, must-revalidate" }, { "key": "Content-Security-Policy", "value": "default-src 'self' https: 'unsafe-eval' 'unsafe-inline'; object-src 'none'; img-src 'self' https: data: blob:; style-src https: blob: 'unsafe-inline'; worker-src 'self' blob:; font-src 'self' https: data: blob:; child-src 'self' https: data: blob:;" }, { "key": "Referrer-Policy", "value": "no-referrer-when-downgrade" }, { "key": "X-Content-Type-Options", "value": "nosniff" }, { "key": "X-Download-Options", "value": "noopen" }, { "key": "X-Frame-Options", "value": "sameorigin" }, { "key": "X-XSS-Protection", "value": "1" }, { "key": "Content-Encoding", "value": "gzip" } ], "cookie": [], "body": "{\n \"ResponseInfo\": {\n \"apiId\": null,\n \"ver\": null,\n \"ts\": 0,\n \"resMsgId\": \"uief87324\",\n \"msgId\": \"string\",\n \"status\": \"successful\"\n },\n \"estimates\": [\n {\n \"id\": \"39d1ad14-5879-4b9f-a448-fa8433cd4101\",\n \"tenantId\": \"pb.amritsar\",\n \"estimateNumber\": \"EP/2022-23/02/000344\",\n \"projectId\": \"4ef2f943-bfe9-4bb8-82dd-431260cd4a17\",\n \"proposalDate\": 1675877052839,\n \"status\": \"ACTIVE\",\n \"wfStatus\": \"CREATED\",\n \"name\": \"Construct new schools v222\",\n \"referenceNumber\": \"File-1348430283v2332\",\n \"description\": \"Construct new schools\",\n \"executingDepartment\": \"DEPT_1\",\n \"address\": {\n \"id\": \"bd51cad8-1c6b-47f5-9192-4424dbf9c09e\",\n \"tenantId\": \"pb.amritsar\",\n \"latitude\": 0,\n \"longitude\": 0,\n \"addressNumber\": \"kormangla v22332\",\n \"addressLine1\": \"forum 123\",\n \"addressLine2\": \"string 123\",\n \"landmark\": \"circle\",\n \"city\": \"bangalore\",\n \"pincode\": \"560250\",\n \"detail\": \"string\"\n },\n \"estimateDetails\": [\n {\n \"id\": \"785a390b-7329-4c04-bf09-9b40a0676bd6\",\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\n \"category\": \"Overhead, SOR, non-SOR\",\n \"name\": \"string\",\n \"description\": \"string\",\n \"unitRate\": 0,\n \"noOfunit\": 0,\n \"uom\": \"string\",\n \"uomValue\": 0,\n \"amountDetail\": [\n {\n \"id\": \"9676edeb-920a-4258-98c0-247d9c46f4b4\",\n \"type\": \"Gst v2, cess v2, charge \",\n \"amount\": 56789,\n \"additionalDetails\": {}\n }\n ],\n \"additionalDetails\": {}\n }\n ],\n \"auditDetails\": {\n \"createdBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"lastModifiedBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"createdTime\": 1675877052839,\n \"lastModifiedTime\": 1675877052839\n },\n \"additionalDetails\": {},\n \"project\": null,\n \"ProcessInstances\": null\n }\n ],\n \"TotalCount\": null\n}" }, { "name": "_create_estimate-success", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"estimate-service\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 0,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"{{authToken}}\",\r\n \"userInfo\": {\r\n \"id\": 109,\r\n \"uuid\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\r\n \"userName\": \"Nipsyyyy\",\r\n \"name\": \"Nipun \",\r\n \"mobileNumber\": \"9667076655\",\r\n \"emailId\": null,\r\n \"locale\": null,\r\n \"type\": \"EMPLOYEE\",\r\n \"roles\": [\r\n {\r\n \"name\": \"Employee\",\r\n \"code\": \"EMPLOYEE\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST_CHECKER\",\r\n \"code\": \"EST_CHECKER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"Organization admin\",\r\n \"code\": \"ORG_ADMIN\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_TECH_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"HRMS Admin\",\r\n \"code\": \"HRMS_ADMIN\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"Organization staff\",\r\n \"code\": \"ORG_STAFF\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST CREATOR\",\r\n \"code\": \"EST_CREATOR\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI APPROVER\",\r\n \"code\": \"LOI_APPROVER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST FIN SANC\",\r\n \"code\": \"EST_FIN_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI CREATOR\",\r\n \"code\": \"LOI_CREATOR\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"SUPER USER\",\r\n \"code\": \"SUPERUSER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_ADMIN_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"MUNICIPAL ENGINEER\",\r\n \"code\": \"MUNICIPAL_ENGINEER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI CHECKER\",\r\n \"code\": \"LOI_CHECKER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"JUNIOR ENGINEER\",\r\n \"code\": \"JUNIOR_ENGINEER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n }\r\n ],\r\n \"active\": true,\r\n \"tenantId\": \"pb.amritsar\",\r\n \"permanentCity\": \"Amritsar\"\r\n },\r\n \"signature\": \"string\"\r\n },\r\n \"estimate\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"projectId\": \"{{projectId}}\",\r\n \"proposalDate\": 1658222690000,\r\n \"status\": \"ACTIVE\",\r\n \"wfStatus\": \"CREATED\",\r\n \"name\": \"Construct new schools v22209-inboxv1\",\r\n \"referenceNumber\": \"File-1348430283v233209testv1\",\r\n \"description\": \"Construct new schools\",\r\n \"executingDepartment\": \"DEPT_1\",\r\n \"address\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"latitude\": 0,\r\n \"longitude\": 0,\r\n \"addressNumber\": \"kormangla v2233209v1\",\r\n \"addressLine1\": \"forum 123\",\r\n \"addressLine2\": \"string 123\",\r\n \"landmark\": \"circle\",\r\n \"city\": \"bangalore\",\r\n \"pincode\": \"560250\",\r\n \"detail\": \"string\"\r\n },\r\n \"estimateDetails\": [\r\n {\r\n \"category\": \"Overhead, SOR, non-SOR\",\r\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n \"unitRate\": 0,\r\n \"noOfunit\": 0,\r\n \"uom\": \"string\",\r\n \"uomValue\": 0,\r\n \"amountDetail\": [\r\n {\r\n \"type\": \"Gst v209v1, cess v2, charge \",\r\n \"amount\": 89657,\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n },\r\n \"workflow\": {\r\n \"action\": \"CREATE\",\r\n \"comment\": \"string\",\r\n \"assignees\": [\r\n \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\"\r\n ]\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_create", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_create" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Tue, 14 Feb 2023 06:53:38 GMT" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Connection", "value": "keep-alive" }, { "key": "Vary", "value": "Accept-Encoding" }, { "key": "Strict-Transport-Security", "value": "max-age=63072000; includeSubdomains; preload" }, { "key": "X-Lua-Resty-WAF-ID", "value": "1f1f03eea1df62f7ecf6" }, { "key": "x-correlation-id", "value": "0e39f78c-55e6-4ed8-8159-00feb7b0f31c" }, { "key": "Cache-Control", "value": "no-cache, no-store, max-age=0, must-revalidate" }, { "key": "Content-Security-Policy", "value": "default-src 'self' https: 'unsafe-eval' 'unsafe-inline'; object-src 'none'; img-src 'self' https: data: blob:; style-src https: blob: 'unsafe-inline'; worker-src 'self' blob:; font-src 'self' https: data: blob:; child-src 'self' https: data: blob:;" }, { "key": "Referrer-Policy", "value": "no-referrer-when-downgrade" }, { "key": "X-Content-Type-Options", "value": "nosniff" }, { "key": "X-Download-Options", "value": "noopen" }, { "key": "X-Frame-Options", "value": "sameorigin" }, { "key": "X-XSS-Protection", "value": "1" }, { "key": "Content-Encoding", "value": "gzip" } ], "cookie": [], "body": "{\n \"ResponseInfo\": {\n \"apiId\": null,\n \"ver\": null,\n \"ts\": 0,\n \"resMsgId\": \"uief87324\",\n \"msgId\": \"string\",\n \"status\": \"successful\"\n },\n \"estimates\": [\n {\n \"id\": \"245fe8a1-b741-4be9-860d-1c89860a98a3\",\n \"tenantId\": \"pb.amritsar\",\n \"estimateNumber\": \"ES/2022-23/000372\",\n \"projectId\": \"4ef2f943-bfe9-4bb8-82dd-431260cd4a17\",\n \"proposalDate\": 1676357618728,\n \"status\": \"ACTIVE\",\n \"wfStatus\": \"CREATED\",\n \"name\": \"Construct new schools v22209-inboxv1\",\n \"referenceNumber\": \"File-1348430283v233209testv1\",\n \"description\": \"Construct new schools\",\n \"executingDepartment\": \"DEPT_1\",\n \"address\": {\n \"id\": \"b881edf4-6b15-45a9-ab61-385eaeb7e508\",\n \"tenantId\": \"pb.amritsar\",\n \"latitude\": 0,\n \"longitude\": 0,\n \"addressNumber\": \"kormangla v2233209v1\",\n \"addressLine1\": \"forum 123\",\n \"addressLine2\": \"string 123\",\n \"landmark\": \"circle\",\n \"city\": \"bangalore\",\n \"pincode\": \"560250\",\n \"detail\": \"string\"\n },\n \"estimateDetails\": [\n {\n \"id\": \"03a562ee-e3c8-4419-bed0-783d0d297ef5\",\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\n \"category\": \"Overhead, SOR, non-SOR\",\n \"name\": \"string\",\n \"description\": \"string\",\n \"unitRate\": 0,\n \"noOfunit\": 0,\n \"uom\": \"string\",\n \"uomValue\": 0,\n \"amountDetail\": [\n {\n \"id\": \"fbae462a-bce3-4672-a6e2-e3663adef05b\",\n \"type\": \"Gst v209v1, cess v2, charge \",\n \"amount\": 89657,\n \"additionalDetails\": {}\n }\n ],\n \"additionalDetails\": {}\n }\n ],\n \"auditDetails\": {\n \"createdBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"lastModifiedBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"createdTime\": 1676357618728,\n \"lastModifiedTime\": 1676357618728\n },\n \"additionalDetails\": {},\n \"project\": null,\n \"ProcessInstances\": null\n }\n ],\n \"TotalCount\": null\n}" }, { "name": "_create_estimate-success-Mukta", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"estimate-service\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 0,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"{{authToken}}\",\r\n \"userInfo\": {\r\n \"id\": 109,\r\n \"uuid\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\r\n \"userName\": \"Nipsyyyy\",\r\n \"name\": \"Nipun \",\r\n \"mobileNumber\": \"9667076655\",\r\n \"emailId\": null,\r\n \"locale\": null,\r\n \"type\": \"EMPLOYEE\",\r\n \"roles\": [\r\n {\r\n \"name\": \"Employee\",\r\n \"code\": \"EMPLOYEE\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST_CHECKER\",\r\n \"code\": \"EST_CHECKER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"Organization admin\",\r\n \"code\": \"ORG_ADMIN\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_TECH_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"HRMS Admin\",\r\n \"code\": \"HRMS_ADMIN\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"Organization staff\",\r\n \"code\": \"ORG_STAFF\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST CREATOR\",\r\n \"code\": \"EST_CREATOR\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI APPROVER\",\r\n \"code\": \"LOI_APPROVER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST FIN SANC\",\r\n \"code\": \"EST_FIN_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI CREATOR\",\r\n \"code\": \"LOI_CREATOR\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"SUPER USER\",\r\n \"code\": \"SUPERUSER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_ADMIN_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"MUNICIPAL ENGINEER\",\r\n \"code\": \"MUNICIPAL_ENGINEER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI CHECKER\",\r\n \"code\": \"LOI_CHECKER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"JUNIOR ENGINEER\",\r\n \"code\": \"JUNIOR_ENGINEER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n }\r\n ],\r\n \"active\": true,\r\n \"tenantId\": \"pb.amritsar\",\r\n \"permanentCity\": \"Amritsar\"\r\n },\r\n \"signature\": \"string\"\r\n },\r\n \"estimate\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"projectId\": \"{{projectId}}\",\r\n \"proposalDate\": 1658222690000,\r\n \"status\": \"DRAFT\",\r\n \"wfStatus\": \"CREATED\",\r\n \"name\": \"Construct new schools v22209-inboxv1\",\r\n \"referenceNumber\": \"File-1348430283v233209testv1\",\r\n \"description\": \"Construct new schools\",\r\n \"executingDepartment\": \"DEPT_2\",\r\n \"address\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"latitude\": 0,\r\n \"longitude\": 0,\r\n \"addressNumber\": \"kormangla v2233209v1\",\r\n \"addressLine1\": \"forum 123\",\r\n \"addressLine2\": \"string 123\",\r\n \"landmark\": \"circle\",\r\n \"city\": \"bangalore\",\r\n \"pincode\": \"560250\",\r\n \"detail\": \"string\"\r\n },\r\n \"estimateDetails\": [\r\n {\r\n \"category\": \"Overhead, SOR, non-SOR\",\r\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n \"unitRate\": 0,\r\n \"noOfunit\": 0,\r\n \"uom\": \"string\",\r\n \"uomValue\": 0,\r\n \"amountDetail\": [\r\n {\r\n \"type\": \"Gst v209v1, cess v2, charge \",\r\n \"amount\": 89657,\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n },\r\n \"workflow\": {\r\n \"action\": \"CREATE\",\r\n \"comment\": \"string\" \r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_create", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_create" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Thu, 23 Feb 2023 07:51:32 GMT" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Connection", "value": "keep-alive" }, { "key": "Vary", "value": "Accept-Encoding" }, { "key": "Strict-Transport-Security", "value": "max-age=63072000; includeSubdomains; preload" }, { "key": "X-Lua-Resty-WAF-ID", "value": "cfed1fe2c45e4a48f95d" }, { "key": "x-correlation-id", "value": "60cd7a2d-aa04-4c83-805d-e528b40b4f25" }, { "key": "Cache-Control", "value": "no-cache, no-store, max-age=0, must-revalidate" }, { "key": "Content-Security-Policy", "value": "default-src 'self' https: 'unsafe-eval' 'unsafe-inline'; object-src 'none'; img-src 'self' https: data: blob:; style-src https: blob: 'unsafe-inline'; worker-src 'self' blob:; font-src 'self' https: data: blob:; child-src 'self' https: data: blob:;" }, { "key": "Referrer-Policy", "value": "no-referrer-when-downgrade" }, { "key": "X-Content-Type-Options", "value": "nosniff" }, { "key": "X-Download-Options", "value": "noopen" }, { "key": "X-Frame-Options", "value": "sameorigin" }, { "key": "X-XSS-Protection", "value": "1" }, { "key": "Content-Encoding", "value": "gzip" } ], "cookie": [], "body": "{\n \"ResponseInfo\": {\n \"apiId\": null,\n \"ver\": null,\n \"ts\": 0,\n \"resMsgId\": \"uief87324\",\n \"msgId\": \"string\",\n \"status\": \"successful\"\n },\n \"estimates\": [\n {\n \"id\": \"dc09e62d-a453-4ac9-81cc-ab498665c7af\",\n \"tenantId\": \"pg.citya\",\n \"estimateNumber\": \"ES/2022-23/000426\",\n \"projectId\": \"8d6a5f73-3bf7-4073-97d9-8906c2e86996\",\n \"proposalDate\": 1677138691499,\n \"status\": \"DRAFT\",\n \"wfStatus\": \"CREATED\",\n \"name\": \"Construct new schools v22209-inboxv1\",\n \"referenceNumber\": \"File-1348430283v233209testv1\",\n \"description\": \"Construct new schools\",\n \"executingDepartment\": \"DEPT_2\",\n \"address\": {\n \"id\": \"96a80019-48dc-42df-9e68-1918dd23eecf\",\n \"tenantId\": \"pg.citya\",\n \"latitude\": 0,\n \"longitude\": 0,\n \"addressNumber\": \"kormangla v2233209v1\",\n \"addressLine1\": \"forum 123\",\n \"addressLine2\": \"string 123\",\n \"landmark\": \"circle\",\n \"city\": \"bangalore\",\n \"pincode\": \"560250\",\n \"detail\": \"string\",\n \"locality\": null\n },\n \"estimateDetails\": [\n {\n \"id\": \"36d506af-fe0a-4ddd-9fb2-2744a46f4940\",\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\n \"category\": \"Overhead, SOR, non-SOR\",\n \"name\": \"string\",\n \"description\": \"string\",\n \"unitRate\": 0,\n \"noOfunit\": 0,\n \"uom\": \"string\",\n \"uomValue\": 0,\n \"amountDetail\": [\n {\n \"id\": \"459fc736-7efb-4acb-9b76-8e53e3ac00d8\",\n \"type\": \"Gst v209v1, cess v2, charge \",\n \"amount\": 89657,\n \"additionalDetails\": {}\n }\n ],\n \"additionalDetails\": {}\n }\n ],\n \"auditDetails\": {\n \"createdBy\": \"48023cd6-05f3-44ba-9e34-a2420aff08fb\",\n \"lastModifiedBy\": \"48023cd6-05f3-44ba-9e34-a2420aff08fb\",\n \"createdTime\": 1677138691497,\n \"lastModifiedTime\": 1677138691497\n },\n \"additionalDetails\": {},\n \"project\": null,\n \"ProcessInstances\": null\n }\n ],\n \"TotalCount\": null\n}" } ] }, { "name": "_create_estimate-success_OVERHEAD_Category", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"Response is successful\", () =>\r", " pm.expect(pm.response.to.have.status(200))\r", ");\r", "\r", "\r", "pm.test(\"Response is successful and set the estimate variables\", function () {\r", " let responseData = pm.response.json();\r", " pm.environment.set(\"estimateId\", responseData.estimates[0].id);\r", " pm.environment.set(\"estimateNumber\", responseData.estimates[0].estimateNumber);\r", "});\r", "\r", "pm.test(\"estimate's workflow status is created\", function () {\r", " let responseData = pm.response.json();\r", " pm.expect(responseData.estimates[0].wfStatus).eq(\"VERIFIED\");\r", "});\r", "\r", "\r", "" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"estimates\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 0,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"{{authToken}}\",\r\n \"userInfo\": {\r\n \"id\": 261,\r\n \"uuid\": \"1b348954-c257-4d18-afac-1b19fc3d86da\",\r\n \"userName\": \"EMP33\",\r\n \"name\": \"Jagankumar\",\r\n \"mobileNumber\": \"8877006677\",\r\n \"emailId\": \"abcd9890@dev.com\",\r\n \"locale\": null,\r\n \"type\": \"EMPLOYEE\",\r\n \"roles\": [\r\n {\r\n \"name\": \"HRMS Admin\",\r\n \"code\": \"HRMS_ADMIN\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"WORK ORDER CREATOR\",\r\n \"code\": \"WORK_ORDER_CREATOR\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"ESTIMATE VERIFIER\",\r\n \"code\": \"ESTIMATE_VERIFIER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"ESTIMATE APPROVER\",\r\n \"code\": \"ESTIMATE_APPROVER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"WORK ORDER VERIFIER\",\r\n \"code\": \"WORK_ORDER_VERIFIER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"PROJECT VIEWER\",\r\n \"code\": \"PROJECT_VIEWER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"MUSTER ROLL VERIFIER\",\r\n \"code\": \"MUSTER_ROLL_VERIFIER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"Employee Common\",\r\n \"code\": \"EMPLOYEE_COMMON\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"PROJECT CREATOR\",\r\n \"code\": \"PROJECT_CREATOR\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"BILL_VIEWER\",\r\n \"code\": \"BILL_VIEWER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"TECHNICAL SANCTIONER\",\r\n \"code\": \"TECHNICAL_SANCTIONER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"BILL_CREATOR\",\r\n \"code\": \"BILL_CREATOR\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"MUSTER ROLL APPROVER\",\r\n \"code\": \"MUSTER_ROLL_APPROVER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"WORK ORDER APPROVER\",\r\n \"code\": \"WORK_ORDER_APPROVER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"ESTIMATE CREATOR\",\r\n \"code\": \"ESTIMATE_CREATOR\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"MUKTA Admin\",\r\n \"code\": \"MUKTA_ADMIN\",\r\n \"tenantId\": \"pg.citya\"\r\n }\r\n ],\r\n \"active\": true,\r\n \"tenantId\": \"pg.citya\",\r\n \"permanentCity\": null,\r\n \"signature\": \"string\"\r\n }\r\n },\r\n \"estimate\": {\r\n \"tenantId\": \"pg.citya\",\r\n \"projectId\": \"6fa764c8-f648-4ae2-a019-4b830f9761a5\",\r\n \"proposalDate\": 1658222690000,\r\n \"status\": \"INACTIVE\",\r\n \"wfStatus\": \"\",\r\n \"name\": \"Construct new schools v22209-inboxv1\",\r\n \"referenceNumber\": \"File-1348430283v233209testv1\",\r\n \"description\": \"Construct new schools\",\r\n \"executingDepartment\": \"NULM\",\r\n \"address\": {\r\n \"tenantId\": \"pg.citya\",\r\n \"latitude\": 0,\r\n \"longitude\": 0,\r\n \"addressNumber\": \"kormangla v2233209v1\",\r\n \"addressLine1\": \"forum 123\",\r\n \"addressLine2\": \"string 123\",\r\n \"landmark\": \"circle\",\r\n \"city\": \"bangalore\",\r\n \"pincode\": \"560250\",\r\n \"detail\": \"string\"\r\n },\r\n \"estimateDetails\": [\r\n {\r\n \"category\": \"OVERHEAD\",\r\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n \"unitRate\": 0,\r\n \"noOfunit\": 0,\r\n \"uom\": \"string\",\r\n \"height\": null,\r\n \"isDeduction\": false,\r\n \"length\": null,\r\n \"quantity\": 2,\r\n \"uomValue\": null,\r\n \"width\": null,\r\n \"amountDetail\": [\r\n {\r\n \"type\": \"Gst v209v1, cess v2, charge \",\r\n \"amount\": 89657,\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n },\r\n \"workflow\": {\r\n \"action\": \"SUBMIT\",\r\n \"comment\": \"string\"\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://localhost:8031/estimate-service/estimate/v1/_create", "protocol": "http", "host": [ "localhost" ], "port": "8031", "path": [ "estimate-service", "estimate", "v1", "_create" ] } }, "response": [] }, { "name": "_create_estimate-address_null", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"tenantId is mandatory\", function () {\r", " var req =JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.tenantId).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Name is mandatory\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.name).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Name is mandatory\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.name).to.be.not.undefined;\r", "});\r", "\r", "pm.test(\"projectId is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.projectId).to.not.be.null;\r", " });\r", "\r", " pm.test(\"estimateDetails is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.estimateDetails).to.be.not.null;\r", "});\r", "\r", "pm.test(\"address is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.address).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Response is not successful\", () =>\r", " pm.expect(pm.response.to.have.status(400))\r", ");\r", "\r", "\r", "" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"string\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 0,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"{{authToken}}\",\r\n \"userInfo\": {\r\n \"id\": 109,\r\n \"uuid\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\r\n \"userName\": \"Nipsyyyy\",\r\n \"name\": \"Nipun \",\r\n \"mobileNumber\": \"9667076655\",\r\n \"emailId\": null,\r\n \"locale\": null,\r\n \"type\": \"EMPLOYEE\",\r\n \"roles\": [\r\n {\r\n \"name\": \"Employee\",\r\n \"code\": \"EMPLOYEE\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST_CHECKER\",\r\n \"code\": \"EST_CHECKER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"Organization admin\",\r\n \"code\": \"ORG_ADMIN\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_TECH_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"HRMS Admin\",\r\n \"code\": \"HRMS_ADMIN\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"Organization staff\",\r\n \"code\": \"ORG_STAFF\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST CREATOR\",\r\n \"code\": \"EST_CREATOR\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI APPROVER\",\r\n \"code\": \"LOI_APPROVER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST FIN SANC\",\r\n \"code\": \"EST_FIN_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI CREATOR\",\r\n \"code\": \"LOI_CREATOR\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"SUPER USER\",\r\n \"code\": \"SUPERUSER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_ADMIN_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"MUNICIPAL ENGINEER\",\r\n \"code\": \"MUNICIPAL_ENGINEER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI CHECKER\",\r\n \"code\": \"LOI_CHECKER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"JUNIOR ENGINEER\",\r\n \"code\": \"JUNIOR_ENGINEER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n }\r\n ],\r\n \"active\": true,\r\n \"tenantId\": \"pb.amritsar\",\r\n \"permanentCity\": \"Amritsar\"\r\n },\r\n \"signature\": \"string\"\r\n },\r\n \"estimate\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"projectId\": \"{{projectId}}\",\r\n \"proposalDate\": 1658222690000,\r\n \"status\": \"ACTIVE\",\r\n \"wfStatus\": \"CREATED\",\r\n \"name\": \"Construct new schools\",\r\n \"referenceNumber\": \"File-18430283\",\r\n \"description\": \"Construct new schools\",\r\n \"executingDepartment\": \"DEPT_1\",\r\n \"estimateDetails\": [\r\n {\r\n \"category\": \"Overhead, SOR, non-SOR\",\r\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n \"unitRate\": 0,\r\n \"noOfunit\": 0,\r\n \"uom\": \"string\",\r\n \"height\": null,\r\n \"isDeduction\": false,\r\n \"length\": null,\r\n \"quantity\": 2,\r\n \"uomValue\": null,\r\n \"width\": null,\r\n \"amountDetail\": [\r\n {\r\n \"type\": \"Gst, cess, charge \",\r\n \"amount\": 34567,\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n },\r\n \"workflow\": {\r\n \"action\": \"CREATE\",\r\n \"comment\": \"string\",\r\n \"assignees\": [\r\n \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\"\r\n ]\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_create", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_create" ] } }, "response": [] }, { "name": "_create_estimate-invalid_project", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"tenantId is mandatory\", function () {\r", " var req =JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.tenantId).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Name is mandatory\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.name).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Name is mandatory\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.name).to.be.not.undefined;\r", "});\r", "\r", "pm.test(\"projectId is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.projectId).to.not.be.null;\r", " });\r", "\r", " pm.test(\"estimateDetails is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.estimateDetails).to.be.not.null;\r", "});\r", "\r", "pm.test(\"address is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.address).to.not.be.undefined;\r", "});\r", "\r", "pm.test(\"Response is not successful\", () =>\r", " pm.expect(pm.response.to.have.status(400))\r", ");" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"string\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 0,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"{{authToken}}\",\r\n \"userInfo\": {\r\n \"id\": 109,\r\n \"uuid\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\r\n \"userName\": \"Nipsyyyy\",\r\n \"name\": \"Nipun \",\r\n \"mobileNumber\": \"9667076655\",\r\n \"emailId\": null,\r\n \"locale\": null,\r\n \"type\": \"EMPLOYEE\",\r\n \"roles\": [\r\n {\r\n \"name\": \"Employee\",\r\n \"code\": \"EMPLOYEE\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST_CHECKER\",\r\n \"code\": \"EST_CHECKER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"Organization admin\",\r\n \"code\": \"ORG_ADMIN\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_TECH_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"HRMS Admin\",\r\n \"code\": \"HRMS_ADMIN\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"Organization staff\",\r\n \"code\": \"ORG_STAFF\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST CREATOR\",\r\n \"code\": \"EST_CREATOR\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI APPROVER\",\r\n \"code\": \"LOI_APPROVER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST FIN SANC\",\r\n \"code\": \"EST_FIN_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI CREATOR\",\r\n \"code\": \"LOI_CREATOR\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"SUPER USER\",\r\n \"code\": \"SUPERUSER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_ADMIN_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"MUNICIPAL ENGINEER\",\r\n \"code\": \"MUNICIPAL_ENGINEER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI CHECKER\",\r\n \"code\": \"LOI_CHECKER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"JUNIOR ENGINEER\",\r\n \"code\": \"JUNIOR_ENGINEER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n }\r\n ],\r\n \"active\": true,\r\n \"tenantId\": \"pb.amritsar\",\r\n \"permanentCity\": \"Amritsar\"\r\n },\r\n \"signature\": \"string\"\r\n },\r\n \"estimate\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"projectId\": \"\",\r\n \"proposalDate\": 1658222690000,\r\n \"status\": \"ACTIVE\",\r\n \"wfStatus\": \"CREATED\",\r\n \"name\": \"Construct new schools\",\r\n \"referenceNumber\": \"File-18430283\",\r\n \"description\": \"Construct new schools\",\r\n \"executingDepartment\": \"DEPT_1\",\r\n \"address\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"latitude\": 0,\r\n \"longitude\": 0,\r\n \"addressNumber\": \"kormangla\",\r\n \"addressLine1\": \"forum 1\",\r\n \"addressLine2\": \"string\",\r\n \"landmark\": \"circle\",\r\n \"city\": \"bangalore\",\r\n \"pincode\": \"560150\",\r\n \"detail\": \"string\"\r\n },\r\n \"estimateDetails\": [\r\n {\r\n \"category\": \"Overhead, SOR, non-SOR\",\r\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n \"unitRate\": 0,\r\n \"noOfunit\": 0,\r\n \"uom\": \"string\",\r\n \"height\": null,\r\n \"isDeduction\": false,\r\n \"length\": null,\r\n \"quantity\": 2,\r\n \"uomValue\": null,\r\n \"width\": null,\r\n \"amountDetail\": [\r\n {\r\n \"type\": \"Gst, cess, charge \",\r\n \"amount\": 34567,\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n },\r\n \"workflow\": {\r\n \"action\": \"CREATE\",\r\n \"comment\": \"string\",\r\n \"assignees\": [\r\n \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\"\r\n ]\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_create", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_create" ] } }, "response": [] }, { "name": "_create_estimate-department_null", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"tenantId is mandatory\", function () {\r", " var req =JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.tenantId).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Name is mandatory\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.name).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Name is mandatory\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.name).to.be.not.undefined;\r", "});\r", "\r", "pm.test(\"projectId is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.projectId).to.not.be.null;\r", " });\r", "\r", " pm.test(\"estimateDetails is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.estimateDetails).to.be.not.null;\r", "});\r", "\r", "pm.test(\"address is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.address).to.not.be.undefined;\r", "});\r", "\r", "pm.test(\"Response is not successful\", () =>\r", " pm.expect(pm.response.to.have.status(400))\r", ");" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"string\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 0,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"{{authToken}}\",\r\n \"userInfo\": {\r\n \"id\": 109,\r\n \"uuid\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\r\n \"userName\": \"Nipsyyyy\",\r\n \"name\": \"Nipun \",\r\n \"mobileNumber\": \"9667076655\",\r\n \"emailId\": null,\r\n \"locale\": null,\r\n \"type\": \"EMPLOYEE\",\r\n \"roles\": [\r\n {\r\n \"name\": \"Employee\",\r\n \"code\": \"EMPLOYEE\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST_CHECKER\",\r\n \"code\": \"EST_CHECKER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"Organization admin\",\r\n \"code\": \"ORG_ADMIN\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_TECH_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"HRMS Admin\",\r\n \"code\": \"HRMS_ADMIN\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"Organization staff\",\r\n \"code\": \"ORG_STAFF\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST CREATOR\",\r\n \"code\": \"EST_CREATOR\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI APPROVER\",\r\n \"code\": \"LOI_APPROVER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST FIN SANC\",\r\n \"code\": \"EST_FIN_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI CREATOR\",\r\n \"code\": \"LOI_CREATOR\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"SUPER USER\",\r\n \"code\": \"SUPERUSER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_ADMIN_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"MUNICIPAL ENGINEER\",\r\n \"code\": \"MUNICIPAL_ENGINEER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI CHECKER\",\r\n \"code\": \"LOI_CHECKER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"JUNIOR ENGINEER\",\r\n \"code\": \"JUNIOR_ENGINEER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n }\r\n ],\r\n \"active\": true,\r\n \"tenantId\": \"pb.amritsar\",\r\n \"permanentCity\": \"Amritsar\"\r\n },\r\n \"signature\": \"string\"\r\n },\r\n \"estimate\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"projectId\": \"{{projectId}}\",\r\n \"proposalDate\": 1658222690000,\r\n \"status\": \"ACTIVE\",\r\n \"wfStatus\": \"CREATED\",\r\n \"name\": \"Construct new schools\",\r\n \"referenceNumber\": \"File-18430283\",\r\n \"description\": \"Construct new schools\",\r\n \"executingDepartment\": \"\",\r\n \"address\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"latitude\": 0,\r\n \"longitude\": 0,\r\n \"addressNumber\": \"kormangla\",\r\n \"addressLine1\": \"forum 1\",\r\n \"addressLine2\": \"string\",\r\n \"landmark\": \"circle\",\r\n \"city\": \"bangalore\",\r\n \"pincode\": \"560150\",\r\n \"detail\": \"string\"\r\n },\r\n \"estimateDetails\": [\r\n {\r\n \"category\": \"Overhead, SOR, non-SOR\",\r\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n \"unitRate\": 0,\r\n \"noOfunit\": 0,\r\n \"uom\": \"string\",\r\n \"height\": null,\r\n \"isDeduction\": false,\r\n \"length\": null,\r\n \"quantity\": 2,\r\n \"uomValue\": null,\r\n \"width\": null,\r\n \"amountDetail\": [\r\n {\r\n \"type\": \"Gst, cess, charge \",\r\n \"amount\": 34567,\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n },\r\n \"workflow\": {\r\n \"action\": \"CREATE\",\r\n \"comment\": \"string\",\r\n \"assignees\": [\r\n \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\"\r\n ]\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_create", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_create" ] } }, "response": [] }, { "name": "_create_estimate-department_invalid", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"tenantId is mandatory\", function () {\r", " var req =JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.tenantId).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Name is mandatory\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.name).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Name is mandatory\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.name).to.be.not.undefined;\r", "});\r", "\r", "pm.test(\"projectId is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.projectId).to.not.be.null;\r", " });\r", "\r", " pm.test(\"estimateDetails is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.estimateDetails).to.be.not.null;\r", "});\r", "\r", "pm.test(\"address is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.address).to.not.be.undefined;\r", "});\r", "\r", "pm.test(\"Response is not successful\", () =>\r", " pm.expect(pm.response.to.have.status(400))\r", ");" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"string\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 0,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"{{authToken}}\",\r\n \"userInfo\": {\r\n \"id\": 109,\r\n \"uuid\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\r\n \"userName\": \"Nipsyyyy\",\r\n \"name\": \"Nipun \",\r\n \"mobileNumber\": \"9667076655\",\r\n \"emailId\": null,\r\n \"locale\": null,\r\n \"type\": \"EMPLOYEE\",\r\n \"roles\": [\r\n {\r\n \"name\": \"Employee\",\r\n \"code\": \"EMPLOYEE\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST_CHECKER\",\r\n \"code\": \"EST_CHECKER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"Organization admin\",\r\n \"code\": \"ORG_ADMIN\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_TECH_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"HRMS Admin\",\r\n \"code\": \"HRMS_ADMIN\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"Organization staff\",\r\n \"code\": \"ORG_STAFF\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST CREATOR\",\r\n \"code\": \"EST_CREATOR\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI APPROVER\",\r\n \"code\": \"LOI_APPROVER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST FIN SANC\",\r\n \"code\": \"EST_FIN_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI CREATOR\",\r\n \"code\": \"LOI_CREATOR\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"SUPER USER\",\r\n \"code\": \"SUPERUSER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_ADMIN_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"MUNICIPAL ENGINEER\",\r\n \"code\": \"MUNICIPAL_ENGINEER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI CHECKER\",\r\n \"code\": \"LOI_CHECKER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"JUNIOR ENGINEER\",\r\n \"code\": \"JUNIOR_ENGINEER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n }\r\n ],\r\n \"active\": true,\r\n \"tenantId\": \"pb.amritsar\",\r\n \"permanentCity\": \"Amritsar\"\r\n },\r\n \"signature\": \"string\"\r\n },\r\n \"estimate\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"projectId\": \"{{projectId}}\",\r\n \"proposalDate\": 1658222690000,\r\n \"status\": \"ACTIVE\",\r\n \"wfStatus\": \"CREATED\",\r\n \"name\": \"Construct new schools\",\r\n \"referenceNumber\": \"File-18430283\",\r\n \"description\": \"Construct new schools\",\r\n \"executingDepartment\": \"xyz\",\r\n \"address\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"latitude\": 0,\r\n \"longitude\": 0,\r\n \"addressNumber\": \"kormangla\",\r\n \"addressLine1\": \"forum 1\",\r\n \"addressLine2\": \"string\",\r\n \"landmark\": \"circle\",\r\n \"city\": \"bangalore\",\r\n \"pincode\": \"560150\",\r\n \"detail\": \"string\"\r\n },\r\n \"estimateDetails\": [\r\n {\r\n \"category\": \"Overhead, SOR, non-SOR\",\r\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n \"unitRate\": 0,\r\n \"noOfunit\": 0,\r\n \"uom\": \"string\",\r\n \"height\": null,\r\n \"isDeduction\": false,\r\n \"length\": null,\r\n \"quantity\": 2,\r\n \"uomValue\": null,\r\n \"width\": null,\r\n \"amountDetail\": [\r\n {\r\n \"type\": \"Gst, cess, charge \",\r\n \"amount\": 34567,\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n },\r\n \"workflow\": {\r\n \"action\": \"CREATE\",\r\n \"comment\": \"string\",\r\n \"assignees\": [\r\n \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\"\r\n ]\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_create", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_create" ] } }, "response": [] }, { "name": "_create_estimate-amount_detail_null", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"tenantId is mandatory\", function () {\r", " var req =JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.tenantId).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Name is mandatory\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.name).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Name is mandatory\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.name).to.be.not.undefined;\r", "});\r", "\r", "pm.test(\"projectId is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.projectId).to.not.be.null;\r", " });\r", "\r", " pm.test(\"estimateDetails is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.estimateDetails).to.be.not.null;\r", "});\r", "\r", "pm.test(\"address is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.address).to.not.be.undefined;\r", "});\r", "\r", "pm.test(\"Response is not successful\", () =>\r", " pm.expect(pm.response.to.have.status(400))\r", ");" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"string\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 0,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"{{authToken}}\",\r\n \"userInfo\": {\r\n \"id\": 109,\r\n \"uuid\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\r\n \"userName\": \"Nipsyyyy\",\r\n \"name\": \"Nipun \",\r\n \"mobileNumber\": \"9667076655\",\r\n \"emailId\": null,\r\n \"locale\": null,\r\n \"type\": \"EMPLOYEE\",\r\n \"roles\": [\r\n {\r\n \"name\": \"Employee\",\r\n \"code\": \"EMPLOYEE\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST_CHECKER\",\r\n \"code\": \"EST_CHECKER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"Organization admin\",\r\n \"code\": \"ORG_ADMIN\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_TECH_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"HRMS Admin\",\r\n \"code\": \"HRMS_ADMIN\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"Organization staff\",\r\n \"code\": \"ORG_STAFF\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST CREATOR\",\r\n \"code\": \"EST_CREATOR\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI APPROVER\",\r\n \"code\": \"LOI_APPROVER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST FIN SANC\",\r\n \"code\": \"EST_FIN_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI CREATOR\",\r\n \"code\": \"LOI_CREATOR\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"SUPER USER\",\r\n \"code\": \"SUPERUSER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_ADMIN_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"MUNICIPAL ENGINEER\",\r\n \"code\": \"MUNICIPAL_ENGINEER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI CHECKER\",\r\n \"code\": \"LOI_CHECKER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"JUNIOR ENGINEER\",\r\n \"code\": \"JUNIOR_ENGINEER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n }\r\n ],\r\n \"active\": true,\r\n \"tenantId\": \"pb.amritsar\",\r\n \"permanentCity\": \"Amritsar\"\r\n },\r\n \"signature\": \"string\"\r\n },\r\n \"estimate\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"projectId\": \"{{projectId}}\",\r\n \"proposalDate\": 1658222690000,\r\n \"status\": \"ACTIVE\",\r\n \"wfStatus\": \"CREATED\",\r\n \"name\": \"Construct new schools\",\r\n \"referenceNumber\": \"File-18430283\",\r\n \"description\": \"Construct new schools\",\r\n \"executingDepartment\": \"xyz\",\r\n \"address\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"latitude\": 0,\r\n \"longitude\": 0,\r\n \"addressNumber\": \"kormangla\",\r\n \"addressLine1\": \"forum 1\",\r\n \"addressLine2\": \"string\",\r\n \"landmark\": \"circle\",\r\n \"city\": \"bangalore\",\r\n \"pincode\": \"560150\",\r\n \"detail\": \"string\"\r\n },\r\n \"estimateDetails\": [\r\n {\r\n \"category\": \"Overhead, SOR, non-SOR\",\r\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n \"unitRate\": 0,\r\n \"noOfunit\": 0,\r\n \"uom\": \"string\",\r\n \"height\": null,\r\n \"isDeduction\": false,\r\n \"length\": null,\r\n \"quantity\": 2,\r\n \"uomValue\": null,\r\n \"width\": null,\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n },\r\n \"workflow\": {\r\n \"action\": \"CREATE\",\r\n \"comment\": \"string\",\r\n \"assignees\": [\r\n \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\"\r\n ]\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_create", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_create" ] } }, "response": [] }, { "name": "_create_estimate-estimate_detail_null", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"tenantId is mandatory\", function () {\r", " var req =JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.tenantId).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Name is mandatory\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.name).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Name is mandatory\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.name).to.be.not.undefined;\r", "});\r", "\r", "pm.test(\"projectId is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.projectId).to.not.be.null;\r", " });\r", "\r", " pm.test(\"estimateDetails is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.estimateDetails).to.be.not.null;\r", "});\r", "\r", "pm.test(\"address is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.address).to.not.be.undefined;\r", "});\r", "\r", "pm.test(\"Response is not successful\", () =>\r", " pm.expect(pm.response.to.have.status(400))\r", ");\r", "\r", "\r", "" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"string\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 0,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"{{authToken}}\",\r\n \"userInfo\": {\r\n \"id\": 109,\r\n \"uuid\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\r\n \"userName\": \"Nipsyyyy\",\r\n \"name\": \"Nipun \",\r\n \"mobileNumber\": \"9667076655\",\r\n \"emailId\": null,\r\n \"locale\": null,\r\n \"type\": \"EMPLOYEE\",\r\n \"roles\": [\r\n {\r\n \"name\": \"Employee\",\r\n \"code\": \"EMPLOYEE\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST_CHECKER\",\r\n \"code\": \"EST_CHECKER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"Organization admin\",\r\n \"code\": \"ORG_ADMIN\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_TECH_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"HRMS Admin\",\r\n \"code\": \"HRMS_ADMIN\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"Organization staff\",\r\n \"code\": \"ORG_STAFF\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST CREATOR\",\r\n \"code\": \"EST_CREATOR\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI APPROVER\",\r\n \"code\": \"LOI_APPROVER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST FIN SANC\",\r\n \"code\": \"EST_FIN_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI CREATOR\",\r\n \"code\": \"LOI_CREATOR\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"SUPER USER\",\r\n \"code\": \"SUPERUSER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_ADMIN_SANC\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"MUNICIPAL ENGINEER\",\r\n \"code\": \"MUNICIPAL_ENGINEER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"LOI CHECKER\",\r\n \"code\": \"LOI_CHECKER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n },\r\n {\r\n \"name\": \"JUNIOR ENGINEER\",\r\n \"code\": \"JUNIOR_ENGINEER\",\r\n \"tenantId\": \"pb.amritsar\"\r\n }\r\n ],\r\n \"active\": true,\r\n \"tenantId\": \"pb.amritsar\",\r\n \"permanentCity\": \"Amritsar\"\r\n },\r\n \"signature\": \"string\"\r\n },\r\n \"estimate\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"projectId\": \"{{projectId}}\",\r\n \"proposalDate\": 1658222690000,\r\n \"status\": \"ACTIVE\",\r\n \"wfStatus\": \"CREATED\",\r\n \"name\": \"Construct new schools\",\r\n \"referenceNumber\": \"File-18430283\",\r\n \"description\": \"Construct new schools\",\r\n \"executingDepartment\": \"DEPT_1\",\r\n \"address\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"latitude\": 0,\r\n \"longitude\": 0,\r\n \"addressNumber\": \"kormangla\",\r\n \"addressLine1\": \"forum 1\",\r\n \"addressLine2\": \"string\",\r\n \"landmark\": \"circle\",\r\n \"city\": \"bangalore\",\r\n \"pincode\": \"560150\",\r\n \"detail\": \"string\"\r\n },\r\n \"additionalDetails\": {}\r\n },\r\n \"workflow\": {\r\n \"action\": \"CREATE\",\r\n \"comment\": \"string\",\r\n \"assignees\": [\r\n \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\"\r\n ]\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_create", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_create" ] } }, "response": [] }, { "name": "_update_estimate_success", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"Response is successful\", () =>\r", " pm.expect(pm.response.to.have.status(200))\r", ");\r", "\r", "\r", "// pm.test(\"Response is successful and set the estimate variables\", function () {\r", "// let responseData = pm.response.json();\r", "// pm.environment.set(\"estimateId\", responseData.estimates[0].id);\r", "// pm.environment.set(\"estimateNumber\", responseData.estimates[0].estimateNumber);\r", "// });\r", "\r", "pm.test(\"estimate's workflow status is created\", function () {\r", " let responseData = pm.response.json();\r", " pm.expect(responseData.estimates[0].wfStatus).eq(\"TECHNICALLY SANCTIONED\");\r", "});\r", "\r", "\r", "" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"string\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 0,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"{{authToken}}\",\r\n \"signature\": \"string\"\r\n },\r\n \"estimate\": {\r\n \"id\": \"{{estimateId}}\",\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"projectId\": \"{{projectId}}\",\r\n \"proposalDate\": 1658222690000,\r\n \"estimateNumber\": \"{{estimateNumber}}\",\r\n \"status\": \"ACTIVE\",\r\n \"wfStatus\": \"CREATED\",\r\n \"name\": \"Construct new schools v1\",\r\n \"referenceNumber\": \"File-18430283\",\r\n \"description\": \"Construct new schools v11\",\r\n \"executingDepartment\": \"DEPT_1\",\r\n \"address\": {\r\n \"tenantId\": \"pg.citya\",\r\n \"latitude\": 0,\r\n \"longitude\": 0,\r\n \"addressNumber\": \"kormangla\",\r\n \"addressLine1\": \"forum 1\",\r\n \"addressLine2\": \"string\",\r\n \"landmark\": \"circle\",\r\n \"city\": \"bangalore\",\r\n \"pincode\": \"560150\",\r\n \"detail\": \"string\"\r\n },\r\n \"estimateDetails\": [\r\n {\r\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n \"unitRate\": 0,\r\n \"isActive\":false,\r\n \"noOfunit\": 0,\r\n \"uom\": \"string\",\r\n \"height\": null,\r\n \"isDeduction\": false,\r\n \"length\": null,\r\n \"quantity\": 2,\r\n \"uomValue\": null,\r\n \"width\": null,\r\n \"amountDetail\": [\r\n {\r\n \"category\": \"Overhead, SOR, non-SOR\",\r\n \"type\": \"Gst, cess, charge \",\r\n \"amount\": 500045,\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n },\r\n \"workflow\": {\r\n \"action\": \"VERIFYANDFORWARD\",\r\n \"comment\": \"string\"\r\n }\r\n}\r\n", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_update", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_update" ] } }, "response": [ { "name": "_update_estimate", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"string\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 0,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"d11921f0-0dae-46bc-a357-4609c80f44cf\",\r\n \"signature\": \"string\"\r\n },\r\n \"estimate\": {\r\n \"id\": \"{{estimateId}}\",\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"projectId\": \"{{projectId}}\",\r\n \"proposalDate\": 1658222690000,\r\n \"estimateNumber\": \"EP/2022-23/01/000261\",\r\n \"status\": \"ACTIVE\",\r\n \"wfStatus\": \"CREATED\",\r\n \"name\": \"Construct new schools\",\r\n \"referenceNumber\": \"File-18430283\",\r\n \"description\": \"Construct new schools\",\r\n \"executingDepartment\": \"DEPT_1\",\r\n \"address\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"latitude\": 0,\r\n \"longitude\": 0,\r\n \"addressNumber\": \"kormangla\",\r\n \"addressLine1\": \"forum 1\",\r\n \"addressLine2\": \"string\",\r\n \"landmark\": \"circle\",\r\n \"city\": \"bangalore\",\r\n \"pincode\": \"560150\",\r\n \"detail\": \"string\"\r\n },\r\n \"estimateDetails\": [\r\n {\r\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n \"unitRate\": 0,\r\n \"noOfunit\": 0,\r\n \"uom\": \"string\",\r\n \"uomValue\": 0,\r\n \"amountDetail\": [\r\n {\r\n \"category\": \"Overhead, SOR, non-SOR\",\r\n \"type\": \"Gst, cess, charge \",\r\n \"amount\": 500045,\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n },\r\n \"workflow\": {\r\n \"action\": \"CHECK\",\r\n \"comment\": \"string\",\r\n \"assignees\": [\r\n \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\"\r\n ]\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_update", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_update" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Tue, 24 Jan 2023 16:08:15 GMT" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Connection", "value": "keep-alive" }, { "key": "Vary", "value": "Accept-Encoding" }, { "key": "Strict-Transport-Security", "value": "max-age=63072000; includeSubdomains; preload" }, { "key": "X-Lua-Resty-WAF-ID", "value": "7e1bfa20ea20c2ee6269" }, { "key": "x-correlation-id", "value": "2884127a-8ffb-4d16-b380-887c339e9d08" }, { "key": "Cache-Control", "value": "no-cache, no-store, max-age=0, must-revalidate" }, { "key": "Content-Security-Policy", "value": "default-src 'self' https: 'unsafe-eval' 'unsafe-inline'; object-src 'none'; img-src 'self' https: data: blob:; style-src https: blob: 'unsafe-inline'; worker-src 'self' blob:; font-src 'self' https: data: blob:; child-src 'self' https: data: blob:;" }, { "key": "Referrer-Policy", "value": "no-referrer-when-downgrade" }, { "key": "X-Content-Type-Options", "value": "nosniff" }, { "key": "X-Download-Options", "value": "noopen" }, { "key": "X-Frame-Options", "value": "sameorigin" }, { "key": "X-XSS-Protection", "value": "1" }, { "key": "Content-Encoding", "value": "gzip" } ], "cookie": [], "body": "{\n \"ResponseInfo\": {\n \"apiId\": null,\n \"ver\": null,\n \"ts\": 0,\n \"resMsgId\": \"uief87324\",\n \"msgId\": \"string\",\n \"status\": \"successful\"\n },\n \"estimates\": [\n {\n \"id\": \"55985006-fa37-4145-9f81-26711986a9b7\",\n \"tenantId\": \"pb.amritsar\",\n \"estimateNumber\": \"EP/2022-23/01/000261\",\n \"projectId\": \"854b3f54-3775-4a14-a962-9eba6620f0d3\",\n \"proposalDate\": 1658222690000,\n \"status\": \"ACTIVE\",\n \"wfStatus\": \"CHECKED\",\n \"name\": \"Construct new schools\",\n \"referenceNumber\": \"File-18430283\",\n \"description\": \"Construct new schools\",\n \"executingDepartment\": \"DEPT_1\",\n \"address\": {\n \"id\": null,\n \"tenantId\": \"pb.amritsar\",\n \"latitude\": 0,\n \"longitude\": 0,\n \"addressNumber\": \"kormangla\",\n \"addressLine1\": \"forum 1\",\n \"addressLine2\": \"string\",\n \"landmark\": \"circle\",\n \"city\": \"bangalore\",\n \"pincode\": \"560150\",\n \"detail\": \"string\"\n },\n \"estimateDetails\": [\n {\n \"id\": null,\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\n \"category\": null,\n \"name\": \"string\",\n \"description\": \"string\",\n \"unitRate\": 0,\n \"noOfunit\": 0,\n \"uom\": \"string\",\n \"uomValue\": 0,\n \"amountDetail\": [\n {\n \"id\": null,\n \"type\": \"Gst, cess, charge \",\n \"amount\": 500045,\n \"additionalDetails\": {}\n }\n ],\n \"additionalDetails\": {}\n }\n ],\n \"auditDetails\": {\n \"createdBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"lastModifiedBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"createdTime\": 1674574807061,\n \"lastModifiedTime\": 1674576493655\n },\n \"additionalDetails\": {}\n }\n ],\n \"TotalCount\": null\n}" }, { "name": "_update_estimate_success", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"string\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 0,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"{{authToken}}\",\r\n \"signature\": \"string\"\r\n },\r\n \"estimate\": {\r\n \"id\": \"7a9dfaf0-6705-42c5-9bff-66b89980cd32\",\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"projectId\": \"{{projectId}}\",\r\n \"proposalDate\": 1658222690000,\r\n \"estimateNumber\": \"EP/2022-23/02/000274\",\r\n \"status\": \"ACTIVE\",\r\n \"wfStatus\": \"CREATED\",\r\n \"name\": \"Construct new schools v1\",\r\n \"referenceNumber\": \"File-18430283\",\r\n \"description\": \"Construct new schools v11\",\r\n \"executingDepartment\": \"DEPT_1\",\r\n \"address\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"latitude\": 0,\r\n \"longitude\": 0,\r\n \"addressNumber\": \"kormangla\",\r\n \"addressLine1\": \"forum 1\",\r\n \"addressLine2\": \"string\",\r\n \"landmark\": \"circle\",\r\n \"city\": \"bangalore\",\r\n \"pincode\": \"560150\",\r\n \"detail\": \"string\"\r\n },\r\n \"estimateDetails\": [\r\n {\r\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n \"unitRate\": 0,\r\n \"noOfunit\": 0,\r\n \"uom\": \"string\",\r\n \"uomValue\": 0,\r\n \"amountDetail\": [\r\n {\r\n \"category\": \"Overhead, SOR, non-SOR\",\r\n \"type\": \"Gst, cess, charge \",\r\n \"amount\": 500045,\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n },\r\n \"workflow\": {\r\n \"action\": \"CHECK\",\r\n \"comment\": \"string\",\r\n \"assignees\": [\r\n \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\"\r\n ]\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_update", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_update" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Fri, 03 Feb 2023 16:31:25 GMT" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Connection", "value": "keep-alive" }, { "key": "Vary", "value": "Accept-Encoding" }, { "key": "Strict-Transport-Security", "value": "max-age=63072000; includeSubdomains; preload" }, { "key": "X-Lua-Resty-WAF-ID", "value": "4f634ff3c0ff02b81046" }, { "key": "x-correlation-id", "value": "bf62b7da-358d-4163-9a80-fd6aa76c5109" }, { "key": "Cache-Control", "value": "no-cache, no-store, max-age=0, must-revalidate" }, { "key": "Content-Security-Policy", "value": "default-src 'self' https: 'unsafe-eval' 'unsafe-inline'; object-src 'none'; img-src 'self' https: data: blob:; style-src https: blob: 'unsafe-inline'; worker-src 'self' blob:; font-src 'self' https: data: blob:; child-src 'self' https: data: blob:;" }, { "key": "Referrer-Policy", "value": "no-referrer-when-downgrade" }, { "key": "X-Content-Type-Options", "value": "nosniff" }, { "key": "X-Download-Options", "value": "noopen" }, { "key": "X-Frame-Options", "value": "sameorigin" }, { "key": "X-XSS-Protection", "value": "1" }, { "key": "Content-Encoding", "value": "gzip" } ], "cookie": [], "body": "{\n \"ResponseInfo\": {\n \"apiId\": null,\n \"ver\": null,\n \"ts\": 0,\n \"resMsgId\": \"uief87324\",\n \"msgId\": \"string\",\n \"status\": \"successful\"\n },\n \"estimates\": [\n {\n \"id\": \"7a9dfaf0-6705-42c5-9bff-66b89980cd32\",\n \"tenantId\": \"pb.amritsar\",\n \"estimateNumber\": \"EP/2022-23/02/000274\",\n \"projectId\": \"4ef2f943-bfe9-4bb8-82dd-431260cd4a17\",\n \"proposalDate\": 1658222690000,\n \"status\": \"ACTIVE\",\n \"wfStatus\": \"CHECKED\",\n \"name\": \"Construct new schools v1\",\n \"referenceNumber\": \"File-18430283\",\n \"description\": \"Construct new schools v11\",\n \"executingDepartment\": \"DEPT_1\",\n \"address\": {\n \"id\": null,\n \"tenantId\": \"pb.amritsar\",\n \"latitude\": 0,\n \"longitude\": 0,\n \"addressNumber\": \"kormangla\",\n \"addressLine1\": \"forum 1\",\n \"addressLine2\": \"string\",\n \"landmark\": \"circle\",\n \"city\": \"bangalore\",\n \"pincode\": \"560150\",\n \"detail\": \"string\"\n },\n \"estimateDetails\": [\n {\n \"id\": null,\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\n \"category\": null,\n \"name\": \"string\",\n \"description\": \"string\",\n \"unitRate\": 0,\n \"noOfunit\": 0,\n \"uom\": \"string\",\n \"uomValue\": 0,\n \"amountDetail\": [\n {\n \"id\": null,\n \"type\": \"Gst, cess, charge \",\n \"amount\": 500045,\n \"additionalDetails\": {}\n }\n ],\n \"additionalDetails\": {}\n }\n ],\n \"auditDetails\": {\n \"createdBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"lastModifiedBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"createdTime\": 1675422191678,\n \"lastModifiedTime\": 1675441885413\n },\n \"additionalDetails\": {}\n }\n ],\n \"TotalCount\": null\n}" } ] }, { "name": "_update_estimate-address_null", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"tenantId is mandatory\", function () {\r", " var req =JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.tenantId).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Name is mandatory\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.name).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Name is mandatory\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.name).to.be.not.undefined;\r", "});\r", "\r", "pm.test(\"projectId is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.projectId).to.not.be.null;\r", " });\r", "\r", " pm.test(\"estimateDetails is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.estimateDetails).to.be.not.null;\r", "});\r", "\r", "pm.test(\"address is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.address).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Response is not successful\", () =>\r", " pm.expect(pm.response.to.have.status(400))\r", ");" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"string\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 0,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"{{authToken}}\",\r\n \"signature\": \"string\"\r\n },\r\n \"estimate\": {\r\n \"id\": \"{{estimateId}}\",\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"projectId\": \"{{projectId}}\",\r\n \"proposalDate\": 1658222690000,\r\n \"estimateNumber\": \"{{estimateNumber}}\",\r\n \"status\": \"ACTIVE\",\r\n \"wfStatus\": \"CREATED\",\r\n \"name\": \"Construct new schools v1\",\r\n \"referenceNumber\": \"File-18430283\",\r\n \"description\": \"Construct new schools\",\r\n \"executingDepartment\": \"DEPT_1\",\r\n \"estimateDetails\": [\r\n {\r\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n \"unitRate\": 0,\r\n \"noOfunit\": 0,\r\n \"uom\": \"string\",\r\n \"height\": null,\r\n \"isDeduction\": false,\r\n \"length\": null,\r\n \"quantity\": 2,\r\n \"uomValue\": null,\r\n \"width\": null,\r\n \"amountDetail\": [\r\n {\r\n \"category\": \"Overhead, SOR, non-SOR\",\r\n \"type\": \"Gst, cess, charge \",\r\n \"amount\": 500045,\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n },\r\n \"workflow\": {\r\n \"action\": \"CHECK\",\r\n \"comment\": \"string\",\r\n \"assignees\": [\r\n \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\"\r\n ]\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_update", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_update" ] } }, "response": [] }, { "name": "_update_estimate-invalid_project", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"tenantId is mandatory\", function () {\r", " var req =JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.tenantId).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Name is mandatory\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.name).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Name is mandatory\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.name).to.be.not.undefined;\r", "});\r", "\r", "pm.test(\"projectId is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.projectId).to.not.be.null;\r", " });\r", "\r", " pm.test(\"estimateDetails is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.estimateDetails).to.be.not.null;\r", "});\r", "\r", "pm.test(\"address is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.address).to.not.be.undefined;\r", "});\r", "\r", "pm.test(\"Response is not successful\", () =>\r", " pm.expect(pm.response.to.have.status(400))\r", ");" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"string\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 0,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"{{authToken}}\",\r\n \"signature\": \"string\"\r\n },\r\n \"estimate\": {\r\n \"id\": \"{{estimateId}}\",\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"projectId\": \"\",\r\n \"proposalDate\": 1658222690000,\r\n \"estimateNumber\": \"{{estimateNumber}}\",\r\n \"status\": \"ACTIVE\",\r\n \"wfStatus\": \"CREATED\",\r\n \"name\": \"Construct new schools v1\",\r\n \"referenceNumber\": \"File-18430283\",\r\n \"description\": \"Construct new schools\",\r\n \"executingDepartment\": \"DEPT_1\",\r\n \"address\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"latitude\": 0,\r\n \"longitude\": 0,\r\n \"addressNumber\": \"kormangla\",\r\n \"addressLine1\": \"forum 1\",\r\n \"addressLine2\": \"string\",\r\n \"landmark\": \"circle\",\r\n \"city\": \"bangalore\",\r\n \"pincode\": \"560150\",\r\n \"detail\": \"string\"\r\n },\r\n \"estimateDetails\": [\r\n {\r\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n \"unitRate\": 0,\r\n \"noOfunit\": 0,\r\n \"uom\": \"string\",\r\n \"height\": null,\r\n \"isDeduction\": false,\r\n \"length\": null,\r\n \"quantity\": 2,\r\n \"uomValue\": null,\r\n \"width\": null,\r\n \"amountDetail\": [\r\n {\r\n \"category\": \"Overhead, SOR, non-SOR\",\r\n \"type\": \"Gst, cess, charge \",\r\n \"amount\": 500045,\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n },\r\n \"workflow\": {\r\n \"action\": \"CHECK\",\r\n \"comment\": \"string\",\r\n \"assignees\": [\r\n \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\"\r\n ]\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_update", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_update" ] } }, "response": [] }, { "name": "_update_estimate-department_null", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"tenantId is mandatory\", function () {\r", " var req =JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.tenantId).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Name is mandatory\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.name).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Name is mandatory\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.name).to.be.not.undefined;\r", "});\r", "\r", "pm.test(\"projectId is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.projectId).to.not.be.null;\r", " });\r", "\r", " pm.test(\"estimateDetails is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.estimateDetails).to.be.not.null;\r", "});\r", "\r", "pm.test(\"address is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.address).to.not.be.undefined;\r", "});\r", "\r", "pm.test(\"Response is not successful\", () =>\r", " pm.expect(pm.response.to.have.status(400))\r", ");" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"string\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 0,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"{{authToken}}\",\r\n \"signature\": \"string\"\r\n },\r\n \"estimate\": {\r\n \"id\": \"{{estimateId}}\",\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"projectId\": \"{{projectId}}\",\r\n \"proposalDate\": 1658222690000,\r\n \"estimateNumber\": \"{{estimateNumber}}\",\r\n \"status\": \"ACTIVE\",\r\n \"wfStatus\": \"CREATED\",\r\n \"name\": \"Construct new schools v1\",\r\n \"referenceNumber\": \"File-18430283\",\r\n \"description\": \"Construct new schools\",\r\n \"executingDepartment\": \"\",\r\n \"address\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"latitude\": 0,\r\n \"longitude\": 0,\r\n \"addressNumber\": \"kormangla\",\r\n \"addressLine1\": \"forum 1\",\r\n \"addressLine2\": \"string\",\r\n \"landmark\": \"circle\",\r\n \"city\": \"bangalore\",\r\n \"pincode\": \"560150\",\r\n \"detail\": \"string\"\r\n },\r\n \"estimateDetails\": [\r\n {\r\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n \"unitRate\": 0,\r\n \"noOfunit\": 0,\r\n \"uom\": \"string\",\r\n \"height\": null,\r\n \"isDeduction\": false,\r\n \"length\": null,\r\n \"quantity\": 2,\r\n \"uomValue\": null,\r\n \"width\": null,\r\n \"amountDetail\": [\r\n {\r\n \"category\": \"Overhead, SOR, non-SOR\",\r\n \"type\": \"Gst, cess, charge \",\r\n \"amount\": 500045,\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n },\r\n \"workflow\": {\r\n \"action\": \"CHECK\",\r\n \"comment\": \"string\",\r\n \"assignees\": [\r\n \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\"\r\n ]\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_update", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_update" ] } }, "response": [] }, { "name": "_update_estimate-department_invalid", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"tenantId is mandatory\", function () {\r", " var req =JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.tenantId).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Name is mandatory\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.name).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Name is mandatory\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.name).to.be.not.undefined;\r", "});\r", "\r", "pm.test(\"projectId is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.projectId).to.not.be.null;\r", " });\r", "\r", " pm.test(\"estimateDetails is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.estimateDetails).to.be.not.null;\r", "});\r", "\r", "pm.test(\"address is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.address).to.not.be.undefined;\r", "});\r", "\r", "pm.test(\"Response is not successful\", () =>\r", " pm.expect(pm.response.to.have.status(400))\r", ");" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"string\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 0,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"{{authToken}}\",\r\n \"signature\": \"string\"\r\n },\r\n \"estimate\": {\r\n \"id\": \"{{estimateId}}\",\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"projectId\": \"{{projectId}}\",\r\n \"proposalDate\": 1658222690000,\r\n \"estimateNumber\": \"{{estimateNumber}}\",\r\n \"status\": \"ACTIVE\",\r\n \"wfStatus\": \"CREATED\",\r\n \"name\": \"Construct new schools v1\",\r\n \"referenceNumber\": \"File-18430283\",\r\n \"description\": \"Construct new schools\",\r\n \"executingDepartment\": \"DEP\",\r\n \"address\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"latitude\": 0,\r\n \"longitude\": 0,\r\n \"addressNumber\": \"kormangla\",\r\n \"addressLine1\": \"forum 1\",\r\n \"addressLine2\": \"string\",\r\n \"landmark\": \"circle\",\r\n \"city\": \"bangalore\",\r\n \"pincode\": \"560150\",\r\n \"detail\": \"string\"\r\n },\r\n \"estimateDetails\": [\r\n {\r\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n \"unitRate\": 0,\r\n \"noOfunit\": 0,\r\n \"uom\": \"string\",\r\n \"height\": null,\r\n \"isDeduction\": false,\r\n \"length\": null,\r\n \"quantity\": 2,\r\n \"uomValue\": null,\r\n \"width\": null,\r\n \"amountDetail\": [\r\n {\r\n \"category\": \"Overhead, SOR, non-SOR\",\r\n \"type\": \"Gst, cess, charge \",\r\n \"amount\": 500045,\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n },\r\n \"workflow\": {\r\n \"action\": \"CHECK\",\r\n \"comment\": \"string\",\r\n \"assignees\": [\r\n \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\"\r\n ]\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_update", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_update" ] } }, "response": [] }, { "name": "_update_estimate-amount_detail_null", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"tenantId is mandatory\", function () {\r", " var req =JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.tenantId).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Name is mandatory\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.name).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Name is mandatory\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.name).to.be.not.undefined;\r", "});\r", "\r", "pm.test(\"projectId is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.projectId).to.not.be.null;\r", " });\r", "\r", " pm.test(\"estimateDetails is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.estimateDetails).to.be.not.null;\r", "});\r", "\r", "pm.test(\"address is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.address).to.not.be.undefined;\r", "});\r", "\r", "pm.test(\"Response is not successful\", () =>\r", " pm.expect(pm.response.to.have.status(400))\r", ");" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"string\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 0,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"{{authToken}}\",\r\n \"signature\": \"string\"\r\n },\r\n \"estimate\": {\r\n \"id\": \"{{estimateId}}\",\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"projectId\": \"{{projectId}}\",\r\n \"proposalDate\": 1658222690000,\r\n \"estimateNumber\": \"{{estimateNumber}}\",\r\n \"status\": \"ACTIVE\",\r\n \"wfStatus\": \"CREATED\",\r\n \"name\": \"Construct new schools v1\",\r\n \"referenceNumber\": \"File-18430283\",\r\n \"description\": \"Construct new schools\",\r\n \"executingDepartment\": \"DEPT_1\",\r\n \"address\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"latitude\": 0,\r\n \"longitude\": 0,\r\n \"addressNumber\": \"kormangla\",\r\n \"addressLine1\": \"forum 1\",\r\n \"addressLine2\": \"string\",\r\n \"landmark\": \"circle\",\r\n \"city\": \"bangalore\",\r\n \"pincode\": \"560150\",\r\n \"detail\": \"string\"\r\n },\r\n \"estimateDetails\": [\r\n {\r\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n \"unitRate\": 0,\r\n \"noOfunit\": 0,\r\n \"uom\": \"string\",\r\n \"height\": null,\r\n \"isDeduction\": false,\r\n \"length\": null,\r\n \"quantity\": 2,\r\n \"uomValue\": null,\r\n \"width\": null,\r\n \"additionalDetails\": {}\r\n }\r\n ],\r\n \"additionalDetails\": {}\r\n },\r\n \"workflow\": {\r\n \"action\": \"CHECK\",\r\n \"comment\": \"string\",\r\n \"assignees\": [\r\n \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\"\r\n ]\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_update", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_update" ] } }, "response": [] }, { "name": "_update_estimate-estimate_detail_null", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"tenantId is mandatory\", function () {\r", " var req =JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.tenantId).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Name is mandatory\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.name).to.be.not.null;\r", "});\r", "\r", "pm.test(\"Name is mandatory\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.name).to.be.not.undefined;\r", "});\r", "\r", "pm.test(\"projectId is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.projectId).to.not.be.null;\r", " });\r", "\r", " pm.test(\"estimateDetails is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.estimateDetails).to.be.not.null;\r", "});\r", "\r", "pm.test(\"address is required\", function () {\r", " var req = JSON.parse(pm.request.body.raw);\r", " pm.expect(req.estimate.address).to.not.be.undefined;\r", "});\r", "\r", "pm.test(\"Response is not successful\", () =>\r", " pm.expect(pm.response.to.have.status(400))\r", ");" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"string\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 0,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"{{authToken}}\",\r\n \"signature\": \"string\"\r\n },\r\n \"estimate\": {\r\n \"id\": \"{{estimateId}}\",\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"projectId\": \"{{projectId}}\",\r\n \"proposalDate\": 1658222690000,\r\n \"estimateNumber\": \"{{estimateNumber}}\",\r\n \"status\": \"ACTIVE\",\r\n \"wfStatus\": \"CREATED\",\r\n \"name\": \"Construct new schools v1\",\r\n \"referenceNumber\": \"File-18430283\",\r\n \"description\": \"Construct new schools\",\r\n \"executingDepartment\": \"DEPT_1\",\r\n \"address\": {\r\n \"tenantId\": \"{{tenantId}}\",\r\n \"latitude\": 0,\r\n \"longitude\": 0,\r\n \"addressNumber\": \"kormangla\",\r\n \"addressLine1\": \"forum 1\",\r\n \"addressLine2\": \"string\",\r\n \"landmark\": \"circle\",\r\n \"city\": \"bangalore\",\r\n \"pincode\": \"560150\",\r\n \"detail\": \"string\"\r\n },\r\n \"additionalDetails\": {}\r\n },\r\n \"workflow\": {\r\n \"action\": \"CHECK\",\r\n \"comment\": \"string\",\r\n \"assignees\": [\r\n \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\"\r\n ]\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_update", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_update" ] } }, "response": [] }, { "name": "_search_estimate_success", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"Response is successful\", () =>\r", " pm.expect(pm.response.to.have.status(200))\r", ");\r", "\r", "" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"string\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 123456,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"{{authToken}}\",\r\n \"signature\": \"string\",\r\n \"userInfo\":{\r\n \"uuid\":\"local\"\r\n }\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_search?tenantId={{tenantId}}&estimateNumber={{estimateNumber}}", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_search" ], "query": [ { "key": "tenantId", "value": "{{tenantId}}" }, { "key": "estimateNumber", "value": "{{estimateNumber}}" } ] } }, "response": [ { "name": "_search_estimate", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"string\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 123456,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"d11921f0-0dae-46bc-a357-4609c80f44cf\",\r\n \"signature\": \"string\",\r\n \"userInfo\":{\r\n \"uuid\":\"local\"\r\n }\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_search?tenantId={{tenantId}}&estimateNumber=EP/2022-23/01/000261", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_search" ], "query": [ { "key": "tenantId", "value": "{{tenantId}}" }, { "key": "estimateNumber", "value": "EP/2022-23/01/000261" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Tue, 24 Jan 2023 16:01:52 GMT" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Connection", "value": "keep-alive" }, { "key": "Vary", "value": "Accept-Encoding" }, { "key": "Strict-Transport-Security", "value": "max-age=63072000; includeSubdomains; preload" }, { "key": "X-Lua-Resty-WAF-ID", "value": "7fc6d1226407dca03c50" }, { "key": "x-correlation-id", "value": "f7e723af-16e1-4fa5-ba17-5bb6beca63c6" }, { "key": "Cache-Control", "value": "no-cache, no-store, max-age=0, must-revalidate" }, { "key": "Content-Security-Policy", "value": "default-src 'self' https: 'unsafe-eval' 'unsafe-inline'; object-src 'none'; img-src 'self' https: data: blob:; style-src https: blob: 'unsafe-inline'; worker-src 'self' blob:; font-src 'self' https: data: blob:; child-src 'self' https: data: blob:;" }, { "key": "Referrer-Policy", "value": "no-referrer-when-downgrade" }, { "key": "X-Content-Type-Options", "value": "nosniff" }, { "key": "X-Download-Options", "value": "noopen" }, { "key": "X-Frame-Options", "value": "sameorigin" }, { "key": "X-XSS-Protection", "value": "1" }, { "key": "Content-Encoding", "value": "gzip" } ], "cookie": [], "body": "{\n \"ResponseInfo\": {\n \"apiId\": null,\n \"ver\": null,\n \"ts\": 123456,\n \"resMsgId\": \"uief87324\",\n \"msgId\": \"string\",\n \"status\": \"successful\"\n },\n \"estimates\": [\n {\n \"id\": \"55985006-fa37-4145-9f81-26711986a9b7\",\n \"tenantId\": \"pb.amritsar\",\n \"estimateNumber\": \"EP/2022-23/01/000261\",\n \"projectId\": \"854b3f54-3775-4a14-a962-9eba6620f0d3\",\n \"proposalDate\": 1674574807062,\n \"status\": \"ACTIVE\",\n \"wfStatus\": \"CREATED\",\n \"name\": \"Construct new schools\",\n \"referenceNumber\": \"File-18430283\",\n \"description\": \"Construct new schools\",\n \"executingDepartment\": \"DEPT_1\",\n \"address\": {\n \"id\": \"6dfe7276-9431-48fc-9e3c-7c8f9a19ae72\",\n \"tenantId\": \"pb.amritsar\",\n \"latitude\": 0,\n \"longitude\": 0,\n \"addressNumber\": \"kormangla\",\n \"addressLine1\": \"forum 1\",\n \"addressLine2\": \"string\",\n \"landmark\": \"circle\",\n \"city\": \"bangalore\",\n \"pincode\": \"560150\",\n \"detail\": \"string\"\n },\n \"estimateDetails\": [\n {\n \"id\": \"dcc7dba0-54d0-479d-8816-7f624bd5967c\",\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\n \"category\": \"Overhead, SOR, non-SOR\",\n \"name\": \"Construct new schools\",\n \"description\": \"Construct new schools\",\n \"unitRate\": 0,\n \"noOfunit\": 0,\n \"uom\": \"string\",\n \"uomValue\": 0,\n \"amountDetail\": [\n {\n \"id\": \"02b7d15d-f958-4fa0-bfb6-db419c6a1a7c\",\n \"type\": \"Gst, cess, charge \",\n \"amount\": 34567,\n \"additionalDetails\": null\n }\n ],\n \"additionalDetails\": null\n }\n ],\n \"auditDetails\": {\n \"createdBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"lastModifiedBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"createdTime\": 1674574807061,\n \"lastModifiedTime\": 1674574807061\n },\n \"additionalDetails\": null\n }\n ],\n \"TotalCount\": 1\n}" }, { "name": "_search_estimate", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"string\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 123456,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"d11921f0-0dae-46bc-a357-4609c80f44cf\",\r\n \"signature\": \"string\",\r\n \"userInfo\":{\r\n \"uuid\":\"local\"\r\n }\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_search?tenantId={{tenantId}}&estimateNumber=EP/2022-23/01/000260", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_search" ], "query": [ { "key": "tenantId", "value": "{{tenantId}}" }, { "key": "estimateNumber", "value": "EP/2022-23/01/000260" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Tue, 24 Jan 2023 16:02:32 GMT" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Connection", "value": "keep-alive" }, { "key": "Vary", "value": "Accept-Encoding" }, { "key": "Strict-Transport-Security", "value": "max-age=63072000; includeSubdomains; preload" }, { "key": "X-Lua-Resty-WAF-ID", "value": "15c6a607f8a32e75de7d" }, { "key": "x-correlation-id", "value": "be031e14-9f5c-496d-801c-632ee759cf18" }, { "key": "Cache-Control", "value": "no-cache, no-store, max-age=0, must-revalidate" }, { "key": "Content-Security-Policy", "value": "default-src 'self' https: 'unsafe-eval' 'unsafe-inline'; object-src 'none'; img-src 'self' https: data: blob:; style-src https: blob: 'unsafe-inline'; worker-src 'self' blob:; font-src 'self' https: data: blob:; child-src 'self' https: data: blob:;" }, { "key": "Referrer-Policy", "value": "no-referrer-when-downgrade" }, { "key": "X-Content-Type-Options", "value": "nosniff" }, { "key": "X-Download-Options", "value": "noopen" }, { "key": "X-Frame-Options", "value": "sameorigin" }, { "key": "X-XSS-Protection", "value": "1" }, { "key": "Content-Encoding", "value": "gzip" } ], "cookie": [], "body": "{\n \"ResponseInfo\": {\n \"apiId\": null,\n \"ver\": null,\n \"ts\": 123456,\n \"resMsgId\": \"uief87324\",\n \"msgId\": \"string\",\n \"status\": \"successful\"\n },\n \"estimates\": [\n {\n \"id\": \"9c3c57ef-ecb9-4e2b-8480-cdb44e07bed2\",\n \"tenantId\": \"pb.amritsar\",\n \"estimateNumber\": \"EP/2022-23/01/000260\",\n \"projectId\": \"854b3f54-3775-4a14-a962-9eba6620f0d3\",\n \"proposalDate\": 1674574691873,\n \"status\": \"ACTIVE\",\n \"wfStatus\": \"CREATED\",\n \"name\": \"Construct new schools\",\n \"referenceNumber\": \"File-18430283\",\n \"description\": \"Construct new schools\",\n \"executingDepartment\": \"DEPT_1\",\n \"address\": {\n \"id\": \"426e1a1b-970e-49f7-81c1-7c3fd33a1828\",\n \"tenantId\": \"pb.amritsar\",\n \"latitude\": 0,\n \"longitude\": 0,\n \"addressNumber\": \"kormangla\",\n \"addressLine1\": \"forum 1\",\n \"addressLine2\": \"string\",\n \"landmark\": \"circle\",\n \"city\": \"bangalore\",\n \"pincode\": \"560150\",\n \"detail\": \"string\"\n },\n \"estimateDetails\": [\n {\n \"id\": \"f37db2f7-9670-4f8a-9f4c-1d3de17e53d8\",\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\n \"category\": \"Overhead, SOR, non-SOR\",\n \"name\": \"Construct new schools\",\n \"description\": \"Construct new schools\",\n \"unitRate\": 0,\n \"noOfunit\": 0,\n \"uom\": \"string\",\n \"uomValue\": 0,\n \"amountDetail\": [\n {\n \"id\": \"2b548113-28b6-4e4e-9e86-a63dd311624d\",\n \"type\": \"Gst, cess, charge \",\n \"amount\": 34567,\n \"additionalDetails\": null\n }\n ],\n \"additionalDetails\": null\n }\n ],\n \"auditDetails\": {\n \"createdBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"lastModifiedBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"createdTime\": 1674574691872,\n \"lastModifiedTime\": 1674574691872\n },\n \"additionalDetails\": null\n }\n ],\n \"TotalCount\": 1\n}" }, { "name": "_search_estimate", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"string\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 123456,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"0b2a905d-f65b-4625-a458-4225046ded65\",\r\n \"signature\": \"string\",\r\n \"userInfo\":{\r\n \"uuid\":\"local\"\r\n }\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_search?tenantId={{tenantId}}&estimateNumber=EP/2022-23/01/000264", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_search" ], "query": [ { "key": "tenantId", "value": "{{tenantId}}" }, { "key": "estimateNumber", "value": "EP/2022-23/01/000264" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Wed, 01 Feb 2023 05:07:16 GMT" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Connection", "value": "keep-alive" }, { "key": "Vary", "value": "Accept-Encoding" }, { "key": "Strict-Transport-Security", "value": "max-age=63072000; includeSubdomains; preload" }, { "key": "X-Lua-Resty-WAF-ID", "value": "172f22363dc2aa1533e5" }, { "key": "x-correlation-id", "value": "7bc59fc2-a098-4723-9cdf-7fab952a67d6" }, { "key": "Cache-Control", "value": "no-cache, no-store, max-age=0, must-revalidate" }, { "key": "Content-Security-Policy", "value": "default-src 'self' https: 'unsafe-eval' 'unsafe-inline'; object-src 'none'; img-src 'self' https: data: blob:; style-src https: blob: 'unsafe-inline'; worker-src 'self' blob:; font-src 'self' https: data: blob:; child-src 'self' https: data: blob:;" }, { "key": "Referrer-Policy", "value": "no-referrer-when-downgrade" }, { "key": "X-Content-Type-Options", "value": "nosniff" }, { "key": "X-Download-Options", "value": "noopen" }, { "key": "X-Frame-Options", "value": "sameorigin" }, { "key": "X-XSS-Protection", "value": "1" }, { "key": "Content-Encoding", "value": "gzip" } ], "cookie": [], "body": "{\n \"ResponseInfo\": {\n \"apiId\": null,\n \"ver\": null,\n \"ts\": 123456,\n \"resMsgId\": \"uief87324\",\n \"msgId\": \"string\",\n \"status\": \"successful\"\n },\n \"estimates\": [\n {\n \"id\": \"436a9e00-7c84-4550-8fff-4bcf2313ba9e\",\n \"tenantId\": \"pb.amritsar\",\n \"estimateNumber\": \"EP/2022-23/01/000264\",\n \"projectId\": \"854b3f54-3775-4a14-a962-9eba6620f0d3\",\n \"proposalDate\": 1675183597224,\n \"status\": \"ACTIVE\",\n \"wfStatus\": \"CREATED\",\n \"name\": \"Construct new schools\",\n \"referenceNumber\": \"File-18430283\",\n \"description\": \"Construct new schools\",\n \"executingDepartment\": \"DEPT_1\",\n \"address\": {\n \"id\": \"fa4318d7-2a8f-4d84-b941-4d45839451cf\",\n \"tenantId\": \"pb.amritsar\",\n \"latitude\": 0,\n \"longitude\": 0,\n \"addressNumber\": \"kormangla\",\n \"addressLine1\": \"forum 1\",\n \"addressLine2\": \"string\",\n \"landmark\": \"circle\",\n \"city\": \"bangalore\",\n \"pincode\": \"560150\",\n \"detail\": \"string\"\n },\n \"estimateDetails\": [\n {\n \"id\": \"85674f15-d0c0-4384-b64f-a4cf946bbd78\",\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\n \"category\": \"Overhead, SOR, non-SOR\",\n \"name\": \"Construct new schools\",\n \"description\": \"Construct new schools\",\n \"unitRate\": 0,\n \"noOfunit\": 0,\n \"uom\": \"string\",\n \"uomValue\": 0,\n \"amountDetail\": [\n {\n \"id\": \"0e75d392-8470-4bac-bd85-5b8af13a841e\",\n \"type\": \"Gst, cess, charge \",\n \"amount\": 34567,\n \"additionalDetails\": null\n }\n ],\n \"additionalDetails\": null\n }\n ],\n \"auditDetails\": {\n \"createdBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"lastModifiedBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"createdTime\": 1675183597224,\n \"lastModifiedTime\": 1675183597224\n },\n \"additionalDetails\": null\n }\n ],\n \"TotalCount\": 1\n}" } ] }, { "name": "_search_estimate-multiple_estimates_success", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"Response is successful\", () =>\r", " pm.expect(pm.response.to.have.status(200))\r", ");\r", "\r", "" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "exec": [ "\r", "" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"string\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 123456,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"{{authToken}}\",\r\n \"signature\": \"string\",\r\n \"userInfo\":{\r\n \"uuid\":\"local\"\r\n }\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_search?tenantId={{tenantId}}&ids={{estimateId}},55985006-fa37-4145-9f81-26711986a9b7", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_search" ], "query": [ { "key": "tenantId", "value": "{{tenantId}}" }, { "key": "ids", "value": "{{estimateId}},55985006-fa37-4145-9f81-26711986a9b7" } ] } }, "response": [ { "name": "_search_estimate-multiple_estimates_success", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"RequestInfo\": {\r\n \"apiInfo\": {\r\n \"id\": \"string\",\r\n \"version\": \"string\",\r\n \"path\": \"string\"\r\n },\r\n \"deviceDetail\": {\r\n \"id\": \"string\",\r\n \"signature\": \"string\"\r\n },\r\n \"ts\": 123456,\r\n \"action\": \"string\",\r\n \"key\": \"string\",\r\n \"msgId\": \"string\",\r\n \"requesterId\": \"string\",\r\n \"authToken\": \"{{authToken}}\",\r\n \"signature\": \"string\",\r\n \"userInfo\":{\r\n \"uuid\":\"local\"\r\n }\r\n }\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{devHost}}/estimate-service/estimate/v1/_search?tenantId={{tenantId}}&ids={{estimateId}},55985006-fa37-4145-9f81-26711986a9b7", "host": [ "{{devHost}}" ], "path": [ "estimate-service", "estimate", "v1", "_search" ], "query": [ { "key": "tenantId", "value": "{{tenantId}}" }, { "key": "ids", "value": "{{estimateId}},55985006-fa37-4145-9f81-26711986a9b7" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Fri, 03 Feb 2023 10:56:07 GMT" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Connection", "value": "keep-alive" }, { "key": "Vary", "value": "Accept-Encoding" }, { "key": "Strict-Transport-Security", "value": "max-age=63072000; includeSubdomains; preload" }, { "key": "X-Lua-Resty-WAF-ID", "value": "962d84994ac7372994c6" }, { "key": "x-correlation-id", "value": "97251e17-6493-41d7-9b9a-22a03212216b" }, { "key": "Cache-Control", "value": "no-cache, no-store, max-age=0, must-revalidate" }, { "key": "Content-Security-Policy", "value": "default-src 'self' https: 'unsafe-eval' 'unsafe-inline'; object-src 'none'; img-src 'self' https: data: blob:; style-src https: blob: 'unsafe-inline'; worker-src 'self' blob:; font-src 'self' https: data: blob:; child-src 'self' https: data: blob:;" }, { "key": "Referrer-Policy", "value": "no-referrer-when-downgrade" }, { "key": "X-Content-Type-Options", "value": "nosniff" }, { "key": "X-Download-Options", "value": "noopen" }, { "key": "X-Frame-Options", "value": "sameorigin" }, { "key": "X-XSS-Protection", "value": "1" }, { "key": "Content-Encoding", "value": "gzip" } ], "cookie": [], "body": "{\n \"ResponseInfo\": {\n \"apiId\": null,\n \"ver\": null,\n \"ts\": 123456,\n \"resMsgId\": \"uief87324\",\n \"msgId\": \"string\",\n \"status\": \"successful\"\n },\n \"estimates\": [\n {\n \"id\": \"9ff894c6-2a66-40ff-a7ab-0f9509456b19\",\n \"tenantId\": \"pb.amritsar\",\n \"estimateNumber\": \"EP/2022-23/02/000266\",\n \"projectId\": \"854b3f54-3775-4a14-a962-9eba6620f0d3\",\n \"proposalDate\": 1675319897326,\n \"status\": \"ACTIVE\",\n \"wfStatus\": \"CREATED\",\n \"name\": \"Construct new schools\",\n \"referenceNumber\": \"File-18430283\",\n \"description\": \"Construct new schools\",\n \"executingDepartment\": \"DEPT_1\",\n \"address\": {\n \"id\": \"9c6b330c-bc03-49db-90b0-8a55d4eff5d3\",\n \"tenantId\": \"pb.amritsar\",\n \"latitude\": 0,\n \"longitude\": 0,\n \"addressNumber\": \"kormangla\",\n \"addressLine1\": \"forum 1\",\n \"addressLine2\": \"string\",\n \"landmark\": \"circle\",\n \"city\": \"bangalore\",\n \"pincode\": \"560150\",\n \"detail\": \"string\"\n },\n \"estimateDetails\": [\n {\n \"id\": \"2768efe4-b41d-4ee5-9ca9-485eb9a7e848\",\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\n \"category\": \"Overhead, SOR, non-SOR\",\n \"name\": \"Construct new schools\",\n \"description\": \"Construct new schools\",\n \"unitRate\": 0,\n \"noOfunit\": 0,\n \"uom\": \"string\",\n \"uomValue\": 0,\n \"amountDetail\": [\n {\n \"id\": \"a619f50c-30cc-4df4-ac28-9cedff5144d8\",\n \"type\": \"Gst, cess, charge \",\n \"amount\": 34567,\n \"additionalDetails\": null\n }\n ],\n \"additionalDetails\": null\n }\n ],\n \"auditDetails\": {\n \"createdBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"lastModifiedBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"createdTime\": 1675319897326,\n \"lastModifiedTime\": 1675319897326\n },\n \"additionalDetails\": null\n },\n {\n \"id\": \"55985006-fa37-4145-9f81-26711986a9b7\",\n \"tenantId\": \"pb.amritsar\",\n \"estimateNumber\": \"EP/2022-23/01/000261\",\n \"projectId\": \"854b3f54-3775-4a14-a962-9eba6620f0d3\",\n \"proposalDate\": 1674574807062,\n \"status\": \"ACTIVE\",\n \"wfStatus\": \"CHECKED\",\n \"name\": \"Construct new schools\",\n \"referenceNumber\": \"File-18430283\",\n \"description\": \"Construct new schools\",\n \"executingDepartment\": \"DEPT_1\",\n \"address\": null,\n \"estimateDetails\": [\n {\n \"id\": \"dcc7dba0-54d0-479d-8816-7f624bd5967c\",\n \"sorId\": \"251c51eb-e970-4e01-a99a-70136c47a934\",\n \"category\": \"Overhead, SOR, non-SOR\",\n \"name\": \"Construct new schools\",\n \"description\": \"Construct new schools\",\n \"unitRate\": 0,\n \"noOfunit\": 0,\n \"uom\": \"string\",\n \"uomValue\": 0,\n \"amountDetail\": [\n {\n \"id\": \"02b7d15d-f958-4fa0-bfb6-db419c6a1a7c\",\n \"type\": \"Gst, cess, charge \",\n \"amount\": 34567,\n \"additionalDetails\": null\n }\n ],\n \"additionalDetails\": null\n }\n ],\n \"auditDetails\": {\n \"createdBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"lastModifiedBy\": \"be99b2c2-5780-4b1c-8e41-e3f8a972ebda\",\n \"createdTime\": 1674574807061,\n \"lastModifiedTime\": 1674576493655\n },\n \"additionalDetails\": null\n }\n ],\n \"TotalCount\": 2\n}" } ] }, { "name": "{{devHost}}/estimate-service/estimate/v1/_create", "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json, text/plain, */*" }, { "key": "Accept-Language", "value": "en-US,en;q=0.9" }, { "key": "Connection", "value": "keep-alive" }, { "key": "Content-Type", "value": "application/json;charset=UTF-8" }, { "key": "Origin", "value": "http://localhost:3000" }, { "key": "Referer", "value": "http://localhost:3000/works-ui/employee/estimate/create-estimate?tenantId=pg.citya&projectNumber=PJ/2023-24/04/001811" }, { "key": "Sec-Fetch-Dest", "value": "empty" }, { "key": "Sec-Fetch-Mode", "value": "cors" }, { "key": "Sec-Fetch-Site", "value": "same-origin" }, { "key": "User-Agent", "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36" }, { "key": "sec-ch-ua", "value": "\"Google Chrome\";v=\"111\", \"Not(A:Brand\";v=\"8\", \"Chromium\";v=\"111\"" }, { "key": "sec-ch-ua-mobile", "value": "?0" }, { "key": "sec-ch-ua-platform", "value": "\"Windows\"" } ], "body": { "mode": "raw", "raw": "{\r\n \"estimate\": {\r\n \"tenantId\": \"pg.citya\",\r\n \"projectId\": \"37701d13-e6f6-457b-bf3f-c28953d2a765\",\r\n \"status\": \"ACTIVE\",\r\n \"wfStatus\": \"CREATED\",\r\n \"name\": \"sdaf\",\r\n \"description\": \"dsaf\",\r\n \"executingDepartment\": \"WRK\",\r\n \"address\": {\r\n \"id\": \"0e458167-6390-4d92-a0bb-ae5bfe99bfa5\",\r\n \"tenantId\": \"pg.citya\",\r\n \"doorNo\": \"1\",\r\n \"latitude\": 90,\r\n \"longitude\": 180,\r\n \"locationAccuracy\": 10000,\r\n \"type\": \"Home\",\r\n \"addressLine1\": \"\",\r\n \"addressLine2\": \"Address Line 2\",\r\n \"landmark\": \"Area1\",\r\n \"city\": \"pg.citya\",\r\n \"pincode\": \"999999\",\r\n \"buildingName\": \"Test_Building\",\r\n \"street\": \"Test_Street\",\r\n \"boundaryType\": \"Ward\",\r\n \"boundary\": \"B1\",\r\n \"auditDetails\": {\r\n \"createdBy\": \"dd1fc81a-f15d-477b-9f6b-376c75ea926c\",\r\n \"lastModifiedBy\": \"dd1fc81a-f15d-477b-9f6b-376c75ea926c\",\r\n \"createdTime\": 1681287233158,\r\n \"lastModifiedTime\": 1681287233158\r\n }\r\n },\r\n \"estimateDetails\": [\r\n {\r\n \"sorId\": 45,\r\n \"category\": \"NON-SOR\",\r\n \"name\": \"p1\",\r\n \"description\": \"p1\",\r\n \"unitRate\": \"21\",\r\n \"noOfunit\": \"21\",\r\n \"uom\": \"KG\",\r\n \"height\": null,\r\n \"isDeduction\": false,\r\n \"length\": null,\r\n \"quantity\": 2,\r\n \"uomValue\": null,\r\n \"width\": null,\r\n \"amountDetail\": [\r\n {\r\n \"type\": \"EstimatedAmount\",\r\n \"amount\": \"441.0\",\r\n \"additionalDetails\": {}\r\n }\r\n ]\r\n },\r\n {\r\n \"sorId\": 45,\r\n \"category\": \"NON-SOR\",\r\n \"name\": \"p2\",\r\n \"description\": \"p2\",\r\n \"unitRate\": \"21\",\r\n \"noOfunit\": \"211\",\r\n \"uom\": \"KG\",\r\n \"height\": null,\r\n \"isDeduction\": false,\r\n \"length\": null,\r\n \"quantity\": 2,\r\n \"uomValue\": null,\r\n \"width\": null,\r\n \"amountDetail\": [\r\n {\r\n \"type\": \"EstimatedAmount\",\r\n \"amount\": \"4431.0\",\r\n \"additionalDetails\": {}\r\n }\r\n ]\r\n },\r\n {\r\n \"sorId\": 45,\r\n \"category\": \"NON-SOR\",\r\n \"name\": \"p3\",\r\n \"description\": \"p3\",\r\n \"unitRate\": \"21\",\r\n \"noOfunit\": \"22\",\r\n \"uom\": \"KG\",\r\n \"amountDetail\": [\r\n {\r\n \"type\": \"EstimatedAmount\",\r\n \"amount\": \"462.0\",\r\n \"additionalDetails\": {}\r\n }\r\n ]\r\n },\r\n {\r\n \"category\": \"OVERHEAD\",\r\n \"name\": \"GST\",\r\n \"description\": \"Goods and Service Tax\",\r\n \"amountDetail\": [\r\n {\r\n \"type\": \"GST\",\r\n \"amount\": \"640.1\"\r\n }\r\n ],\r\n \"additionalDetails\": {\r\n \"row\": {\r\n \"percentage\": \"12 %\",\r\n \"amount\": \"640.1\",\r\n \"name\": {\r\n \"code\": \"GST\",\r\n \"description\": \"Goods and Service Tax\",\r\n \"active\": true,\r\n \"isAutoCalculated\": true,\r\n \"type\": \"percentage\",\r\n \"value\": \"12\",\r\n \"isWorkOrderValue\": true,\r\n \"effectiveFrom\": 1677044852,\r\n \"effectiveTo\": null,\r\n \"name\": \"ES_COMMON_OVERHEADS_GST\"\r\n }\r\n }\r\n }\r\n },\r\n {\r\n \"category\": \"OVERHEAD\",\r\n \"name\": \"REW\",\r\n \"description\": \"Royalty on Earth Work\",\r\n \"amountDetail\": [\r\n {\r\n \"type\": \"REW\",\r\n \"amount\": \"1000\"\r\n }\r\n ],\r\n \"additionalDetails\": {\r\n \"row\": {\r\n \"percentage\": \"Lumpsum\",\r\n \"amount\": \"1000\",\r\n \"name\": {\r\n \"code\": \"REW\",\r\n \"description\": \"Royalty on Earth Work\",\r\n \"active\": true,\r\n \"isAutoCalculated\": false,\r\n \"type\": \"lumpsum\",\r\n \"isWorkOrderValue\": false,\r\n \"effectiveFrom\": 1677044852,\r\n \"effectiveTo\": null,\r\n \"name\": \"ES_COMMON_OVERHEADS_REW\"\r\n }\r\n }\r\n }\r\n },\r\n {\r\n \"category\": \"OVERHEAD\",\r\n \"name\": \"SC\",\r\n \"description\": \"Supervision Charge\",\r\n \"amountDetail\": [\r\n {\r\n \"type\": \"SC\",\r\n \"amount\": \"400.1\"\r\n }\r\n ],\r\n \"additionalDetails\": {\r\n \"row\": {\r\n \"percentage\": \"7.5 %\",\r\n \"amount\": \"400.1\",\r\n \"name\": {\r\n \"code\": \"SC\",\r\n \"description\": \"Supervision Charge\",\r\n \"active\": true,\r\n \"isAutoCalculated\": true,\r\n \"type\": \"percentage\",\r\n \"value\": \"7.5\",\r\n \"isWorkOrderValue\": true,\r\n \"effectiveFrom\": 1677044852,\r\n \"effectiveTo\": null,\r\n \"name\": \"ES_COMMON_OVERHEADS_SC\"\r\n }\r\n }\r\n }\r\n },\r\n {\r\n \"category\": \"OVERHEAD\",\r\n \"name\": \"TST\",\r\n \"description\": \"Testing Overhead\",\r\n \"amountDetail\": [\r\n {\r\n \"type\": \"TST\",\r\n \"amount\": \"5000\"\r\n }\r\n ],\r\n \"additionalDetails\": {\r\n \"row\": {\r\n \"percentage\": \"Lumpsum\",\r\n \"amount\": \"5000\",\r\n \"name\": {\r\n \"code\": \"TST\",\r\n \"description\": \"Testing Overhead\",\r\n \"active\": true,\r\n \"isAutoCalculated\": true,\r\n \"type\": \"lumpsum\",\r\n \"value\": \"5000\",\r\n \"isWorkOrderValue\": true,\r\n \"effectiveFrom\": 1677044852,\r\n \"effectiveTo\": null,\r\n \"name\": \"ES_COMMON_OVERHEADS_TST\"\r\n }\r\n }\r\n }\r\n },\r\n {\r\n \"category\": \"OVERHEAD\",\r\n \"name\": \"GST\",\r\n \"description\": \"Goods and Service Tax\",\r\n \"amountDetail\": [\r\n {\r\n \"type\": \"GST\",\r\n \"amount\": \"640.1\"\r\n }\r\n ],\r\n \"additionalDetails\": {\r\n \"row\": {\r\n \"percentage\": \"12 %\",\r\n \"amount\": \"640.1\",\r\n \"name\": {\r\n \"code\": \"GST\",\r\n \"description\": \"Goods and Service Tax\",\r\n \"active\": true,\r\n \"isAutoCalculated\": true,\r\n \"type\": \"percentage\",\r\n \"value\": \"12\",\r\n \"isWorkOrderValue\": true,\r\n \"effectiveFrom\": 1677044852,\r\n \"effectiveTo\": null,\r\n \"name\": \"ES_COMMON_OVERHEADS_GST\"\r\n }\r\n }\r\n }\r\n }\r\n ],\r\n \"additionalDetails\": {\r\n \"documents\": [\r\n {\r\n \"fileName\": \"\",\r\n \"fileType\": \"\"\r\n },\r\n {\r\n \"fileName\": \"acknowledgement (2).pdf\",\r\n \"fileStoreId\": \"7d566831-875e-4d83-9540-f30880371cf0\",\r\n \"documentUid\": \"7d566831-875e-4d83-9540-f30880371cf0\",\r\n \"tenantId\": \"pg.citya\",\r\n \"fileType\": \"ESTIMATE_DOC_DETAILED_ESTIMATE\"\r\n },\r\n {\r\n \"fileName\": \"acknowledgement (2).pdf\",\r\n \"fileStoreId\": \"7ae8f3c5-0bb9-44ae-8531-2ca45a194e68\",\r\n \"documentUid\": \"7ae8f3c5-0bb9-44ae-8531-2ca45a194e68\",\r\n \"tenantId\": \"pg.citya\",\r\n \"fileType\": \"ESTIMATE_DOC_LABOUR_ANALYSIS\"\r\n },\r\n {\r\n \"fileName\": \"acknowledgement (2).pdf\",\r\n \"fileStoreId\": \"8efa10ca-d06d-4ca8-96aa-fc50fa29861e\",\r\n \"documentUid\": \"8efa10ca-d06d-4ca8-96aa-fc50fa29861e\",\r\n \"tenantId\": \"pg.citya\",\r\n \"fileType\": \"ESTIMATE_DOC_MATERIAL_ANALYSIS\"\r\n },\r\n {\r\n \"fileType\": \"ESTIMATE_DOC_DESIGN_DOCUMENT\"\r\n },\r\n {\r\n \"fileName\": \"\",\r\n \"fileType\": \"\"\r\n }\r\n ],\r\n \"labourMaterialAnalysis\": {\r\n \"labour\": \"21\",\r\n \"material\": \"21\"\r\n },\r\n \"creator\": \"SUPERDUPER\",\r\n \"location\": {\r\n \"locality\": \"B1\",\r\n \"city\": \"pg.citya\"\r\n },\r\n \"projectNumber\": \"PJ/2023-24/04/001811\",\r\n \"totalEstimatedAmount\": 13014.3,\r\n \"tenantId\": \"pg.citya\"\r\n }\r\n },\r\n \"workflow\": {\r\n \"action\": \"SUBMIT\"\r\n },\r\n \"RequestInfo\": {\r\n \"apiId\": \"Rainmaker\",\r\n \"authToken\": \"247bbb6c-30ba-4f55-ad7e-c4fee9c29909\",\r\n \"userInfo\": {\r\n \"id\": 283,\r\n \"uuid\": \"dd1fc81a-f15d-477b-9f6b-376c75ea926c\",\r\n \"userName\": \"SUPERDUPER\",\r\n \"name\": \"SUPERDUPER\",\r\n \"mobileNumber\": \"8989898989\",\r\n \"emailId\": \"\",\r\n \"locale\": null,\r\n \"type\": \"EMPLOYEE\",\r\n \"roles\": [\r\n {\r\n \"name\": \"HRMS Admin\",\r\n \"code\": \"HRMS_ADMIN\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"Employee\",\r\n \"code\": \"EMPLOYEE\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"ESTIMATE VERIFIER\",\r\n \"code\": \"ESTIMATE_VERIFIER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"CBO ADMIN\",\r\n \"code\": \"CBO_ADMIN\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"LOI CREATOR\",\r\n \"code\": \"LOI_CREATOR\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"OFFICER IN CHARGE\",\r\n \"code\": \"OFFICER_IN_CHARGE\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"PROJECT CREATOR\",\r\n \"code\": \"PROJECT_CREATOR\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"LOI APPROVER\",\r\n \"code\": \"LOI_APPROVER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"EST CREATOR\",\r\n \"code\": \"EST_CREATOR\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"BILL_CREATOR\",\r\n \"code\": \"BILL_CREATOR\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"ESTIMATE VIEWER\",\r\n \"code\": \"ESTIMATE_VIEWER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"EST_CHECKER\",\r\n \"code\": \"EST_CHECKER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"JUNIOR ENGINEER\",\r\n \"code\": \"JUNIOR_ENGINEER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"MUKTA Admin\",\r\n \"code\": \"MUKTA_ADMIN\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"LOI CHECKER\",\r\n \"code\": \"LOI_CHECKER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"WORK ORDER CREATOR\",\r\n \"code\": \"WORK_ORDER_CREATOR\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"ESTIMATE APPROVER\",\r\n \"code\": \"ESTIMATE_APPROVER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_TECH_SANC\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"WORK ORDER VERIFIER\",\r\n \"code\": \"WORK_ORDER_VERIFIER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"EST FIN SANC\",\r\n \"code\": \"EST_FIN_SANC\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"PROJECT VIEWER\",\r\n \"code\": \"PROJECT_VIEWER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"Organization admin\",\r\n \"code\": \"ORG_ADMIN\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"MUSTER ROLL VERIFIER\",\r\n \"code\": \"MUSTER_ROLL_VERIFIER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"Organization staff\",\r\n \"code\": \"ORG_STAFF\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"Employee Common\",\r\n \"code\": \"EMPLOYEE_COMMON\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"BILL_VIEWER\",\r\n \"code\": \"BILL_VIEWER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"MUNICIPAL ENGINEER\",\r\n \"code\": \"MUNICIPAL_ENGINEER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"TECHNICAL SANCTIONER\",\r\n \"code\": \"TECHNICAL_SANCTIONER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"MUSTER ROLL APPROVER\",\r\n \"code\": \"MUSTER_ROLL_APPROVER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"WORK ORDER APPROVER\",\r\n \"code\": \"WORK_ORDER_APPROVER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"ESTIMATE CREATOR\",\r\n \"code\": \"ESTIMATE_CREATOR\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_ADMIN_SANC\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"State Dashboard Admin\",\r\n \"code\": \"STADMIN\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"SUPER USER\",\r\n \"code\": \"SUPERUSER\",\r\n \"tenantId\": \"pg.citya\"\r\n }\r\n ],\r\n \"active\": true,\r\n \"tenantId\": \"pg.citya\",\r\n \"permanentCity\": null\r\n },\r\n \"msgId\": \"1681287286110|en_IN\",\r\n \"plainAccessRequest\": {}\r\n }\r\n}" }, "url": { "raw": "localhost:8020/estimate-service/estimate/v1/_create", "host": [ "localhost" ], "port": "8020", "path": [ "estimate-service", "estimate", "v1", "_create" ] } }, "response": [] }, { "name": "https://works-dev.digit.org/estimate-service/estimate/v1/_update", "request": { "method": "POST", "header": [ { "key": "authority", "value": "works-dev.digit.org" }, { "key": "accept", "value": "application/json, text/plain, */*" }, { "key": "accept-language", "value": "en-US,en;q=0.9" }, { "key": "content-type", "value": "application/json;charset=UTF-8" }, { "key": "cookie", "value": "_ga=GA1.2.239047586.1664943016; intercom-id-xp1951jv=a94bd3ba-f80f-4f9b-99cd-4f6979b7205d; intercom-device-id-xp1951jv=0373f330-b1a2-4366-b223-412d53e680d0; __cuid=59fd9aac25b044f6af006bd4b159cbbf; amp_fef1e8=f4fc07f6-3fb0-4c67-8114-a1beb906e625R...1grivcl31.1grivrm50.1l.t.2i" }, { "key": "origin", "value": "https://works-dev.digit.org" }, { "key": "referer", "value": "https://works-dev.digit.org/works-ui/employee/estimate/estimate-details?tenantId=pg.citya&estimateNumber=ES/2023-24/001266" }, { "key": "sec-ch-ua", "value": "\"Google Chrome\";v=\"111\", \"Not(A:Brand\";v=\"8\", \"Chromium\";v=\"111\"" }, { "key": "sec-ch-ua-mobile", "value": "?0" }, { "key": "sec-ch-ua-platform", "value": "\"Windows\"" }, { "key": "sec-fetch-dest", "value": "empty" }, { "key": "sec-fetch-mode", "value": "cors" }, { "key": "sec-fetch-site", "value": "same-origin" }, { "key": "user-agent", "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36" } ], "body": { "mode": "raw", "raw": "{\r\n \"estimate\": {\r\n \"id\": \"991b9ec1-d13c-481f-a601-b25eed294940\",\r\n \"tenantId\": \"pg.citya\",\r\n \"estimateNumber\": \"ES/2023-24/001266\",\r\n \"projectId\": \"468b63fe-4b89-44b8-a75c-9ad245aec4b0\",\r\n \"proposalDate\": 1681295064619,\r\n \"status\": \"ACTIVE\",\r\n \"wfStatus\": \"VERIFIED\",\r\n \"name\": \"sdfsdf\",\r\n \"referenceNumber\": null,\r\n \"description\": \"sdfsdf\",\r\n \"executingDepartment\": \"WRK\",\r\n \"address\": {\r\n \"id\": \"8b61b585-283d-46aa-852b-993ab9b78100\",\r\n \"tenantId\": \"pg.citya\",\r\n \"doorNo\": null,\r\n \"latitude\": 90,\r\n \"longitude\": 180,\r\n \"locationAccuracy\": null,\r\n \"type\": null,\r\n \"addressNumber\": null,\r\n \"addressLine1\": \"sdfsdf\",\r\n \"addressLine2\": \"Address Line 2\",\r\n \"landmark\": \"Area1\",\r\n \"city\": \"pg.citya\",\r\n \"pincode\": \"999999\",\r\n \"detail\": null,\r\n \"buildingName\": null,\r\n \"street\": null,\r\n \"boundaryType\": null,\r\n \"boundary\": null,\r\n \"auditDetails\": null\r\n },\r\n \"estimateDetails\": [\r\n {\r\n \"id\": \"6ba5b6ca-2b81-414b-801b-c1a95f4e87b4\",\r\n \"sorId\": \"45\",\r\n \"category\": \"NON-SOR\",\r\n \"name\": \"sdfsdf\",\r\n \"description\": \"sdfdf\",\r\n \"unitRate\": 1003213,\r\n \"noOfunit\": 2,\r\n \"uom\": \"KG\",\r\n \"height\": null,\r\n \"isDeduction\": false,\r\n \"length\": null,\r\n \"quantity\": 2,\r\n \"uomValue\": null,\r\n \"width\": null,\r\n \"amountDetail\": [\r\n {\r\n \"id\": \"36c7dbfe-ef5d-4a5c-abe5-d6d89fc1abce\",\r\n \"type\": \"EstimatedAmount\",\r\n \"amount\": 2006426,\r\n \"isActive\": true,\r\n \"additionalDetails\": null\r\n }\r\n ],\r\n \"isActive\": true,\r\n \"additionalDetails\": null\r\n },\r\n {\r\n \"id\": \"404f117f-2531-4d6f-beb8-f1b870f6609e\",\r\n \"sorId\": null,\r\n \"category\": \"OVERHEAD\",\r\n \"name\": \"sdfsdf\",\r\n \"description\": \"Goods and Service Tax\",\r\n \"unitRate\": 0,\r\n \"noOfunit\": 0,\r\n \"uom\": null,\r\n \"uomValue\": 0,\r\n \"amountDetail\": [\r\n {\r\n \"id\": \"c9b94c0e-1eb7-4087-869d-03b760a78e75\",\r\n \"type\": \"GST\",\r\n \"amount\": 240771.1,\r\n \"isActive\": true,\r\n \"additionalDetails\": null\r\n }\r\n ],\r\n \"isActive\": true,\r\n \"additionalDetails\": {\r\n \"row\": {\r\n \"name\": {\r\n \"code\": \"GST\",\r\n \"name\": \"ES_COMMON_OVERHEADS_GST\",\r\n \"type\": \"percentage\",\r\n \"value\": \"12\",\r\n \"active\": true,\r\n \"description\": \"Goods and Service Tax\",\r\n \"effectiveTo\": null,\r\n \"effectiveFrom\": 1677044852,\r\n \"isAutoCalculated\": true,\r\n \"isWorkOrderValue\": true\r\n },\r\n \"amount\": \"240771.1\",\r\n \"percentage\": \"12 %\"\r\n }\r\n }\r\n }\r\n ],\r\n \"auditDetails\": {\r\n \"createdBy\": \"1b348954-c257-4d18-afac-1b19fc3d86da\",\r\n \"lastModifiedBy\": \"1b348954-c257-4d18-afac-1b19fc3d86da\",\r\n \"createdTime\": 1681295064619,\r\n \"lastModifiedTime\": 1681295064619\r\n },\r\n \"additionalDetails\": {\r\n \"ward\": \"B1\",\r\n \"creator\": \"Jagankumar\",\r\n \"location\": {\r\n \"city\": \"pg.citya\",\r\n \"ward\": \"B1\",\r\n \"locality\": \"B1\"\r\n },\r\n \"tenantId\": \"pg.citya\",\r\n \"documents\": [\r\n {\r\n \"fileName\": \"\",\r\n \"fileType\": \"\"\r\n },\r\n {\r\n \"fileName\": \"project-PR_2023-24_04_001731.pdf\",\r\n \"fileType\": \"ESTIMATE_DOC_DETAILED_ESTIMATE\",\r\n \"tenantId\": \"pg.citya\",\r\n \"documentUid\": \"3d461024-195c-4a60-a958-9906c1c61570\",\r\n \"fileStoreId\": \"3d461024-195c-4a60-a958-9906c1c61570\"\r\n },\r\n {\r\n \"fileName\": \"project-PR_2023-24_04_001731.pdf\",\r\n \"fileType\": \"ESTIMATE_DOC_LABOUR_ANALYSIS\",\r\n \"tenantId\": \"pg.citya\",\r\n \"documentUid\": \"736e569a-e198-4275-969a-f18c577a39d9\",\r\n \"fileStoreId\": \"736e569a-e198-4275-969a-f18c577a39d9\"\r\n },\r\n {\r\n \"fileName\": \"project-PR_2023-24_04_001731.pdf\",\r\n \"fileType\": \"ESTIMATE_DOC_MATERIAL_ANALYSIS\",\r\n \"tenantId\": \"pg.citya\",\r\n \"documentUid\": \"e2277319-089b-4f62-a081-03fd426f5da9\",\r\n \"fileStoreId\": \"e2277319-089b-4f62-a081-03fd426f5da9\"\r\n },\r\n {\r\n \"fileType\": \"ESTIMATE_DOC_DESIGN_DOCUMENT\"\r\n },\r\n {\r\n \"fileName\": \"\",\r\n \"fileType\": \"\"\r\n }\r\n ],\r\n \"projectNumber\": \"PJ/2023-24/04/001816\",\r\n \"totalEstimatedAmount\": 2247197.1,\r\n \"labourMaterialAnalysis\": {\r\n \"labour\": \"1\",\r\n \"material\": \"1\"\r\n }\r\n },\r\n \"project\": null,\r\n \"ProcessInstances\": null\r\n },\r\n \"workflow\": {\r\n \"action\": \"VERIFYANDFORWARD\"\r\n },\r\n \"RequestInfo\": {\r\n \"apiId\": \"Rainmaker\",\r\n \"authToken\": \"247bbb6c-30ba-4f55-ad7e-c4fee9c29909\",\r\n \"userInfo\": {\r\n \"id\": 283,\r\n \"uuid\": \"dd1fc81a-f15d-477b-9f6b-376c75ea926c\",\r\n \"userName\": \"SUPERDUPER\",\r\n \"name\": \"SUPERDUPER\",\r\n \"mobileNumber\": \"8989898989\",\r\n \"emailId\": \"\",\r\n \"locale\": null,\r\n \"type\": \"EMPLOYEE\",\r\n \"roles\": [\r\n {\r\n \"name\": \"HRMS Admin\",\r\n \"code\": \"HRMS_ADMIN\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"Employee\",\r\n \"code\": \"EMPLOYEE\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"ESTIMATE VERIFIER\",\r\n \"code\": \"ESTIMATE_VERIFIER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"CBO ADMIN\",\r\n \"code\": \"CBO_ADMIN\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"LOI CREATOR\",\r\n \"code\": \"LOI_CREATOR\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"OFFICER IN CHARGE\",\r\n \"code\": \"OFFICER_IN_CHARGE\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"PROJECT CREATOR\",\r\n \"code\": \"PROJECT_CREATOR\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"LOI APPROVER\",\r\n \"code\": \"LOI_APPROVER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"EST CREATOR\",\r\n \"code\": \"EST_CREATOR\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"BILL_CREATOR\",\r\n \"code\": \"BILL_CREATOR\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"ESTIMATE VIEWER\",\r\n \"code\": \"ESTIMATE_VIEWER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"EST_CHECKER\",\r\n \"code\": \"EST_CHECKER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"JUNIOR ENGINEER\",\r\n \"code\": \"JUNIOR_ENGINEER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"MUKTA Admin\",\r\n \"code\": \"MUKTA_ADMIN\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"LOI CHECKER\",\r\n \"code\": \"LOI_CHECKER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"WORK ORDER CREATOR\",\r\n \"code\": \"WORK_ORDER_CREATOR\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"ESTIMATE APPROVER\",\r\n \"code\": \"ESTIMATE_APPROVER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_TECH_SANC\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"WORK ORDER VERIFIER\",\r\n \"code\": \"WORK_ORDER_VERIFIER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"EST FIN SANC\",\r\n \"code\": \"EST_FIN_SANC\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"PROJECT VIEWER\",\r\n \"code\": \"PROJECT_VIEWER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"Organization admin\",\r\n \"code\": \"ORG_ADMIN\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"MUSTER ROLL VERIFIER\",\r\n \"code\": \"MUSTER_ROLL_VERIFIER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"Organization staff\",\r\n \"code\": \"ORG_STAFF\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"Employee Common\",\r\n \"code\": \"EMPLOYEE_COMMON\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"BILL_VIEWER\",\r\n \"code\": \"BILL_VIEWER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"MUNICIPAL ENGINEER\",\r\n \"code\": \"MUNICIPAL_ENGINEER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"TECHNICAL SANCTIONER\",\r\n \"code\": \"TECHNICAL_SANCTIONER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"MUSTER ROLL APPROVER\",\r\n \"code\": \"MUSTER_ROLL_APPROVER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"WORK ORDER APPROVER\",\r\n \"code\": \"WORK_ORDER_APPROVER\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"ESTIMATE CREATOR\",\r\n \"code\": \"ESTIMATE_CREATOR\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"EST TECH SANC\",\r\n \"code\": \"EST_ADMIN_SANC\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"State Dashboard Admin\",\r\n \"code\": \"STADMIN\",\r\n \"tenantId\": \"pg.citya\"\r\n },\r\n {\r\n \"name\": \"SUPER USER\",\r\n \"code\": \"SUPERUSER\",\r\n \"tenantId\": \"pg.citya\"\r\n }\r\n ],\r\n \"active\": true,\r\n \"tenantId\": \"pg.citya\",\r\n \"permanentCity\": null\r\n },\r\n \"msgId\": \"1681295439517|en_IN\",\r\n \"plainAccessRequest\": {}\r\n }\r\n}" }, "url": { "raw": "https://works-dev.digit.org/estimate-service/estimate/v1/_update", "protocol": "https", "host": [ "works-dev", "digit", "org" ], "path": [ "estimate-service", "estimate", "v1", "_update" ] } }, "response": [] } ], "event": [ { "listen": "prerequest", "script": { "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "type": "text/javascript", "exec": [ "" ] } } ], "variable": [ { "key": "tenantId", "value": "pb.amritsar", "type": "string" }, { "key": "devHost", "value": "https://works-dev.digit.org", "type": "string" }, { "key": "estimateId", "value": "", "type": "string" }, { "key": "estimateNumber", "value": "", "type": "string" }, { "key": "projectId", "value": " 4ef2f943-bfe9-4bb8-82dd-431260cd4a17", "type": "string" } ] }