Rest API issue for obtaining program ID for email programs

Sonali_Jadeja3
Level 4

Rest API issue for obtaining program ID for email programs

Hi,

 

We are integrating Qlik sense with marketo to use Qlik as front-end self-serve dashboard for marketing campaigns.

We have various dashboard in Qlik that uses Marketo as data source to report on programs (no. of form fills/email opens/clicks etc.)

 

The issue we are facing is that we’re able to retrieve smart campaigns via the API end points but we cannot get any data for email program type. For these, we’re trying to use this approach of using two endpoints but still get errors as shown below –

 

{
  "requestId": "ab2b#16eac3091c3",
  "success": false,
  "errors": [
    {
      "code": "1013",
      "message": "Campaign not found"
    }
  ]
}

 

Endpoints used-

Get Activity:
http://developers.marketo.com/rest-api/endpoint-reference/lead-database-endpoint-reference/#/Activit...
obtain campaign ID

Get Campaign, with the ID:
http://developers.marketo.com/rest-api/endpoint-reference/lead-database-endpoint-reference/#!/Campai...
obtain Program ID.

Any insights into this will be much much appreciated!

Thank you!

Sonali