/api/space/config-template-management/config-templates/{id}/versions/{template-version}/exec-auditTemplate

The following operation is supported on this resource:

  • POST - Audit the template by providing ID and version
POST /config-templates/{id}/versions/{template-version}/exec-auditTemplateVersion 2

Sample Usage

This API makes an asynchronous method call; so, you can optionally specify queue and schedule parameters:

POST /config-templates/{id}/versions/{template-version}/exec-auditTemplate?queue=<queue>&schedule=<schedule>


Note: The queue URL denoted by <queue> must have been created already.


  • Parameters:
    NameTypeURI TypeDescriptionRequired
    idIntegerPathThe ID of the configuration template. Y
    template-versionIntegerPathThe template version. Y
    queueQueue URLQueryA fully qualified queue URL, where job progress notifications will be sent (See Asynchronous API Usage)N
    schedulecron-like-expressionQuerySchedule this API in the future, by specifying a cron-like-expression (See Job Scheduling)N
  • Sample Input XML:
    <audit-template-config-version-request>
         <device-ids>
               <device-id>Integer</device-id>
         </device-ids>
    </audit-template-config-version-request>

  • Sample Output XML:
    <task href="/api/space/job-management/jobs/3047464">
      <id>3047464</id>
    </task>

  • Sample Input JSON:
    {
       "audit-template-config-version-request" : {
         "device-ids" : {
           "device-id" : "Integer"
         }
       }
    }

  • Sample Output JSON:
    {
      "task":{
        "@href":"/api/space/job-management/jobs/3047464",
        "id":3047464
      }
    }

  • Access Control

    The following capabilities are required to access this API: AuditTemplateConfig