Examples

POST /api/report_templates/1007981714-report_template18/clone
{
  "report_template": {
    "name": "MyClone"
  }
}
201
{
  "id": 1007981715,
  "name": "MyClone",
  "template": "template content 16",
  "snippet": false,
  "template_kind_id": null,
  "created_at": "2021-05-19T07:18:48.611Z",
  "updated_at": "2021-05-19T07:18:48.611Z",
  "locked": false,
  "default": false,
  "vendor": null,
  "os_family": null,
  "description": null
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

report_template
required

Validations:

  • Must be a Hash

report_template[name]
required

template name

Validations:

  • Must be a String