5.22 CSV File API for Activity Batch Processing

For Enterprises performing metered billing (e.g., billing for storage or bandwidth), there is now a new API that permits you to send large volumes of data in a traditional CSV file. While we've always had a REST based XML API for sending individual or batch data, this new enhancement provides clients with large data volumes a more efficient mechanism for transmitting millions of records. Everything from mainframes to database export utilities handle the ubiquitous CSV file format and the new file API permits you to send large files and retrieve a response file that shows the status of each record in the file. The File API also allows you to update previously inserted records.

1. Insert new activity records

POST    /file/activityBatch/uploadCsvFile

Notes: 

Return Codes:

2. Query for Response File

GET    /file/activityBatch/status/[Activity Batch Id]

Notes: 

Return Codes:

 

3. Update existing activity records (try Update, then Insert)

PUT    /file/activityBatch/uploadCsvFile

Notes: 

Return Codes:

 4. Bulk Query for Activity

GET    /file/activityBatch/downloadCsvFile?beginDate=[yyyy-MM-dd]&endDate=[yyyy-MM-dd]&max=[x]&offset=[z]


Notes: 

Return Codes: