REST API Reference

REST API Reference

Data Set Versions

Data Set Versions

The datasetversions request lists information on all versions of a data set. If you include query parameters in the request, it returns information that matches the query parameters.

Resource URL

/tdw/v1/datasetversions

HTTP Request

GET http(s)://
<host>
:
<port>
/api/public/tdw/v1/datasetversions

Request Header

The request header includes the following headers:
Header
Description
accept
Use the following value:
application/json
Authorization
Required. Use the following value:
Basic <user name>

Request Query Parameters

The request includes the following optional query parameters:
Parameter
Description
name
Name of the data set version. If you include a specific version of a data set, the response includes information on the specific data set version.
datasetName
Name of the data set. If you include the name of a data set, the response includes information on all versions of the data set.
filter
Filters based on criteria.
sort
Sorts based on criteria. You can enter more than one field name as criteria. By default, sorts in ascending order of criteria.
For example, to sort data sets based on ID in descending order enter:
id:desc
start
The start index of the list.
size
The number of records that you want to return.

Sample Request

GET http://<host>:6605/api/public/tdw/v1/datasetversions?name=CopyDatapackFromDataset%20Version1

Sample Response

[ { "id": "0ca3b8d5-d8bc-4e81-9e0e-2a34cf16ce6e", "name": "CopyDatapackFromDataset Version1", "martId": "717b6c6c-cf35-4113-be9a-3739f68b88b9", "datasetName": "CopyDatapackFromDataset", "tables": [ { "id": "cb8bc060-b64f-4197-9a7f-cd8b251cb132", "sourceTableName": "REF_ORDER_ITEM_STATUS_CODES_11", "sourceOwnerName": "LOYALTY" }, { "id": "e6d5b9fc-9210-4d9d-9199-29a413d17b6b", "sourceTableName": "ORDERS_11", "sourceOwnerName": "LOYALTY" }, { "id": "111362c9-7ce3-44a0-9741-0a96caf33064", "sourceTableName": "PRODUCTS_11", "sourceOwnerName": "LOYALTY" }, { "id": "c70be577-aa2b-4c22-8770-71b41a9030e4", "sourceTableName": "SHIPMENT_ITEMS_11", "sourceOwnerName": "LOYALTY" }, { "id": "2a31d501-0b3d-4f1c-a7ea-d765248e133d", "sourceTableName": "ORDERDETAILS_11", "sourceOwnerName": "LOYALTY" }, { "id": "e8a30a18-72b9-4999-8c0f-56de7c67d96a", "sourceTableName": "INVOICES_11", "sourceOwnerName": "LOYALTY" }, { "id": "20ec3421-3729-462d-8994-47b23ef826f3", "sourceTableName": "REF_ORDER_STATUS_CODES_11", "sourceOwnerName": "LOYALTY" }, { "id": "b34c012c-f05b-46e8-ad5f-2524cb4fa70a", "sourceTableName": "SHIPMENTS_11", "sourceOwnerName": "LOYALTY" }, { "id": "47d144a1-57e4-48a1-89d8-ab631f66f54d", "sourceTableName": "CUSTOMERS_11", "sourceOwnerName": "LOYALTY" }, { "id": "f62e079a-c5c0-4448-b095-dc86edf645e2", "sourceTableName": "REF_INVOICE_STATUS_CODES_11", "sourceOwnerName": "LOYALTY" }, { "id": "076ca778-ec0e-4f1e-a417-131f8ff3773c", "sourceTableName": "PAYMENTS_11", "sourceOwnerName": "LOYALTY" } ], "datasetVersionNumber": 1, "associatedPlanName": null, "applicationName": "ChangeDesc", "applicationVersion": "1", "isExecuted": 0, "sourceConnDatabaseType": "Relational", "isLocked": 0, "createdDomainName": "Domain", "createdUserName": "PCUSER1", "createdNamespace": "Native", "creationDate": 1541968987206, "executionDate": 1541969018580, "lastRestoreDate": 0, "connectionName": "SRC_OT1541965408237", "projectName": null, "jobId": "179" } ]

0 COMMENTS

We’d like to hear from you!