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-api.mappls.com/copy/style?oldDatasetNme=example&newDatasetNme=examplehttps://mgis-api.mappls.com/Parameters
oldDatasetNmerequiredold dataset Name.
examplenewDatasetNmerequirednew dataset Name.
examplepropertyNamesNames of columns that are required in the copy dataset.
district,state,hospital,literacynewPropertyListNames of new columns that need to be added in the copy dataset.
{"items":[{"propertyName":"name1","propertyType":"text"},{"propertyName":"name2","propertyType":"text","defaultValue":"shsh"}]}Build 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-api.mappls.com/copy/style?oldDatasetNme=example&newDatasetNme=example&propertyNames=district%2Cstate%2Chospital%2Cliteracy&newPropertyList=%7B%22items%22%3A%5B%7B%22propertyName%22%3A%22name1%22%2C%22propertyType%22%3A%22text%22%7D%2C%7B%22propertyName%22%3A%22name2%22%2C%22propertyType%22%3A%22text%22%2C%22defaultValue%22%3A%22shsh%22%7D%5D%7Dcurl --request POST \
--url 'https://mgis-api.mappls.com/copy/style?oldDatasetNme=example&newDatasetNme=example&propertyNames=district%2Cstate%2Chospital%2Cliteracy&newPropertyList=%7B%22items%22%3A%5B%7B%22propertyName%22%3A%22name1%22%2C%22propertyType%22%3A%22text%22%7D%2C%7B%22propertyName%22%3A%22name2%22%2C%22propertyType%22%3A%22text%22%2C%22defaultValue%22%3A%22shsh%22%7D%5D%7D' \
--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-api.mappls.com/copy/style?oldDatasetNme=example&newDatasetNme=example' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Responses
OK
Bad Request, User made an error while creating a valid request.
Internal Server Error, the request caused an error in our systems.
200 response fields
messageIf everything goes ok then user receives a message indicating that the layer has been published/modified previous dataset Name on mGIS platform
Published new DatasetName{
"message": "Published new DatasetName"
}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/v1/custom/sat-apis.yml- SHA-256
15348c512128c6a43cfaf8fb29f24a78551008d1ee356cb76baa85a2724a65a8- Normalization
- Fields are parsed from OpenAPI. Operational guidance and language samples are generated and labeled separately.
- Source record
- Open repository audit