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.
Call the operation
https://mgis-apiv2.mappls.com/dqv/query_apply/single?datasetNme=indiahttps://mgis-apiv2.mappls.com/Parameters
datasetNmerequiredThe dataset name of whose information has to be fetched.
indiaqueryTypequeryType value should be functionBased. Mandatory when user has to perform geometric operations with or without query.
functionBasedqueryQuery to be applied on the dataset. Mandatory if uniqueValue, summerizeValue and queryType parameter is not passed. This is an optional paramter when queryType = 'functionBased' is passed.
state = 'Delhi'uniqueValueUnique values of a attribute of the dataset. Mandatory if query and summerizeValue parameter is not passed.
st_namesummerizeValueSummerize values of a attribute of the dataset. Mandatory if query and uniqueValue parameter is not passed.
st_namegroupByPass ‘true’ to perform groupBy on the datsetNme. Applicable for 'query'. 'propertyName' paramter is mandatory for 'groupBy' parameter.
truepropertyNamePass the column names list which you want to display in the resultant. Optional in case of order(sortBy). Mandatory in case of 'groupBy'.
street,poisortByPass ‘A' for ascending and ‘D’ for descending to perform order(sort) By. Applicable for all. Mandatory when order(sort) By is to be performed.
AsortByPropertyPass the column names which the user wants to order(sort) By in the resultant. Applicable for 'query'. Mandatory when order(sort) By is to be performed.
poi,streetpropertyNameProperty attributes to be reflected in the result. If not passed all the columns of the datasetNme will be displayed in the resultant.
housenumbercomparisonFunctionThe functions allowed are: Area and Length . This parameter is mandatory for queryType functionBased. Applicable for only queryType = 'functionBased
AreacomparisonOperatorThe operators allowed are: =, >, , >= and <=. This parameter is mandatory for queryType functionBased. Applicable for only queryType = 'functionBased
=comparisonValueThe value should be in numeric (in meters). This parameter is mandatory for queryType functionBased. Applicable for only queryType = 'functionBased
10saveAsNewDatasetPass ‘true’ for the resultant to be saved in to user's workspace as a new table. Applicable for only queryType = 'functionBased
truenewDatasetNmeName of the table in which the resultant has to be stored. This parameter is mandatory if saveAsNewDataset = true. Applicable for only queryType = 'functionBased'
geotestsortBySort the result in ascending(A) or descending(D) order. Applicable for 'orderBy', 'groupBy', 'uniqueValue' and 'summerizeValue'.
AstartIndexTo set the start index from which the user wants the result to be displayed. Applicable for 'query', 'uniqueValue' and 'summerizeValue'.
1countTo fix the number of results to be returned. Applicable for 'query', 'uniqueValue' and 'summerizeValue'.
3bboxReturns the bounding box of the dataset if set as true.
falseBuild 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/dqv/query_apply/single?datasetNme=india&queryType=functionBased&query=state+%3D+%27Delhi%27&uniqueValue=st_name&summerizeValue=st_name&groupBy=true&propertyName=housenumber&sortBy=A&sortByProperty=poi%2Cstreet&comparisonFunction=Area&comparisonOperator=%3D&comparisonValue=10&saveAsNewDataset=true&newDatasetNme=geotest&startIndex=1&count=3&bbox=falsecurl --request POST \
--url 'https://mgis-apiv2.mappls.com/dqv/query_apply/single?datasetNme=india&queryType=functionBased&query=state+%3D+%27Delhi%27&uniqueValue=st_name&summerizeValue=st_name&groupBy=true&propertyName=housenumber&sortBy=A&sortByProperty=poi%2Cstreet&comparisonFunction=Area&comparisonOperator=%3D&comparisonValue=10&saveAsNewDataset=true&newDatasetNme=geotest&startIndex=1&count=3&bbox=false' \
--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 POST \
--url 'https://mgis-apiv2.mappls.com/dqv/query_apply/single?datasetNme=india' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Responses
OK
Impartial Content.
Bad Request, User made an error while creating a valid request.
No data found in database.
Method not allowed.
Conflict in parameters passed.
Parameter missing
Internal server error.
200 response fields
codeResponse code.
200successNo field description in the source contract.
truemessageNo field description in the source contract.
—dataNo field description in the source contract.
exampledata.typeNo field description in the source contract.
FeatureCollectiondata.featuresNo field description in the source contract.
exampledata.features[].typeNo field description in the source contract.
Featuredata.features[].idNo field description in the source contract.
india.2data.features[].geometryNo field description in the source contract.
28.612964,77.229463data.features[].propertiesNo field description in the source contract.
exampledata.features[].properties.st_nameNo field description in the source contract.
Andhra Pradeshdata.totalFeaturesNo field description in the source contract.
1data.numberMatchedNo field description in the source contract.
1data.numberReturnedNo field description in the source contract.
1data.timestampNo field description in the source contract.
1700000000000data.crsNo field description in the source contract.
nulldata.layerBoundsNo field description in the source contract.
null{
"code": "200",
"success": true,
"message": "",
"data": {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"id": " india.2",
"geometry": "null",
"properties": {
"st_name": "Andhra Pradesh"
}
}
],
"totalFeatures": 1,
"numberMatched": 1,
"numberReturned": 1,
"timestamp": "2020-08-10T13:59:51.624Z",
"crs": "null",
"layerBounds": "null"
}
}Operate it safely
This operation creates or triggers durable state. Supply an idempotency strategy and persist the returned identifier before continuing.
Contract provenance
- Source file
mappls-developer-platform/data/corpus/public-api-contracts/mapmyindia-mgis-apis/docs/v2/custom/dqv-apis.yml- SHA-256
391a57c02f461cd4b27fba7b0ef8f838096a4cc16680bb2c6df225fbcf1fe427- Normalization
- Fields are parsed from OpenAPI. Operational guidance and language samples are generated and labeled separately.
- Source record
- Open repository audit