Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

Consumption API Calls Stopped Returning Rows

Hi,

I have an app rolled out at a number of clients that looks at usage of the SaaS platform. This calls the consumption API (as well as others) but this has stopped returning rows since Wednesday this week. 

The code I am calling is this:

let vURL = 'https://$(vInstance)/api/v1/licenses/consumption?limit=100&sort=-endTime';


JSON:
SQL SELECT
"__KEY_root",
(SELECT
"id",
"userId",
"sessionId",
"appId",
"endTime",
"duration",
"allotmentId",
"capacityUsed",
"minutesUsed",
"licenseUsage"
FROM "data" FK "__FK_data"),
(SELECT
"__KEY_links",
"__FK_links",
(SELECT
"href",
"__FK_next"
FROM "next" FK "__FK_next"),
(SELECT
"href" AS "href_u0",
"__FK_prev"
FROM "prev" FK "__FK_prev")
FROM "links" PK "__KEY_links" FK "__FK_links")
FROM JSON (wrap on) "root" PK "__KEY_root"
WITH CONNECTION (
URL "$(vURL)",
HTTPHEADER "Authorization" "Bearer $(vAPIKey)"
);

 

Has anyone else noticed problems or changes with this endpoint recently? 

Steve

Labels (2)
10 Replies
stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP
Author

Hi @Albert_Candelario 

That is a real shame that the data for that period has been lost, especially for one of my clients where I was running a PoC and could really do with knowing who engaged with it, but it is good that it is now working again.

Data has started flowing through for all of the tenants I have checked so far.

Many thanks for pursuing this for us.

Steve