VMware Networking Community
proniz
Contributor
Contributor

NSX 6.2 api call not working

Hi all,

i'm trying to do the following API call per guide

Get Flow Statistics

GET https://NSX-Manager-IP-Address/api/2.1/flow/flowstats?contextId=datacenter-21 &flowType=TCP_UDP&startTime=0&endTime=1320917094000&startIndex=0&pageSize=2

here, i've replaced "datacenter-21" with vc-moreif-ID of my datacenter, but postman returns me an error saying "The requested resources not available".

I've tried to do VM as well, still the same

On NSX side i've enabled flow monitoring. Is there any other setting that i need to worry about ?

Help is appreciated

Thanks,

Reply
0 Kudos
0 Replies