Redirect | ||||||
---|---|---|---|---|---|---|
|
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.
...
jsonTemplate
– New JSON data of a template. See Parser Template Syntax for details.
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, orfalse
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.