Click or drag to resize
Creating a template
Print this page

To create a template, POST to the following address:

https://acme.api.telogis.com/templates

The body of the post contains the plain text of your template. You do not give an Id with the request, because the Id is generated when the template is saved to the server.

Response

The response is a JSON entry of the template name and Id.

Possible return status codes are:

  • 200 - OK: The template was saved to the server with no errors.
  • 400 - Bad Request: The template name was invalid.
  • For more information, or if you encounter an error, see Status codes and responses.

Example response:

JSON
{
"name": "HistoryDump",
"templateId": 85536735
}