Connectivity & Data Prep

Discussion board where members can learn more about Qlik Sense Data Connectivity.

Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!

Who Me Too'd this topic

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)
Who Me Too'd this topic