Create Mission Service

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

ParameterDetails

title

(Required)

Required. String. The title of the Mission Service.

snippet

(Optional)

String. A short summary of the Mission Service.

description

(Optional)

String. A description of the Mission Service.

licenseInfo

(Optional)

String. Any license information or restrictions.

capabilities

(Optional)

Comma separated list of strings. Used to define the desired capabilities for a Mission Service. If no capabilities are provided a Mission Service is created with all capabilities .

Values: EVENTS , CHAT ,PRESENCE ,TRACK , and TASK

Example of creating a mission with only chat, track, and task capabilities:

1
capabilities=CHAT,TRACK,TASK

appId

(Optional)

The application that created the Mission Service

tags

(Optional)

Comma-separated list of strings used to tag the Mission Service.

Format: tag1,tag2,...,tagN

extent

(Optional)

Comma-separated list that defines the bounding rectangle of the mission. Should always be in WGS84 . The default is -180, -90, 180, 90.

Format: <xmin>,<ymin>,<xmax>,<ymax>

templateWebMapId

(Optional)

String. The portal item id of the web map to use as a template for the Mission Service.

baseMap

(Optional)

JSON Object. The basemap to add to the Mission Service.

webMapDescription

(Optional)

String. The description of the web map added to the Mission Service

locale

(Optional)

String. The locale in which to generate Mission assets with. Must be a valid IETF BCP 47 language tag. Defaults to en

async

(Required)

Boolean. If true , the missionservice is created asynchronously and a jobId is given. If false , the mission is uploaded synchronously. Default is false .

f

(Optional)

The response format. The default response format is html .

Values: html | json | pjson

Example usage

Below is a sample request URL for the createMission operation:

URL for Create Mission

1
2
3
4
5
6
7
8
9
10
11
12
13
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

1
{"success":"true"}

JSON Asynchronous Response Syntax

Asynchronous

1
{"jobId": "<job_id>"}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close