- URL:
- https://<root>/System/RealitymappingTools/GPServer/CreateMission
- Methods:
GET- Version Introduced:
- 12.2
Describe
The Create operation is a service tool that creates a Reality Mapping mission. A Reality Mapping mission contains the information (e.g., mission name, image collection, products etc.) that defines a Reality Mapping mission.
Request parameters
| Parameter | Details |
|---|---|
(Required) | The item ID for the Reality Mapping project item under which to create mission. Syntax: JSON object. |
(Required) | The object definition for the Reality Mapping mission item that will be created. Example: |
(Required) | The portal folder ID, portal item ID, image service URL, cloud raster dataset, or shared raster dataset that will be added to the image collection. At least one type of input must be provided in the JSON object. If multiple inputs are given, the Syntax: A JSON object describes the input raster. The When setting the input raster dataset, a relative data store path is supported such as The When a mosaic dataset is given as input, the mosaic dataset is copied to the raster store but not the source image it references. The server should also be granted access to the location of the source image. If the raster store only has a file share, the mosaic dataset is copied to the file geodatabase created in the file share. If the raster store has a database, the mosaic dataset is copied to the database. |
(Required) | The output image collection name or URL. As with raster analysis services, the service can be an existing multitenant service URL, or this service tool can create it. If the image collection is created by the service tool, it will be created in the geodatabase. The geodatabase could either be a file geodatabase in the file share type of raster store or an enterprise database configured as raster store. Syntax: A JSON object supports three, case sensitive keys: Example: |
(Required) | The raster type that will be used to add images to the image collection. Syntax: A JSON object describes the raster type, which can be used to set properties of the raster types. The supported raster types keywords in JSON are |
| Contains additional settings that affect task execution. The following setting is available: Output Spatial Reference ( |
|
The response format. The default response format is html. Values: |
Response
When you submit a request, the task assigns a unique job ID for the transaction.
Syntax:
{
"jobId": "<unique job identifier>",
"jobStatus": "<job status>"
}After the initial request is submitted, you can use job to periodically review the status of the job and messages as described in Checking job status. Once the job has successfully completed, use job to retrieve the results. To track the status, you can make a request of the following form:
https://<realitymapping tools url>/CreateMission/jobs/<jobId>When the status of the job request is esri , you can access the results of the analysis by making a request of the following form:
https://<realitymapping tools url>/CreateMission/jobs/<jobId>/results/outProducts?token=<your token>&f=jsonExample usage
The following is a sample URL for CreateMission :
https://services.myserver.com/arcgis/rest/services/System/RealitymappingTools/GPServer/CreateMission/submitJob