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"
}
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"
}
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();
{
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"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"
}
},
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": {
"accessories": [
{
"accessoryCategory": "text",
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"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",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"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"
},
"operationalArea": 0,
"owners": [
{
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"documents": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"identificationMark": "text",
"institutionId": "text",
"isPrimaryOwner": false,
"lastModifiedBy": "text",
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"ownerShipPercentage": 0,
"ownerType": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"relationship": "FATHER",
"roles": [
{
"code": "text",
"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",
"lastModifiedBy": "text"
},
"id": "text",
"tenantId": "text",
"tradeType": "text",
"uom": "text",
"uomValue": "text"
}
],
"verificationDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
]
},
"tradeName": "text",
"wfDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"ResponseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ver": "text"
}
}
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();
{
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"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"
}
},
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": {
"accessories": [
{
"accessoryCategory": "text",
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"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",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"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"
},
"operationalArea": 0,
"owners": [
{
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"documents": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"identificationMark": "text",
"institutionId": "text",
"isPrimaryOwner": false,
"lastModifiedBy": "text",
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"ownerShipPercentage": 0,
"ownerType": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"relationship": "FATHER",
"roles": [
{
"code": "text",
"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",
"lastModifiedBy": "text"
},
"id": "text",
"tenantId": "text",
"tradeType": "text",
"uom": "text",
"uomValue": "text"
}
],
"verificationDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
]
},
"tradeName": "text",
"wfDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"ResponseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ver": "text"
}
}
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();
{
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"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"
}
},
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": {
"accessories": [
{
"accessoryCategory": "text",
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"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",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"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"
},
"operationalArea": 0,
"owners": [
{
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"documents": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"identificationMark": "text",
"institutionId": "text",
"isPrimaryOwner": false,
"lastModifiedBy": "text",
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"ownerShipPercentage": 0,
"ownerType": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"relationship": "FATHER",
"roles": [
{
"code": "text",
"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",
"lastModifiedBy": "text"
},
"id": "text",
"tenantId": "text",
"tradeType": "text",
"uom": "text",
"uomValue": "text"
}
],
"verificationDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
]
},
"tradeName": "text",
"wfDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"ResponseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ver": "text"
}
}
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();
{
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"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"
}
},
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": {
"accessories": [
{
"accessoryCategory": "text",
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"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",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"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"
},
"operationalArea": 0,
"owners": [
{
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"documents": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"identificationMark": "text",
"institutionId": "text",
"isPrimaryOwner": false,
"lastModifiedBy": "text",
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"ownerShipPercentage": 0,
"ownerType": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"relationship": "FATHER",
"roles": [
{
"code": "text",
"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",
"lastModifiedBy": "text"
},
"id": "text",
"tenantId": "text",
"tradeType": "text",
"uom": "text",
"uomValue": "text"
}
],
"verificationDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
]
},
"tradeName": "text",
"wfDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"ResponseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ver": "text"
}
}
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"
}
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();
{
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"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"
}
},
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": {
"accessories": [
{
"accessoryCategory": "text",
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"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",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"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"
},
"operationalArea": 0,
"owners": [
{
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"documents": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"identificationMark": "text",
"institutionId": "text",
"isPrimaryOwner": false,
"lastModifiedBy": "text",
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"ownerShipPercentage": 0,
"ownerType": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"relationship": "FATHER",
"roles": [
{
"code": "text",
"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",
"lastModifiedBy": "text"
},
"id": "text",
"tenantId": "text",
"tradeType": "text",
"uom": "text",
"uomValue": "text"
}
],
"verificationDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
]
},
"tradeName": "text",
"wfDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"ResponseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ver": "text"
}
}
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();
{
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"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"
}
},
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": {
"accessories": [
{
"accessoryCategory": "text",
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"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",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"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"
},
"operationalArea": 0,
"owners": [
{
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"documents": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"identificationMark": "text",
"institutionId": "text",
"isPrimaryOwner": false,
"lastModifiedBy": "text",
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"ownerShipPercentage": 0,
"ownerType": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"relationship": "FATHER",
"roles": [
{
"code": "text",
"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",
"lastModifiedBy": "text"
},
"id": "text",
"tenantId": "text",
"tradeType": "text",
"uom": "text",
"uomValue": "text"
}
],
"verificationDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
]
},
"tradeName": "text",
"wfDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"ResponseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ver": "text"
}
}
OK
const response = await fetch('/tl-service/v1/_plainsearch', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();
{
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"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"
}
},
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": {
"accessories": [
{
"accessoryCategory": "text",
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"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",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"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"
},
"operationalArea": 0,
"owners": [
{
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"documents": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"identificationMark": "text",
"institutionId": "text",
"isPrimaryOwner": false,
"lastModifiedBy": "text",
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"ownerShipPercentage": 0,
"ownerType": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"relationship": "FATHER",
"roles": [
{
"code": "text",
"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",
"lastModifiedBy": "text"
},
"id": "text",
"tenantId": "text",
"tradeType": "text",
"uom": "text",
"uomValue": "text"
}
],
"verificationDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
]
},
"tradeName": "text",
"wfDocuments": [
{
"active": false,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"ResponseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ver": "text"
}
}
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"
}