API Export always exporting everything



  • Hi,

    I'm trying to export all the resources in a folder using the API,
    but it seems to ignore the selection list and it just always exports everything
    even if I just give it a single resource id (in this case a folder)

    url: http:///localhost:5488/reporting/api/export
    body:
    {
    selection: [
    "ggmencNrVrvwVbww"
    ]
    }



  • This can happen if you don't send the proper Content-Type: application/json header.

    I would recommend trying the same in the studio and verifying that your request is the same as the one the studio is sending.

    0_1704819326480_upload-310cfbea-6671-49c0-861a-25f94eed3452


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.