First level of the geography drill-down. EndorsementFragment uses it (via EndorsementRepositoryImpl) for the VO endorsement geo filter, and AddUpdateAssetNewDialog uses it (via VoFilterRepoImpl) to find the other farmer in a land lease. Results fill the district dropdown; errors leave it empty.
Headers
Header
Value
Notes
X-SESSIONID
<session token>
Added by Bridge CoreAPI from the AccountManager session when the Operation is executed with dooNowOrThrow. The app code does not set it.
Parameters
Param
In
Required
Example
Notes
datasetName
path
Yes
PlusOneGetAllDistricts
Dataset name in the path of commons-report-service /api/v1/datasets/name/{name}/execute.
version
query
Yes
1
Dataset version. Always 1.
format
query
Yes
json
Response format. Always json, so the body is a JSON array of row objects.
District code; dropdown value and DISTRICT_ALIAS for the mandal call.
DistrictNames
string
Label shown in the district dropdown.
Errors
Status
When
What the app does
non-2xx
Server rejects the call or the dataset query fails (CoreAPI handles session refresh internally)
Resource.error with the raw response; the dropdown stays empty. In EndorsementRepositoryImpl the call runs without try/catch, so a thrown exception is not caught there. VoFilterRepoImpl catches it and shows "Something went wrong".
network error
No connectivity or timeout
Resource.error with the raw response; the dropdown stays empty. In EndorsementRepositoryImpl the call runs without try/catch, so a thrown exception is not caught there. VoFilterRepoImpl catches it and shows "Something went wrong".