Hitachi Vantara Pentaho Community Forums
Results 1 to 6 of 6

Thread: REST Client can't get HTTPS (AppAnnie API KEY)

  1. #1

    Default REST Client can't get HTTPS (AppAnnie API KEY)


    I'm trying to get connected using REST Client step, but AppAnnie only accepts HTTPS with a generated API KEY. None of the Tabs seems to offer such an option.

    I get result = {"code": 401, "error": "Unauthorized access"} as expected due to the lack of it.

    how can I configure REST Client Step to issue HTTPS or sending my generated API KEY using REST Step?

    Using following CURL on terminal shell worked ok. ("Bearer" is the Generated API key)

    curl -H "Authorization: Bearer ##########" "{account_id}/sales?break_down=product&start_date=yyyy-mm-dd&end_date=yyyy-mm-dd"

    Thanks in advance
    Last edited by Joselitux; 11-30-2015 at 04:49 PM.

  2. #2



  3. #3
    Join Date
    Nov 2015



    I recently arrived to the pentaho world and I'm also trying to connect to appannie.

    Did you managed to connect to their API with kettle? Which step did you used?

    best regards,


  4. #4


    hi fdoangulo

    i've used the REST client. For this component to properly work you have to pass all parameters from a previous step. Use a Data grid component with all your parameters.
    Name:  grid.jpg
Views: 265
Size:  13.0 KBName:  rest.jpg
Views: 257
Size:  5.5 KB

  5. #5
    Join Date
    Nov 2015


    Thank you!!!

    I managed to connect.

    I'll play with the rest of the fields to get all the data I need.

  6. #6
    Join Date
    Nov 2015


    Ok, I have managed to login to the api and receive the JSON.

    My problem now it that I'm not being able to send the optional parameters (i.e break_down; start_date; end_date)

    Which URL have you setup in the URL fielt?

    I have tried with{account_id}/sales?break_down=${break_down}&start_date=${start_date}&end_date=${end_date} , but REST crashes.

    So I'm using{account_id}/sales, which does not send the parameters

    How are you "building" the url with the parameters?

    Thanks in advance
    Last edited by fdoangulo; 01-26-2016 at 12:07 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.