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/sat/saveDataset/filehttps://mgis-apiv2.mappls.com/Parameters
Body schema
datasetNmeName of the dataset that will be used while saving/appending/truncating [If not provided filename is taken as datasetNme]
testfilerequiredFile that data contains data that needs to be published/appended [max size: 20 MB]
examplesheetNameName of the sheet incase the file is one of the spreadsheet formats [If not provided first sheet of the document is taken by default]
examplelatName of the column containing latitude incase the file is one of the spreadsheet formats [If not provided 'Lat' is taken by default]
28.612964lngName of the column containing longitude incase the file is one of the spreadsheet formats [If not provided 'Lng' is taken by default]
77.229463appendStatusIf set to true, the file provided will be appended to pre-existing data within the dataset of name provided in datasetNme param [condition is that the data should exist / no need to set it to false in case of non-appending]
exampletruncateStatusIf set to true, the file provided will be appended and pre-existing data within the dataset of name provided in datasetNme param will be truncated/deleted [condition is that the data provided should be of same structure OR should contain previous structure else there can be loss of information / no need to set it to false]
examplepolygonfillcolorhex color without '#' of the polygon/s
f2e824polygonfillopacityopacity of polygon/s ranging from 0-1
0.7linestrokecolorhex color without '#' of the line/s
2ce622linestrokewidthwidth of the line/s in pixels
2linestrokeopacityopacity of line/s ranging from 0-1
0.5pointfillcolorhex color without '#' of the point/s
2266e3pointfillopacityopacity of point/s ranging from 0-1
0.8pointsizesize of point/s in pixels
10{
"file": "example"
}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-apiv2.mappls.com/sat/saveDataset/filecurl --request POST \
--url 'https://mgis-apiv2.mappls.com/sat/saveDataset/file' \
--header "Accept: application/json" \
--header "Authorization: Bearer ${MAPPLS_ACCESS_TOKEN}" \
--header "Content-Type: multipart/form-data" \
--data-raw '{"file":"example"}'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/sat/saveDataset/file' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"file": "example"
}'Responses
OK
Bad Request, User made an error while creating a valid request.
Unauthorized.
Internal Server Error, the request caused an error in our systems.
200 response fields
codeError code.
200successNo field description in the source contract.
truemessageIf everything goes ok then user receives a message indicating that the layer has been published/modified on mGIS platform
Layer 'LAYER_NAME' has been published/modified in workspace 'WORKSPACE_NAME'dataNo field description in the source contract.
{}{
"code": "200",
"success": true,
"message": "Layer 'LAYER_NAME' has been published/modified in workspace 'WORKSPACE_NAME'",
"data": {}
}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/sat-apis.yml- SHA-256
a2a4cba3e839f88138a9856683d09a09e1ca7a5a9f0ab93785da7b28f3ba215e- Normalization
- Fields are parsed from OpenAPI. Operational guidance and language samples are generated and labeled separately.
- Source record
- Open repository audit