Page tree

 

This is the latest version of the APIs.

Contents:


Create a new wrangled dataset from the specified imported dataset or wrangled dataset. Wrangled dataset is owned by the authenticated user.

Tip: In the Trifacta application UI, the WrangledDataset object is called a recipe.

Version:  v4

Required Permissions

NOTE: Each request to the Trifacta® platform must include authentication credentials. See API Authentication.

Request

Request Type: POST

Endpoint:

/v4/wrangledDatasets/

 

Request Body - Imported Dataset:

{
  "name": "POS - PROD 2",
  "importedDataset": {
    "id": 2
  },
  "flow": {
    "id": 1
  }
}

Request Body - Wrangled Dataset:

 
{
  "name": "POS - PROD 3",
  "wrangledDataset": {
    "id": 8
  },
  "flow": {
    "id": 1
  }
}

Response

Response Status Code - Success:  201 - Created

Response Body Example - Imported Dataset:

{
    "id": 8,
    "wrangled": true,
    "updatedAt": "2018-02-06T19:59:22.735Z",
    "createdAt": "2018-02-06T19:59:22.698Z",
    "name": "POS - PROD 2",
    "active": true,
    "referenceInfo": null,
    "activeSample": {
        "id": 8
    },
    "creator": {
        "id": 1
    },
    "updater": {
        "id": 1
    },
    "recipe": {
        "id": 8
    },
    "flow": {
        "id": 1
    }
}

Response Body Example - Wrangled Dataset:

{
    "id": 9,
    "wrangled": true,
    "updatedAt": "2018-02-06T20:01:26.368Z",
    "createdAt": "2018-02-06T20:01:26.329Z",
    "name": "POS - PROD 3",
    "active": true,
    "referenceInfo": null,
    "activeSample": {
        "id": 9
    },
    "creator": {
        "id": 1
    },
    "updater": {
        "id": 1
    },
    "recipe": {
        "id": 9
    },
    "flow": {
        "id": 1
    }
}

Reference

For more information on the properties of a wrangled dataset, see API WrangledDatasets Get v4.

 

This page has no comments.