Request

To get a list of available parser templates, send the following API request to your Zephyr server: 

GET http://{your-zephyr}/flex/services/rest/latest/parsertemplate 

Here, your-zephyr is the IP address or host name of your Zephyr server.

You can use this request, for example, if you forget the id of a template you created. 

Response

Zephyr will reply with an array that has information about templates existing in your Zephyr instance. This array includes both pre-configured and custom templates: 

[
  {
    "id": 1, 
    "name": "Selenium",
    "jsonTemplate": "[{
      ... 
    }]",
    "isDeleted": false, 
    "isDefault": false, 
    "isSbAutomationTool": false,
    "createdBy": 1,
  },
  {
    "id": 2, 
    "name": "UFT",
    "jsonTemplate": "[{
      ... 
    }]",
    "isDeleted": false, 
    "isDefault": false, 
    "isSbAutomationTool": false,
    "createdBy": 1,
  },
  ... ,
  {
    "id": 101, 
    "name": "My custom parser",
    "jsonTemplate": "[{
      ... 
    }]",
    "isDeleted": false, 
    "isDefault": false, 
    "isSbAutomationTool": false,
    "createdBy": 1,
  },
  ...
]

Here --

See Also

Create, Edit and Delete Parser Templates

Parser Templates

Parser Template Syntax