How to create template to use with portal and get metrics

Document ID : KB000074444
Last Modified Date : 23/04/2018
Show Technical Document Details
Introduction:
According to CA documentation it is possible to create own templates to be used with the portal.
What steps are required to implement a template such that statistic data in the portal is updated, when using an API created from your own template?
Instructions:
If you view the “Standard Policy Template Fragment” encapsulated assertions , you will see that the following variables are getting filled and then exported.

counterName
portal.analytics.action
portal.analytics.api.uuid
portal.analytics.application.name
portal.analytics.application.uuid
portal.analytics.authType
portal.analytics.organization.name
portal.analytics.organization.uuid
portal.analytics.response.code
portal.analytics.routingTotalTime

You will need to fill the variables in the policy fragment being used by the encapsulated assertion and then export the variables.