Committing CSV Export
Use the Commit CSV Export API to commit a specific csvGuid and take the related CSV as a new baseline for future delta exports. This means after this commit, the next delta export contains only those records in the KPIs that have been either added, changed, or deleted from the previous committed state.
The current version of a metadata configuration is available in the response of Checking Job Status. For example: "metaVersion": 8. If the underlying RTR Report Configuration record in a Salesforce org changes, then the previous commit is no longer valid for a delta export. A full export is scheduled next time.
/services/apexrest/cgcloud/measures/export/{{csvguid}}/commit
POST
| URL Parameter | Sample Value | Description |
|---|---|---|
csvGuid | 3b549543-d420-401a-b424-29c7f3c75713 | Enter the csvGuid value of the scheduled CSV export. This value is received as a response to the API request sent to Triggering CSV Exports API. |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
businessyear | Yes | Integer | Enter the business year for which the CSV export must be triggered. |
metaname | Yes | String | Enter the Internal Name of the RTR Report Configuration. |
salesorg | Yes | String | Enter the Salesorg ID. |