{"collection":{"info":{"_postman_id":"c145daab-6465-49a8-b316-4f56a94f186b","name":"BoundaryHierarchyV2","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","createdAt":"2024-01-05T06:40:31.000Z","updatedAt":"2024-01-05T06:40:31.000Z","lastUpdatedBy":"20755293","uid":"20755293-c145daab-6465-49a8-b316-4f56a94f186b"},"item":[{"name":"Create boundary entity","id":"be9fd01f-25cd-46b7-b38d-888317e252ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"RequestInfo\": {\n        \"apiId\": \"string\",\n        \"ver\": \"string\",\n        \"ts\": 0,\n        \"action\": \"string\",\n        \"did\": \"string\",\n        \"key\": \"string\",\n        \"msgId\": \"string\",\n        \"requesterId\": \"string\",\n        \"authToken\": \"string\",\n        \"userInfo\": {\n            \"tenantId\": \"string\",\n            \"id\": 0,\n            \"uuid\": \"string\"\n        }\n    },\n    \"Boundary\": [\n        {\n            \"tenantId\": \"pg\",\n            \"code\": \"KORAMANGALA\",\n            \"geometry\": {\n                \"type\": \"Polygon\",\n                \"coordinates\": [\n                    [\n                        [\n                            77.17291599436169,\n                            28.56784947815504\n                        ],\n                        [\n                            70.11625206763327,\n                            22.50321664965992\n                        ],\n                        [\n                            77.5811911123439,\n                            13.05708693840623\n                        ],\n                        [\n                            86.42557425986286,\n                            23.774571851935193\n                        ],\n                        [\n                            77.17291599436169,\n                            28.56784947815504\n                        ]\n                    ]\n                ]\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8085/boundary-service/boundary/_create","protocol":"http","host":["localhost"],"port":"8085","path":["boundary-service","boundary","_create"]}},"response":[],"createdAt":"2024-01-05T06:40:31.000Z","updatedAt":"2024-09-02T06:20:07.000Z","uid":"20755293-be9fd01f-25cd-46b7-b38d-888317e252ca"},{"name":"Update boundary entity","id":"3e32c94b-4189-498e-ba40-ae5427518de2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"RequestInfo\": {\n        \"apiId\": \"string\",\n        \"ver\": \"string\",\n        \"ts\": 0,\n        \"action\": \"string\",\n        \"did\": \"string\",\n        \"key\": \"string\",\n        \"msgId\": \"string\",\n        \"requesterId\": \"string\",\n        \"authToken\": \"string\",\n        \"userInfo\": {\n            \"tenantId\": \"string\",\n            \"id\": 0,\n            \"uuid\": \"string\"\n        }\n    },\n    \"Boundary\": [\n        {\n            \"id\": \"70ea6d85-e80b-402f-a4aa-3d1a4c0c3a82\",\n            \"tenantId\": \"default\",\n            \"code\": \"INDIA\",\n            \"geometry\": {\n                \"type\": \"Polygon\",\n                \"coordinates\": [\n                    [\n                        [\n                            77,\n                            28.56784947815504\n                        ],\n                        [\n                            70.11625206763327,\n                            22.50321664965992\n                        ],\n                        [\n                            77.5811911123439,\n                            13.05708693840623\n                        ],\n                        [\n                            86.42557425986286,\n                            23.774571851935193\n                        ],\n                        [\n                            77,\n                            28.56784947815504\n                        ]\n                    ]\n                ]\n            },\n            \"auditDetails\": {\n                \"createdBy\": \"string\",\n                \"lastModifiedBy\": \"string\",\n                \"createdTime\": 1700549449045,\n                \"lastModifiedTime\": 1700549449045\n            },\n            \"additionalDetails\": {\n                \"demo\": \"Demo\"\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8080/boundary-service/boundary/_update","protocol":"http","host":["localhost"],"port":"8080","path":["boundary-service","boundary","_update"]}},"response":[],"createdAt":"2024-01-05T06:40:31.000Z","updatedAt":"2024-01-05T06:40:31.000Z","uid":"20755293-3e32c94b-4189-498e-ba40-ae5427518de2"},{"name":"Search boundary entity","id":"5e99fec7-5003-492f-bb4f-48042efe7815","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"RequestInfo\": {\n        \"apiId\": \"string\",\n        \"ver\": \"string\",\n        \"ts\": 0,\n        \"action\": \"string\",\n        \"did\": \"string\",\n        \"key\": \"string\",\n        \"msgId\": \"string\",\n        \"requesterId\": \"string\",\n        \"authToken\": \"string\",\n        \"userInfo\": {\n            \"tenantId\": \"string\",\n            \"id\": 0,\n            \"uuid\": \"string\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8085/boundary-service/boundary/_search?tenantId=mz","protocol":"http","host":["localhost"],"port":"8085","path":["boundary-service","boundary","_search"],"query":[{"key":"codes","value":"GDzW4LwELgi","disabled":true},{"key":"offset","value":"1","disabled":true},{"key":"limit","value":"1","disabled":true},{"key":"tenantId","value":"mz"}]}},"response":[],"createdAt":"2024-01-05T06:40:31.000Z","updatedAt":"2024-09-02T06:14:16.000Z","uid":"20755293-5e99fec7-5003-492f-bb4f-48042efe7815"},{"name":"Create boundary-hierarchy-definition","id":"985da3d2-c4eb-420a-9363-de3f907fdcfe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"Rainmaker\",\r\n        \"authToken\": \"2a57ee8c-410c-4023-a9d3-5111b4f6e304\",\r\n        \"userInfo\": {\r\n            \"id\": 595,\r\n            \"uuid\": \"1fda5623-448a-4a59-ad17-657986742d67\",\r\n            \"userName\": \"UNIFIED_DEV_USERR\",\r\n            \"name\": \"Unified dev user\",\r\n            \"mobileNumber\": \"8788788851\",\r\n            \"emailId\": \"\",\r\n            \"locale\": null,\r\n            \"type\": \"EMPLOYEE\",\r\n            \"roles\": [\r\n                {\r\n                    \"name\": \"Localisation admin\",\r\n                    \"code\": \"LOC_ADMIN\",\r\n                    \"tenantId\": \"pg\"\r\n                },\r\n                {\r\n                    \"name\": \"Employee\",\r\n                    \"code\": \"EMPLOYEE\",\r\n                    \"tenantId\": \"pg\"\r\n                },\r\n                {\r\n                    \"name\": \"MDMS Admin\",\r\n                    \"code\": \"MDMS_ADMIN\",\r\n                    \"tenantId\": \"pg\"\r\n                },\r\n                {\r\n                    \"name\": \"SUPER USER\",\r\n                    \"code\": \"SUPERUSER\",\r\n                    \"tenantId\": \"pg\"\r\n                }\r\n            ],\r\n            \"active\": true,\r\n            \"tenantId\": \"pg\",\r\n            \"permanentCity\": null\r\n        },\r\n        \"msgId\": \"1695889012604|en_IN\",\r\n        \"plainAccessRequest\": {}\r\n    },\r\n    \"BoundaryHierarchy\": {\r\n        \"tenantId\": \"pg\",\r\n        \"hierarchyType\": \"ADMIN\",\r\n        \"boundaryHierarchy\": [\r\n            {\r\n                \"boundaryType\": \"Zone\",\r\n                \"parentBoundaryType\": null,\r\n                \"active\": true\r\n            },\r\n            {\r\n                \"boundaryType\": \"Division\",\r\n                \"parentBoundaryType\": \"Zone\",\r\n                \"active\": true\r\n            },\r\n            {\r\n                \"boundaryType\": \"Circle\",\r\n                \"parentBoundaryType\": \"Division\",\r\n                \"active\": true\r\n            }\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8080/boundary-service/boundary-hierarchy-definition/_create","protocol":"http","host":["localhost"],"port":"8080","path":["boundary-service","boundary-hierarchy-definition","_create"]}},"response":[],"createdAt":"2024-01-05T06:40:31.000Z","updatedAt":"2024-09-02T06:16:38.000Z","uid":"20755293-985da3d2-c4eb-420a-9363-de3f907fdcfe"},{"name":"Search boundary-hierarchy-definition","id":"4f5fa799-24b0-4695-8c59-4bd764c9c85c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"Rainmaker\",\r\n        \"authToken\": \"2a57ee8c-410c-4023-a9d3-5111b4f6e304\",\r\n        \"userInfo\": {\r\n            \"id\": 595,\r\n            \"uuid\": \"1fda5623-448a-4a59-ad17-657986742d67\",\r\n            \"userName\": \"UNIFIED_DEV_USERR\",\r\n            \"name\": \"Unified dev user\",\r\n            \"mobileNumber\": \"8788788851\",\r\n            \"emailId\": \"\",\r\n            \"locale\": null,\r\n            \"type\": \"EMPLOYEE\",\r\n            \"roles\": [\r\n                {\r\n                    \"name\": \"Localisation admin\",\r\n                    \"code\": \"LOC_ADMIN\",\r\n                    \"tenantId\": \"pg\"\r\n                },\r\n                {\r\n                    \"name\": \"Employee\",\r\n                    \"code\": \"EMPLOYEE\",\r\n                    \"tenantId\": \"pg\"\r\n                },\r\n                {\r\n                    \"name\": \"MDMS Admin\",\r\n                    \"code\": \"MDMS_ADMIN\",\r\n                    \"tenantId\": \"pg\"\r\n                },\r\n                {\r\n                    \"name\": \"SUPER USER\",\r\n                    \"code\": \"SUPERUSER\",\r\n                    \"tenantId\": \"pg\"\r\n                }\r\n            ],\r\n            \"active\": true,\r\n            \"tenantId\": \"pg\",\r\n            \"permanentCity\": null\r\n        },\r\n        \"msgId\": \"1695889012604|en_IN\",\r\n        \"plainAccessRequest\": {}\r\n    },\r\n    \"BoundaryTypeHierarchySearchCriteria\": {\r\n        \"tenantId\": \"pg\",\r\n        \"limit\": 2,\r\n        \"offset\": 0,\r\n        \"hierarchyType\": \"ADMIN\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8085/boundary-service/boundary-hierarchy-definition/_search?limit=5&offset=0","protocol":"http","host":["localhost"],"port":"8085","path":["boundary-service","boundary-hierarchy-definition","_search"],"query":[{"key":"limit","value":"5"},{"key":"offset","value":"0"}]}},"response":[],"createdAt":"2024-01-05T06:40:31.000Z","updatedAt":"2024-09-02T06:17:29.000Z","uid":"20755293-4f5fa799-24b0-4695-8c59-4bd764c9c85c"},{"name":"Boundary Relationship Create","id":"74042ded-d887-4692-aa69-4b83bf762c6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"Rainmaker\",\r\n        \"authToken\": \"2a57ee8c-410c-4023-a9d3-5111b4f6e304\",\r\n        \"userInfo\": {\r\n            \"id\": 595,\r\n            \"uuid\": \"1fda5623-448a-4a59-ad17-657986742d67\",\r\n            \"userName\": \"UNIFIED_DEV_USERR\",\r\n            \"name\": \"Unified dev user\",\r\n            \"mobileNumber\": \"8788788851\",\r\n            \"emailId\": \"\",\r\n            \"locale\": null,\r\n            \"type\": \"EMPLOYEE\",\r\n            \"roles\": [\r\n                {\r\n                    \"name\": \"Localisation admin\",\r\n                    \"code\": \"LOC_ADMIN\",\r\n                    \"tenantId\": \"pg\"\r\n                },\r\n                {\r\n                    \"name\": \"Employee\",\r\n                    \"code\": \"EMPLOYEE\",\r\n                    \"tenantId\": \"pg\"\r\n                },\r\n                {\r\n                    \"name\": \"MDMS Admin\",\r\n                    \"code\": \"MDMS_ADMIN\",\r\n                    \"tenantId\": \"pg\"\r\n                },\r\n                {\r\n                    \"name\": \"SUPER USER\",\r\n                    \"code\": \"SUPERUSER\",\r\n                    \"tenantId\": \"pg\"\r\n                }\r\n            ],\r\n            \"active\": true,\r\n            \"tenantId\": \"pg\",\r\n            \"permanentCity\": null\r\n        },\r\n        \"msgId\": \"1695889012604|en_IN\",\r\n        \"plainAccessRequest\": {}\r\n    },\r\n    \"BoundaryRelationship\": {\r\n        \"tenantId\": \"pg\",\r\n        \"code\": \"KORAMANGALA\",\r\n        \"hierarchyType\": \"ADMIN\",\r\n        \"boundaryType\": \"Circle\",\r\n        \"parent\": \"BENGALURU\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8085/boundary-service/boundary-relationships/_create","protocol":"http","host":["localhost"],"port":"8085","path":["boundary-service","boundary-relationships","_create"]}},"response":[],"createdAt":"2024-01-05T06:40:31.000Z","updatedAt":"2024-09-02T06:24:41.000Z","uid":"20755293-74042ded-d887-4692-aa69-4b83bf762c6e"},{"name":"Boundary Relationship Update","id":"bea7ab8d-8a8f-4618-b3aa-407be3865501","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"Rainmaker\",\r\n        \"authToken\": \"2a57ee8c-410c-4023-a9d3-5111b4f6e304\",\r\n        \"userInfo\": {\r\n            \"id\": 595,\r\n            \"uuid\": \"1fda5623-448a-4a59-ad17-657986742d67\",\r\n            \"userName\": \"UNIFIED_DEV_USERR\",\r\n            \"name\": \"Unified dev user\",\r\n            \"mobileNumber\": \"8788788851\",\r\n            \"emailId\": \"\",\r\n            \"locale\": null,\r\n            \"type\": \"EMPLOYEE\",\r\n            \"roles\": [\r\n                {\r\n                    \"name\": \"Localisation admin\",\r\n                    \"code\": \"LOC_ADMIN\",\r\n                    \"tenantId\": \"pg\"\r\n                },\r\n                {\r\n                    \"name\": \"Employee\",\r\n                    \"code\": \"EMPLOYEE\",\r\n                    \"tenantId\": \"pg\"\r\n                },\r\n                {\r\n                    \"name\": \"MDMS Admin\",\r\n                    \"code\": \"MDMS_ADMIN\",\r\n                    \"tenantId\": \"pg\"\r\n                },\r\n                {\r\n                    \"name\": \"SUPER USER\",\r\n                    \"code\": \"SUPERUSER\",\r\n                    \"tenantId\": \"pg\"\r\n                }\r\n            ],\r\n            \"active\": true,\r\n            \"tenantId\": \"pg\",\r\n            \"permanentCity\": null\r\n        },\r\n        \"msgId\": \"1695889012604|en_IN\",\r\n        \"plainAccessRequest\": {}\r\n    },\r\n    \"BoundaryRelationship\": {\r\n        \"tenantId\" : \"default\",\r\n        \"code\": \"India\",\r\n        \"hierarchyType\": \"REVENUE\",\r\n        \"boundaryType\": \"Country\",\r\n        \"parent\": null\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8080/boundary-service/boundary/boundary-relationships/_create","protocol":"http","host":["localhost"],"port":"8080","path":["boundary-service","boundary","boundary-relationships","_create"]}},"response":[],"createdAt":"2024-01-05T06:40:31.000Z","updatedAt":"2024-01-05T06:40:31.000Z","uid":"20755293-bea7ab8d-8a8f-4618-b3aa-407be3865501"},{"name":"Boundary Relationship Search","id":"6c394982-e470-47d0-9220-64d910d5503e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"Rainmaker\",\r\n        \"authToken\": \"2a57ee8c-410c-4023-a9d3-5111b4f6e304\",\r\n        \"userInfo\": {\r\n            \"id\": 595,\r\n            \"uuid\": \"1fda5623-448a-4a59-ad17-657986742d67\",\r\n            \"userName\": \"UNIFIED_DEV_USERR\",\r\n            \"name\": \"Unified dev user\",\r\n            \"mobileNumber\": \"8788788851\",\r\n            \"emailId\": \"\",\r\n            \"locale\": null,\r\n            \"type\": \"EMPLOYEE\",\r\n            \"roles\": [\r\n                {\r\n                    \"name\": \"Localisation admin\",\r\n                    \"code\": \"LOC_ADMIN\",\r\n                    \"tenantId\": \"pg\"\r\n                },\r\n                {\r\n                    \"name\": \"Employee\",\r\n                    \"code\": \"EMPLOYEE\",\r\n                    \"tenantId\": \"pg\"\r\n                },\r\n                {\r\n                    \"name\": \"MDMS Admin\",\r\n                    \"code\": \"MDMS_ADMIN\",\r\n                    \"tenantId\": \"pg\"\r\n                },\r\n                {\r\n                    \"name\": \"SUPER USER\",\r\n                    \"code\": \"SUPERUSER\",\r\n                    \"tenantId\": \"pg\"\r\n                }\r\n            ],\r\n            \"active\": true,\r\n            \"tenantId\": \"pg\",\r\n            \"permanentCity\": null\r\n        },\r\n        \"msgId\": \"1695889012604|en_IN\",\r\n        \"plainAccessRequest\": {}\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8085/boundary-service/boundary-relationships/_search?tenantId=default&hierarchyType=REVENUE","protocol":"http","host":["localhost"],"port":"8085","path":["boundary-service","boundary-relationships","_search"],"query":[{"key":"tenantId","value":"default"},{"key":"hierarchyType","value":"REVENUE"},{"key":"boundaryType","value":"City","disabled":true},{"key":"codes","value":"India","disabled":true},{"key":"includeChildren","value":"true","disabled":true},{"key":"includeParents","value":"true","disabled":true}]}},"response":[],"createdAt":"2024-01-05T06:40:31.000Z","updatedAt":"2024-09-02T06:15:11.000Z","uid":"20755293-6c394982-e470-47d0-9220-64d910d5503e"}]}}