{"id":"762a0467-2880-4179-82ce-0b2ae8ea0b57","name":"eGov Fire NOC module. copy","description":"APIs for Fire NOC module. This modules handles Below functionality.\n  1. Apply Fire NOC.\n  2. Search existing Fire NOC with different fiters.\n  3. Update exiting Fire NOC.\n","auth":null,"events":null,"variables":[],"order":[],"folders_order":["eec7a79f-db9e-4679-a946-62821fc856e1"],"protocolProfileBehavior":{},"folders":[{"id":"eec7a79f-db9e-4679-a946-62821fc856e1","name":"v1","description":"Folder for v1","auth":null,"events":null,"collection":"762a0467-2880-4179-82ce-0b2ae8ea0b57","folder":null,"order":["0f2b4380-88be-4383-b2bc-abcc2972e653","100dd9f7-42e5-4144-8dda-8f05ce11a87f","f7e32842-ae9d-47fe-ae4c-2217fe007180","362a898c-061a-426f-99ef-3f82c5f1b345","e78fb073-4d1a-47ef-b4ef-3a5dcd765712","ac83c603-bf59-4c1d-ab5e-877b30ceb9e0"],"folders_order":[],"protocolProfileBehavior":{},"collectionId":"762a0467-2880-4179-82ce-0b2ae8ea0b57","folderId":"eec7a79f-db9e-4679-a946-62821fc856e1"}],"requests":[{"id":"0f2b4380-88be-4383-b2bc-abcc2972e653","name":"Get the list of Fire NOC(s) defined in the system.","url":"http://localhost:8081/firenoc-service/v1/_search","description":"1. Search and get Fire NOC(s)  based on defined search criteria.","data":[],"dataOptions":null,"dataMode":"raw","headerData":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"method":"POST","pathVariableData":[],"queryParams":[{"key":"pageNumber","value":"1","equals":true,"enabled":false},{"key":"status","value":"{{status}}","equals":true,"enabled":false},{"key":"ids","value":"{{ids}}","equals":true,"enabled":false},{"key":"applicationNumber","value":"{{applicationNumber}}","equals":true,"enabled":false},{"key":"nocNumber","value":"{{nocNumber}}","equals":true,"enabled":false},{"key":"mobileNumber","value":"{{mobileNumber}}","equals":true,"enabled":false},{"key":"nocSubType","value":"{{nocSubType}}","equals":true,"enabled":false}],"auth":null,"events":null,"folder":"eec7a79f-db9e-4679-a946-62821fc856e1","currentHelper":null,"helperAttributes":null,"collectionId":"762a0467-2880-4179-82ce-0b2ae8ea0b57","rawModeData":"{\n  \"RequestInfo\": {\n    \"apiId\": \"string\",\n    \"ver\": \"string\",\n    \"ts\": 0,\n    \"action\": \"string\",\n    \"did\": \"string\",\n    \"key\": \"string\",\n    \"msgId\": \"string\",\n    \"requesterId\": \"string\",\n    \"authToken\": \"string\"\n  }\n}","headers":"Content-Type: application/json\n","pathVariables":{}},{"id":"100dd9f7-42e5-4144-8dda-8f05ce11a87f","name":"Create new Fire NOC.","url":"{{ENV}}/firenoc-services/v1/_create","description":"To create new Fire NOC in the system. API supports bulk creation with max limit as defined in the Fire NOC Request. Please note that either whole batch succeeds or fails, there's no partial batch success. To create one Fire NOC, please pass array with one Fire NOC object.\n\n\nFollowing Conditions are applied -\n  1. Support Documents for a given Fire NOC will created. In case of not attaching the Mandatory Supported Documents creation of Fire NOC Fails.\n  2. Noc Number will be autogenerated on final approval for new License.\n  3. ApplicationNumber will be autogenerated for new Fire NOC\n","data":[],"dataOptions":null,"dataMode":"raw","headerData":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"eec7a79f-db9e-4679-a946-62821fc856e1","currentHelper":null,"helperAttributes":null,"collectionId":"762a0467-2880-4179-82ce-0b2ae8ea0b57","rawModeData":"{\n    \"RequestInfo\": {\n        \"apiId\": \"Rainmaker\",\n        \"ver\": \".01\",\n        \"ts\": \"\",\n        \"action\": \"_search\",\n        \"did\": \"1\",\n        \"key\": \"\",\n        \"msgId\": \"20170310130900|en_IN\",\n        \"authToken\": \"9d8e5673-dac6-474e-8221-c2310ccc8f5f\"\n    },\n    \"FireNOCs\": [\n        {\t\n        \t\"tenantId\":\"pb.amritsar\",\n            \"fireNOCDetails\": {\n                \"propertyDetails\": {\n                    \"address\": {\n                        \"city\": \"pb.amritsar\",\n                        \"locality\": {\n                            \"code\": \"SUN04\"\n                        },\n                        \"pincode\": \"431003\",\n                        \"doorNo\": \"survey 11\",\n                        \"street\": \"Gopal Street\"\n                    }\n                },\n                \"noOfBuildings\": \"MULTIPLE\",\n                \"fireNOCType\": \"PROVISIONAL\",\n                \"buildings\": [\n                    {\n                        \"name\": \"DSR rainbow Heights\",\n                        \"usageType\": \"GROUP_A_RESIDENTIAL\",\n                        \"usageSubType\": \"GROUP_A_RESIDENTIAL.SUBDIVISIONA-1\",\n                        \"noOfFloors\": \"3\",\n                        \"noOfBasements\": \"2\",\n                        \"plotsize\": \"5000\",\n                        \"builtupArea\": \"1000\",\n                        \"heightOfBuilding\": \"5000\",\n                        \"uoms\": [],\n                        \"applicationDocuments\": []\n                    },\n\t\t\t\t\t{\n                        \"name\": \"DSR rainbow Heights\",\n                        \"usageType\": \"GROUP_A_RESIDENTIAL\",\n                        \"usageSubType\": \"GROUP_A_RESIDENTIAL.SUBDIVISIONA-1\",\n                        \"noOfFloors\": \"3\",\n                        \"noOfBasements\": \"2\",\n                        \"plotsize\": \"5000\",\n                        \"builtupArea\": \"1000\",\n                        \"heightOfBuilding\": \"5000\",\n                        \"uoms\": [],\n                        \"applicationDocuments\": []\n                    }\n                ],\n                \"firestationId\": \"FS_AMRITSAR_01\",\n                \"applicantDetails\": {\n                    \"ownerShipType\": \"INDIVIDUAL.SINGLEOWNER\",\n                    \"owners\": [\n                        {\n                            \"id\": 23442,\n                            \"userName\": \"9167765477\",\n                            \"salutation\": null,\n                            \"name\": \"Avijeet\",\n                            \"gender\": \"MALE\",\n                            \"mobileNumber\": \"9167765477\",\n                            \"emailId\": \"avi7@gm.com\",\n                            \"altContactNumber\": null,\n                            \"pan\": \"bnhpp5432k\",\n                            \"aadhaarNumber\": null,\n                            \"permanentAddress\": \"Some correspondance address\",\n                            \"permanentCity\": null,\n                            \"permanentPinCode\": null,\n                            \"correspondenceAddress\": \"Corresponding address\",\n                            \"correspondenceCity\": null,\n                            \"correspondencePinCode\": null,\n                            \"addresses\": [\n                                {\n                                    \"pinCode\": null,\n                                    \"city\": null,\n                                    \"address\": \"Some correspondance address\",\n                                    \"type\": \"PERMANENT\",\n                                    \"id\": 48685,\n                                    \"tenantId\": \"pb\",\n                                    \"userId\": 23442,\n                                    \"addressType\": \"PERMANENT\",\n                                    \"lastModifiedDate\": null,\n                                    \"lastModifiedBy\": null\n                                }\n                            ],\n                            \"active\": true,\n                            \"locale\": null,\n                            \"type\": \"CITIZEN\",\n                            \"accountLocked\": false,\n                            \"accountLockedDate\": 0,\n                            \"fatherOrHusbandName\": \"A\",\n                            \"signature\": null,\n                            \"bloodGroup\": null,\n                            \"photo\": null,\n                            \"identificationMark\": null,\n                            \"createdBy\": 0,\n                            \"lastModifiedBy\": 1,\n                            \"roles\": [\n                                {\n                                    \"code\": \"CITIZEN\",\n                                    \"name\": \"Citizen\",\n                                    \"tenantId\": \"pb\"\n                                }\n                            ],\n                            \"uuid\": \"d9fb76e8-3c65-4e11-9f5f-2998c0f8b8a6\",\n                            \"createdDate\": 1532962200000,\n                            \"lastModifiedDate\": 1554819900000,\n                            \"dob\": \"1991-06-28\",\n                            \"pwdExpiryDate\": 1541451000000,\n                            \"relationship\": \"FATHER\",\n                            \"ownerType\": \"NONE\",\n                            \"documents\": []\n                        }\n                    ],\n                    \"additionalDetail\": {}\n                },\n                \"additionalDetail\": {}\n            }\n        }\n    ]\n}","headers":"Content-Type: application/json\n","pathVariables":{}},{"id":"362a898c-061a-426f-99ef-3f82c5f1b345","name":"http://localhost:8080/firenoc-service/v1/_search","url":"http://localhost:8080/firenoc-service/v1/_search","description":null,"data":[],"dataOptions":null,"dataMode":"raw","headerData":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"eec7a79f-db9e-4679-a946-62821fc856e1","currentHelper":null,"helperAttributes":null,"collectionId":"762a0467-2880-4179-82ce-0b2ae8ea0b57","rawModeData":"{\n  \"RequestInfo\": {\n    \"apiId\": \"string\",\n    \"ver\": \"string\",\n    \"ts\": 0,\n    \"action\": \"string\",\n    \"did\": \"string\",\n    \"key\": \"string\",\n    \"msgId\": \"string\",\n    \"requesterId\": \"string\",\n    \"authToken\": \"string\"\n  }\n}\n","headers":"Content-Type: application/json\n","pathVariables":{}},{"id":"ac83c603-bf59-4c1d-ab5e-877b30ceb9e0","name":"{{ENV}}/firenoc-services/v1/_create","url":"{{ENV}}/firenoc-services/v1/_create","description":null,"data":[],"dataOptions":null,"dataMode":"raw","headerData":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"eec7a79f-db9e-4679-a946-62821fc856e1","currentHelper":null,"helperAttributes":null,"collectionId":"762a0467-2880-4179-82ce-0b2ae8ea0b57","rawModeData":"{\n  \"RequestInfo\": {\n\t\t\"apiId\" : \"Rainmaker\",\n\t\t\"ver\" : \".01\",\n\t\t\"action\" : \"\",\n\t\t\"did\" : \"1\",\n\t\t\"key\" : \"\",\n\t\t\"msgId\" : \"20170310130900|en_IN\",\n\t\t\"requesterId\" : \"\",\n\t\t\"authToken\": \"afd0f684-9675-454c-97c9-ce55d2cca3d2\"\n  }\n}","headers":"Content-Type: application/json\n","pathVariables":{}},{"id":"e78fb073-4d1a-47ef-b4ef-3a5dcd765712","name":"https://egov-micro-dev.egovernments.org/firenoc-services/v1/_search","url":"https://egov-micro-dev.egovernments.org/firenoc-services/v1/_search","description":null,"data":[],"dataOptions":null,"dataMode":"raw","headerData":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"eec7a79f-db9e-4679-a946-62821fc856e1","currentHelper":null,"helperAttributes":null,"collectionId":"762a0467-2880-4179-82ce-0b2ae8ea0b57","rawModeData":"{\n\t\"RequestInfo\":{\"apiId\":\"Rainmaker\",\"ver\":\".01\",\"ts\":\"\",\"action\":\"_search\",\"did\":\"1\",\"key\":\"\",\"msgId\":\"20170310130900|en_IN\",\"authToken\":\"b2dda8f8-dd12-4271-a019-e571f608e3c0\"}\n}","headers":"Content-Type: application/json\n","pathVariables":{}},{"id":"f7e32842-ae9d-47fe-ae4c-2217fe007180","name":"update existing Fire NOCs.","url":"http://localhost:8081/firenoc-service/v1/_update","description":"To update existing Fire NOC in the system. API supports bulk updation with max limit as defined in the Fire NOC Request. Please note that either whole batch succeeds or fails, there's no partial batch success. To update one Fire NOC, please pass array with one Fire NOC object.\n\nFollowing Conditions are applied -\n  1. Before payment Employee or Citizen can update any details of Fire NOC\n  2. After payment Citizen or Employee can't change any details of Fire NOC.\n","data":[],"dataOptions":null,"dataMode":"raw","headerData":[],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":"eec7a79f-db9e-4679-a946-62821fc856e1","currentHelper":null,"helperAttributes":null,"collectionId":"762a0467-2880-4179-82ce-0b2ae8ea0b57","rawModeData":"{\n  \"RequestInfo\": {\n    \"apiId\": \"string\",\n    \"ver\": \"string\",\n    \"ts\": 0,\n    \"action\": \"string\",\n    \"did\": \"string\",\n    \"key\": \"string\",\n    \"msgId\": \"string\",\n    \"requesterId\": \"string\",\n    \"authToken\": \"string\"\n  },\n  \"NOCs\": [\n    {\n      \"tenantId\": \"string\",\n      \"provisionNOCNumber\": \"string\",\n      \"oldNOCNumber\": \"string\",\n      \"dateOfApplied\": 0,\n      \"nocDetail\": {\n        \"nocSubType\": \"string\",\n        \"firestationId\": \"string\",\n        \"propertyDetails\": {\n          \"noOfBuildings\": \"string\",\n          \"propertyId\": \"string\",\n          \"buildingDetails\": [\n            {\n              \"tenantId\": \"string\",\n              \"name\": \"string\",\n              \"usageType\": \"string\",\n              \"noOfFloors\": 0,\n              \"noOfBasements\": 0,\n              \"plotsize\": 0,\n              \"builtupArea\": 0,\n              \"heightOfBuilding\": 0,\n              \"additonalUnitTypes\": {},\n              \"applicationDocuments\": [\n                {\n                  \"tenantId\": \"string\",\n                  \"documentType\": \"string\",\n                  \"fileStoreId\": \"string\",\n                  \"documentUid\": \"string\"\n                }\n              ]\n            }\n          ],\n          \"address\": {\n            \"tenantId\": \"string\",\n            \"doorNo\": \"string\",\n            \"latitude\": 0,\n            \"longitude\": 0,\n            \"addressNumber\": \"string\",\n            \"type\": \"string\",\n            \"addressLine1\": \"string\",\n            \"addressLine2\": \"string\",\n            \"landmark\": \"string\",\n            \"city\": \"string\",\n            \"pincode\": \"string\",\n            \"detail\": \"string\",\n            \"buildingName\": \"string\",\n            \"street\": \"string\",\n            \"locality\": {\n              \"code\": \"string\",\n              \"name\": \"string\",\n              \"label\": \"string\",\n              \"latitude\": \"string\",\n              \"longitude\": \"string\",\n              \"children\": [\n                null\n              ]\n            }\n          }\n        },\n        \"financialYear\": \"string\",\n        \"validFrom\": 0,\n        \"validTo\": 0,\n        \"action\": \"INITIATE\",\n        \"applicantDetails\": {\n          \"ownerShipType\": \"string\",\n          \"owners\": [\n            {\n              \"id\": 0,\n              \"userName\": \"string\",\n              \"password\": \"string\",\n              \"salutation\": \"string\",\n              \"name\": \"string\",\n              \"gender\": \"string\",\n              \"mobileNumber\": \"string\",\n              \"emailId\": \"string\",\n              \"altContactNumber\": \"string\",\n              \"pan\": \"string\",\n              \"aadhaarNumber\": \"string\",\n              \"permanentAddress\": \"string\",\n              \"permanentCity\": \"string\",\n              \"permanentPincode\": \"string\",\n              \"correspondenceCity\": \"string\",\n              \"correspondencePincode\": \"string\",\n              \"correspondenceAddress\": \"string\",\n              \"active\": true,\n              \"dob\": \"2019-05-01\",\n              \"locale\": \"string\",\n              \"type\": \"string\",\n              \"signature\": \"string\",\n              \"accountLocked\": true,\n              \"roles\": [\n                {\n                  \"id\": 0,\n                  \"name\": \"string\",\n                  \"code\": \"string\",\n                  \"description\": \"string\",\n                  \"createdBy\": 0,\n                  \"createdDate\": \"2019-05-01\",\n                  \"lastModifiedBy\": 0,\n                  \"lastModifiedDate\": \"2019-05-01\",\n                  \"tenantId\": \"string\"\n                }\n              ],\n              \"fatherOrHusbandName\": \"string\",\n              \"bloodGroup\": \"string\",\n              \"identificationMark\": \"string\",\n              \"photo\": \"string\",\n              \"createdBy\": 0,\n              \"createdDate\": \"2019-05-01\",\n              \"lastModifiedBy\": 0,\n              \"lastModifiedDate\": \"2019-05-01\",\n              \"otpReference\": \"string\",\n              \"tenantId\": \"string\",\n              \"isPrimaryOwner\": true,\n              \"ownerShipPercentage\": 0,\n              \"ownerType\": \"string\",\n              \"relationship\": \"FATHER\",\n              \"documents\": [\n                {\n                  \"tenantId\": \"string\",\n                  \"documentType\": \"string\",\n                  \"fileStoreId\": \"string\",\n                  \"documentUid\": \"string\"\n                }\n              ]\n            }\n          ],\n          \"additionalDetail\": {}\n        },\n        \"channel\": \"COUNTER\",\n        \"additionalDetail\": {}\n      }\n    }\n  ]\n}","headers":"","pathVariables":{}}]}