Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
OlivierS
Partner - Contributor III
Partner - Contributor III

Nprinting post API response

Hi,


I'm not able to get any response with my post connector while i try to execute the create filter API. 

The filter are created without any error, but i should be able to get the filterid as a response (that's what the documentation say).


LIB CONNECT TO '$(vConnection_POST)';
RestResponseTable:
SQL SELECT
"__KEY_data"
FROM
JSON (wrap off) "data" PK "__KEY_data"
WITH
CONNECTION
(
URL "https://$(vNPrintingServer)/api/v1/filters",
BODY "$(pBody)",
HTTPHEADER "Origin" "$(vQlikSenseServer)",
HTTPHEADER "Content-Type" "application/json",
HTTPHEADER "X-HTTP-Method-Override" "POST",
HTTPHEADER "cookie" "$(vCookie)",
HTTPHEADER "X-XSRF-TOKEN" "$(vXSToken)"
)
;

I think it is related to my Select From SQL because the restresponsetable is actually created with keydata and an extra column (coming from ?). But the table is always empty.

When i try to recreate the api call syntax using the connector, the script generator doesn't give me any table responde BUT the API is creating the filter on NP (like it test it in a loop). I can't use that method to create the synthax.

Does anyone knows how to debug this situation ? Thanks in advance

Labels (2)
0 Replies