{"id":"b987acce-ca57-4be1-80a9-4436a7310229","name":"TradeLicense","description":null,"auth":null,"events":null,"variables":[],"order":["134679ac-b515-447a-950b-c04df2349b24","c245242d-e7e8-40da-ad67-7a774141df68","fc8d8a12-45e8-462a-b07f-769f4578b418"],"folders_order":[],"protocolProfileBehavior":{},"folders":[],"requests":[{"id":"134679ac-b515-447a-950b-c04df2349b24","name":"TL Create","url":"http://egov-micro-dev.egovernments.org/tl-services/v1/_create","description":null,"data":[],"dataOptions":{"raw":null},"dataMode":"raw","headerData":[{"key":"Content-Type","value":"application/json"}],"method":"POST","pathVariableData":[],"queryParams":[{"key":"tenantId","value":"pb.amritsar","equals":true,"enabled":false}],"auth":null,"events":null,"folder":null,"currentHelper":null,"helperAttributes":null,"collectionId":"b987acce-ca57-4be1-80a9-4436a7310229","rawModeData":"{\n \"RequestInfo\": {\n    \"apiId\": \"Rainmaker\",\n    \"action\": \"\",\n    \"did\": 1,\n    \"key\": \"\",\n    \"msgId\": \"20170310130900|en_IN\",\n    \"requesterId\": \"\",\n    \"ts\": 1513579888683,\n    \"ver\": \".01\",\n    \"authToken\": \"{{devAuth}}\"\n  },\n  \"Licenses\": [\n    {\n      \"licenseType\": \"PERMANENT\",\n      \"tradeLicenseDetail\": {\n        \"address\": {\n          \"city\": \"pb.amritsar\",\n          \"locality\": {\n            \"code\": \"SUN04\"\n          }\n        },\n        \"additionalDetail\": {\n          \"applicationType\": \"APPLICATIONTYPE.NEW\"\n        },\n        \"structureType\": \"IMMOVABLE.PUCCA\",\n        \"tradeUnits\": [\n          {\n            \"tradeType\": \"GOODS.WHOLESALE.TST-150\",\n            \"uom\": null,\n            \"uomValue\": null\n          },\n          {\n            \"tradeType\": \"GOODS.WHOLESALE.TST-171\",\n            \"uom\": null,\n            \"uomValue\": null\n          }\n        ],\n        \"accessories\": [\n          {\n            \"uom\": \"HP\",\n            \"accessoryCategory\": \"ACC-1\",\n            \"uomValue\": \"110\",\n            \"count\": \"5\"\n          }\n        ],\n        \"subOwnerShipCategory\": \"INDIVIDUAL.SINGLEOWNER\",\n        \"owners\": [\n          {\n            \"id\": 23337,\n            \"userName\": \"9999999999\",\n            \"salutation\": null,\n            \"name\": \"NAME\",\n            \"gender\": \"MALE\",\n            \"mobileNumber\": \"9999999999\",\n            \"emailId\": \"cdcc@gmail.com\",\n            \"altContactNumber\": \"8526556269\",\n            \"pan\": \"\",\n            \"aadhaarNumber\": null,\n            \"permanentAddress\": \"ADDRESS\",\n            \"permanentCity\": \"pb.amritsar\",\n            \"permanentPinCode\": null,\n            \"correspondenceAddress\": \"asd\",\n            \"correspondenceCity\": null,\n            \"correspondencePinCode\": null,\n            \"addresses\": [\n              {\n                \"pinCode\": null,\n                \"city\": \"pb.amritsar\",\n                \"address\": \"ADDRESS\",\n                \"type\": \"PERMANENT\",\n                \"id\": 46439,\n                \"tenantId\": \"pb\",\n                \"userId\": 23337,\n                \"addressType\": \"PERMANENT\",\n                \"lastModifiedDate\": null,\n                \"lastModifiedBy\": null\n              },\n              {\n                \"pinCode\": null,\n                \"city\": null,\n                \"address\": \"asd\",\n                \"type\": \"CORRESPONDENCE\",\n                \"id\": 53118,\n                \"tenantId\": \"pb\",\n                \"userId\": 23337,\n                \"addressType\": \"CORRESPONDENCE\",\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\": \"Dad\",\n            \"signature\": null,\n            \"bloodGroup\": null,\n            \"photo\": null,\n            \"identificationMark\": null,\n            \"createdBy\": 23311,\n            \"lastModifiedBy\": 1,\n            \"tenantId\": \"pb\",\n            \"roles\": [\n              {\n                \"code\": \"CITIZEN\",\n                \"name\": \"Citizen\",\n                \"tenantId\": \"pb\"\n              }\n            ],\n            \"uuid\": \"b5439b78-1012-4282-bf6e-8f3f5e40f25a\",\n            \"createdDate\": 1530556680000,\n            \"lastModifiedDate\": 1573842000000,\n            \"dob\": 1543948199000,\n            \"pwdExpiryDate\": 1544470680000,\n            \"relationship\": \"FATHER\"\n          }\n        ],\n        \"applicationDocuments\": null\n      },\n      \"financialYear\": \"2019-20\",\n      \"tradeName\": \"ads\",\n      \"commencementDate\": 1573151399000,\n      \"tenantId\": \"pb.amritsar\",\n      \"action\": \"INITIATE\"\n    }\n  ]\n}","headers":"Content-Type: application/json\n","pathVariables":{}},{"id":"c245242d-e7e8-40da-ad67-7a774141df68","name":"TL Search","url":"https://egov-micro-qa.egovernments.org/tl-services/v1/_search?status=APPROVED&tenantId=pb.amritsar","description":null,"data":[],"dataOptions":{"raw":{}},"dataMode":"raw","headerData":[{"key":"Content-Type","value":"application/json"}],"method":"POST","pathVariableData":[],"queryParams":[{"key":"ids","value":"f62edd41-fcec-4442-821e-3a078f5d90e3","equals":true,"enabled":false},{"key":"limit","value":"100","equals":true,"enabled":false},{"key":"fromDate","value":"0","equals":true,"enabled":false},{"key":"status","value":"APPROVED","equals":true,"enabled":true},{"key":"mobileNumber","value":"9999999999","equals":true,"enabled":false},{"key":"offset","value":"50","equals":true,"enabled":false},{"key":"tenantId","value":"pb.amritsar","equals":true,"enabled":true},{"key":"applicationNumber","value":"PB-TL-2019-07-15-002238","equals":true,"enabled":false},{"key":"licenseNumber","value":"PB-TL-2019-06-03-000165","enabled":false},{"key":"","value":"","enabled":false}],"auth":null,"events":null,"folder":null,"currentHelper":null,"helperAttributes":null,"collectionId":"b987acce-ca57-4be1-80a9-4436a7310229","rawModeData":"{\n  \"RequestInfo\": {\n    \"apiId\": \"Rainmaker\",\n    \"ver\": \".01\",\n    \"action\": \"\",\n    \"did\": \"1\",\n    \"key\": \"\",\n    \"msgId\": \"20170310130900|en_IN\",\n    \"requesterId\": \"\",\n    \"authToken\": \"{{qaAuth}}\"\n  }\n}","headers":"Content-Type: application/json\n","pathVariables":{}},{"id":"fc8d8a12-45e8-462a-b07f-769f4578b418","name":"TL Update","url":"https://egov-micro-qa.egovernments.org/tl-services/v1/_update","description":null,"data":[],"dataOptions":{"raw":{}},"dataMode":"raw","headerData":[{"key":"Content-Type","value":"application/json"}],"method":"POST","pathVariableData":[],"queryParams":[],"auth":null,"events":null,"folder":null,"currentHelper":null,"helperAttributes":null,"collectionId":"b987acce-ca57-4be1-80a9-4436a7310229","rawModeData":"{\n  \"RequestInfo\": {\n    \"apiId\": \"Rainmaker\",\n    \"ver\": \".01\",\n    \"action\": \"\",\n    \"did\": \"1\",\n    \"key\": \"\",\n    \"msgId\": \"20170310130900|en_IN\",\n    \"requesterId\": \"\",\n    \"authToken\": \"{{qaAuth}}\"\n  },\n  \"Licenses\": [\n     {\n            \"comment\": null,\n            \"id\": \"9671bea8-68c8-409b-b87f-18a13abacf26\",\n            \"tenantId\": \"pb.amritsar\",\n            \"businessService\": \"TL\",\n            \"licenseType\": \"PERMANENT\",\n            \"applicationType\": \"NEW\",\n            \"workflowCode\": \"NewTL\",\n            \"licenseNumber\": \"PB-TL-2020-02-25-000670\",\n            \"applicationNumber\": \"PB-TL-2020-02-25-005250\",\n            \"oldLicenseNumber\": null,\n            \"propertyId\": null,\n            \"oldPropertyId\": null,\n            \"accountId\": null,\n            \"tradeName\": \"ABC\",\n            \"applicationDate\": 1582633185508,\n            \"commencementDate\": 1580581799000,\n            \"issuedDate\": 1582633425991,\n            \"financialYear\": \"2018-19\",\n            \"validFrom\": 1522540800000,\n            \"validTo\": 1554076799000,\n            \"action\": \"EXPIRE\",\n            \"assignee\": null,\n            \"wfDocuments\": null,\n            \"status\": \"APPROVED\",\n            \"tradeLicenseDetail\": {\n                \"id\": \"085ef82b-6b2c-499d-8152-abaa83a4ddd0\",\n                \"surveyNo\": null,\n                \"subOwnerShipCategory\": \"INDIVIDUAL.SINGLEOWNER\",\n                \"structureType\": \"IMMOVABLE.PUCCA\",\n                \"operationalArea\": null,\n                \"noOfEmployees\": null,\n                \"adhocExemption\": null,\n                \"adhocPenalty\": null,\n                \"adhocExemptionReason\": null,\n                \"adhocPenaltyReason\": null,\n                \"owners\": [\n                    {\n                        \"id\": 194,\n                        \"uuid\": \"11a23a18-0c2d-4a01-a7a8-eea084a7cb45\",\n                        \"userName\": \"9686987977\",\n                        \"password\": null,\n                        \"salutation\": null,\n                        \"name\": \"Shreya\",\n                        \"gender\": \"FEMALE\",\n                        \"mobileNumber\": \"9657081229\",\n                        \"emailId\": \"Lata@gmail.com\",\n                        \"altContactNumber\": null,\n                        \"pan\": \"QWERT1234H\",\n                        \"aadhaarNumber\": null,\n                        \"permanentAddress\": \"gehjdgdhdjdkhdgdjjjfhfhfjjfjfhfhjfjfjfhfhfjjjjjjjjjjjjjhjkskdkjdjhkjdkehdjkwehhf\",\n                        \"permanentCity\": \"pb.amritsar\",\n                        \"permanentPinCode\": null,\n                        \"correspondenceCity\": null,\n                        \"correspondencePinCode\": null,\n                        \"correspondenceAddress\": \"test\",\n                        \"active\": true,\n                        \"dob\": 730060200000,\n                        \"pwdExpiryDate\": 1545583020000,\n                        \"locale\": null,\n                        \"type\": \"CITIZEN\",\n                        \"signature\": null,\n                        \"accountLocked\": false,\n                        \"roles\": [\n                            {\n                                \"id\": null,\n                                \"name\": \"Citizen\",\n                                \"code\": \"CITIZEN\",\n                                \"tenantId\": \"pb\"\n                            }\n                        ],\n                        \"fatherOrHusbandName\": \"Nayak\",\n                        \"bloodGroup\": null,\n                        \"identificationMark\": null,\n                        \"photo\": \"https://egov-rainmaker.s3.ap-south-1.amazonaws.com/pb/rainmaker-pgr/May/3/155686661544846.JPG?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20200227T100031Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86400&X-Amz-Credential=AKIA42DEGMQ2NZVNTLNI%2F20200227%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Signature=8424894c59abe55d1871fc1cb2c00e6a5789d7a0f896cad2ad1f8a02ef32ccc9\",\n                        \"createdBy\": \"0\",\n                        \"createdDate\": 1531312647000,\n                        \"lastModifiedBy\": \"1\",\n                        \"lastModifiedDate\": 1582797074000,\n                        \"otpReference\": null,\n                        \"tenantId\": \"pb\",\n                        \"isPrimaryOwner\": null,\n                        \"ownerShipPercentage\": null,\n                        \"ownerType\": null,\n                        \"institutionId\": null,\n                        \"documents\": null,\n                        \"userActive\": true,\n                        \"relationship\": \"FATHER\"\n                    }\n                ],\n                \"channel\": null,\n                \"address\": {\n                    \"id\": \"45aadfc0-6f1b-486c-b685-f767cab49b2b\",\n                    \"tenantId\": \"pb.amritsar\",\n                    \"doorNo\": null,\n                    \"latitude\": null,\n                    \"longitude\": null,\n                    \"addressId\": null,\n                    \"addressNumber\": null,\n                    \"type\": null,\n                    \"addressLine1\": null,\n                    \"addressLine2\": null,\n                    \"landmark\": null,\n                    \"city\": \"pb.amritsar\",\n                    \"pincode\": null,\n                    \"detail\": null,\n                    \"buildingName\": null,\n                    \"street\": null,\n                    \"locality\": {\n                        \"code\": \"SUN04\",\n                        \"name\": \"Ajit Nagar - Area1\",\n                        \"label\": \"Locality\",\n                        \"latitude\": null,\n                        \"longitude\": null,\n                        \"children\": [],\n                        \"materializedPath\": null\n                    }\n                },\n                \"tradeUnits\": [\n                    {\n                        \"id\": \"8b273705-144f-471c-abcc-a146d89fb265\",\n                        \"tenantId\": \"pb.amritsar\",\n                        \"active\": true,\n                        \"tradeType\": \"GOODS.RETAIL.TST-86\",\n                        \"uom\": null,\n                        \"uomValue\": null,\n                        \"auditDetails\": null\n                    }\n                ],\n                \"accessories\": null,\n                \"applicationDocuments\": [\n                    {\n                        \"id\": \"1599288a-b98a-4342-81c6-c0d897995017\",\n                        \"active\": true,\n                        \"tenantId\": \"pb.amritsar\",\n                        \"documentType\": \"OWNERIDPROOF\",\n                        \"fileStoreId\": \"20c4f85f-8f1e-4cad-9038-51a9a4c6fbab\",\n                        \"documentUid\": null,\n                        \"auditDetails\": null\n                    },\n                    {\n                        \"id\": \"9f070cc4-7e2d-4d94-842b-abf8ebad0130\",\n                        \"active\": true,\n                        \"tenantId\": \"pb.amritsar\",\n                        \"documentType\": \"OWNERSHIPPROOF\",\n                        \"fileStoreId\": \"d8272664-9381-4975-942b-4a88a2c70875\",\n                        \"documentUid\": null,\n                        \"auditDetails\": null\n                    },\n                    {\n                        \"id\": \"b4f8047d-8268-4d3a-bd5d-0d5882c0bb63\",\n                        \"active\": true,\n                        \"tenantId\": \"pb.amritsar\",\n                        \"documentType\": \"OWNERPHOTO\",\n                        \"fileStoreId\": \"79b5f16d-24e3-4ac2-8d9a-f133f970e27b\",\n                        \"documentUid\": null,\n                        \"auditDetails\": null\n                    }\n                ],\n                \"verificationDocuments\": null,\n                \"additionalDetail\": null,\n                \"institution\": null,\n                \"auditDetails\": {\n                    \"createdBy\": \"f6b0e1cf-5764-4570-9a95-5051d41ef468\",\n                    \"lastModifiedBy\": \"f6b0e1cf-5764-4570-9a95-5051d41ef468\",\n                    \"createdTime\": 1582633185508,\n                    \"lastModifiedTime\": 1582633185508\n                }\n            },\n            \"calculation\": null,\n            \"auditDetails\": {\n                \"createdBy\": \"f6b0e1cf-5764-4570-9a95-5051d41ef468\",\n                \"lastModifiedBy\": \"f6b0e1cf-5764-4570-9a95-5051d41ef468\",\n                \"createdTime\": 1582633185508,\n                \"lastModifiedTime\": 1582633397728\n            }\n        }\n  ]\n}","headers":"Content-Type: application/json\n","pathVariables":{}}]}