DIGIT Specifications
PlatformUrbanHealthPublic FinanceSanitation
  • Specifications Overview
    • Standardisation Approach
  • Common Service Specs
    • Access Control
    • Analytics
    • Billing
    • Collection
    • Dashboard Analytics
    • Decision Support System Ingest
    • Document Controller
    • Employee
    • Encryption
    • Filestore
    • ID Generation
    • Inbox
    • Indexer
    • Master
    • Master Data Management
    • OTP
    • Payment Gateway
    • PDF Generation
    • URL Shortening
    • User
    • Workflow
  • Domain Service Specs
    • Attendance
    • Bank Account
    • Billing Calculator
    • Birth-Death
    • Building Plan Approval
    • Building Plan Calculator
    • Campaign
    • Campaign Delivery
    • Contracts
    • Estimates
    • eChallan
    • Facility
    • Faecal Sludge Management (FSM)
    • Fire NOC
    • Fire NOC Calculator
    • Household
    • Individual
    • Inventory
    • Land
    • Muster Roll
    • National Dashboard Ingest
    • No Objection Certificate
    • Organization
    • Planning
    • Product
    • Project
    • Property Registry
    • Property Tax Calculator
    • Public Grievance Redressal
    • Registration
    • Sewerage Connection
    • Stock
    • Supervision
    • Sync
    • Trade Licence
    • Trade Licence Calculator
    • User Events
    • Vehicle Registration
    • Vendor Registration
    • Water Connection
  • Archived-docs
    • DIGIT Urban Service Specs
      • Property Tax Service
        • Property Tax Taxonomy
        • Property Tax Data Model
        • Property Tax Service API
      • Public Grievance Redressal Service
        • Public Grievance Redressal Taxonomy
        • Public Grievance Redressal Data Model
        • Public Grievance Redressal Service API
      • Trade License Service
        • Trade License Taxonomy
        • Trade License Data Model
        • Trade License API
      • Fire NOC Service
        • Fire NOC Taxonomy
        • Fire NOC Data Model
        • Fire NOC API
      • Miscellaneous Collection Service
        • Miscellaneous Collections Taxonomy
        • Miscellaneous Collections Data Model
        • Miscellaneous Collection API
      • Online Building Plan Approval Service
        • Online Building Plan Approval Taxonomy
        • Online Building Plan Approval Data Model
        • Online Building Plan Approval Service API
      • Water & Sewerage Service
        • Water & Sewerage Taxonomy
        • Water Service Data Model
        • Sewerage Service Data Model
        • Water & Sewerage Service API
      • Birth & Death Service
        • Birth & Death Taxonomy
        • Birth & Death Data Model
        • Birth & Death Service API
    • DIGIT Public Finance Management Service Specs
      • iFIX Master Data Service API
      • Adapter Master Data Service API
      • mGramSeva iFIX Adapter Service API
      • iFIX Department Entity Service API
      • Fiscal Event API
    • DIGIT Health Service Specs
      • Health Service Data Model
      • Health Service API
    • DIGIT Sanitation Service Specs
      • Faecal Sludge Management Service
        • Faecal Sludge Management Data Model
        • Faecal Sludge Management Service API
Powered by GitBook

​All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.

On this page

Was this helpful?

Export as PDF
  1. Archived-docs
  2. DIGIT Urban Service Specs
  3. Trade License Service

Trade License API

PreviousTrade License Data ModelNextFire NOC Service

Last updated 2 years ago

Was this helpful?

TL Service Contract

TL Calculator Service Contract

Get the list of Trade License defined in the system.

post
  1. Search and get Trade License(s) based on defined search criteria.
  2. In case multiple parameters are passed Trade License(s) will be searched as an AND combination of all the parameters.
body
requestInfoanyOptional

Parameter to carry Request metadata in the request body

Query parameters
tenantIdanyRequired

Unique id for a tenant.

pageNumberanyOptional

Page number

statusstringOptional

Search based on status.

idsinteger · int64[] · max: 50Optional

unique identifier of trade licence

applicationNumberstring · min: 2 · max: 64Optional

Unique application number for a trade license application.

licenseNumberstring · min: 2 · max: 64Optional

The unique license number for a Trade license.

oldLicenseNumberstring · min: 2 · max: 64Optional

The unique Old license number for a Trade license.

mobileNumberstringOptional

The mobile number of a Trade owner.

