Create Template

URL:
https://<services>/createTemplate
Methods:
POST
Required Capability:
Publisher
Version Introduced:
11.0

Description

The Create Template operation (POST only) is used to create a new Template for Missions. When a template is created, it can be used to create more missions in the future.

Request parameters

ParameterDetails

missionId

(Required)

Required. String. The title of the Mission Service.

templateTitle

(Required)

String. A short summary of the Mission Service.

description

(Optional)

String. A description of the Mission Service.

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 createTemplate operation:

URL for Create Template

Use dark colors for code blocksCopy
1
2
3
4
5
6
https://mission.server.com/webadaptor/rest/services/createMission
Content-Type: application/x-www-form-urlencoded

missionId=abc123def456
description=a mission based around the events in a local area
f=json

Example Response

Use dark colors for code blocksCopy
1
2
{"success":"true",
"templateItemId":"abc123def4556"}

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