How to pass Targets as Network Interfaces via rest call?

Discussion created by TejeshKhimani82325243 on Jun 22, 2017



I'm trying to fetch the Utilization data for Network Interface (ex: Gi1/0/4.73(GigabitEthernet1/0/4.73)) from CA UIM via REST Call. 


Rest Get call: https://myurl/rest/qos/data/name/QOS_INTERFACE_UTILIZATIONIN/Device/Gi0%2F0%2F3.851%28GigabitEthernet0%2F0%2F3.851%29/201721050000/201721060000/0


Source is the Device/Target is the Interface/fromdate/todate/no.ofrows.


Though it has data's, i always get

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><qos-data/>


Not sure, whether URL encode has issues or something else.


If anyone can help with this, would be great.


Thanks in advance.