Pattern: [0-9]
Responses
200
Trade License(s) Retrived Successfully
application/json
400
Invalid input.
application/json
post
POST /tl-service/v1/_search?tenantId=null HTTP/1.1
Host: 
Accept: */*
{
  "ResponseInfo": {
    "apiId": "text",
    "ver": "text",
    "ts": 1,
    "resMsgId": "text",
    "msgId": "text",
    "status": "SUCCESSFUL"
  },
  "Licenses": [
    {
      "id": "text",
      "tenantId": "text",
      "name": "text",
      "licenseType": "TEMPORARY",
      "licenseNumber": "text",
      "oldLicenseNumber": "text",
      "propertyId": "text",
      "oldPropertyId": "text",
      "applicationDate": 1,
      "commencementDate": 1,
      "issuedDate": 1,
      "financialYear": "text",
      "validFrom": 1,
      "validTo": 1,
      "action": "INITIATE",
      "status": "INITIATED",
      "tradeLicenseDetail": {
        "surveyNo": "text",
        "subOwnerShipCategory": "text",
        "structureType": "text",
        "operationalArea": 1,
        "owners": [
          {
            "id": 1,
            "userName": "text",
            "password": "password",
            "salutation": "text",
            "name": "text",
            "gender": [
              "MALE"
            ],
            "mobileNumber": "text",
            "emailId": "text",
            "altContactNumber": "text",
            "pan": "text",
            "aadhaarNumber": "text",
            "permanentAddress": "text",
            "permanentCity": "text",
            "permanentPincode": "text",
            "correspondenceCity": "text",
            "correspondencePincode": "text",
            "correspondenceAddress": "text",
            "active": true,
            "dob": "2025-05-10",
            "pwdExpiryDate": "2025-05-10",
            "locale": "text",
            "type": [
              "EMPLOYEE"
            ],
            "signature": "text",
            "accountLocked": true,
            "roles": [
              {
                "id": 1,
                "name": "text",
                "code": "text",
                "description": "text",
                "createdBy": 1,
                "createdDate": "2025-05-10",
                "lastModifiedBy": 1,
                "lastModifiedDate": "2025-05-10",
                "tenantId": "text"
              }
            ],
            "fatherOrHusbandName": "text",
            "bloodGroup": [
              "A+"
            ],
            "identificationMark": "text",
            "photo": "text",
            "createdBy": 1,
            "createdDate": "2025-05-10",
            "lastModifiedBy": 1,
            "lastModifiedDate": "2025-05-10",
            "otpReference": "text",
            "tenantId": "text",
            "isPrimaryOwner": true,
            "ownerShipPercentage": 1,
            "ownerType": "text",
            "relationship": "FATHER",
            "documents": [
              {
                "tenantId": "text",
                "documentType": "text",
                "fileStoreId": "text",
                "documentUid": "text",
                "auditDetails": {
                  "createdBy": "text",
                  "lastModifiedBy": "text",
                  "createdTime": 1,
                  "lastModifiedTime": 1
                }
              }
            ]
          }
        ],
        "channel": "COUNTER",
        "address": {
          "tenantId": "text",
          "doorNo": "text",
          "latitude": 1,
          "longitude": 1,
          "addressId": "text",
          "addressNumber": "text",
          "type": [
            "PERMANENT"
          ],
          "addressLine1": "text",
          "addressLine2": "text",
          "landmark": "text",
          "city": "text",
          "pincode": "text",
          "detail": "text",
          "buildingName": "text",
          "street": "text",
          "locality": {
            "code": "text",
            "name": "text",
            "label": "text",
            "latitude": "text",
            "longitude": "text",
            "children": "[Circular Reference]",
            "materializedPath": "text"
          }
        },
        "tradeUnits": [
          {
            "tenantId": "text",
            "tradeType": "text",
            "uom": "text",
            "uomValue": "text",
            "auditDetails": {
              "createdBy": "text",
              "lastModifiedBy": "text",
              "createdTime": 1,
              "lastModifiedTime": 1
            }
          }
        ],
        "accessories": [
          {
            "tenantId": "text",
            "accessoryCategory": "text",
            "uom": "text",
            "uomValue": "text",
            "auditDetails": {
              "createdBy": "text",
              "lastModifiedBy": "text",
              "createdTime": 1,
              "lastModifiedTime": 1
            }
          }
        ],
        "applicationDocuments": [
          {
            "tenantId": "text",
            "documentType": "text",
            "fileStoreId": "text",
            "documentUid": "text",
            "auditDetails": {
              "createdBy": "text",
              "lastModifiedBy": "text",
              "createdTime": 1,
              "lastModifiedTime": 1
            }
          }
        ],
        "verificationDocuments": [
          {
            "tenantId": "text",
            "documentType": "text",
            "fileStoreId": "text",
            "documentUid": "text",
            "auditDetails": {
              "createdBy": "text",
              "lastModifiedBy": "text",
              "createdTime": 1,
              "lastModifiedTime": 1
            }
          }
        ],
        "additionalDetail": "text",
        "auditDetails": {
          "createdBy": "text",
          "lastModifiedBy": "text",
          "createdTime": 1,
          "lastModifiedTime": 1
        }
      },
      "auditDetails": {
        "createdBy": "text",
        "lastModifiedBy": "text",
        "createdTime": 1,
        "lastModifiedTime": 1
      }
    }
  ]
}
  • TL Service Contract
  • POSTGet the list of Trade License defined in the system.
  • POSTCreate new Trade Licenses.
  • POSTupdate existing licenses.
  • TL Calculator Service Contract
  • POSTGet the list of Trade License defined in the system.
  • POSTCreate new Trade Licenses.
  • POSTupdate existing licenses.

Get the list of Trade License defined in the system.

post
  1. Search and get Trade License(s) based on defined search criteria.
  2. In case multiple parameters are passed Trade License(s) will be searched as an AND combination of all the parameters.
body
requestInfoanyOptional

Parameter to carry Request metadata in the request body

Query parameters
tenantIdanyRequired

Unique id for a tenant.

pageNumberanyOptional

Page number

statusstringOptional

Search based on status.

idsinteger · int64[] · max: 50Optional

unique identifier of trade licence

applicationNumberstring · min: 2 · max: 64Optional

Unique application number for a trade license application.

licenseNumberstring · min: 2 · max: 64Optional

The unique license number for a Trade license.

oldLicenseNumberstring · min: 2 · max: 64Optional

The unique Old license number for a Trade license.

mobileNumberstringOptional

The mobile number of a Trade owner.

Pattern: [0-9]
Responses
200
Trade License(s) Retrived Successfully
application/json
400
Invalid input.
application/json
post
POST /tl-service/v1/_search?tenantId=null HTTP/1.1
Host: 
Accept: */*
{
  "ResponseInfo": {
    "apiId": "text",
    "ver": "text",
    "ts": 1,
    "resMsgId": "text",
    "msgId": "text",
    "status": "SUCCESSFUL"
  },
  "Licenses": [
    {
      "id": "text",
      "tenantId": "text",
      "name": "text",
      "licenseType": "TEMPORARY",
      "licenseNumber": "text",
      "oldLicenseNumber": "text",
      "propertyId": "text",
      "oldPropertyId": "text",
      "applicationDate": 1,
      "commencementDate": 1,
      "issuedDate": 1,
      "financialYear": "text",
      "validFrom": 1,
      "validTo": 1,
      "action": "INITIATE",
      "status": "INITIATED",
      "tradeLicenseDetail": {
        "surveyNo": "text",
        "subOwnerShipCategory": "text",
        "structureType": "text",
        "operationalArea": 1,
        "owners": [
          {
            "id": 1,
            "userName": "text",
            "password": "password",
            "salutation": "text",
            "name": "text",
            "gender": [
              "MALE"
            ],
            "mobileNumber": "text",
            "emailId": "text",
            "altContactNumber": "text",
            "pan": "text",
            "aadhaarNumber": "text",
            "permanentAddress": "text",
            "permanentCity": "text",
            "permanentPincode": "text",
            "correspondenceCity": "text",
            "correspondencePincode": "text",
            "correspondenceAddress": "text",
            "active": true,
            "dob": "2025-05-10",
            "pwdExpiryDate": "2025-05-10",
            "locale": "text",
            "type": [
              "EMPLOYEE"
            ],
            "signature": "text",
            "accountLocked": true,
            "roles": [
              {
                "id": 1,
                "name": "text",
                "code": "text",
                "description": "text",
                "createdBy": 1,
                "createdDate": "2025-05-10",
                "lastModifiedBy": 1,
                "lastModifiedDate": "2025-05-10",
                "tenantId": "text"
              }
            ],
            "fatherOrHusbandName": "text",
            "bloodGroup": [
              "A+"
            ],
            "identificationMark": "text",
            "photo": "text",
            "createdBy": 1,
            "createdDate": "2025-05-10",
            "lastModifiedBy": 1,
            "lastModifiedDate": "2025-05-10",
            "otpReference": "text",
            "tenantId": "text",
            "isPrimaryOwner": true,
            "ownerShipPercentage": 1,
            "ownerType": "text",
            "relationship": "FATHER",
            "documents": [
              {
                "tenantId": "text",
                "documentType": "text",
                "fileStoreId": "text",
                "documentUid": "text",
                "auditDetails": {
                  "createdBy": "text",
                  "lastModifiedBy": "text",
                  "createdTime": 1,
                  "lastModifiedTime": 1
                }
              }
            ]
          }
        ],
        "channel": "COUNTER",
        "address": {
          "tenantId": "text",
          "doorNo": "text",
          "latitude": 1,
          "longitude": 1,
          "addressId": "text",
          "addressNumber": "text",
          "type": [
            "PERMANENT"
          ],
          "addressLine1": "text",
          "addressLine2": "text",
          "landmark": "text",
          "city": "text",
          "pincode": "text",
          "detail": "text",
          "buildingName": "text",
          "street": "text",
          "locality": {
            "code": "text",
            "name": "text",
            "label": "text",
            "latitude": "text",
            "longitude": "text",
            "children": "[Circular Reference]",
            "materializedPath": "text"
          }
        },
        "tradeUnits": [
          {
            "tenantId": "text",
            "tradeType": "text",
            "uom": "text",
            "uomValue": "text",
            "auditDetails": {
              "createdBy": "text",
              "lastModifiedBy": "text",
              "createdTime": 1,
              "lastModifiedTime": 1
            }
          }
        ],
        "accessories": [
          {
            "tenantId": "text",
            "accessoryCategory": "text",
            "uom": "text",
            "uomValue": "text",
            "auditDetails": {
              "createdBy": "text",
              "lastModifiedBy": "text",
              "createdTime": 1,
              "lastModifiedTime": 1
            }
          }
        ],
        "applicationDocuments": [
          {
            "tenantId": "text",
            "documentType": "text",
            "fileStoreId": "text",
            "documentUid": "text",
            "auditDetails": {
              "createdBy": "text",
              "lastModifiedBy": "text",
              "createdTime": 1,
              "lastModifiedTime": 1
            }
          }
        ],
        "verificationDocuments": [
          {
            "tenantId": "text",
            "documentType": "text",
            "fileStoreId": "text",
            "documentUid": "text",
            "auditDetails": {
              "createdBy": "text",
              "lastModifiedBy": "text",
              "createdTime": 1,
              "lastModifiedTime": 1
            }
          }
        ],
        "additionalDetail": "text",
        "auditDetails": {
          "createdBy": "text",
          "lastModifiedBy": "text",
          "createdTime": 1,
          "lastModifiedTime": 1
        }
      },
      "auditDetails": {
        "createdBy": "text",
        "lastModifiedBy": "text",
        "createdTime": 1,
        "lastModifiedTime": 1
      }
    }
  ]
}

