get https://phoenix-qa.egovernments.org/api/v1.0/complaint/getLocation
API to get valid Locations for a ULB, if user wants to file a complaint with location details then this api will give valid complaint locations applicable(for autocomplete purpose or dropdown) and user must pick any valid location from suggestion list.
Response data format described below
JSON Key | Data Type | Description |
---|---|---|
status | JSON Object | |
status --> type | String | Denotes whether success or failure |
result | JSON Array | |
result ----> name | String | Location name |
result ----> Id | Number | Location id |