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/expression?queryType=arithmetic&datasetNme=india&operator=replace&col=district%2Cbank&type=viewhttps://mgis-apiv2.mappls.com/Parameters
queryTyperequiredqueryType values can be arithmetic,string,geometric and aggregate. On the basis of queryType value API can find which type of query you want to execute.
arithmeticdatasetNmerequiredThe dataset name of whose information has to be fetched.
indiaoperatorrequiredOperator can contain the value of arithmetic,string,aggregate,geometric. Arithmetic Operators -,+,/, String Operators = Length,Upper,Lower,InitCap,Concat,Replace,Substring Aggregate Operators = Count, Average, Max, Median, Min, StdDev, Sum and distinct Geometric Operators = Lat,Long,Centroid,Area,Length
replacecolrequiredSingle/Multiple column names on which the querytype operations has to be performed. In case of Querytype Geometric and geometric operators and String Operator(substring) single column value is required.
district,banktyperequiredThis parameter consists the type of property. Properties are - Create, View, Update. In case of Create We need new column. In case of View, newcolumn is not required and the data after operation will be shown in response. In case of Update the values get updated in the col of the table. In case of Geometric Operations UPDATE method/type are not applicable. In case of Aggregate Operations CREATE and UPDATE methods/types are not applicable.
viewnew_columnnewcolumn parameter is only mandatory in case of Type:Create, which is the name of new column to be created
updated_valuesfilterFilter is the query to be applied on the dataset.
district in ( 'Bikaner','Churu')valuesdelimiterA delimiter is a sequence of one or more characters for specifying the boundary between separate, independent regions in plain text, mathematical expressions or other data streams. An example of a delimiter is the comma character, which acts as a field delimiter in a sequence of comma-separated values.[Note: Delimiter is applicable when when multiple column names have been added and its value always be in single inverted comma.]
'_'oldDataoldData is the existing value which can be replaced.
BikanernewDataNew Value that needs to be replaced with an existing value.
Delhistartstarting index of substring.
2stepsnumber of characters in the substring. If steps is blank then substring will contain characters from starting value provided to end of string.
5groupByPass the column names list which you want to display in the resultant. In case of multiple attributes passed in the groupBy parameter, by default it will take the first column for group by. In case of Aggregate Operation user can pass single/multiple attribute. In case of String and Arithmetic Operations groupBy, In case of multiple attributes passed in the groupBy parameter, by default it will take the first column for group by. In case of Geometric Operation groupBy is not applicable.
householddistinctDistinct parameter is used when user want to get unique values of single/multiple columns of a dataset. Boolean values True and false can be passed. It is mandatory parameter when operator is distinct with queryType = aggregate.
trueBuild 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/expression?queryType=arithmetic&datasetNme=india&operator=replace&col=district%2Cbank&type=view&new_column=updated_values&filter=district+in+%28+%27Bikaner%27%2C%27Churu%27%29values&delimiter=%27_%27&oldData=Bikaner&newData=Delhi&start=2&steps=5&groupBy=household&distinct=truecurl --request GET \
--url 'https://mgis-apiv2.mappls.com/dqv/expression?queryType=arithmetic&datasetNme=india&operator=replace&col=district%2Cbank&type=view&new_column=updated_values&filter=district+in+%28+%27Bikaner%27%2C%27Churu%27%29values&delimiter=%27_%27&oldData=Bikaner&newData=Delhi&start=2&steps=5&groupBy=household&distinct=true' \
--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/dqv/expression?queryType=arithmetic&datasetNme=india&operator=replace&col=district%2Cbank&type=view' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Responses
OK
Bad Request, User made an error while creating a valid request.
No data found in database.
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.resultNo field description in the source contract.
exampledata.result[].latNo field description in the source contract.
28.612964data.result[].lonNo field description in the source contract.
77.229463data.result[].updated_valuesNo field description in the source contract.
109.9204{
"code": "200",
"success": true,
"message": "",
"data": {
"result": [
{
"lat": 32.3345,
"lon": 77.5859,
"updated_values": 109.9204
}
]
}
}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/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