Trade Licence
Last updated
Was this helpful?
Last updated
Was this helpful?
servicename
jobname
curl -L \
--request POST \
--url '/tl-service/v1/_batch' \
--header 'Content-Type: application/json' \
--data '{
"RequestInfo": {
"action": "text",
"apiId": "text",
"authToken": "text",
"correlationId": "text",
"did": "text",
"key": "text",
"msgId": "text",
"plainAccessRequest": {
"plainRequestFields": [
"text"
],
"recordId": "text"
},
"ts": 1,
"userInfo": {
"emailId": "text",
"id": 1,
"mobileNumber": "text",
"name": "text",
"roles": [
{
"code": "text",
"id": 1,
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text",
"type": "text",
"userName": "text",
"uuid": "text"
},
"ver": "text"
}
}'
{
"body": {},
"statusCode": "ACCEPTED",
"statusCodeValue": 1
}
OK
servicename
A Object holds the basic data for a Trade License
curl -L \
--request POST \
--url '/tl-service/v1/_create' \
--header 'Content-Type: application/json' \
--data '{
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationDate": 1,
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"businessService": "text",
"calculation": "[Circular Reference]",
"commencementDate": 1,
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"issuedDate": 1,
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": "[Circular Reference]",
"tradeName": "text",
"validFrom": 1,
"validTo": 1,
"wfDocuments": [
{
"active": true,
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"RequestInfo": {
"action": "text",
"apiId": "text",
"authToken": "text",
"correlationId": "text",
"did": "text",
"key": "text",
"msgId": "text",
"plainAccessRequest": {
"plainRequestFields": [
"text"
],
"recordId": "text"
},
"ts": 1,
"userInfo": {
"emailId": "text",
"id": 1,
"mobileNumber": "text",
"name": "text",
"roles": [
{
"code": "text",
"id": 1,
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text",
"type": "text",
"userName": "text",
"uuid": "text"
},
"ver": "text"
}
}'
{
"Count": 1,
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationDate": 1,
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"businessService": "text",
"calculation": "[Circular Reference]",
"commencementDate": 1,
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"issuedDate": 1,
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": "[Circular Reference]",
"tradeName": "text",
"validFrom": 1,
"validTo": 1,
"wfDocuments": [
{
"active": true,
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"ResponseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ts": 1,
"ver": "text"
},
"applicationValidity": 1,
"applicationsIssued": 1,
"applicationsRenewed": 1
}
OK
curl -L \
--request POST \
--url '/tl-service/v1/_plainsearch' \
--header 'Content-Type: application/json' \
--data '{
"RequestInfo": {
"action": "text",
"apiId": "text",
"authToken": "text",
"correlationId": "text",
"did": "text",
"key": "text",
"msgId": "text",
"plainAccessRequest": {
"plainRequestFields": [
"text"
],
"recordId": "text"
},
"ts": 1,
"userInfo": {
"emailId": "text",
"id": 1,
"mobileNumber": "text",
"name": "text",
"roles": [
{
"code": "text",
"id": 1,
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text",
"type": "text",
"userName": "text",
"uuid": "text"
},
"ver": "text"
}
}'
{
"Count": 1,
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationDate": 1,
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"businessService": "text",
"calculation": "[Circular Reference]",
"commencementDate": 1,
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"issuedDate": 1,
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": "[Circular Reference]",
"tradeName": "text",
"validFrom": 1,
"validTo": 1,
"wfDocuments": [
{
"active": true,
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"ResponseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ts": 1,
"ver": "text"
},
"applicationValidity": 1,
"applicationsIssued": 1,
"applicationsRenewed": 1
}
OK
servicename
curl -L \
--request POST \
--url '/tl-service/v1/_search' \
--header 'Content-Type: application/json' \
--data '{
"RequestInfo": {
"action": "text",
"apiId": "text",
"authToken": "text",
"correlationId": "text",
"did": "text",
"key": "text",
"msgId": "text",
"plainAccessRequest": {
"plainRequestFields": [
"text"
],
"recordId": "text"
},
"ts": 1,
"userInfo": {
"emailId": "text",
"id": 1,
"mobileNumber": "text",
"name": "text",
"roles": [
{
"code": "text",
"id": 1,
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text",
"type": "text",
"userName": "text",
"uuid": "text"
},
"ver": "text"
}
}'
{
"Count": 1,
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationDate": 1,
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"businessService": "text",
"calculation": "[Circular Reference]",
"commencementDate": 1,
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"issuedDate": 1,
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": "[Circular Reference]",
"tradeName": "text",
"validFrom": 1,
"validTo": 1,
"wfDocuments": [
{
"active": true,
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"ResponseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ts": 1,
"ver": "text"
},
"applicationValidity": 1,
"applicationsIssued": 1,
"applicationsRenewed": 1
}
OK
curl -L \
--request POST \
--url '/tl-service/v1/_test' \
--header 'Content-Type: application/json' \
--data '{
"ANY_ADDITIONAL_PROPERTY": {}
}'
{
"body": {},
"statusCode": "ACCEPTED",
"statusCodeValue": 1
}
OK
A Object holds the basic data for a Trade License
curl -L \
--request POST \
--url '/tl-service/v1/_test1' \
--header 'Content-Type: application/json' \
--data '{
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationDate": 1,
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"businessService": "text",
"calculation": "[Circular Reference]",
"commencementDate": 1,
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"issuedDate": 1,
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": "[Circular Reference]",
"tradeName": "text",
"validFrom": 1,
"validTo": 1,
"wfDocuments": [
{
"active": true,
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"RequestInfo": {
"action": "text",
"apiId": "text",
"authToken": "text",
"correlationId": "text",
"did": "text",
"key": "text",
"msgId": "text",
"plainAccessRequest": {
"plainRequestFields": [
"text"
],
"recordId": "text"
},
"ts": 1,
"userInfo": {
"emailId": "text",
"id": 1,
"mobileNumber": "text",
"name": "text",
"roles": [
{
"code": "text",
"id": 1,
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text",
"type": "text",
"userName": "text",
"uuid": "text"
},
"ver": "text"
}
}'
{
"body": {},
"statusCode": "ACCEPTED",
"statusCodeValue": 1
}
OK
servicename
A Object holds the basic data for a Trade License
curl -L \
--request POST \
--url '/tl-service/v1/_update' \
--header 'Content-Type: application/json' \
--data '{
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationDate": 1,
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"businessService": "text",
"calculation": "[Circular Reference]",
"commencementDate": 1,
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"issuedDate": 1,
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": "[Circular Reference]",
"tradeName": "text",
"validFrom": 1,
"validTo": 1,
"wfDocuments": [
{
"active": true,
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"RequestInfo": {
"action": "text",
"apiId": "text",
"authToken": "text",
"correlationId": "text",
"did": "text",
"key": "text",
"msgId": "text",
"plainAccessRequest": {
"plainRequestFields": [
"text"
],
"recordId": "text"
},
"ts": 1,
"userInfo": {
"emailId": "text",
"id": 1,
"mobileNumber": "text",
"name": "text",
"roles": [
{
"code": "text",
"id": 1,
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text",
"type": "text",
"userName": "text",
"uuid": "text"
},
"ver": "text"
}
}'
{
"Count": 1,
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationDate": 1,
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"businessService": "text",
"calculation": "[Circular Reference]",
"commencementDate": 1,
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"issuedDate": 1,
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": "[Circular Reference]",
"tradeName": "text",
"validFrom": 1,
"validTo": 1,
"wfDocuments": [
{
"active": true,
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"ResponseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ts": 1,
"ver": "text"
},
"applicationValidity": 1,
"applicationsIssued": 1,
"applicationsRenewed": 1
}
OK
servicename
A Object holds the basic data for a Trade License
curl -L \
--request POST \
--url '/tl-service/v1/{servicename}/_create' \
--header 'Content-Type: application/json' \
--data '{
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationDate": 1,
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"businessService": "text",
"calculation": "[Circular Reference]",
"commencementDate": 1,
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"issuedDate": 1,
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": "[Circular Reference]",
"tradeName": "text",
"validFrom": 1,
"validTo": 1,
"wfDocuments": [
{
"active": true,
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"RequestInfo": {
"action": "text",
"apiId": "text",
"authToken": "text",
"correlationId": "text",
"did": "text",
"key": "text",
"msgId": "text",
"plainAccessRequest": {
"plainRequestFields": [
"text"
],
"recordId": "text"
},
"ts": 1,
"userInfo": {
"emailId": "text",
"id": 1,
"mobileNumber": "text",
"name": "text",
"roles": [
{
"code": "text",
"id": 1,
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text",
"type": "text",
"userName": "text",
"uuid": "text"
},
"ver": "text"
}
}'
{
"Count": 1,
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationDate": 1,
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"businessService": "text",
"calculation": "[Circular Reference]",
"commencementDate": 1,
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"issuedDate": 1,
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": "[Circular Reference]",
"tradeName": "text",
"validFrom": 1,
"validTo": 1,
"wfDocuments": [
{
"active": true,
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"ResponseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ts": 1,
"ver": "text"
},
"applicationValidity": 1,
"applicationsIssued": 1,
"applicationsRenewed": 1
}
OK
servicename
curl -L \
--request POST \
--url '/tl-service/v1/{servicename}/_search' \
--header 'Content-Type: application/json' \
--data '{
"RequestInfo": {
"action": "text",
"apiId": "text",
"authToken": "text",
"correlationId": "text",
"did": "text",
"key": "text",
"msgId": "text",
"plainAccessRequest": {
"plainRequestFields": [
"text"
],
"recordId": "text"
},
"ts": 1,
"userInfo": {
"emailId": "text",
"id": 1,
"mobileNumber": "text",
"name": "text",
"roles": [
{
"code": "text",
"id": 1,
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text",
"type": "text",
"userName": "text",
"uuid": "text"
},
"ver": "text"
}
}'
{
"Count": 1,
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationDate": 1,
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"businessService": "text",
"calculation": "[Circular Reference]",
"commencementDate": 1,
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"issuedDate": 1,
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": "[Circular Reference]",
"tradeName": "text",
"validFrom": 1,
"validTo": 1,
"wfDocuments": [
{
"active": true,
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"ResponseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ts": 1,
"ver": "text"
},
"applicationValidity": 1,
"applicationsIssued": 1,
"applicationsRenewed": 1
}
OK
servicename
A Object holds the basic data for a Trade License
curl -L \
--request POST \
--url '/tl-service/v1/{servicename}/_update' \
--header 'Content-Type: application/json' \
--data '{
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationDate": 1,
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"businessService": "text",
"calculation": "[Circular Reference]",
"commencementDate": 1,
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"issuedDate": 1,
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": "[Circular Reference]",
"tradeName": "text",
"validFrom": 1,
"validTo": 1,
"wfDocuments": [
{
"active": true,
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"RequestInfo": {
"action": "text",
"apiId": "text",
"authToken": "text",
"correlationId": "text",
"did": "text",
"key": "text",
"msgId": "text",
"plainAccessRequest": {
"plainRequestFields": [
"text"
],
"recordId": "text"
},
"ts": 1,
"userInfo": {
"emailId": "text",
"id": 1,
"mobileNumber": "text",
"name": "text",
"roles": [
{
"code": "text",
"id": 1,
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text",
"type": "text",
"userName": "text",
"uuid": "text"
},
"ver": "text"
}
}'
{
"Count": 1,
"Licenses": [
{
"accountId": "text",
"action": "text",
"applicationDate": 1,
"applicationNumber": "text",
"applicationType": "NEW",
"assignee": [
"text"
],
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"businessService": "text",
"calculation": "[Circular Reference]",
"commencementDate": 1,
"comment": "text",
"fileStoreId": "text",
"financialYear": "text",
"id": "text",
"issuedDate": 1,
"licenseNumber": "text",
"licenseType": "PERMANENT",
"oldLicenseNumber": "text",
"oldPropertyId": "text",
"propertyId": "text",
"status": "text",
"tenantId": "text",
"tradeLicenseDetail": "[Circular Reference]",
"tradeName": "text",
"validFrom": 1,
"validTo": 1,
"wfDocuments": [
{
"active": true,
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"documentType": "text",
"documentUid": "text",
"fileStoreId": "text",
"id": "text",
"tenantId": "text"
}
],
"workflowCode": "text"
}
],
"ResponseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ts": 1,
"ver": "text"
},
"applicationValidity": 1,
"applicationsIssued": 1,
"applicationsRenewed": 1
}
OK
servicename
jobname
curl -L \
--request POST \
--url '/tl-service/v1/{servicename}/{jobname}/_batch' \
--header 'Content-Type: application/json' \
--data '{
"RequestInfo": {
"action": "text",
"apiId": "text",
"authToken": "text",
"correlationId": "text",
"did": "text",
"key": "text",
"msgId": "text",
"plainAccessRequest": {
"plainRequestFields": [
"text"
],
"recordId": "text"
},
"ts": 1,
"userInfo": {
"emailId": "text",
"id": 1,
"mobileNumber": "text",
"name": "text",
"roles": [
{
"code": "text",
"id": 1,
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text",
"type": "text",
"userName": "text",
"uuid": "text"
},
"ver": "text"
}
}'
{
"body": {},
"statusCode": "ACCEPTED",
"statusCodeValue": 1
}
OK