The <startTransactionResp> response returns the result of starting a database transaction. If the response error code indicates success, then the database transaction was successfully started. If any failure response is returned, then the database transaction was not started.
lengthInBytes <startTransactionResp [id="id"]> [ originalXMLRequest ] <res error="error" affected="affected" [description="description"]/> </startTransactionResp>
The parameters for all of the response commands are shown in XML Response Messages.
Error Code | Description |
---|---|
SUCCESS | Transaction was successfully started. |
NO_WRITE_PERMISSION | The client making the connection does not have write access permissions. |
WRITE_UNAVAILABLE | Another client already has a transaction open. This will only be returned to clients who do have write access permissions. |
ACTIVE_TXN | A transaction is already open on this connection. |