Request
To create a parser template, send the following API request to your Zephyr server:
POST http://{your-zephyr}/flex/services/rest/latest/parsertemplate
Here, your-zephyr is the IP address or host name of your Zephyr server.
Use a payload like this for the request:
...
name
– The name of a test tool or framework. Zephyr will show it in the drop-down list of supported frameworks in Jenkins or in the zBot settings screen.jsonTemplate
– JSON data of a new template. See Parser Template Syntax for complete information on its fields.
...
id
– An identifier that Zephyr assigned to the template. You will use it to specify a template you want to edit or delete.jsonTemplate
– The template contents (see Parser see Parser Template Syntax).isDeleted
– Indicates whether the template has been deleted or not.isDefault
–true
if a template is a pre-configured request, orfalse
if it is a user-defined request.
...
A template becomes available right after you created it. All the templates are available for your entire organization in Zephyr.