- URL:https://<services>/createTemplate(POST only)
- 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
Parameter | Details |
---|---|
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
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
{"success":"true",
"templateItemId":"abc123def4556"}