Commit a transaction (PUT)


The PUT command commits a transaction that you have already initiated. To perform this procedure, you must have Operator-level access, or higher.

Command overview

Method — PUT
 Resource — Transaction
 Resource identifier — Transaction identifier (tid) returned in the request that initiated the transaction

Parameters

Parameter

Description

Example

usr 1

A valid system user name (case sensitive)

usr=myUsername

pwd 1

The password that corresponds with the usr (user name) parameter (case sensitive)

pwd=myPassword

 1 This parameter is required.

Sample request

https://10.0.0.1/rest/configurationapi/transactionapi/1.0/transaction/7484?usr=jdoe&pwd=pa55w0rd!

Sample successful response

<?xml version="1.0" encoding="UTF-8"?>
<response>
<status result="success"></status>
</response>

Sample unsuccessful response

<?xml version="1.0" encoding="UTF-8"?>
<response>
<status result="failure">
 <msg code="XXXXX" severity="ERROR">Execution failure.
  Transaction is already committed.</msg>
</status>
</response>

Related topic

Transaction-API-XML-reference

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*