Building Plan Approval
Last updated
Was this helpful?
Last updated
Was this helpful?
Citizen, Employee, Or an Architect can create for new build plan approval
RequestInfo should be used to carry meta information about the requests to the server as described in the fields below. All eGov APIs will use requestinfo as a part of the request body to carry this meta information. Some of this information will be returned back from the server as part of the ResponseInfo in the response body to ensure correlation.
curl -L \
--request POST \
--url 'https://virtserver.swaggerhub.com/egov-foundation/BPA/1.0.0/v1/land/_create' \
--header 'Content-Type: application/json' \
--data '{
"RequestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text"
},
"LandInfo": {
"landUniqueRegNo": "text",
"tenantId": "text",
"status": "ACTIVE",
"address": {
"tenantId": "text",
"doorNo": "text",
"plotNo": "text",
"landmark": "text",
"city": "text",
"district": "text",
"region": "text",
"state": "text",
"country": "text",
"pincode": "text",
"additionDetails": "text",
"buildingName": "text",
"street": "text",
"locality": "[Circular Reference]",
"geoLocation": {
"latitude": 1,
"longitude": 1,
"additionalDetails": {}
}
},
"ownershipCategory": "text",
"owners": [
{
"name": "text",
"mobileNumber": "text",
"gender": "text",
"fatherOrHusbandName": "text",
"correspondenceAddress": "text",
"isPrimaryOwner": true,
"ownerShipPercentage": 1,
"ownerType": "text",
"institutionId": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"relationship": "FATHER",
"additionalDetails": {}
}
],
"institution": {
"id": "text",
"tenantId": "text",
"type": "text",
"designation": "text",
"nameOfAuthorizedPerson": "text",
"additionalDetails": {}
},
"source": "MUNICIPAL_RECORDS",
"channel": "SYSTEM",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"unit": [
{
"id": "text",
"tenantId": "text",
"floorNo": "text",
"unitType": "Building, Room, Kitchen etc.",
"usageCategory": "text",
"occupancyType": "OWNER",
"occupancyDate": 1,
"constructionDetail": {
"id": "text",
"carpetArea": 1,
"builtUpArea": 1,
"plinthArea": 1,
"superBuiltUpArea": 1,
"constructionType": "text",
"constructionDate": 1,
"dimensions": {},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
},
"additionalDetails": {}
}
],
"additionalDetails": {}
}
}'
{
"ResponseInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
},
"LandInfo": {
"id": "text",
"landUId": "text",
"landUniqueRegNo": "text",
"tenantId": "text",
"status": "ACTIVE",
"address": {
"tenantId": "text",
"doorNo": "text",
"plotNo": "text",
"landmark": "text",
"city": "text",
"district": "text",
"region": "text",
"state": "text",
"country": "text",
"pincode": "text",
"additionDetails": "text",
"buildingName": "text",
"street": "text",
"locality": "[Circular Reference]",
"geoLocation": {
"latitude": 1,
"longitude": 1,
"additionalDetails": {}
}
},
"ownershipCategory": "text",
"owners": [
{
"name": "text",
"mobileNumber": "text",
"gender": "text",
"fatherOrHusbandName": "text",
"correspondenceAddress": "text",
"isPrimaryOwner": true,
"ownerShipPercentage": 1,
"ownerType": "text",
"institutionId": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"relationship": "FATHER",
"additionalDetails": {}
}
],
"institution": {
"id": "text",
"tenantId": "text",
"type": "text",
"designation": "text",
"nameOfAuthorizedPerson": "text",
"additionalDetails": {}
},
"source": "MUNICIPAL_RECORDS",
"channel": "SYSTEM",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"unit": [
{
"id": "text",
"tenantId": "text",
"floorNo": "text",
"unitType": "Building, Room, Kitchen etc.",
"usageCategory": "text",
"occupancyType": "OWNER",
"occupancyDate": 1,
"constructionDetail": {
"id": "text",
"carpetArea": 1,
"builtUpArea": 1,
"plinthArea": 1,
"superBuiltUpArea": 1,
"constructionType": "text",
"constructionDate": 1,
"dimensions": {},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
},
"additionalDetails": {}
}
],
"additionalDetails": {},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
}
}
Reqeuset submitted successfully
Updates a given application
with newer details.
RequestInfo should be used to carry meta information about the requests to the server as described in the fields below. All eGov APIs will use requestinfo as a part of the request body to carry this meta information. Some of this information will be returned back from the server as part of the ResponseInfo in the response body to ensure correlation.
curl -L \
--request POST \
--url 'https://virtserver.swaggerhub.com/egov-foundation/BPA/1.0.0/v1/land/_update' \
--header 'Content-Type: application/json' \
--data '{
"RequestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text"
},
"LandInfo": {
"landUniqueRegNo": "text",
"tenantId": "text",
"status": "ACTIVE",
"address": {
"tenantId": "text",
"doorNo": "text",
"plotNo": "text",
"landmark": "text",
"city": "text",
"district": "text",
"region": "text",
"state": "text",
"country": "text",
"pincode": "text",
"additionDetails": "text",
"buildingName": "text",
"street": "text",
"locality": "[Circular Reference]",
"geoLocation": {
"latitude": 1,
"longitude": 1,
"additionalDetails": {}
}
},
"ownershipCategory": "text",
"owners": [
{
"name": "text",
"mobileNumber": "text",
"gender": "text",
"fatherOrHusbandName": "text",
"correspondenceAddress": "text",
"isPrimaryOwner": true,
"ownerShipPercentage": 1,
"ownerType": "text",
"institutionId": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"relationship": "FATHER",
"additionalDetails": {}
}
],
"institution": {
"id": "text",
"tenantId": "text",
"type": "text",
"designation": "text",
"nameOfAuthorizedPerson": "text",
"additionalDetails": {}
},
"source": "MUNICIPAL_RECORDS",
"channel": "SYSTEM",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"unit": [
{
"id": "text",
"tenantId": "text",
"floorNo": "text",
"unitType": "Building, Room, Kitchen etc.",
"usageCategory": "text",
"occupancyType": "OWNER",
"occupancyDate": 1,
"constructionDetail": {
"id": "text",
"carpetArea": 1,
"builtUpArea": 1,
"plinthArea": 1,
"superBuiltUpArea": 1,
"constructionType": "text",
"constructionDate": 1,
"dimensions": {},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
},
"additionalDetails": {}
}
],
"additionalDetails": {}
}
}'
{
"ResponseInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
},
"LandInfo": {
"id": "text",
"landUId": "text",
"landUniqueRegNo": "text",
"tenantId": "text",
"status": "ACTIVE",
"address": {
"tenantId": "text",
"doorNo": "text",
"plotNo": "text",
"landmark": "text",
"city": "text",
"district": "text",
"region": "text",
"state": "text",
"country": "text",
"pincode": "text",
"additionDetails": "text",
"buildingName": "text",
"street": "text",
"locality": "[Circular Reference]",
"geoLocation": {
"latitude": 1,
"longitude": 1,
"additionalDetails": {}
}
},
"ownershipCategory": "text",
"owners": [
{
"name": "text",
"mobileNumber": "text",
"gender": "text",
"fatherOrHusbandName": "text",
"correspondenceAddress": "text",
"isPrimaryOwner": true,
"ownerShipPercentage": 1,
"ownerType": "text",
"institutionId": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"relationship": "FATHER",
"additionalDetails": {}
}
],
"institution": {
"id": "text",
"tenantId": "text",
"type": "text",
"designation": "text",
"nameOfAuthorizedPerson": "text",
"additionalDetails": {}
},
"source": "MUNICIPAL_RECORDS",
"channel": "SYSTEM",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"unit": [
{
"id": "text",
"tenantId": "text",
"floorNo": "text",
"unitType": "Building, Room, Kitchen etc.",
"usageCategory": "text",
"occupancyType": "OWNER",
"occupancyDate": 1,
"constructionDetail": {
"id": "text",
"carpetArea": 1,
"builtUpArea": 1,
"plinthArea": 1,
"superBuiltUpArea": 1,
"constructionType": "text",
"constructionDate": 1,
"dimensions": {},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
},
"additionalDetails": {}
}
],
"additionalDetails": {},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
}
}
successfully updated
Get the list of land information..
Unique id for a tenant.
List of system generated ids of BPA applications.
land identifier.
MobileNumber of land owners
unique API ID
API version - for HTTP based request this will be same as used in path
time in epoch
API action to be performed like _create, _update, _search (denoting POST, PUT, GET) or _oauth etc
Device ID from which the API is called
API key (API key provided to the caller in case of server to server communication)
Unique request message id from the caller
UserId of the user calling
//session/jwt/saml token/oauth token - the usual value that would go into HTTP bearer token
This is acting ID token of the authenticated user on the server. Any value provided by the clients will be ignored and actual user based on authtoken will be used on the server.
curl -L \
--request POST \
--url 'https://virtserver.swaggerhub.com/egov-foundation/BPA/1.0.0/v1/land/_search?tenantId=text' \
--header 'Content-Type: application/json' \
--data '{
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text"
}'
{
"ResponseInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
},
"BPA": {
"id": "text",
"applicationNo": "text",
"approvalNo": "text",
"accountId": "text",
"edcrNumber": "text",
"riskType": "text",
"landId": "text",
"tenantId": "text",
"status": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"landInfo": {
"id": "text",
"landUId": "text",
"landUniqueRegNo": "text",
"tenantId": "text",
"status": "ACTIVE",
"address": {
"tenantId": "text",
"doorNo": "text",
"plotNo": "text",
"landmark": "text",
"city": "text",
"district": "text",
"region": "text",
"state": "text",
"country": "text",
"pincode": "text",
"additionDetails": "text",
"buildingName": "text",
"street": "text",
"locality": "[Circular Reference]",
"geoLocation": {
"latitude": 1,
"longitude": 1,
"additionalDetails": {}
}
},
"ownershipCategory": "text",
"owners": [
{
"name": "text",
"mobileNumber": "text",
"gender": "text",
"fatherOrHusbandName": "text",
"correspondenceAddress": "text",
"isPrimaryOwner": true,
"ownerShipPercentage": 1,
"ownerType": "text",
"institutionId": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"relationship": "FATHER",
"additionalDetails": {}
}
],
"institution": {
"id": "text",
"tenantId": "text",
"type": "text",
"designation": "text",
"nameOfAuthorizedPerson": "text",
"additionalDetails": {}
},
"source": "MUNICIPAL_RECORDS",
"channel": "SYSTEM",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"unit": [
{
"id": "text",
"tenantId": "text",
"floorNo": "text",
"unitType": "Building, Room, Kitchen etc.",
"usageCategory": "text",
"occupancyType": "OWNER",
"occupancyDate": 1,
"constructionDetail": {
"id": "text",
"carpetArea": 1,
"builtUpArea": 1,
"plinthArea": 1,
"superBuiltUpArea": 1,
"constructionType": "text",
"constructionDate": 1,
"dimensions": {},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
},
"additionalDetails": {}
}
],
"additionalDetails": {},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
},
"workflow": {
"action": "text",
"assignes": [
"text"
],
"comments": "text",
"varificationDocuments": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
]
},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
}
}
Successful response
Citizen, Employee, Or an Architect can apply for new build plan approval
RequestInfo should be used to carry meta information about the requests to the server as described in the fields below. All eGov APIs will use requestinfo as a part of the request body to carry this meta information. Some of this information will be returned back from the server as part of the ResponseInfo in the response body to ensure correlation.
BPA application object to capture the details of land, land owners, and address of the land.
curl -L \
--request POST \
--url 'https://virtserver.swaggerhub.com/egov-foundation/BPA/1.0.0/v1/bpa/_create' \
--header 'Content-Type: application/json' \
--data '{
"RequestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text"
},
"BPA": {
"accountId": "text",
"edcrNumber": "text",
"landId": "text",
"tenantId": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"landInfo": {
"id": "text",
"landUId": "text",
"landUniqueRegNo": "text",
"tenantId": "text",
"status": "ACTIVE",
"address": {
"tenantId": "text",
"doorNo": "text",
"plotNo": "text",
"landmark": "text",
"city": "text",
"district": "text",
"region": "text",
"state": "text",
"country": "text",
"pincode": "text",
"additionDetails": "text",
"buildingName": "text",
"street": "text",
"locality": "[Circular Reference]",
"geoLocation": {
"latitude": 1,
"longitude": 1,
"additionalDetails": {}
}
},
"ownershipCategory": "text",
"owners": [
{
"name": "text",
"mobileNumber": "text",
"gender": "text",
"fatherOrHusbandName": "text",
"correspondenceAddress": "text",
"isPrimaryOwner": true,
"ownerShipPercentage": 1,
"ownerType": "text",
"institutionId": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"relationship": "FATHER",
"additionalDetails": {}
}
],
"institution": {
"id": "text",
"tenantId": "text",
"type": "text",
"designation": "text",
"nameOfAuthorizedPerson": "text",
"additionalDetails": {}
},
"source": "MUNICIPAL_RECORDS",
"channel": "SYSTEM",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"unit": [
{
"id": "text",
"tenantId": "text",
"floorNo": "text",
"unitType": "Building, Room, Kitchen etc.",
"usageCategory": "text",
"occupancyType": "OWNER",
"occupancyDate": 1,
"constructionDetail": {
"id": "text",
"carpetArea": 1,
"builtUpArea": 1,
"plinthArea": 1,
"superBuiltUpArea": 1,
"constructionType": "text",
"constructionDate": 1,
"dimensions": {},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
},
"additionalDetails": {}
}
],
"additionalDetails": {},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
},
"workflow": {
"action": "text",
"assignes": [
"text"
],
"comments": "text",
"varificationDocuments": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
]
},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
}
}'
{
"ResponseInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
},
"BPA": {
"id": "text",
"applicationNo": "text",
"approvalNo": "text",
"accountId": "text",
"edcrNumber": "text",
"riskType": "text",
"landId": "text",
"tenantId": "text",
"status": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"landInfo": {
"id": "text",
"landUId": "text",
"landUniqueRegNo": "text",
"tenantId": "text",
"status": "ACTIVE",
"address": {
"tenantId": "text",
"doorNo": "text",
"plotNo": "text",
"landmark": "text",
"city": "text",
"district": "text",
"region": "text",
"state": "text",
"country": "text",
"pincode": "text",
"additionDetails": "text",
"buildingName": "text",
"street": "text",
"locality": "[Circular Reference]",
"geoLocation": {
"latitude": 1,
"longitude": 1,
"additionalDetails": {}
}
},
"ownershipCategory": "text",
"owners": [
{
"name": "text",
"mobileNumber": "text",
"gender": "text",
"fatherOrHusbandName": "text",
"correspondenceAddress": "text",
"isPrimaryOwner": true,
"ownerShipPercentage": 1,
"ownerType": "text",
"institutionId": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"relationship": "FATHER",
"additionalDetails": {}
}
],
"institution": {
"id": "text",
"tenantId": "text",
"type": "text",
"designation": "text",
"nameOfAuthorizedPerson": "text",
"additionalDetails": {}
},
"source": "MUNICIPAL_RECORDS",
"channel": "SYSTEM",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"unit": [
{
"id": "text",
"tenantId": "text",
"floorNo": "text",
"unitType": "Building, Room, Kitchen etc.",
"usageCategory": "text",
"occupancyType": "OWNER",
"occupancyDate": 1,
"constructionDetail": {
"id": "text",
"carpetArea": 1,
"builtUpArea": 1,
"plinthArea": 1,
"superBuiltUpArea": 1,
"constructionType": "text",
"constructionDate": 1,
"dimensions": {},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
},
"additionalDetails": {}
}
],
"additionalDetails": {},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
},
"workflow": {
"action": "text",
"assignes": [
"text"
],
"comments": "text",
"varificationDocuments": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
]
},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
}
}
Application submitted successfully
Updates a given application
with newer details.
RequestInfo should be used to carry meta information about the requests to the server as described in the fields below. All eGov APIs will use requestinfo as a part of the request body to carry this meta information. Some of this information will be returned back from the server as part of the ResponseInfo in the response body to ensure correlation.
BPA application object to capture the details of land, land owners, and address of the land.
curl -L \
--request POST \
--url 'https://virtserver.swaggerhub.com/egov-foundation/BPA/1.0.0/v1/bpa/_update' \
--header 'Content-Type: application/json' \
--data '{
"RequestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text"
},
"BPA": {
"accountId": "text",
"edcrNumber": "text",
"landId": "text",
"tenantId": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"landInfo": {
"id": "text",
"landUId": "text",
"landUniqueRegNo": "text",
"tenantId": "text",
"status": "ACTIVE",
"address": {
"tenantId": "text",
"doorNo": "text",
"plotNo": "text",
"landmark": "text",
"city": "text",
"district": "text",
"region": "text",
"state": "text",
"country": "text",
"pincode": "text",
"additionDetails": "text",
"buildingName": "text",
"street": "text",
"locality": "[Circular Reference]",
"geoLocation": {
"latitude": 1,
"longitude": 1,
"additionalDetails": {}
}
},
"ownershipCategory": "text",
"owners": [
{
"name": "text",
"mobileNumber": "text",
"gender": "text",
"fatherOrHusbandName": "text",
"correspondenceAddress": "text",
"isPrimaryOwner": true,
"ownerShipPercentage": 1,
"ownerType": "text",
"institutionId": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"relationship": "FATHER",
"additionalDetails": {}
}
],
"institution": {
"id": "text",
"tenantId": "text",
"type": "text",
"designation": "text",
"nameOfAuthorizedPerson": "text",
"additionalDetails": {}
},
"source": "MUNICIPAL_RECORDS",
"channel": "SYSTEM",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"unit": [
{
"id": "text",
"tenantId": "text",
"floorNo": "text",
"unitType": "Building, Room, Kitchen etc.",
"usageCategory": "text",
"occupancyType": "OWNER",
"occupancyDate": 1,
"constructionDetail": {
"id": "text",
"carpetArea": 1,
"builtUpArea": 1,
"plinthArea": 1,
"superBuiltUpArea": 1,
"constructionType": "text",
"constructionDate": 1,
"dimensions": {},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
},
"additionalDetails": {}
}
],
"additionalDetails": {},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
},
"workflow": {
"action": "text",
"assignes": [
"text"
],
"comments": "text",
"varificationDocuments": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
]
},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
}
}'
{
"ResponseInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
},
"BPA": {
"id": "text",
"applicationNo": "text",
"approvalNo": "text",
"accountId": "text",
"edcrNumber": "text",
"riskType": "text",
"landId": "text",
"tenantId": "text",
"status": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"landInfo": {
"id": "text",
"landUId": "text",
"landUniqueRegNo": "text",
"tenantId": "text",
"status": "ACTIVE",
"address": {
"tenantId": "text",
"doorNo": "text",
"plotNo": "text",
"landmark": "text",
"city": "text",
"district": "text",
"region": "text",
"state": "text",
"country": "text",
"pincode": "text",
"additionDetails": "text",
"buildingName": "text",
"street": "text",
"locality": "[Circular Reference]",
"geoLocation": {
"latitude": 1,
"longitude": 1,
"additionalDetails": {}
}
},
"ownershipCategory": "text",
"owners": [
{
"name": "text",
"mobileNumber": "text",
"gender": "text",
"fatherOrHusbandName": "text",
"correspondenceAddress": "text",
"isPrimaryOwner": true,
"ownerShipPercentage": 1,
"ownerType": "text",
"institutionId": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"relationship": "FATHER",
"additionalDetails": {}
}
],
"institution": {
"id": "text",
"tenantId": "text",
"type": "text",
"designation": "text",
"nameOfAuthorizedPerson": "text",
"additionalDetails": {}
},
"source": "MUNICIPAL_RECORDS",
"channel": "SYSTEM",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"unit": [
{
"id": "text",
"tenantId": "text",
"floorNo": "text",
"unitType": "Building, Room, Kitchen etc.",
"usageCategory": "text",
"occupancyType": "OWNER",
"occupancyDate": 1,
"constructionDetail": {
"id": "text",
"carpetArea": 1,
"builtUpArea": 1,
"plinthArea": 1,
"superBuiltUpArea": 1,
"constructionType": "text",
"constructionDate": 1,
"dimensions": {},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
},
"additionalDetails": {}
}
],
"additionalDetails": {},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
},
"workflow": {
"action": "text",
"assignes": [
"text"
],
"comments": "text",
"varificationDocuments": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
]
},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
}
}
Application updated successfully
Get the properties list based on the input parameters.
Unique id for a tenant.
List of system generated ids of BPA applications.
edcr Number.
application numbers
MobileNumber of land owners
approval no
unique API ID
API version - for HTTP based request this will be same as used in path
time in epoch
API action to be performed like _create, _update, _search (denoting POST, PUT, GET) or _oauth etc
Device ID from which the API is called
API key (API key provided to the caller in case of server to server communication)
Unique request message id from the caller
UserId of the user calling
//session/jwt/saml token/oauth token - the usual value that would go into HTTP bearer token
This is acting ID token of the authenticated user on the server. Any value provided by the clients will be ignored and actual user based on authtoken will be used on the server.
curl -L \
--request POST \
--url 'https://virtserver.swaggerhub.com/egov-foundation/BPA/1.0.0/v1/bpa/_search?tenantId=text' \
--header 'Content-Type: application/json' \
--data '{
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text"
}'
{
"ResponseInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
},
"BPA": {
"id": "text",
"applicationNo": "text",
"approvalNo": "text",
"accountId": "text",
"edcrNumber": "text",
"riskType": "text",
"landId": "text",
"tenantId": "text",
"status": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"landInfo": {
"id": "text",
"landUId": "text",
"landUniqueRegNo": "text",
"tenantId": "text",
"status": "ACTIVE",
"address": {
"tenantId": "text",
"doorNo": "text",
"plotNo": "text",
"landmark": "text",
"city": "text",
"district": "text",
"region": "text",
"state": "text",
"country": "text",
"pincode": "text",
"additionDetails": "text",
"buildingName": "text",
"street": "text",
"locality": "[Circular Reference]",
"geoLocation": {
"latitude": 1,
"longitude": 1,
"additionalDetails": {}
}
},
"ownershipCategory": "text",
"owners": [
{
"name": "text",
"mobileNumber": "text",
"gender": "text",
"fatherOrHusbandName": "text",
"correspondenceAddress": "text",
"isPrimaryOwner": true,
"ownerShipPercentage": 1,
"ownerType": "text",
"institutionId": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"relationship": "FATHER",
"additionalDetails": {}
}
],
"institution": {
"id": "text",
"tenantId": "text",
"type": "text",
"designation": "text",
"nameOfAuthorizedPerson": "text",
"additionalDetails": {}
},
"source": "MUNICIPAL_RECORDS",
"channel": "SYSTEM",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"unit": [
{
"id": "text",
"tenantId": "text",
"floorNo": "text",
"unitType": "Building, Room, Kitchen etc.",
"usageCategory": "text",
"occupancyType": "OWNER",
"occupancyDate": 1,
"constructionDetail": {
"id": "text",
"carpetArea": 1,
"builtUpArea": 1,
"plinthArea": 1,
"superBuiltUpArea": 1,
"constructionType": "text",
"constructionDate": 1,
"dimensions": {},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
},
"additionalDetails": {}
}
],
"additionalDetails": {},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
},
"workflow": {
"action": "text",
"assignes": [
"text"
],
"comments": "text",
"varificationDocuments": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
]
},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
}
}
Successful response
RequestInfo should be used to carry meta information about the requests to the server as described in the fields below. All eGov APIs will use requestinfo as a part of the request body to carry this meta information. Some of this information will be returned back from the server as part of the ResponseInfo in the response body to ensure correlation.
curl -L \
--request POST \
--url 'https://virtserver.swaggerhub.com/egov-foundation/BPA/1.0.0/v1/bpa/_plainsearch' \
--header 'Content-Type: application/json' \
--data '{
"RequestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text"
}
}'
{
"ResponseInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
},
"BPA": {
"id": "text",
"applicationNo": "text",
"approvalNo": "text",
"accountId": "text",
"edcrNumber": "text",
"riskType": "text",
"landId": "text",
"tenantId": "text",
"status": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"landInfo": {
"id": "text",
"landUId": "text",
"landUniqueRegNo": "text",
"tenantId": "text",
"status": "ACTIVE",
"address": {
"tenantId": "text",
"doorNo": "text",
"plotNo": "text",
"landmark": "text",
"city": "text",
"district": "text",
"region": "text",
"state": "text",
"country": "text",
"pincode": "text",
"additionDetails": "text",
"buildingName": "text",
"street": "text",
"locality": "[Circular Reference]",
"geoLocation": {
"latitude": 1,
"longitude": 1,
"additionalDetails": {}
}
},
"ownershipCategory": "text",
"owners": [
{
"name": "text",
"mobileNumber": "text",
"gender": "text",
"fatherOrHusbandName": "text",
"correspondenceAddress": "text",
"isPrimaryOwner": true,
"ownerShipPercentage": 1,
"ownerType": "text",
"institutionId": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"relationship": "FATHER",
"additionalDetails": {}
}
],
"institution": {
"id": "text",
"tenantId": "text",
"type": "text",
"designation": "text",
"nameOfAuthorizedPerson": "text",
"additionalDetails": {}
},
"source": "MUNICIPAL_RECORDS",
"channel": "SYSTEM",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"unit": [
{
"id": "text",
"tenantId": "text",
"floorNo": "text",
"unitType": "Building, Room, Kitchen etc.",
"usageCategory": "text",
"occupancyType": "OWNER",
"occupancyDate": 1,
"constructionDetail": {
"id": "text",
"carpetArea": 1,
"builtUpArea": 1,
"plinthArea": 1,
"superBuiltUpArea": 1,
"constructionType": "text",
"constructionDate": 1,
"dimensions": {},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
},
"additionalDetails": {}
}
],
"additionalDetails": {},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
},
"workflow": {
"action": "text",
"assignes": [
"text"
],
"comments": "text",
"varificationDocuments": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
]
},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
}
}
OK
RequestInfo should be used to carry meta information about the requests to the server as described in the fields below. All eGov APIs will use requestinfo as a part of the request body to carry this meta information. Some of this information will be returned back from the server as part of the ResponseInfo in the response body to ensure correlation.
BPA application object to capture the details of land, land owners, and address of the land.
curl -L \
--request POST \
--url 'https://virtserver.swaggerhub.com/egov-foundation/BPA/1.0.0/bpa-services/v1/bpa/_permitorderedcr' \
--header 'Content-Type: application/json' \
--data '{
"RequestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text"
},
"BPA": {
"accountId": "text",
"edcrNumber": "text",
"landId": "text",
"tenantId": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"landInfo": {
"id": "text",
"landUId": "text",
"landUniqueRegNo": "text",
"tenantId": "text",
"status": "ACTIVE",
"address": {
"tenantId": "text",
"doorNo": "text",
"plotNo": "text",
"landmark": "text",
"city": "text",
"district": "text",
"region": "text",
"state": "text",
"country": "text",
"pincode": "text",
"additionDetails": "text",
"buildingName": "text",
"street": "text",
"locality": "[Circular Reference]",
"geoLocation": {
"latitude": 1,
"longitude": 1,
"additionalDetails": {}
}
},
"ownershipCategory": "text",
"owners": [
{
"name": "text",
"mobileNumber": "text",
"gender": "text",
"fatherOrHusbandName": "text",
"correspondenceAddress": "text",
"isPrimaryOwner": true,
"ownerShipPercentage": 1,
"ownerType": "text",
"institutionId": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"relationship": "FATHER",
"additionalDetails": {}
}
],
"institution": {
"id": "text",
"tenantId": "text",
"type": "text",
"designation": "text",
"nameOfAuthorizedPerson": "text",
"additionalDetails": {}
},
"source": "MUNICIPAL_RECORDS",
"channel": "SYSTEM",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"unit": [
{
"id": "text",
"tenantId": "text",
"floorNo": "text",
"unitType": "Building, Room, Kitchen etc.",
"usageCategory": "text",
"occupancyType": "OWNER",
"occupancyDate": 1,
"constructionDetail": {
"id": "text",
"carpetArea": 1,
"builtUpArea": 1,
"plinthArea": 1,
"superBuiltUpArea": 1,
"constructionType": "text",
"constructionDate": 1,
"dimensions": {},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
},
"additionalDetails": {}
}
],
"additionalDetails": {},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
},
"workflow": {
"action": "text",
"assignes": [
"text"
],
"comments": "text",
"varificationDocuments": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
]
},
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
}
}'
{
"description": "text",
"file": "binary",
"filename": "text",
"inputStream": {},
"open": true,
"readable": true,
"uri": "https://example.com",
"url": "text"
}
OK