This operation is retained because its version-labelled public specification differs structurally from another generation. It is comparison evidence, not a promise of current support, compatibility, entitlement, or availability.
Compare before changing adapters
This is the v2 declaration and the highest version-labelled source evidence. “Preferred” does not prove provider support or semantic compatibility.
Open field-level comparison and migration checklistCall the operation
https://mgis-apiv2.mappls.com/getGeometryType?datasetNme=indiahttps://mgis-apiv2.mappls.com/Parameters
datasetNmerequiredThe dataset name whose feature centroid or geometry is required.
indiaBuild your request in eight languages
Change source-backed examples once, validate required inputs, and copy the synchronized cURL, JavaScript, Python, Java, C#, Go, PHP, or Ruby request. Credentials remain environment references, and this page never sends a provider request.
https://mgis-apiv2.mappls.com/getGeometryType?datasetNme=indiacurl --request GET \
--url 'https://mgis-apiv2.mappls.com/getGeometryType?datasetNme=india' \
--header "Accept: application/json" \
--header "Authorization: Bearer ${MAPPLS_ACCESS_TOKEN}"Credential-safe by constructionSet MAPPLS_ACCESS_TOKEN only in your trusted runtime. Code generation stays local. Sandbox execution sends only bounded fixture inputs to this developer platform and never reads a credential or calls Mappls.
Send a production-shaped request
Examples use environment-backed access tokens, explicit timeouts where supported, status checks, and JSON bodies derived from the source schema. Replace sample identifiers and coordinates with values from your application.
curl --request GET \
--url 'https://mgis-apiv2.mappls.com/getGeometryType?datasetNme=india' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Responses
OK
Bad Request, User made an error while creating a valid request.
Unauthorized.
No data found in database.
Internal server error.
200 response fields
codeError code.
200successNo field description in the source contract.
truemessageNo field description in the source contract.
—datalayer's Geometry Type
linestring{
"code": "200",
"success": true,
"message": "",
"data": "linestring"
}Operate it safely
This operation observes durable platform state. Preserve resource identifiers and account for pagination, delay, and eventual consistency.
Contract provenance
- Source file
mappls-developer-platform/data/corpus/public-api-contracts/mapmyindia-mgis-apis/docs/v2/custom/get-geometry-type-api.yml- SHA-256
4c85c54f75f91c3f3353aa5644b077a5c49aa91d6ed3a3d53cedf535fcfc7a54- Normalization
- Fields are parsed from OpenAPI. Operational guidance and language samples are generated and labeled separately.
- Source record
- Open repository audit