Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
jomar_ebonite
Partner - Contributor III

Arrays of objects in API Parameters

Hi,

We are currently working on an API Integration of Cyabra platform to Qlik Cloud.

We encountered a type a of parameter that uses an array of objects.

Here's an example:

URL: https://api-v3.cyabra.com/api/asset/profiles-counters
Method: GET
client-id: ***
client-secret: ***
Content-Type: application/json

Parameters or Request body:
{"id":[{"id": "#marcosresign", "social_scan_type": "PHRASE_SEARCH"}], "social": "FB"}

The parameters are "id" and "social"

but when we are using Qlik's application automation API Request Block, it does not recognize the value of "id"

Attached are the screenshots from the testing.

Thank you.

 

Labels (1)
  • SaaS

3 Replies
AfeefaTk
Support

Hi @jomar_ebonite 

Could you please share the API documentation of Cyabra?
I see you are using API key connector which only supports api key authentication type.

Does the Cyabra API supports api key authentication?

From the screenshot it looks like client id and client secret should be passed as headers to authenticate the API call.So it doesn't looks like an api key authentication flow.

What type of authentication is it supporting?

I don't think you can configure it using API key connector.

For more details about API key connector check this article

Thanks

AfeefaTk
Support

Hi @jomar_ebonite 

May be try connecting to the API with Call URL block and see if that works in your case?

https://community.qlik.com/t5/Official-Support-Articles/Getting-started-with-the-generic-connectivit...

jomar_ebonite
Partner - Contributor III
Author

Hi @AfeefaTk 

Thank you for your reply. 

Did use the Call URL Block but same error with API Key Block