Forum Discussion

dharmendrat's avatar
dharmendrat
Contributor
5 years ago

API doesn't return download URL to download the data

Hi Team,

I am trying to download data by sending a request to lithium/khoros API, but it doesn't return download URL as shown below

satyakrishnak@satyakrishnak:/google/src/cloud/satyakrishnak/lit__/google3$ curl -username:password 'https://analytics-api.app.lithium.com/api/public/reports/report/conversation?conversationReportType=CLOSED&reportFormat=CSV&companyKey=googlesocial&startTime=1581523200000&endTime=1581526800000'

{"status":"PASS","request":null,"message":null,"result":{"workflowId":"3aac71d9-a2ba-35a4-afe6-5e8dfd06ab8e","runId":"23TjL/PN3vfG13oc+n2T5Vx2550wM/XOIBD/UJ6kN273U=","downloadUrl":"","statusUrl":"https://analytics-api.app.lithium.com/api/public/reports/report/3aac71d9-a2ba-35a4-afe6-5e8dfd06ab8e/23TjL%2FPN3vfG13oc%2Bn2T5Vx2550wM%2FXOIBD%2FUJ6kN273U%3D/status?companyKey=googlesocial"}}

Could you please let me know what might be the reason for this ? Are there any recent changes in the backend URL?

Thank you,

Satya

3 Replies

  • dharmendrat's avatar
    dharmendrat
    Contributor
    5 years ago

    Hi SuzieH,

    Sorry about that. Earlier it used to generate status url and download url before running the status url.

    Thanks for your quick reply, it's working now.

    Appreciate your help.

  • SuzieH's avatar
    SuzieH
    Khoros Alumni (Retired)
    5 years ago

    dharmendrat Glad it's working. I'm aware that the reference docs aren't clear enough. I'm working on an update to avoid confusion like this. I'm sorry you got hung up.