Description
This method commits and closes a database transaction identified by the transactionId parameter as previously opened via the beginTransaction method. This finalises any SQL statements executed within the transaction via any earlier calls to the executeSQL method specifying the same transactionId. The transaction will be closed and unavailable after this call.
Parameters
- transactionId (string, required)
UUID identifier of the transaction to commit.
Example request parameters with datasource parameter:
Example response:
{
"transactionId": "de305d54-75b4-431b-adb2-eb6b9e546013",
"statementsExecuted": 3,
"created": "2015-01-20T10:46:03Z",
"lastUsed": "2015-01-20T10:46:15Z"
}