UpdateData

Description

Updates the database with the data in the filled DataSet.

If "inTransaction" is set to true, the update will be performed in a transaction. If an error occurs, a rollback for the whole update will be executed. Since the operation will perform a rollback if an error occurs, the return value will not have any function when the a transaction is used.
Signature
ErrorMessage[] UpdateData(string key, string projectId, DatabaseType databaseType, string uniqueKey, DataSet data, bool inTransaction)

Parameters

Name Data Type Description

key

string required

The authentication key

projectId

string required

The projectId

databaseType

DatabaseType required

Production or Test.

uniqueKey

string required

Custom key used during transfer. This key is used instead of responseid.

data

DataSet

DataSet to be Updated.

inTransaction

bool

True runs the update in a transaction, False does not.

Response

Data Type Description

Example