Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
GET /qrs/dataconnnection does not have the createDate element but GET /qrs/dataconnection/full does.
Example script:
Let vDataConnection = 'monitor_apps_REST_app';
LIB CONNECT TO '$(vDataConnection)';
RestConnectorMasterTable:
SQL SELECT
"id" AS "id_u2",
"createdDate" AS "createdDate_u0",
"connectionstring",
"type",
"__KEY_root"
FROM JSON (wrap on) "root" PK "__KEY_root"
WITH CONNECTION(
URL "https://localhost/qrs/dataconnection/full",
HTTPHEADER "X-Qlik-xrfkey" "12345678qwertyui",
QUERY "xrfkey" "12345678qwertyui"
);
[dataconnections]:
LOAD [id_u2] AS [id],
[createdDate_u0] AS [createddate],
[connectionstring],
[type],
[__KEY_root]
RESIDENT RestConnectorMasterTable
WHERE NOT IsNull([__KEY_root]);
DROP TABLE RestConnectorMasterTable;