Packages API
If no binary files are transferred, the request body should be passed in the JSON format:
{
"campaignUuid" : "8f6bd9c9-468f-4c30-9e21-2e942b47d8a5",
"workforceUuid" : "0a0315d0-c917-11e5-81c5-22000bb0e696",
"fileSeparator" : ",",
"mainData" : "colA,colB\r\nvalA1,valB1\r\nvalA2,valB2"
}
Request headers:
- Authorization: Basic
- Accept: application/json
- Content-Type: application/json
Package import conflict resolution types:
CREATE_WITH_NEW_NAME
REPLACE_EXISTING
SKIP_IMPORT
note
Authorization is required.
| Method | URL | Description | Parameters | Example |
|---|---|---|---|---|
| GET | /runs/{uuid}/packages | retrieve list of existing packages for specified run |
|
|
| POST | /runs/{uuid}/packages | create new package for specified run | CreatePackageDto |
|
| GET | /packages/{uuid}/file | download package by specified UUID |
|
|
| DELETE | /packages/{uuid} | delete package by specified UUID | ||
| GET | /runs/{uuid}/data-stores | retrieve list of used data stores in specified run | ||
| POST | /packages/import | import provided package | packageFile, Optional: conflictResolutions (PackageConflictsDto) |
|