Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Request

To change a parser template, use the following API operation of your Zephyr server: 

PUT  http://{your-zephyr}/flex/services/rest/latest/parsertemplate/{template-id} 

...

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

  • template-id is the id of the desired template. You get this id when you create a template. 

...

Response

Zephyr’s response will be like this: 

...

  • id – The template id in Zephyr. It’s the same id that you specify in the request URL. 

  • jsonTemplate – The template contents (see Zephyr Field Referencesee Parser Template Syntax). 

  • isDeleted – Indicates whether the template has been deleted or not. 

  • isDefault – true if a template is a pre-configured request, or false if it is a user-defined request.  

  • isSbAutomationTool – Used internally. 

  • createdBy – The id of the user who created the template. 

  • createdOn – The creation timestamp. 

  • modifiedBy – The id of the user who modified the template. 

  • ModifiedOn – The timestamp of the update. 

...

You are not allowed to modify pre-configured templates. 

See Also

Create, Edit and Delete Parser Templates

Parser Templates

Parser Template Syntax