Boundary
Last updated
Was this helpful?
Last updated
Was this helpful?
Provides functionality to search linked boundaries based on the provided search criteria
unique id for a tenant.
boundary type within the tenant boundary structure.
Type Of the BoundaryType Like REVENUE, ADMIN
boolean flag to inform the service if children need to be part of search.
boolean flag to inform the service if parents need to be part of search.
unique List of boundary codes.
POST /location/v2/boundary/boundary-relationships/_search?tenantId=text HTTP/1.1
Host:
Accept: */*
{
"ResponseInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
},
"TenantBoundary": [
{
"tenantId": "text",
"hierarchyType": "text",
"boundary": {
"id": "text",
"tenantId": "text",
"code": "text",
"boundaryType": "text",
"children": [
{
"id": "text",
"tenantId": "text",
"code": "text",
"boundaryType": "text",
"children": "[Circular Reference]"
}
]
}
}
]
}
Provides a list of boundary entities based on the provided search criteria.
unique id for a tenant.
unique list of boundary codes.
POST /location/v2/boundary/_search?tenantId=text&codes=text HTTP/1.1
Host:
Accept: */*
{
"ResponseInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
},
"Boundary": [
{
"id": "text",
"tenantId": "text",
"code": "text",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
1
]
]
]
},
"additionalDetails": {}
}
]
}
Provides functionality to create boundary data.
POST /location/v2/boundary/_create HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 1143
{
"RequestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text",
"userInfo": {
"tenantId": "text",
"id": 1,
"uuid": "text",
"userName": "text",
"mobileNumber": "text",
"emailId": "text",
"roles": [
{
"tenantId": "text",
"id": "text",
"name": "text",
"description": "text"
}
],
"salutation": "text",
"name": "text",
"gender": "text",
"alternateMobileNumber": "text",
"altContactNumber": "text",
"pan": "text",
"aadhaarNumber": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPincode": "text",
"correspondenceCity": "text",
"correspondencePincode": "text",
"correspondenceAddress": "text",
"active": true,
"locale": "text",
"type": "text",
"accountLocked": true,
"accountLockedDate": 1,
"fatherOrHusbandName": "text",
"relationship": "text",
"signature": "text",
"bloodGroup": "text",
"photo": "text",
"identificationMark": "text",
"createdBy": 1,
"password": "text",
"otpReference": "text",
"lastModifiedBy": 1,
"createdDate": "2025-05-09",
"lastModifiedDate": "2025-05-09",
"dob": 1,
"pwdExpiryDate": 1
}
},
"Boundary": [
{
"tenantId": "text",
"code": "text",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
1
]
]
]
},
"additionalDetails": {}
}
]
}
{
"ResponseInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
},
"Boundary": [
{
"id": "text",
"tenantId": "text",
"code": "text",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
1
]
]
]
},
"additionalDetails": {}
}
]
}
Provides functionality to update boundary data.
POST /location/v2/boundary/_update HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 1143
{
"RequestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text",
"userInfo": {
"tenantId": "text",
"id": 1,
"uuid": "text",
"userName": "text",
"mobileNumber": "text",
"emailId": "text",
"roles": [
{
"tenantId": "text",
"id": "text",
"name": "text",
"description": "text"
}
],
"salutation": "text",
"name": "text",
"gender": "text",
"alternateMobileNumber": "text",
"altContactNumber": "text",
"pan": "text",
"aadhaarNumber": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPincode": "text",
"correspondenceCity": "text",
"correspondencePincode": "text",
"correspondenceAddress": "text",
"active": true,
"locale": "text",
"type": "text",
"accountLocked": true,
"accountLockedDate": 1,
"fatherOrHusbandName": "text",
"relationship": "text",
"signature": "text",
"bloodGroup": "text",
"photo": "text",
"identificationMark": "text",
"createdBy": 1,
"password": "text",
"otpReference": "text",
"lastModifiedBy": 1,
"createdDate": "2025-05-09",
"lastModifiedDate": "2025-05-09",
"dob": 1,
"pwdExpiryDate": 1
}
},
"Boundary": [
{
"tenantId": "text",
"code": "text",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
1
]
]
]
},
"additionalDetails": {}
}
]
}
{
"ResponseInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
},
"Boundary": [
{
"id": "text",
"tenantId": "text",
"code": "text",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
1
]
]
]
},
"additionalDetails": {}
}
]
}
Provides functionality to define hierarchy.
POST /location/v2/boundary/hierarchy-definition/_create HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 1172
{
"RequestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text",
"userInfo": {
"tenantId": "text",
"id": 1,
"uuid": "text",
"userName": "text",
"mobileNumber": "text",
"emailId": "text",
"roles": [
{
"tenantId": "text",
"id": "text",
"name": "text",
"description": "text"
}
],
"salutation": "text",
"name": "text",
"gender": "text",
"alternateMobileNumber": "text",
"altContactNumber": "text",
"pan": "text",
"aadhaarNumber": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPincode": "text",
"correspondenceCity": "text",
"correspondencePincode": "text",
"correspondenceAddress": "text",
"active": true,
"locale": "text",
"type": "text",
"accountLocked": true,
"accountLockedDate": 1,
"fatherOrHusbandName": "text",
"relationship": "text",
"signature": "text",
"bloodGroup": "text",
"photo": "text",
"identificationMark": "text",
"createdBy": 1,
"password": "text",
"otpReference": "text",
"lastModifiedBy": 1,
"createdDate": "2025-05-09",
"lastModifiedDate": "2025-05-09",
"dob": 1,
"pwdExpiryDate": 1
}
},
"BoundaryHierarchy": {
"tenantId": "text",
"hierarchyType": "text",
"boundaryHierarchy": [
{
"boundaryType": "text",
"parentBoundaryType": "text",
"active": true
}
]
}
}
{
"RequestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
},
"BoundaryHierarchy": {
"tenantId": "text",
"hierarchyType": "text",
"boundaryHierarchy": [
{
"boundaryType": "text",
"id": "text",
"parentBoundaryType": "text",
"active": true
}
]
}
}
Provides boundary type hierarchy based on the provided search criteria.
POST /location/v2/boundary/hierarchy-definition/_search HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 230
{
"RequestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text"
},
"BoundaryTypeHierarchySearchCriteria": {
"tenantId": "text",
"hierarchyType": "text"
}
}
{
"RequestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
},
"BoundaryHierarchy": {
"tenantId": "text",
"hierarchyType": "text",
"boundaryHierarchy": [
{
"boundaryType": "text",
"id": "text",
"parentBoundaryType": "text",
"active": true
}
]
}
}
Provides functionality to establish relationships between boundaries.
POST /location/v2/boundary/boundary-relationships/_create HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 1139
{
"RequestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text",
"userInfo": {
"tenantId": "text",
"id": 1,
"uuid": "text",
"userName": "text",
"mobileNumber": "text",
"emailId": "text",
"roles": [
{
"tenantId": "text",
"id": "text",
"name": "text",
"description": "text"
}
],
"salutation": "text",
"name": "text",
"gender": "text",
"alternateMobileNumber": "text",
"altContactNumber": "text",
"pan": "text",
"aadhaarNumber": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPincode": "text",
"correspondenceCity": "text",
"correspondencePincode": "text",
"correspondenceAddress": "text",
"active": true,
"locale": "text",
"type": "text",
"accountLocked": true,
"accountLockedDate": 1,
"fatherOrHusbandName": "text",
"relationship": "text",
"signature": "text",
"bloodGroup": "text",
"photo": "text",
"identificationMark": "text",
"createdBy": 1,
"password": "text",
"otpReference": "text",
"lastModifiedBy": 1,
"createdDate": "2025-05-09",
"lastModifiedDate": "2025-05-09",
"dob": 1,
"pwdExpiryDate": 1
}
},
"BoundaryRelationship": {
"code": "text",
"tenantId": "text",
"hierarchyType": "text",
"boundaryType": "text",
"parent": "text"
}
}
{
"ResponseInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
},
"TenantBoundary": [
{
"id": "text",
"code": "text",
"tenantId": "text",
"hierarchyType": "text",
"boundaryType": "text",
"parent": "text"
}
]
}
Provides functionality to update relationships between boundaries.
POST /location/v2/boundary/boundary-relationships/_update HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 1139
{
"RequestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text",
"userInfo": {
"tenantId": "text",
"id": 1,
"uuid": "text",
"userName": "text",
"mobileNumber": "text",
"emailId": "text",
"roles": [
{
"tenantId": "text",
"id": "text",
"name": "text",
"description": "text"
}
],
"salutation": "text",
"name": "text",
"gender": "text",
"alternateMobileNumber": "text",
"altContactNumber": "text",
"pan": "text",
"aadhaarNumber": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPincode": "text",
"correspondenceCity": "text",
"correspondencePincode": "text",
"correspondenceAddress": "text",
"active": true,
"locale": "text",
"type": "text",
"accountLocked": true,
"accountLockedDate": 1,
"fatherOrHusbandName": "text",
"relationship": "text",
"signature": "text",
"bloodGroup": "text",
"photo": "text",
"identificationMark": "text",
"createdBy": 1,
"password": "text",
"otpReference": "text",
"lastModifiedBy": 1,
"createdDate": "2025-05-09",
"lastModifiedDate": "2025-05-09",
"dob": 1,
"pwdExpiryDate": 1
}
},
"BoundaryRelationship": {
"code": "text",
"tenantId": "text",
"hierarchyType": "text",
"boundaryType": "text",
"parent": "text"
}
}
{
"ResponseInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
},
"TenantBoundary": [
{
"id": "text",
"code": "text",
"tenantId": "text",
"hierarchyType": "text",
"boundaryType": "text",
"parent": "text"
}
]
}