Trade License API

TL 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
Query parameters
tenantIdanyRequired

Unique id for a tenant.

pageNumberintegerOptional

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
post
/v1/_search

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
post
/v1/_create

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
post
/v1/_update

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
Query parameters
tenantIdanyRequired

Unique id for a tenant.

pageNumberintegerOptional

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
post
/v1/_search

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
post
/v1/_create

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
post
/v1/_update

Last updated

Was this helpful?