Create new Trade Licenses.

post

To create new Trade License in the system. API supports bulk creation with max limit as defined in the Trade License Request. Please note that either whole batch succeeds or fails, there's no partial batch success. To create one Trade License, please pass array with one Trade License object.

Following Conditions are applied -

  1. PropertyId and OldPropertyId is not mandatory, If entered then validate. Invalid number fails trade license creation
  2. supportDocuments for a given Trade License will created. In case of not attaching the Mandatory Supported Documents creation of New Trade License Fails.
  3. LicenseNumber will be autogenerated on final approval for new License.
  4. ApplicationNumber will be autogenerated for new Trade License
Body

Contract class to receive request. Array of TradeLicense items are used in case of create, whereas single TradeLicense item is used for update

Responses
201
ReponseInfo with Trade License(s) created successfully
application/json
400
TradeLicense(s) creation failed
application/json
post
POST /tl-service/v1/_create HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 2427

{
  "RequestInfo": {
    "apiId": "text",
    "ver": "text",
    "ts": 1,
    "action": "text",
    "did": "text",
    "key": "text",
    "msgId": "text",
    "requesterId": "text",
    "authToken": "text"
  },
  "Licenses": [
    {
      "tenantId": "text",
      "name": "text",
      "licenseType": "TEMPORARY",
      "oldLicenseNumber": "text",
      "propertyId": "text",
      "oldPropertyId": "text",
      "commencementDate": 1,
      "financialYear": "text",
      "validFrom": 1,
      "validTo": 1,
      "action": "INITIATE",
      "status": "INITIATED",
      "tradeLicenseDetail": {
        "surveyNo": "text",
        "subOwnerShipCategory": "text",
        "structureType": "text",
        "operationalArea": 1,
        "owners": [
          {
            "id": 1,
            "userName": "text",
            "password": "password",
            "salutation": "text",
            "name": "text",
            "gender": [
              "MALE"
            ],
            "mobileNumber": "text",
            "emailId": "text",
            "altContactNumber": "text",
            "pan": "text",
            "aadhaarNumber": "text",
            "permanentAddress": "text",
            "permanentCity": "text",
            "permanentPincode": "text",
            "correspondenceCity": "text",
            "correspondencePincode": "text",
            "correspondenceAddress": "text",
            "active": true,
            "dob": "2025-05-10",
            "locale": "text",
            "type": [
              "EMPLOYEE"
            ],
            "signature": "text",
            "accountLocked": true,
            "roles": [
              {
                "id": 1,
                "name": "text",
                "code": "text",
                "description": "text",
                "createdBy": 1,
                "createdDate": "2025-05-10",
                "lastModifiedBy": 1,
                "lastModifiedDate": "2025-05-10",
                "tenantId": "text"
              }
            ],
            "fatherOrHusbandName": "text",
            "bloodGroup": [
              "A+"
            ],
            "identificationMark": "text",
            "photo": "text",
            "createdBy": 1,
            "createdDate": "2025-05-10",
            "lastModifiedBy": 1,
            "lastModifiedDate": "2025-05-10",
            "otpReference": "text",
            "tenantId": "text",
            "isPrimaryOwner": true,
            "ownerShipPercentage": 1,
            "ownerType": "text",
            "relationship": "FATHER",
            "documents": [
              {
                "tenantId": "text",
                "documentType": "text",
                "fileStoreId": "text",
                "documentUid": "text"
              }
            ]
          }
        ],
        "channel": "COUNTER",
        "address": {
          "tenantId": "text",
          "doorNo": "text",
          "latitude": 1,
          "longitude": 1,
          "addressNumber": "text",
          "type": [
            "PERMANENT"
          ],
          "addressLine1": "text",
          "addressLine2": "text",
          "landmark": "text",
          "city": "text",
          "pincode": "text",
          "detail": "text",
          "buildingName": "text",
          "street": "text",
          "locality": {
            "code": "text",
            "name": "text",
            "label": "text",
            "latitude": "text",
            "longitude": "text",
            "children": "[Circular Reference]"
          }
        },
        "tradeUnits": [
          {
            "tenantId": "text",
            "tradeType": "text",
            "uom": "text",
            "uomValue": "text"
          }
        ],
        "accessories": [
          {
            "tenantId": "text",
            "accessoryCategory": "text",
            "uom": "text",
            "uomValue": "text"
          }
        ],
        "applicationDocuments": [
          {
            "tenantId": "text",
            "documentType": "text",
            "fileStoreId": "text",
            "documentUid": "text"
          }
        ],
        "verificationDocuments": [
          {
            "tenantId": "text",
            "documentType": "text",
            "fileStoreId": "text",
            "documentUid": "text"
          }
        ],
        "additionalDetail": "text"
      }
    }
  ]
}
{
  "ResponseInfo": {
    "apiId": "text",
    "ver": "text",
    "ts": 1,
    "resMsgId": "text",
    "msgId": "text",
    "status": "SUCCESSFUL"
  },
  "Licenses": [
    {
      "id": "text",
      "tenantId": "text",
      "name": "text",
      "licenseType": "TEMPORARY",
      "licenseNumber": "text",
      "oldLicenseNumber": "text",
      "propertyId": "text",
      "oldPropertyId": "text",
      "applicationDate": 1,
      "commencementDate": 1,
      "issuedDate": 1,
      "financialYear": "text",
      "validFrom": 1,
      "validTo": 1,
      "action": "INITIATE",
      "status": "INITIATED",
      "tradeLicenseDetail": {
        "surveyNo": "text",
        "subOwnerShipCategory": "text",
        "structureType": "text",
        "operationalArea": 1,
        "owners": [
          {
            "id": 1,
            "userName": "text",
            "password": "password",
            "salutation": "text",
            "name": "text",
            "gender": [
              "MALE"
            ],
            "mobileNumber": "text",
            "emailId": "text",
            "altContactNumber": "text",
            "pan": "text",
            "aadhaarNumber": "text",
            "permanentAddress": "text",
            "permanentCity": "text",
            "permanentPincode": "text",
            "correspondenceCity": "text",
            "correspondencePincode": "text",
            "correspondenceAddress": "text",
            "active": true,
            "dob": "2025-05-10",
            "pwdExpiryDate": "2025-05-10",
            "locale": "text",
            "type": [
              "EMPLOYEE"
            ],
            "signature": "text",
            "accountLocked": true,
            "roles": [
              {
                "id": 1,
                "name": "text",
                "code": "text",
                "description": "text",
                "createdBy": 1,
                "createdDate": "2025-05-10",
                "lastModifiedBy": 1,
                "lastModifiedDate": "2025-05-10",
                "tenantId": "text"
              }
            ],
            "fatherOrHusbandName": "text",
            "bloodGroup": [
              "A+"
            ],
            "identificationMark": "text",
            "photo": "text",
            "createdBy": 1,
            "createdDate": "2025-05-10",
            "lastModifiedBy": 1,
            "lastModifiedDate": "2025-05-10",
            "otpReference": "text",
            "tenantId": "text",
            "isPrimaryOwner": true,
            "ownerShipPercentage": 1,
            "ownerType": "text",
            "relationship": "FATHER",
            "documents": [
              {
                "tenantId": "text",
                "documentType": "text",
                "fileStoreId": "text",
                "documentUid": "text",
                "auditDetails": {
                  "createdBy": "text",
                  "lastModifiedBy": "text",
                  "createdTime": 1,
                  "lastModifiedTime": 1
                }
              }
            ]
          }
        ],
        "channel": "COUNTER",
        "address": {
          "tenantId": "text",
          "doorNo": "text",
          "latitude": 1,
          "longitude": 1,
          "addressId": "text",
          "addressNumber": "text",
          "type": [
            "PERMANENT"
          ],
          "addressLine1": "text",
          "addressLine2": "text",
          "landmark": "text",
          "city": "text",
          "pincode": "text",
          "detail": "text",
          "buildingName": "text",
          "street": "text",
          "locality": {
            "code": "text",
            "name": "text",
            "label": "text",
            "latitude": "text",
            "longitude": "text",
            "children": "[Circular Reference]",
            "materializedPath": "text"
          }
        },
        "tradeUnits": [
          {
            "tenantId": "text",
            "tradeType": "text",
            "uom": "text",
            "uomValue": "text",
            "auditDetails": {
              "createdBy": "text",
              "lastModifiedBy": "text",
              "createdTime": 1,
              "lastModifiedTime": 1
            }
          }
        ],
        "accessories": [
          {
            "tenantId": "text",
            "accessoryCategory": "text",
            "uom": "text",
            "uomValue": "text",
            "auditDetails": {
              "createdBy": "text",
              "lastModifiedBy": "text",
              "createdTime": 1,
              "lastModifiedTime": 1
            }
          }
        ],
        "applicationDocuments": [
          {
            "tenantId": "text",
            "documentType": "text",
            "fileStoreId": "text",
            "documentUid": "text",
            "auditDetails": {
              "createdBy": "text",
              "lastModifiedBy": "text",
              "createdTime": 1,
              "lastModifiedTime": 1
            }
          }
        ],
        "verificationDocuments": [
          {
            "tenantId": "text",
            "documentType": "text",
            "fileStoreId": "text",
            "documentUid": "text",
            "auditDetails": {
              "createdBy": "text",
              "lastModifiedBy": "text",
              "createdTime": 1,
              "lastModifiedTime": 1
            }
          }
        ],
        "additionalDetail": "text",
        "auditDetails": {
          "createdBy": "text",
          "lastModifiedBy": "text",
          "createdTime": 1,
          "lastModifiedTime": 1
        }
      },
      "auditDetails": {
        "createdBy": "text",
        "lastModifiedBy": "text",
        "createdTime": 1,
        "lastModifiedTime": 1
      }
    }
  ]
}

