Cancel Transaction

Cancels the current transaction, available only while the transaction is running.

  • transactionManagerSessionIdentifier: Transaction session identifier, as given during connects.
  • transactionIdentifier: The identifier of the transaction, as given on start transaction.
  • removeIfNoRuns: if true - remove the transaction entity, if no runs for it exist; if false – keep the transaction entity in the controller db for future usage.

Request

JSON

URL http://ip:port/shunra/api/transactionmanager/transaction/{transactionManagerSessionIdentifier}/{transactionIdentifier}?removeIfNoRuns=true
HTTP Method DELETE
HTTP Headers

Content-Type: application/json

Accept: application/json

Authorization: See Web Services Authentication.

Body None

XML

URL http://ip:port/shunra/api/transactionmanager/transaction/{transactionManagerSessionIdentifier}/{transactionIdentifier}?removeIfNoRuns=true
HTTP Method DELETE
HTTP Headers

Content-Type: application/xml

Accept: application/xml

Authorization: See Web Services Authentication.

Body None

Response

HTTP Response Code 204 - No content
HTTP Headers  
HTTP Body