cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
350
Views
0
Helpful
1
Replies

Bulk REST API GET requests in multi-tenant envi

slafr01@ca.com
Level 1
Level 1

When using the Bulk REST API against a multi-tenant vManage do I need to provide additional parameter(s) to the HTTP/S GET requests to identify which tenent the request is associated with?

 

https://developer.cisco.com/docs/sdwan/#!bulk-api/bulk-api

 

There is a "tenant" field in records returned by /dataservice/data/device/statistics/... which implies that response records might be bound to specific tenants...

 

Regards,

Fred

1 Reply 1

slafr01@ca.com Hey Fred, i think you basically need to add a session-id to the session header for all requests. You can find an example on how to retrieve it here: https://github.com/CiscoDevNet/sastre/blob/a4deafb00d91222cd00496bd8ccff5da136d2382/cisco_sdwan/base/rest_api.py

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Review Cisco Networking for a $25 gift card