update existing licenses.

post

To update existing Trade License in the system. API supports bulk updation with max limit as defined in the Trade License Request. Please note that either whole batch succeeds or fails, there's no partial batch success. To update one Trade License, please pass array with one Trade License object.

Following Conditions are applied -

  1. Before payment Employee or Citizen can update any details of trade license
  2. After payment Citizen or Employee can't change any details of TL.
Body

Contract class to receive request. Array of TradeLicense items are used in case of create, whereas single TradeLicense item is used for update

Responses
201
ReponseInfo with Trade License(s) updated sudcessfully
application/json
400
TradeLicense(s) updation failed
application/json
post
POST /tl-service/v1/_update HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 2427

{
  "RequestInfo": {
    "apiId": "text",
    "ver": "text",
    "ts": 1,
    "action": "text",
    "did": "text",
    "key": "text",
    "msgId": "text",
    "requesterId": "text",
    "authToken": "text"
  },
  "Licenses": [
    {
      "tenantId": "text",
      "name": "text",
      "licenseType": "TEMPORARY",
      "oldLicenseNumber": "text",
      "propertyId": "text",
      "oldPropertyId": "text",
      "commencementDate": 1,
      "financialYear": "text",
      "validFrom": 1,
      "validTo": 1,
      "action": "INITIATE",
      "status": "INITIATED",
      "tradeLicenseDetail": {
        "surveyNo": "text",
        "subOwnerShipCategory": "text",
        "structureType": "text",
        "operationalArea": 1,
        "owners": [
          {
            "id": 1,
            "userName": "text",
            "password": "password",
            "salutation": "text",
            "name": "text",
            "gender": [
              "MALE"
            ],
            "mobileNumber": "text",
            "emailId": "text",
            "altContactNumber": "text",
            "pan": "text",
            "aadhaarNumber": "text",
            "permanentAddress": "text",
            "permanentCity": "text",
            "permanentPincode": "text",
            "correspondenceCity": "text",
            "correspondencePincode": "text",
            "correspondenceAddress": "text",
            "active": true,
            "dob": "2025-05-10",
            "locale": "text",
            "type": [
              "EMPLOYEE"
            ],
            "signature": "text",
            "accountLocked": true,
            "roles": [
              {
                "id": 1,
                "name": "text",
                "code": "text",
                "description": "text",
                "createdBy": 1,
                "createdDate": "2025-05-10",
                "lastModifiedBy": 1,
                "lastModifiedDate": "2025-05-10",
                "tenantId": "text"
              }
            ],
            "fatherOrHusbandName": "text",
            "bloodGroup": [
              "A+"
            ],
            "identificationMark": "text",
            "photo": "text",
            "createdBy": 1,
            "createdDate": "2025-05-10",
            "lastModifiedBy": 1,
            "lastModifiedDate": "2025-05-10",
            "otpReference": "text",
            "tenantId": "text",
            "isPrimaryOwner": true,
            "ownerShipPercentage": 1,
            "ownerType": "text",
            "relationship": "FATHER",
            "documents": [
              {
                "tenantId": "text",
                "documentType": "text",
                "fileStoreId": "text",
                "documentUid": "text"
              }
            ]
          }
        ],
        "channel": "COUNTER",
        "address": {
          "tenantId": "text",
          "doorNo": "text",
          "latitude": 1,
          "longitude": 1,
          "addressNumber": "text",
          "type": [
            "PERMANENT"
          ],
          "addressLine1": "text",
          "addressLine2": "text",
          "landmark": "text",
          "city": "text",
          "pincode": "text",
          "detail": "text",
          "buildingName": "text",
          "street": "text",
          "locality": {
            "code": "text",
            "name": "text",
            "label": "text",
            "latitude": "text",
            "longitude": "text",
            "children": "[Circular Reference]"
          }
        },
        "tradeUnits": [
          {
            "tenantId": "text",
            "tradeType": "text",
            "uom": "text",
            "uomValue": "text"
          }
        ],
        "accessories": [
          {
            "tenantId": "text",
            "accessoryCategory": "text",
            "uom": "text",
            "uomValue": "text"
          }
        ],
        "applicationDocuments": [
          {
            "tenantId": "text",
            "documentType": "text",
            "fileStoreId": "text",
            "documentUid": "text"
          }
        ],
        "verificationDocuments": [
          {
            "tenantId": "text",
            "documentType": "text",
            "fileStoreId": "text",
            "documentUid": "text"
          }
        ],
        "additionalDetail": "text"
      }
    }
  ]
}
{
  "ResponseInfo": {
    "apiId": "text",
    "ver": "text",
    "ts": 1,
    "resMsgId": "text",
    "msgId": "text",
    "status": "SUCCESSFUL"
  },
  "Licenses": [
    {
      "id": "text",
      "tenantId": "text",
      "name": "text",
      "licenseType": "TEMPORARY",
      "licenseNumber": "text",
      "oldLicenseNumber": "text",
      "propertyId": "text",
      "oldPropertyId": "text",
      "applicationDate": 1,
      "commencementDate": 1,
      "issuedDate": 1,
      "financialYear": "text",
      "validFrom": 1,
      "validTo": 1,
      "action": "INITIATE",
      "status": "INITIATED",
      "tradeLicenseDetail": {
        "surveyNo": "text",
        "subOwnerShipCategory": "text",
        "structureType": "text",
        "operationalArea": 1,
        "owners": [
          {
            "id": 1,
            "userName": "text",
            "password": "password",
            "salutation": "text",
            "name": "text",
            "gender": [
              "MALE"
            ],
            "mobileNumber": "text",
            "emailId": "text",
            "altContactNumber": "text",
            "pan": "text",
            "aadhaarNumber": "text",
            "permanentAddress": "text",
            "permanentCity": "text",
            "permanentPincode": "text",
            "correspondenceCity": "text",
            "correspondencePincode": "text",
            "correspondenceAddress": "text",
            "active": true,
            "dob": "2025-05-10",
            "pwdExpiryDate": "2025-05-10",
            "locale": "text",
            "type": [
              "EMPLOYEE"
            ],
            "signature": "text",
            "accountLocked": true,
            "roles": [
              {
                "id": 1,
                "name": "text",
                "code": "text",
                "description": "text",
                "createdBy": 1,
                "createdDate": "2025-05-10",
                "lastModifiedBy": 1,
                "lastModifiedDate": "2025-05-10",
                "tenantId": "text"
              }
            ],
            "fatherOrHusbandName": "text",
            "bloodGroup": [
              "A+"
            ],
            "identificationMark": "text",
            "photo": "text",
            "createdBy": 1,
            "createdDate": "2025-05-10",
            "lastModifiedBy": 1,
            "lastModifiedDate": "2025-05-10",
            "otpReference": "text",
            "tenantId": "text",
            "isPrimaryOwner": true,
            "ownerShipPercentage": 1,
            "ownerType": "text",
            "relationship": "FATHER",
            "documents": [
              {
                "tenantId": "text",
                "documentType": "text",
                "fileStoreId": "text",
                "documentUid": "text",
                "auditDetails": {
                  "createdBy": "text",
                  "lastModifiedBy": "text",
                  "createdTime": 1,
                  "lastModifiedTime": 1
                }
              }
            ]
          }
        ],
        "channel": "COUNTER",
        "address": {
          "tenantId": "text",
          "doorNo": "text",
          "latitude": 1,
          "longitude": 1,
          "addressId": "text",
          "addressNumber": "text",
          "type": [
            "PERMANENT"
          ],
          "addressLine1": "text",
          "addressLine2": "text",
          "landmark": "text",
          "city": "text",
          "pincode": "text",
          "detail": "text",
          "buildingName": "text",
          "street": "text",
          "locality": {
            "code": "text",
            "name": "text",
            "label": "text",
            "latitude": "text",
            "longitude": "text",
            "children": "[Circular Reference]",
            "materializedPath": "text"
          }
        },
        "tradeUnits": [
          {
            "tenantId": "text",
            "tradeType": "text",
            "uom": "text",
            "uomValue": "text",
            "auditDetails": {
              "createdBy": "text",
              "lastModifiedBy": "text",
              "createdTime": 1,
              "lastModifiedTime": 1
            }
          }
        ],
        "accessories": [
          {
            "tenantId": "text",
            "accessoryCategory": "text",
            "uom": "text",
            "uomValue": "text",
            "auditDetails": {
              "createdBy": "text",
              "lastModifiedBy": "text",
              "createdTime": 1,
              "lastModifiedTime": 1
            }
          }
        ],
        "applicationDocuments": [
          {
            "tenantId": "text",
            "documentType": "text",
            "fileStoreId": "text",
            "documentUid": "text",
            "auditDetails": {
              "createdBy": "text",
              "lastModifiedBy": "text",
              "createdTime": 1,
              "lastModifiedTime": 1
            }
          }
        ],
        "verificationDocuments": [
          {
            "tenantId": "text",
            "documentType": "text",
            "fileStoreId": "text",
            "documentUid": "text",
            "auditDetails": {
              "createdBy": "text",
              "lastModifiedBy": "text",
              "createdTime": 1,
              "lastModifiedTime": 1
            }
          }
        ],
        "additionalDetail": "text",
        "auditDetails": {
          "createdBy": "text",
          "lastModifiedBy": "text",
          "createdTime": 1,
          "lastModifiedTime": 1
        }
      },
      "auditDetails": {
        "createdBy": "text",
        "lastModifiedBy": "text",
        "createdTime": 1,
        "lastModifiedTime": 1
      }
    }
  ]
}

