This screen allows the user to create a new hierarchy and then upload the boundary data in bulk.
Upload Boundary Screen
This screen allows the user to select the hierarchy. According to that, a template is downloaded in which the user needs to fill in the boundary data. If the hierarchy type is not present, then the user can make a new hierarchy using this screen.
Create Boundary Hierarchy
The user needs to give a hierarchy name, and levels according to the hierarchy.
UI Validation: Headers should be according to the template downloaded.
API Details
EndPoint | MDMS Roles | Method | Payload |
---|---|---|---|
/boundary-service/boundary-hierarchy-definition/_create
1759 - CAMPAIGN_MANAGER
POST
{ "tenantId": "mz", "hierarchyType": "test", "boundaryHierarchy": [ { "boundaryType": "country", "parentBoundaryType": null, "active": true }, { "boundaryType": "state", "parentBoundaryType": "country", "active": true } ] }
/project-factory/v1/data/_create
1772- CAMPAIGN_MANAGER
POST
{ "tenantId": "mz", "type": "boundary", "fileStoreId": "1f984e91-2ed2-4d5c-8788-37b3a4c8fcbc", "action": "create", "hierarchyType": "test", "additionalDetails": {} }
/boundary-service/boundary-hierarchy-definition/_search
1760-CAMPAIGN_MANAGER
POST
{ "tenantId": "mz" }