---
title: "Edit DataSet Data Connector"
method: PUT
path: "/dataset/dataConnector/{dataSetId}"
tags: ["dataset"]
---

# Edit DataSet Data Connector

`PUT /dataset/dataConnector/{dataSetId}`

Edit a DataSet Data Connector

## Path parameters

- `dataSetId` integer, required

## Response `200`

successful operation

- DataSet — Class DataSet
  - `dataSetId` integer — The dataSetId
  - `dataSet` string — The dataSet Name
  - `description` string — The dataSet description
  - `userId` integer — The userId of the User that owns this DataSet
  - `lastDataEdit` integer — Timestamp indicating the date/time this DataSet was edited last
  - `owner` string — The user name of the User that owns this DataSet
  - `groupsWithPermissions` string — A comma separated list of Groups/Users that have permission to this DataSet
  - `code` string — A code for this Data Set
  - `isLookup` integer — Flag to indicate whether this DataSet is a lookup table
  - `isRemote` integer — Flag to indicate whether this DataSet is Remote
  - `isRealTime` integer — Flag to indicate whether this DataSet is Real time
  - `dataConnectorSource` string — Indicates the source of the data connector. Requires the Real time flag. Can be null, user-defined, or a connector.
  - `method` string — Method to fetch the Data, can be GET or POST
  - `uri` string — URI to call to fetch Data from. Replacements are {{DATE}}, {{TIME}} and, in case this is a sequencial used DataSet, {{COL.NAME}} where NAME is a ColumnName from the underlying DataSet.
  - `postData` string — Data to send as POST-Data to the remote host with the same Replacements as in the URI.
  - `authentication` string — Authentication method, can be none, digest, basic
  - `username` string — Username to authenticate with
  - `password` string — Corresponding password
  - `customHeaders` string — Comma separated string of custom HTTP headers
  - `userAgent` string — Custom User agent
  - `refreshRate` integer — Time in seconds this DataSet should fetch new Datas from the remote host
  - `clearRate` integer — Time in seconds when this Dataset should be cleared. If here is a lower value than in RefreshRate it will be cleared when the data is refreshed
  - `truncateOnEmpty` integer — Flag whether to truncate DataSet data if no new data is pulled from remote source
  - `runsAfter` integer — DataSetID of the DataSet which should be fetched and present before the Data from this DataSet are fetched
  - `lastSync` integer — Last Synchronisation Timestamp
  - `lastClear` integer — Last Clear Timestamp
  - `dataRoot` string — Root-Element form JSON where the data are stored in
  - `summarize` string — Optional function to use for summarize or count unique fields in a remote request
  - `summarizeField` string — JSON-Element below the Root-Element on which the consolidation should be applied on
  - `sourceId` integer — The source id for remote dataSet, 1 - JSON, 2 - CSV
  - `ignoreFirstRow` integer — A flag whether to ignore the first row, for CSV source remote dataSet
  - `rowLimit` integer — Soft limit on number of rows per DataSet, if left empty the global DataSet row limit will be used.
  - `limitPolicy` string — Type of action that should be taken on next remote DataSet sync - stop, fifo or truncate
  - `csvSeparator` string — Custom separator for CSV source, comma will be used by default
  - `folderId` integer — The id of the Folder this DataSet belongs to
  - `permissionsFolderId` integer — The id of the Folder responsible for providing permissions for this DataSet

---

[API](https://skmtc.net/xibosignage/apis/xibo-api.md) · [All operations](https://skmtc.net/xibosignage/apis/xibo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xibosignage/xibo-api/versions/fe497e811c7f/schema)
