- Reference 360 SaaS
- All Products
POST https://use4-mdm.dm-us.informaticacloud.com/rdm-service/external/v1/export HTTP/1.1 Content-Type: application/json Accept: application/octet-stream IDS-SESSION-ID: XXXXXXXXXXXXXXXXXXXXXX { "delimiter" : "SEMICOLON", "codepage" : "UTF8", "decimalSeparator" : "COMMA", "thousandSeparator" : "DOT", "dateFormat" : "ISO", "filename" : "testdata.csv", "containerType" : "codelist", "containerId" : "1989aae96bdaa4c2b8768fcc" }
HTTP/1.1 200 OK Content-Disposition: attachment;filename=testdata.csv Content-Type: application/octet-stream Content-Length: 124 status.key;effectiveDate;approvedOn status.status.key;effectiveDate;approvedOn ActiveStatus;myEffectiveDate;myApprovedOn ActiveStatus;myEffectiveDate;myApprovedOn
To which folder/path does it export the csv file? Can we customize that and choose our own secure agent directory path?
Hi Arindam,
We’re working to address your comments and will get back to you.
Thanks,
Informatica Documentation team
Is there any update on this please?
Hi Arindam,
The data is not directly exported to any CSV file. The API response contains the exported code values. You can use your REST API client to save the response with the exported code values to a CSV file.
We've also updated the lead-in sentence of the sample response in the documentation for clarity.
Thanks,
Informatica Documentation team
Understood, then why we are passing the key value pair ("filename" : "testdata.csv") in the JSON payload if we have to save the file manually ?
Hi Arindam,
The "filename":"testdata.csv" parameter in the request is a mandatory parameter that maps to the Content-Disposition header in the response, and it specifies whether the content can be displayed in a browser or saved as an attachment. In this case, when you save the response to a file locally, it gets saved with the file name as testdata.csv.
We'll update the description for the "filename" parameter in the documentation and update the comment thread as soon as the updates are published.
Thanks,
Informatica Documentation team
Hi Arindam,
We’re happy to let you know that we addressed your feedback in the documentation.
You can find the updated description for the filename parameter in Export code values to a csv file.
Thanks,
Informatica Documentation team