Retrieving CSV Exports

The response body is a binary file and can be saved locally. This file with the ending csv.gz is a zipped CSV file, so it must be extracted first.

Endpoint 

<CGCloud Processing Services Integration>/api/v1/files/getcsv/{{csvGuid}}?path={{full or delta}}

You can get the CGCloud Processing Services Integration value from the Processing Services Pairing App page in your Salesforce org.

Note

HTTP Method 

GET

URL ParameterMandatorySample Values
csvGuidYes3b549543-d420-401a-b424-29c7f3c75713
pathYesMust be either:
  • tpm/long/export/full (to retrieve a full export)
  • tpm/long/export/delta (to retrieve a delta export)