Cisco Prime Infrastructure API
Prime Infrastructure API Documentation

GET reportService/templates

Resource Information

Rate Limiting?

Yes

Sorting?

No

Paging?

No

Filtering?

No

Response Formats

xml

json

User Group

NBI Read

HTTP Methods

GET

This URL is used to get all the saved report templates. It returns an array of information about the available saved report templates.

Report templates need to be set up in the GUI to be available here.

Resource URL

/webacs/api/v1/op/reportService/templates

Since : 1.2

Request Parameters

Type Attribute Name Source Description

String

reportCategory optional

query

An optional filter to specify the report category

String

reportType optional

query

An optional filter to specify the report type

String

scheduled optional

query

An optional filter to specify whether the schedule status is Enabled, Expired, or Disabled

String

virtualDomain optional

query

An optional filter to specify the virtual domain name

Sample Payloads

Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.

Sample XML Response Payload

https://szier-m8-106.cisco.com/webacs/api/v1/op/reportService/templates

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<mgmtResponse rootUrl="https://szier-m8-106.cisco.com/webacs/api/v1/op/" requestUrl="https://szier-m8-106.cisco.com/webacs/api/v1/op/reportService/templates" responseType="operation">
    <savedReportTemplateDTO>
        <reportTitle>String value</reportTitle>
        <reportType>String value</reportType>
        <scheduled>String value</scheduled>
        <virtualDomain>String value</virtualDomain>
    </savedReportTemplateDTO>
</mgmtResponse>

Sample JSON Response Payload

https://szier-m8-106.cisco.com/webacs/api/v1/op/reportService/templates.json

{
  "mgmtResponse" : {
    "@rootUrl" : "https : \/\/szier-m8-106.cisco.com\/webacs\/api\/v1\/op\/",
    "@requestUrl" : "https : \/\/szier-m8-106.cisco.com\/webacs\/api\/v1\/op\/reportService\/templates",
    "@responseType" : "operation",
    "savedReportTemplateDTO" : {
      "reportTitle" : "String value",
      "reportType" : "String value",
      "scheduled" : "String value",
      "virtualDomain" : "String value"
    }
  }
}