Description
Allows users to export a collection with the default view.
URL parameters
URL parameter ordering
The URL parameters below are listed in the order they should be entered in the API URL.
| Name | Required | Type | Description |
|---|---|---|---|
CollectionID |
True | numeric | Unique identifier of the collection. |
FileFormat |
False | string | CSV, TSV, XML, JSON, and XLSX. Default is CSV. |
BookmarkID |
False | numeric | Unique identifier of the bookmark. |
UseDataTable |
False | boolean | Yes, No – Yes to use the "Most recent completed run" and No for the "Harvesting Results". Default is Yes. |
ViewParameter.JobID |
False | numeric | The JobID that you want the items pulled from. |
ItemStatusInclueColumn |
False | boolean | Yes, No – Yes to include the column in the data file. Default is No. See additional options below. |
Note
If you have checked the "Do not create chronological bookmarks to organize collection data" harvest setting, then you must set the UseDataTable parameter to No.
Optional parameters for ItemStatusInclude
| Name | Required | Type | Description |
|---|---|---|---|
ItemStatusIncludeAdded |
False | boolean | Yes, No. Include added items. |
ItemStatusIncludeChanged |
False | boolean | Yes, No. Include changed items. |
ItemStatusIncludeUnchanged |
False | boolean | Yes, No. Include unchanged items. |
ItemStatusIncludeDeleted |
False | boolean | Yes, No. Include deleted items. |
ItemStatusIncludeChangeMarkup |
False | boolean | Yes, No. Include a column with the changed markup. |
Responses
Automatically download the file for the selected view.
Sample request
curl -X GET 'https://api.mozenda.com/rest?WebServiceKey=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&Service=Mozenda10&Operation=Collection.Export&CollectionID=15388