In Release 4.2, the wrangled dataset object was removed from the application interface. This API endpoint remains, as the internal platform objects have not been modified. For more information, see Changes to the Object Model. |
Create a new wrangled dataset from the specified imported dataset or wrangled dataset. Wrangled dataset is owned by the authenticated user.
Version: v3
Request Type: POST
Endpoint:
/v3/wrangledDatasets/ |
Request Body - Imported Dataset:
{ "name": "Copy of Imported Dataset 2", "importedDataset": { "id": 2 }, "flow": { "id": 2 } } |
Request Body - Wrangled Dataset:
{ "name": "Copy of Wrangled Dataset 18", "wrangledDataset": { "id": 18 }, "flow": { "id": 1 } } |
Response Status Code - Success: 201 - Created
Response Body Example - Imported Dataset:
{ "id": 23, "flowId": 2, "scriptId": 24, "wrangled": true, "createdBy": 1, "updatedBy": 1, "updatedAt": "2017-02-08T20:28:06.067Z", "createdAt": "2017-02-08T20:28:06.067Z", "flowNodeId": null, "deleted_at": null, "activesampleId": null, "name": "Copy of Imported Dataset 2", "active": true } |
Response Body Example - Wrangled Dataset:
{ "id": 20, "flowId": 2, "scriptId": 21, "wrangled": true, "createdBy": 1, "updatedBy": 1, "updatedAt": "2017-02-08T20:26:09.446Z", "createdAt": "2017-02-08T20:26:09.446Z", "flowNodeId": null, "deleted_at": null, "activesampleId": null, "name": "Copy of Wrangled Dataset 18", "active": true } |
For more information on the properties of a wrangled dataset, see API WrangledDatasets Get v3.