Trade Licence
Trade Licence APIs
API specs for creating new trade licence applications, searching and paying for trade licences.
Last updated
API specs for creating new trade licence applications, searching and paying for trade licences.
Last updated
All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.
OK
const response = await fetch('/tl-service/v1/_test', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
});
const data = await response.json();
{
"statusCode": "ACCEPTED",
"statusCodeValue": 0
}
servicename
jobname
OK
const response = await fetch('/tl-service/v1/{servicename}/{jobname}/_batch', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();
{
"statusCode": "ACCEPTED",
"statusCodeValue": 0
}
servicename
OK
const response = await fetch('/tl-service/v1/{servicename}/_search', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();
{
"Count": 0,
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationDate": 0,
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"businessService": "text",
"calculation": {
"accessoryBillingIds": {
"billingSlabIds": [
"text"
],
"fee": 0,
"id": "text"
},
"applicationNumber": "text",
"taxHeadEstimates": [
{
"category": "ADVANCE_COLLECTION",
"estimateAmount": 0,
"taxHeadCode": "text"
}
],
"tenantId": "text",
"tradeTypeBillingIds": {
"billingSlabIds": [
"text"
],
"fee": 0,
"id": "text"
}
},
"commencementDate": 0,
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"issuedDate": 0,
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": {
"accessories": [
{
"accessoryCategory": "text",
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"count": 0,
"id": "text",
"tenantId": "text",
"uom": "text",
"uomValue": "text"
}
],
"additionalDetail": {
"array": false,
"bigDecimal": false,
"bigInteger": false,
"binary": false,
"boolean": false,
"containerNode": false,
"double": false,
"empty": false,
"float": false,
"floatingPointNumber": false,
"int": false,
"integralNumber": false,
"long": false,
"missingNode": false,
"nodeType": "ARRAY",
"null": false,
"number": false,
"object": false,
"pojo": false,
"short": false,
"textual": false,
"valueNode": false
},
"address": {
"addressId": "text",
"addressLine1": "text",
"addressLine2": "text",
"addressNumber": "text",
"buildingName": "text",
"city": "text",
"detail": "text",
"doorNo": "text",
"id": "text",
"landmark": "text",
"latitude": 0,
"locality": {
"children": [],
"code": "text",
"label": "text",
"latitude": "text",
"longitude": "text",
"materializedPath": "text",
"name": "text"
},
"longitude": 0,
"pincode": "text",
"street": "text",
"tenantId": "text",
"type": "text"
},
"adhocExemption": 0,
"adhocExemptionReason": "text",
"adhocPenalty": 0,
"adhocPenaltyReason": "text",
"applicationDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"channel": "CITIZEN",
"id": "text",
"institution": {
"active": false,
"address": "text",
"contactNo": "text",
"designation": "text",
"id": "text",
"instituionName": "text",
"name": "text",
"organisationRegistrationNo": "text",
"tenantId": "text",
"type": "text"
},
"noOfEmployees": 0,
"operationalArea": 0,
"owners": [
{
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"createdDate": 0,
"dob": 0,
"documents": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"id": 0,
"identificationMark": "text",
"institutionId": "text",
"isPrimaryOwner": false,
"lastModifiedBy": "text",
"lastModifiedDate": 0,
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"ownerShipPercentage": 0,
"ownerType": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"pwdExpiryDate": 0,
"relationship": "FATHER",
"roles": [
{
"code": "text",
"id": 0,
"name": "text",
"tenantId": "text"
}
],
"salutation": "text",
"signature": "text",
"tenantId": "text",
"type": "text",
"userActive": false,
"userName": "text",
"uuid": "text"
}
],
"structureType": "text",
"subOwnerShipCategory": "text",
"surveyNo": "text",
"tradeUnits": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"id": "text",
"tenantId": "text",
"tradeType": "text",
"uom": "text",
"uomValue": "text"
}
],
"verificationDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
]
},
"tradeName": "text",
"validFrom": 0,
"validTo": 0,
"wfDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"ResponseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ts": 0,
"ver": "text"
},
"applicationValidity": 0,
"applicationsIssued": 0,
"applicationsRenewed": 0
}
servicename
OK
const response = await fetch('/tl-service/v1/{servicename}/_create', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();
{
"Count": 0,
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationDate": 0,
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"businessService": "text",
"calculation": {
"accessoryBillingIds": {
"billingSlabIds": [
"text"
],
"fee": 0,
"id": "text"
},
"applicationNumber": "text",
"taxHeadEstimates": [
{
"category": "ADVANCE_COLLECTION",
"estimateAmount": 0,
"taxHeadCode": "text"
}
],
"tenantId": "text",
"tradeTypeBillingIds": {
"billingSlabIds": [
"text"
],
"fee": 0,
"id": "text"
}
},
"commencementDate": 0,
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"issuedDate": 0,
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": {
"accessories": [
{
"accessoryCategory": "text",
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"count": 0,
"id": "text",
"tenantId": "text",
"uom": "text",
"uomValue": "text"
}
],
"additionalDetail": {
"array": false,
"bigDecimal": false,
"bigInteger": false,
"binary": false,
"boolean": false,
"containerNode": false,
"double": false,
"empty": false,
"float": false,
"floatingPointNumber": false,
"int": false,
"integralNumber": false,
"long": false,
"missingNode": false,
"nodeType": "ARRAY",
"null": false,
"number": false,
"object": false,
"pojo": false,
"short": false,
"textual": false,
"valueNode": false
},
"address": {
"addressId": "text",
"addressLine1": "text",
"addressLine2": "text",
"addressNumber": "text",
"buildingName": "text",
"city": "text",
"detail": "text",
"doorNo": "text",
"id": "text",
"landmark": "text",
"latitude": 0,
"locality": {
"children": [],
"code": "text",
"label": "text",
"latitude": "text",
"longitude": "text",
"materializedPath": "text",
"name": "text"
},
"longitude": 0,
"pincode": "text",
"street": "text",
"tenantId": "text",
"type": "text"
},
"adhocExemption": 0,
"adhocExemptionReason": "text",
"adhocPenalty": 0,
"adhocPenaltyReason": "text",
"applicationDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"channel": "CITIZEN",
"id": "text",
"institution": {
"active": false,
"address": "text",
"contactNo": "text",
"designation": "text",
"id": "text",
"instituionName": "text",
"name": "text",
"organisationRegistrationNo": "text",
"tenantId": "text",
"type": "text"
},
"noOfEmployees": 0,
"operationalArea": 0,
"owners": [
{
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"createdDate": 0,
"dob": 0,
"documents": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"id": 0,
"identificationMark": "text",
"institutionId": "text",
"isPrimaryOwner": false,
"lastModifiedBy": "text",
"lastModifiedDate": 0,
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"ownerShipPercentage": 0,
"ownerType": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"pwdExpiryDate": 0,
"relationship": "FATHER",
"roles": [
{
"code": "text",
"id": 0,
"name": "text",
"tenantId": "text"
}
],
"salutation": "text",
"signature": "text",
"tenantId": "text",
"type": "text",
"userActive": false,
"userName": "text",
"uuid": "text"
}
],
"structureType": "text",
"subOwnerShipCategory": "text",
"surveyNo": "text",
"tradeUnits": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"id": "text",
"tenantId": "text",
"tradeType": "text",
"uom": "text",
"uomValue": "text"
}
],
"verificationDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
]
},
"tradeName": "text",
"validFrom": 0,
"validTo": 0,
"wfDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"ResponseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ts": 0,
"ver": "text"
},
"applicationValidity": 0,
"applicationsIssued": 0,
"applicationsRenewed": 0
}
servicename
OK
const response = await fetch('/tl-service/v1/{servicename}/_update', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();
{
"Count": 0,
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationDate": 0,
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"businessService": "text",
"calculation": {
"accessoryBillingIds": {
"billingSlabIds": [
"text"
],
"fee": 0,
"id": "text"
},
"applicationNumber": "text",
"taxHeadEstimates": [
{
"category": "ADVANCE_COLLECTION",
"estimateAmount": 0,
"taxHeadCode": "text"
}
],
"tenantId": "text",
"tradeTypeBillingIds": {
"billingSlabIds": [
"text"
],
"fee": 0,
"id": "text"
}
},
"commencementDate": 0,
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"issuedDate": 0,
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": {
"accessories": [
{
"accessoryCategory": "text",
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"count": 0,
"id": "text",
"tenantId": "text",
"uom": "text",
"uomValue": "text"
}
],
"additionalDetail": {
"array": false,
"bigDecimal": false,
"bigInteger": false,
"binary": false,
"boolean": false,
"containerNode": false,
"double": false,
"empty": false,
"float": false,
"floatingPointNumber": false,
"int": false,
"integralNumber": false,
"long": false,
"missingNode": false,
"nodeType": "ARRAY",
"null": false,
"number": false,
"object": false,
"pojo": false,
"short": false,
"textual": false,
"valueNode": false
},
"address": {
"addressId": "text",
"addressLine1": "text",
"addressLine2": "text",
"addressNumber": "text",
"buildingName": "text",
"city": "text",
"detail": "text",
"doorNo": "text",
"id": "text",
"landmark": "text",
"latitude": 0,
"locality": {
"children": [],
"code": "text",
"label": "text",
"latitude": "text",
"longitude": "text",
"materializedPath": "text",
"name": "text"
},
"longitude": 0,
"pincode": "text",
"street": "text",
"tenantId": "text",
"type": "text"
},
"adhocExemption": 0,
"adhocExemptionReason": "text",
"adhocPenalty": 0,
"adhocPenaltyReason": "text",
"applicationDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"channel": "CITIZEN",
"id": "text",
"institution": {
"active": false,
"address": "text",
"contactNo": "text",
"designation": "text",
"id": "text",
"instituionName": "text",
"name": "text",
"organisationRegistrationNo": "text",
"tenantId": "text",
"type": "text"
},
"noOfEmployees": 0,
"operationalArea": 0,
"owners": [
{
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"createdDate": 0,
"dob": 0,
"documents": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"id": 0,
"identificationMark": "text",
"institutionId": "text",
"isPrimaryOwner": false,
"lastModifiedBy": "text",
"lastModifiedDate": 0,
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"ownerShipPercentage": 0,
"ownerType": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"pwdExpiryDate": 0,
"relationship": "FATHER",
"roles": [
{
"code": "text",
"id": 0,
"name": "text",
"tenantId": "text"
}
],
"salutation": "text",
"signature": "text",
"tenantId": "text",
"type": "text",
"userActive": false,
"userName": "text",
"uuid": "text"
}
],
"structureType": "text",
"subOwnerShipCategory": "text",
"surveyNo": "text",
"tradeUnits": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"id": "text",
"tenantId": "text",
"tradeType": "text",
"uom": "text",
"uomValue": "text"
}
],
"verificationDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
]
},
"tradeName": "text",
"validFrom": 0,
"validTo": 0,
"wfDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"ResponseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ts": 0,
"ver": "text"
},
"applicationValidity": 0,
"applicationsIssued": 0,
"applicationsRenewed": 0
}
servicename
OK
const response = await fetch('/tl-service/v1/_update', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();
{
"Count": 0,
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationDate": 0,
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"businessService": "text",
"calculation": {
"accessoryBillingIds": {
"billingSlabIds": [
"text"
],
"fee": 0,
"id": "text"
},
"applicationNumber": "text",
"taxHeadEstimates": [
{
"category": "ADVANCE_COLLECTION",
"estimateAmount": 0,
"taxHeadCode": "text"
}
],
"tenantId": "text",
"tradeTypeBillingIds": {
"billingSlabIds": [
"text"
],
"fee": 0,
"id": "text"
}
},
"commencementDate": 0,
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"issuedDate": 0,
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": {
"accessories": [
{
"accessoryCategory": "text",
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"count": 0,
"id": "text",
"tenantId": "text",
"uom": "text",
"uomValue": "text"
}
],
"additionalDetail": {
"array": false,
"bigDecimal": false,
"bigInteger": false,
"binary": false,
"boolean": false,
"containerNode": false,
"double": false,
"empty": false,
"float": false,
"floatingPointNumber": false,
"int": false,
"integralNumber": false,
"long": false,
"missingNode": false,
"nodeType": "ARRAY",
"null": false,
"number": false,
"object": false,
"pojo": false,
"short": false,
"textual": false,
"valueNode": false
},
"address": {
"addressId": "text",
"addressLine1": "text",
"addressLine2": "text",
"addressNumber": "text",
"buildingName": "text",
"city": "text",
"detail": "text",
"doorNo": "text",
"id": "text",
"landmark": "text",
"latitude": 0,
"locality": {
"children": [],
"code": "text",
"label": "text",
"latitude": "text",
"longitude": "text",
"materializedPath": "text",
"name": "text"
},
"longitude": 0,
"pincode": "text",
"street": "text",
"tenantId": "text",
"type": "text"
},
"adhocExemption": 0,
"adhocExemptionReason": "text",
"adhocPenalty": 0,
"adhocPenaltyReason": "text",
"applicationDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"channel": "CITIZEN",
"id": "text",
"institution": {
"active": false,
"address": "text",
"contactNo": "text",
"designation": "text",
"id": "text",
"instituionName": "text",
"name": "text",
"organisationRegistrationNo": "text",
"tenantId": "text",
"type": "text"
},
"noOfEmployees": 0,
"operationalArea": 0,
"owners": [
{
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"createdDate": 0,
"dob": 0,
"documents": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"id": 0,
"identificationMark": "text",
"institutionId": "text",
"isPrimaryOwner": false,
"lastModifiedBy": "text",
"lastModifiedDate": 0,
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"ownerShipPercentage": 0,
"ownerType": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"pwdExpiryDate": 0,
"relationship": "FATHER",
"roles": [
{
"code": "text",
"id": 0,
"name": "text",
"tenantId": "text"
}
],
"salutation": "text",
"signature": "text",
"tenantId": "text",
"type": "text",
"userActive": false,
"userName": "text",
"uuid": "text"
}
],
"structureType": "text",
"subOwnerShipCategory": "text",
"surveyNo": "text",
"tradeUnits": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"id": "text",
"tenantId": "text",
"tradeType": "text",
"uom": "text",
"uomValue": "text"
}
],
"verificationDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
]
},
"tradeName": "text",
"validFrom": 0,
"validTo": 0,
"wfDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"ResponseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ts": 0,
"ver": "text"
},
"applicationValidity": 0,
"applicationsIssued": 0,
"applicationsRenewed": 0
}
servicename
jobname
OK
const response = await fetch('/tl-service/v1/_batch', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();
{
"statusCode": "ACCEPTED",
"statusCodeValue": 0
}
servicename
OK
const response = await fetch('/tl-service/v1/_search', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();
{
"Count": 0,
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationDate": 0,
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"businessService": "text",
"calculation": {
"accessoryBillingIds": {
"billingSlabIds": [
"text"
],
"fee": 0,
"id": "text"
},
"applicationNumber": "text",
"taxHeadEstimates": [
{
"category": "ADVANCE_COLLECTION",
"estimateAmount": 0,
"taxHeadCode": "text"
}
],
"tenantId": "text",
"tradeTypeBillingIds": {
"billingSlabIds": [
"text"
],
"fee": 0,
"id": "text"
}
},
"commencementDate": 0,
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"issuedDate": 0,
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": {
"accessories": [
{
"accessoryCategory": "text",
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"count": 0,
"id": "text",
"tenantId": "text",
"uom": "text",
"uomValue": "text"
}
],
"additionalDetail": {
"array": false,
"bigDecimal": false,
"bigInteger": false,
"binary": false,
"boolean": false,
"containerNode": false,
"double": false,
"empty": false,
"float": false,
"floatingPointNumber": false,
"int": false,
"integralNumber": false,
"long": false,
"missingNode": false,
"nodeType": "ARRAY",
"null": false,
"number": false,
"object": false,
"pojo": false,
"short": false,
"textual": false,
"valueNode": false
},
"address": {
"addressId": "text",
"addressLine1": "text",
"addressLine2": "text",
"addressNumber": "text",
"buildingName": "text",
"city": "text",
"detail": "text",
"doorNo": "text",
"id": "text",
"landmark": "text",
"latitude": 0,
"locality": {
"children": [],
"code": "text",
"label": "text",
"latitude": "text",
"longitude": "text",
"materializedPath": "text",
"name": "text"
},
"longitude": 0,
"pincode": "text",
"street": "text",
"tenantId": "text",
"type": "text"
},
"adhocExemption": 0,
"adhocExemptionReason": "text",
"adhocPenalty": 0,
"adhocPenaltyReason": "text",
"applicationDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"channel": "CITIZEN",
"id": "text",
"institution": {
"active": false,
"address": "text",
"contactNo": "text",
"designation": "text",
"id": "text",
"instituionName": "text",
"name": "text",
"organisationRegistrationNo": "text",
"tenantId": "text",
"type": "text"
},
"noOfEmployees": 0,
"operationalArea": 0,
"owners": [
{
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"createdDate": 0,
"dob": 0,
"documents": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"id": 0,
"identificationMark": "text",
"institutionId": "text",
"isPrimaryOwner": false,
"lastModifiedBy": "text",
"lastModifiedDate": 0,
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"ownerShipPercentage": 0,
"ownerType": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"pwdExpiryDate": 0,
"relationship": "FATHER",
"roles": [
{
"code": "text",
"id": 0,
"name": "text",
"tenantId": "text"
}
],
"salutation": "text",
"signature": "text",
"tenantId": "text",
"type": "text",
"userActive": false,
"userName": "text",
"uuid": "text"
}
],
"structureType": "text",
"subOwnerShipCategory": "text",
"surveyNo": "text",
"tradeUnits": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"id": "text",
"tenantId": "text",
"tradeType": "text",
"uom": "text",
"uomValue": "text"
}
],
"verificationDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
]
},
"tradeName": "text",
"validFrom": 0,
"validTo": 0,
"wfDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"ResponseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ts": 0,
"ver": "text"
},
"applicationValidity": 0,
"applicationsIssued": 0,
"applicationsRenewed": 0
}
servicename
OK
const response = await fetch('/tl-service/v1/_create', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();
{
"Count": 0,
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationDate": 0,
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"businessService": "text",
"calculation": {
"accessoryBillingIds": {
"billingSlabIds": [
"text"
],
"fee": 0,
"id": "text"
},
"applicationNumber": "text",
"taxHeadEstimates": [
{
"category": "ADVANCE_COLLECTION",
"estimateAmount": 0,
"taxHeadCode": "text"
}
],
"tenantId": "text",
"tradeTypeBillingIds": {
"billingSlabIds": [
"text"
],
"fee": 0,
"id": "text"
}
},
"commencementDate": 0,
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"issuedDate": 0,
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": {
"accessories": [
{
"accessoryCategory": "text",
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"count": 0,
"id": "text",
"tenantId": "text",
"uom": "text",
"uomValue": "text"
}
],
"additionalDetail": {
"array": false,
"bigDecimal": false,
"bigInteger": false,
"binary": false,
"boolean": false,
"containerNode": false,
"double": false,
"empty": false,
"float": false,
"floatingPointNumber": false,
"int": false,
"integralNumber": false,
"long": false,
"missingNode": false,
"nodeType": "ARRAY",
"null": false,
"number": false,
"object": false,
"pojo": false,
"short": false,
"textual": false,
"valueNode": false
},
"address": {
"addressId": "text",
"addressLine1": "text",
"addressLine2": "text",
"addressNumber": "text",
"buildingName": "text",
"city": "text",
"detail": "text",
"doorNo": "text",
"id": "text",
"landmark": "text",
"latitude": 0,
"locality": {
"children": [],
"code": "text",
"label": "text",
"latitude": "text",
"longitude": "text",
"materializedPath": "text",
"name": "text"
},
"longitude": 0,
"pincode": "text",
"street": "text",
"tenantId": "text",
"type": "text"
},
"adhocExemption": 0,
"adhocExemptionReason": "text",
"adhocPenalty": 0,
"adhocPenaltyReason": "text",
"applicationDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"channel": "CITIZEN",
"id": "text",
"institution": {
"active": false,
"address": "text",
"contactNo": "text",
"designation": "text",
"id": "text",
"instituionName": "text",
"name": "text",
"organisationRegistrationNo": "text",
"tenantId": "text",
"type": "text"
},
"noOfEmployees": 0,
"operationalArea": 0,
"owners": [
{
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"createdDate": 0,
"dob": 0,
"documents": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"id": 0,
"identificationMark": "text",
"institutionId": "text",
"isPrimaryOwner": false,
"lastModifiedBy": "text",
"lastModifiedDate": 0,
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"ownerShipPercentage": 0,
"ownerType": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"pwdExpiryDate": 0,
"relationship": "FATHER",
"roles": [
{
"code": "text",
"id": 0,
"name": "text",
"tenantId": "text"
}
],
"salutation": "text",
"signature": "text",
"tenantId": "text",
"type": "text",
"userActive": false,
"userName": "text",
"uuid": "text"
}
],
"structureType": "text",
"subOwnerShipCategory": "text",
"surveyNo": "text",
"tradeUnits": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"id": "text",
"tenantId": "text",
"tradeType": "text",
"uom": "text",
"uomValue": "text"
}
],
"verificationDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
]
},
"tradeName": "text",
"validFrom": 0,
"validTo": 0,
"wfDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"ResponseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ts": 0,
"ver": "text"
},
"applicationValidity": 0,
"applicationsIssued": 0,
"applicationsRenewed": 0
}
OK
const response = await fetch('/tl-service/v1/_plainsearch', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();
{
"Count": 0,
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationDate": 0,
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"businessService": "text",
"calculation": {
"accessoryBillingIds": {
"billingSlabIds": [
"text"
],
"fee": 0,
"id": "text"
},
"applicationNumber": "text",
"taxHeadEstimates": [
{
"category": "ADVANCE_COLLECTION",
"estimateAmount": 0,
"taxHeadCode": "text"
}
],
"tenantId": "text",
"tradeTypeBillingIds": {
"billingSlabIds": [
"text"
],
"fee": 0,
"id": "text"
}
},
"commencementDate": 0,
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"issuedDate": 0,
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": {
"accessories": [
{
"accessoryCategory": "text",
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"count": 0,
"id": "text",
"tenantId": "text",
"uom": "text",
"uomValue": "text"
}
],
"additionalDetail": {
"array": false,
"bigDecimal": false,
"bigInteger": false,
"binary": false,
"boolean": false,
"containerNode": false,
"double": false,
"empty": false,
"float": false,
"floatingPointNumber": false,
"int": false,
"integralNumber": false,
"long": false,
"missingNode": false,
"nodeType": "ARRAY",
"null": false,
"number": false,
"object": false,
"pojo": false,
"short": false,
"textual": false,
"valueNode": false
},
"address": {
"addressId": "text",
"addressLine1": "text",
"addressLine2": "text",
"addressNumber": "text",
"buildingName": "text",
"city": "text",
"detail": "text",
"doorNo": "text",
"id": "text",
"landmark": "text",
"latitude": 0,
"locality": {
"children": [],
"code": "text",
"label": "text",
"latitude": "text",
"longitude": "text",
"materializedPath": "text",
"name": "text"
},
"longitude": 0,
"pincode": "text",
"street": "text",
"tenantId": "text",
"type": "text"
},
"adhocExemption": 0,
"adhocExemptionReason": "text",
"adhocPenalty": 0,
"adhocPenaltyReason": "text",
"applicationDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"channel": "CITIZEN",
"id": "text",
"institution": {
"active": false,
"address": "text",
"contactNo": "text",
"designation": "text",
"id": "text",
"instituionName": "text",
"name": "text",
"organisationRegistrationNo": "text",
"tenantId": "text",
"type": "text"
},
"noOfEmployees": 0,
"operationalArea": 0,
"owners": [
{
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"createdDate": 0,
"dob": 0,
"documents": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"id": 0,
"identificationMark": "text",
"institutionId": "text",
"isPrimaryOwner": false,
"lastModifiedBy": "text",
"lastModifiedDate": 0,
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"ownerShipPercentage": 0,
"ownerType": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"pwdExpiryDate": 0,
"relationship": "FATHER",
"roles": [
{
"code": "text",
"id": 0,
"name": "text",
"tenantId": "text"
}
],
"salutation": "text",
"signature": "text",
"tenantId": "text",
"type": "text",
"userActive": false,
"userName": "text",
"uuid": "text"
}
],
"structureType": "text",
"subOwnerShipCategory": "text",
"surveyNo": "text",
"tradeUnits": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"id": "text",
"tenantId": "text",
"tradeType": "text",
"uom": "text",
"uomValue": "text"
}
],
"verificationDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
]
},
"tradeName": "text",
"validFrom": 0,
"validTo": 0,
"wfDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"createdTime": 0,
"lastModifiedBy": "text",
"lastModifiedTime": 0
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"ResponseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ts": 0,
"ver": "text"
},
"applicationValidity": 0,
"applicationsIssued": 0,
"applicationsRenewed": 0
}
OK
const response = await fetch('/tl-service/v1/_test1', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();
{
"statusCode": "ACCEPTED",
"statusCodeValue": 0
}