Create new Trade Licenses.

post

To create new Trade License in the system. API supports bulk creation with max limit as defined in the Trade License Request. Please note that either whole batch succeeds or fails, there's no partial batch success. To create one Trade License, please pass array with one Trade License object.

Following Conditions are applied -

  1. PropertyId and OldPropertyId is not mandatory, If entered then validate. Invalid number fails trade license creation
  2. supportDocuments for a given Trade License will created. In case of not attaching the Mandatory Supported Documents creation of New Trade License Fails.
  3. LicenseNumber will be autogenerated on final approval for new License.
  4. ApplicationNumber will be autogenerated for new Trade License
Body

Contract class to receive request. Array of TradeLicense items are used in case of create, whereas single TradeLicense item is used for update

Responses
201
ReponseInfo with Trade License(s) created successfully
application/json
400
TradeLicense(s) creation failed
application/json
post
POST /tl-service/v1/_create HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 2427

{
  "RequestInfo": {
    "apiId": "text",
    "ver": "text",
    "ts": 1,
    "action": "text",
    "did": "text",
    "key": "text",
    "msgId": "text",
    "requesterId": "text",
    "authToken": "text"
  },
  "Licenses": [
    {
      "tenantId": "text",
      "name": "text",
      "licenseType": "TEMPORARY",
      "oldLicenseNumber": "text",
      "propertyId": "text",
      "oldPropertyId": "text",
      "commencementDate": 1,
      "financialYear": "text",
      "validFrom": 1,
      "validTo": 1,
      "action": "INITIATE",
      "status": "INITIATED",
      "tradeLicenseDetail": {
        "surveyNo": "text",
        "subOwnerShipCategory": "text",
        "structureType": "text",
        "operationalArea": 1,
        "owners": [
          {
            "id": 1,
            "userName": "text",
            "password": "password",
            "salutation": "text",
            "name": "text",
            "gender": [
              "MALE"
            ],
            "mobileNumber": "text",
            "emailId": "text",
            "altContactNumber": "text",
            "pan": "text",
            "aadhaarNumber": "text",
            "permanentAddress": "text",
            "permanentCity": "text",
            "permanentPincode": "text",
            "correspondenceCity": "text",
            "correspondencePincode": "text",
            "correspondenceAddress": "text",
            "active": true,
            "dob": "2025-05-10",
            "locale": "text",
            "type": [
              "EMPLOYEE"
            ],
            "signature": "text",
            "accountLocked": true,
            "roles": [
              {
                "id": 1,
                "name": "text",
                "code": "text",
                "description": "text",
                "createdBy": 1,
                "createdDate": "2025-05-10",
                "lastModifiedBy": 1,
                "lastModifiedDate": "2025-05-10",
                "tenantId": "text"
              }
            ],
            "fatherOrHusbandName": "text",
            "bloodGroup": [
              "A+"
            ],
            "identificationMark": "text",
            "photo": "text",
            "createdBy": 1,
            "createdDate": "2025-05-10",
            "lastModifiedBy": 1,
            "lastModifiedDate": "2025-05-10",
            "otpReference": "text",
            "tenantId": "text",
            "isPrimaryOwner": true,
            "ownerShipPercentage": 1,
            "ownerType": "text",
            "relationship": "FATHER",
            "documents": [
              {
                "tenantId": "text",
                "documentType": "text",
                "fileStoreId": "text",
                "documentUid": "text"
              }
            ]
          }
        ],
        "channel": "COUNTER",
        "address": {
          "tenantId": "text",
          "doorNo": "text",
          "latitude": 1,
          "longitude": 1,
          "addressNumber": "text",
          "type": [
            "PERMANENT"
          ],
          "addressLine1": "text",
          "addressLine2": "text",
          "landmark": "text",
          "city": "text",
          "pincode": "text",
          "detail": "text",
          "buildingName": "text",
          "street": "text",
          "locality": {
            "code": "text",
            "name": "text",
            "label": "text",
            "latitude": "text",
            "longitude": "text",
            "children": "[Circular Reference]"
          }
        },
        "tradeUnits": [
          {
            "tenantId": "text",
            "tradeType": "text",
            "uom": "text",
            "uomValue": "text"
          }
        ],
        "accessories": [
          {
            "tenantId": "text",
            "accessoryCategory": "text",
            "uom": "text",
            "uomValue": "text"
          }
        ],
        "applicationDocuments": [
          {
            "tenantId": "text",
            "documentType": "text",
            "fileStoreId": "text",
            "documentUid": "text"
          }
        ],
        "verificationDocuments": [
          {
            "tenantId": "text",
            "documentType": "text",
            "fileStoreId": "text",
            "documentUid": "text"
          }
        ],
        "additionalDetail": "text"
      }
    }
  ]
}
{
  "ResponseInfo": {
    "apiId": "text",
    "ver": "text",
    "ts": 1,
    "resMsgId": "text",
    "msgId": "text",
    "status": "SUCCESSFUL"
  },
  "Licenses": [
    {
      "id": "text",
      "tenantId": "text",
      "name": "text",
      "licenseType": "TEMPORARY",
      "licenseNumber": "text",
      "oldLicenseNumber": "text",
      "propertyId": "text",
      "oldPropertyId": "text",
      "applicationDate": 1,
      "commencementDate": 1,
      "issuedDate": 1,
      "financialYear": "text",
      "validFrom": 1,
      "validTo": 1,
      "action": "INITIATE",
      "status": "INITIATED",
      "tradeLicenseDetail": {
        "surveyNo": "text",
        "subOwnerShipCategory": "text",
        "structureType": "text",
        "operationalArea": 1,
        "owners": [
          {
            "id": 1,
            "userName": "text",
            "password": "password",
            "salutation": "text",
            "name": "text",
            "gender": [
              "MALE"
            ],
            "mobileNumber": "text",
            "emailId": "text",
            "altContactNumber": "text",
            "pan": "text",
            "aadhaarNumber": "text",
            "permanentAddress": "text",
            "permanentCity": "text",
            "permanentPincode": "text",
            "correspondenceCity": "text",
            "correspondencePincode": "text",
            "correspondenceAddress": "text",
            "active": true,
            "dob": "2025-05-10",
            "pwdExpiryDate": "2025-05-10",
            "locale": "text",
            "type": [
              "EMPLOYEE"
            ],
            "signature": "text",
            "accountLocked": true,
            "roles": [
              {
                "id": 1,
                "name": "text",
                "code": "text",
                "description": "text",
                "createdBy": 1,
                "createdDate": "2025-05-10",
                "lastModifiedBy": 1,
                "lastModifiedDate": "2025-05-10",
                "tenantId": "text"
              }
            ],
            "fatherOrHusbandName": "text",
            "bloodGroup": [
              "A+"
            ],
            "identificationMark": "text",
            "photo": "text",
            "createdBy": 1,
            "createdDate": "2025-05-10",
            "lastModifiedBy": 1,
            "lastModifiedDate": "2025-05-10",
            "otpReference": "text",
            "tenantId": "text",
            "isPrimaryOwner": true,
            "ownerShipPercentage": 1,
            "ownerType": "text",
            "relationship": "FATHER",
            "documents": [
              {
                "tenantId": "text",
                "documentType": "text",
                "fileStoreId": "text",
                "documentUid": "text",
                "auditDetails": {
                  "createdBy": "text",
                  "lastModifiedBy": "text",
                  "createdTime": 1,
                  "lastModifiedTime": 1
                }
              }
            ]
          }
        ],
        "channel": "COUNTER",
        "address": {
          "tenantId": "text",
          "doorNo": "text",
          "latitude": 1,
          "longitude": 1,
          "addressId": "text",
          "addressNumber": "text",
          "type": [
            "PERMANENT"
          ],
          "addressLine1": "text",
          "addressLine2": "text",
          "landmark": "text",
          "city": "text",
          "pincode": "text",
          "detail": "text",
          "buildingName": "text",
          "street": "text",
          "locality": {
            "code": "text",
            "name": "text",
            "label": "text",
            "latitude": "text",
            "longitude": "text",
            "children": "[Circular Reference]",
            "materializedPath": "text"
          }
        },
        "tradeUnits": [
          {
            "tenantId": "text",
            "tradeType": "text",
            "uom": "text",
            "uomValue": "text",
            "auditDetails": {
              "createdBy": "text",
              "lastModifiedBy": "text",
              "createdTime": 1,
              "lastModifiedTime": 1
            }
          }
        ],
        "accessories": [
          {
            "tenantId": "text",
            "accessoryCategory": "text",
            "uom": "text",
            "uomValue": "text",
            "auditDetails": {
              "createdBy": "text",
              "lastModifiedBy": "text",
              "createdTime": 1,
              "lastModifiedTime": 1
            }
          }
        ],
        "applicationDocuments": [
          {
            "tenantId": "text",
            "documentType": "text",
            "fileStoreId": "text",
            "documentUid": "text",
            "auditDetails": {
              "createdBy": "text",
              "lastModifiedBy": "text",
              "createdTime": 1,
              "lastModifiedTime": 1
            }
          }
        ],
        "verificationDocuments": [
          {
            "tenantId": "text",
            "documentType": "text",
            "fileStoreId": "text",
            "documentUid": "text",
            "auditDetails": {
              "createdBy": "text",
              "lastModifiedBy": "text",
              "createdTime": 1,
              "lastModifiedTime": 1
            }
          }
        ],
        "additionalDetail": "text",
        "auditDetails": {
          "createdBy": "text",
          "lastModifiedBy": "text",
          "createdTime": 1,
          "lastModifiedTime": 1
        }
      },
      "auditDetails": {
        "createdBy": "text",
        "lastModifiedBy": "text",
        "createdTime": 1,
        "lastModifiedTime": 1
      }
    }
  ]
}

