Jump to content
Welcome to our new Citrix community!

Citrix Cloud Monitor oData v4 API returns .local address in nextLink field


Bradley Sadd
Go to solution Solved by Mahesh Vangapalli,

Recommended Posts

The issue im having is that the monitor api (https://api-eu.cloud.com/monitorodata) returns a nextlink value that appears to be a Citrix internal network address.

e.g. http://f62780-38-2.prodcp5eu.local/Citrix/Monitor/odata/v4/data/Users?$skip=100

I can replicate the issue with the below python script.

-----------------------

import requests

web = requests.Session()

baseurl = "https://api-eu.cloud.com"

__token = 'xyz'

__customer_id = 'zyx'

web.headers = {

    "Authorization": "CwsAuth Bearer=" + __token,

    "Citrix-CustomerId": __customer_id

  }

r = web.get( baseurl + "/monitorodata/Users")

print(r.json()['@odata.nextLink'])

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...