function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ruslans ScelkunovsRuslans Scelkunovs 

SalesForce WebAPI: Export data in CSV format with custom header

We have the following requirements for CSV data file export:
  1. a header row consisting of today's date in CCYYMMDD format + client reference number (hardcoded string);
  2. customer's data in each row: reference number, 'I' (for individual), Title, Forename, Middle Initial, Surname, [empty string], Date Of Birth in CCYYMMDD format;
Example:


file format sample

could someone confirm or deny whether it is possible to export such a file using SalesForce WebAPI? Preferably using RESTful GET over https.