update existing licenses.

post

To update existing Trade License in the system. API supports bulk updation with max limit as defined in the Trade License Request. Please note that either whole batch succeeds or fails, there's no partial batch success. To update one Trade License, please pass array with one Trade License object.

Following Conditions are applied -

  1. Before payment Employee or Citizen can update any details of trade license
  2. After payment Citizen or Employee can't change any details of TL.
Body

Contract class to receive request. Array of TradeLicense items are used in case of create, whereas single TradeLicense item is used for update

Responses
201
ReponseInfo with Trade License(s) updated sudcessfully
application/json
400
TradeLicense(s) updation failed
application/json
post
POST /tl-service/v1/_update HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 2427

{
  "RequestInfo": {
    "apiId": "text",
    "ver": "text",
    "ts": 1,
    "action": "text",
    "did": "text",
    "key": "text",
    "msgId": "text",
    "requesterId": "text",
    "authToken": "text"
  },
  "Licenses": [
    {
      "tenantId": "text",
      "name": "text",
      "licenseType": "TEMPORARY",
      "oldLicenseNumber": "text",
      "propertyId": "text",
      "oldPropertyId": "text",
      "commencementDate": 1,
      "financialYear": "text",
      "validFrom": 1,
      "validTo": 1,
      "action": "INITIATE",
      "status": "INITIATED",
      "tradeLicenseDetail": {
        "surveyNo": "text",
        "subOwnerShipCategory": "text",
        "structureType": "text",
        "operationalArea": 1,
        "owners": [
          {
            "id": 1,
            "userName": "text",
            "password": "password",
            "salutation": "text",
            "name": "text",
            "gender": [
              "MALE"
            ],
            "mobileNumber": "text",
            "emailId": "text",
            "altContactNumber": "text",
            "pan": "text",
            "aadhaarNumber": "text",
            "permanentAddress": "text",
            "permanentCity": "text",
            "permanentPincode": "text",
            "correspondenceCity": "text",
            "correspondencePincode": "text",
            "correspondenceAddress": "text",
            "active": true,
            "dob": "2025-05-10",
            "locale": "text",
            "type": [
              "EMPLOYEE"
            ],
            "signature": "text",
            "accountLocked": true,
            "roles": [
              {
                "id": 1,
                "name": "text",
                "code": "text",
                "description": "text",
                "createdBy": 1,
                "createdDate": "2025-05-10",
                "lastModifiedBy": 1,
                "lastModifiedDate": "2025-05-10",
                "tenantId": "text"
              }
            ],
            "fatherOrHusbandName": "text",
            "bloodGroup": [
              "A+"
            ],
            "identificationMark": "text",
            "photo": "text",
            "createdBy": 1,
            "createdDate": "2025-05-10",
            "lastModifiedBy": 1,
            "lastModifiedDate": "2025-05-10",
            "otpReference": "text",
            "tenantId": "text",
            "isPrimaryOwner": true,
            "ownerShipPercentage": 1,
            "ownerType": "text",
            "relationship": "FATHER",
            "documents": [
              {
                "tenantId": "text",
                "documentType": "text",
                "fileStoreId": "text",
                "documentUid": "text"
              }
            ]
          }
        ],
        "channel": "COUNTER",
        "address": {
          "tenantId": "text",
          "doorNo": "text",
          "latitude": 1,
          "longitude": 1,
          "addressNumber": "text",
          "type": [
            "PERMANENT"
          ],
          "addressLine1": "text",
          "addressLine2": "text",
          "landmark": "text",
          "city": "text",
          "pincode": "text",
          "detail": "text",
          "buildingName": "text",
          "street": "text",
          "locality": {
            "code": "text",
            "name": "text",
            "label": "text",
            "latitude": "text",
            "longitude": "text",
            "children": "[Circular Reference]"
          }
        },
        "tradeUnits": [
          {
            "tenantId": "text",
            "tradeType": "text",
            "uom": "text",
            "uomValue": "text"
          }
        ],
        "accessories": [
          {
            "tenantId": "text",
            "accessoryCategory": "text",
            "uom": "text",
            "uomValue": "text"
          }
        ],
        "applicationDocuments": [
          {
            "tenantId": "text",
            "documentType": "text",
            "fileStoreId": "text",
            "documentUid": "text"
          }
        ],
        "verificationDocuments": [
          {
            "tenantId": "text",
            "documentType": "text",
            "fileStoreId": "text",
            "documentUid": "text"
          }
        ],
        "additionalDetail": "text"
      }
    }
  ]
}
{
  "ResponseInfo": {
    "apiId": "text",
    "ver": "text",
    "ts": 1,
    "resMsgId": "text",
    "msgId": "text",
    "status": "SUCCESSFUL"
  },
  "Licenses": [
    {
      "id": "text",
      "tenantId": "text",
      "name": "text",
      "licenseType": "TEMPORARY",
      "licenseNumber": "text",
      "oldLicenseNumber": "text",
      "propertyId": "text",
      "oldPropertyId": "text",
      "applicationDate": 1,
      "commencementDate": 1,
      "issuedDate": 1,
      "financialYear": "text",
      "validFrom": 1,
      "validTo": 1,
      "action": "INITIATE",
      "status": "INITIATED",
      "tradeLicenseDetail": {
        "surveyNo": "text",
        "subOwnerShipCategory": "text",
        "structureType": "text",
        "operationalArea": 1,
        "owners": [
          {
            "id": 1,
            "userName": "text",
            "password": "password",
            "salutation": "text",
            "name": "text",
            "gender": [
              "MALE"
            ],
            "mobileNumber": "text",
            "emailId": "text",
            "altContactNumber": "text",
            "pan": "text",
            "aadhaarNumber": "text",
            "permanentAddress": "text",
            "permanentCity": "text",
            "permanentPincode": "text",
            "correspondenceCity": "text",
            "correspondencePincode": "text",
            "correspondenceAddress": "text",
            "active": true,
            "dob": "2025-05-10",
            "pwdExpiryDate": "2025-05-10",
            "locale": "text",
            "type": [
              "EMPLOYEE"
            ],
            "signature": "text",
            "accountLocked": true,
            "roles": [
              {
                "id": 1,
                "name": "text",
                "code": "text",
                "description": "text",
                "createdBy": 1,
                "createdDate": "2025-05-10",
                "lastModifiedBy": 1,
                "lastModifiedDate": "2025-05-10",
                "tenantId": "text"
              }
            ],
            "fatherOrHusbandName": "text",
            "bloodGroup": [
              "A+"
            ],
            "identificationMark": "text",
            "photo": "text",
            "createdBy": 1,
            "createdDate": "2025-05-10",
            "lastModifiedBy": 1,
            "lastModifiedDate": "2025-05-10",
            "otpReference": "text",
            "tenantId": "text",
            "isPrimaryOwner": true,
            "ownerShipPercentage": 1,
            "ownerType": "text",
            "relationship": "FATHER",
            "documents": [
              {
                "tenantId": "text",
                "documentType": "text",
                "fileStoreId": "text",
                "documentUid": "text",
                "auditDetails": {
                  "createdBy": "text",
                  "lastModifiedBy": "text",
                  "createdTime": 1,
                  "lastModifiedTime": 1
                }
              }
            ]
          }
        ],
        "channel": "COUNTER",
        "address": {
          "tenantId": "text",
          "doorNo": "text",
          "latitude": 1,
          "longitude": 1,
          "addressId": "text",
          "addressNumber": "text",
          "type": [
            "PERMANENT"
          ],
          "addressLine1": "text",
          "addressLine2": "text",
          "landmark": "text",
          "city": "text",
          "pincode": "text",
          "detail": "text",
          "buildingName": "text",
          "street": "text",
          "locality": {
            "code": "text",
            "name": "text",
            "label": "text",
            "latitude": "text",
            "longitude": "text",
            "children": "[Circular Reference]",
            "materializedPath": "text"
          }
        },
        "tradeUnits": [
          {
            "tenantId": "text",
            "tradeType": "text",
            "uom": "text",
            "uomValue": "text",
            "auditDetails": {
              "createdBy": "text",
              "lastModifiedBy": "text",
              "createdTime": 1,
              "lastModifiedTime": 1
            }
          }
        ],
        "accessories": [
          {
            "tenantId": "text",
            "accessoryCategory": "text",
            "uom": "text",
            "uomValue": "text",
            "auditDetails": {
              "createdBy": "text",
              "lastModifiedBy": "text",
              "createdTime": 1,
              "lastModifiedTime": 1
            }
          }
        ],
        "applicationDocuments": [
          {
            "tenantId": "text",
            "documentType": "text",
            "fileStoreId": "text",
            "documentUid": "text",
            "auditDetails": {
              "createdBy": "text",
              "lastModifiedBy": "text",
              "createdTime": 1,
              "lastModifiedTime": 1
            }
          }
        ],
        "verificationDocuments": [
          {
            "tenantId": "text",
            "documentType": "text",
            "fileStoreId": "text",
            "documentUid": "text",
            "auditDetails": {
              "createdBy": "text",
              "lastModifiedBy": "text",
              "createdTime": 1,
              "lastModifiedTime": 1
            }
          }
        ],
        "additionalDetail": "text",
        "auditDetails": {
          "createdBy": "text",
          "lastModifiedBy": "text",
          "createdTime": 1,
          "lastModifiedTime": 1
        }
      },
      "auditDetails": {
        "createdBy": "text",
        "lastModifiedBy": "text",
        "createdTime": 1,
        "lastModifiedTime": 1
      }
    }
  ]
}