- URL:
- https://<services>/createMission
- Methods:
POST
- Required Capability:
- Publisher
- Version Introduced:
- 11.0
Description
The Create Mission Service operation (POST only) is used to create a new Mission Service for ArcGIS Mission Server.
Request parameters
Parameter | Details |
---|---|
(Required) | Required. String. The title of the Mission Service. |
(Optional) | String. A short summary of the Mission Service. |
(Optional) | String. A description of the Mission Service. |
(Optional) | String. Any license information or restrictions. |
(Optional) | Comma separated list of strings. Used to define the desired capabilities for a Mission Service. If no Values: Example of creating a mission with only chat, track, and task capabilities:
|
(Optional) | The application that created the Mission Service |
(Optional) | Comma-separated list of strings used to tag the Mission Service. Format: |
(Optional) | Comma-separated list that defines the bounding rectangle of the mission. Should always be in Format: |
(Optional) | String. The portal |
(Optional) | JSON Object. The basemap to add to the Mission Service. |
(Optional) | String. The description of the web map added to the Mission Service |
(Optional) | String. The locale in which to generate Mission assets with. Must be a valid IETF BCP 47 language tag. Defaults to |
(Required) | Boolean. If |
(Optional) | The response format. The default response format is Values: |
Example usage
Below is a sample request URL for the create
operation:
URL for Create Mission
https://mission.server.com/webadaptor/rest/services/createMission
Content-Type: application/x-www-form-urlencoded
title=My Mission
description=a mission based around the events in a local area
capabilities=CHAT,TASK,REPORT
tags=web,mission
appId=myapp
extent= -85.49998283384012,31.604737101722126,-77.06248283384222,37.39459931132208
baseMap={"baseMapLayers":[{"id":"World_Hillshade_6472","showLegend":true,"title":"World Hillshade","url":"https://services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer","layerType":"ArcGISTiledMapServiceLayer"},
{"id":"VectorTile_4829","title":"Charted Territory","layerType":"VectorTileLayer","styleUrl":"https://cdn.arcgis.com/sharing/rest/content/items/4389d7f064a149acb9029820bd075dc4/resources/styles/root.json"}],"title":"Charted Territory Map"}]}
async=true
f=json
JSON Synchronous Response Syntax
Synchronous
{"success":"true"}
JSON Asynchronous Response Syntax
Asynchronous
{"jobId": "<job_id>"}