Retrieve Details of a TCC Transaction

get

/admin/v1/tcc-transaction/{id}

Retrieves details of the specified TCC transaction ID.

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : tcc-transaction
Type: object
Show Source
Nested Schema : participants
Type: array
Show Source
Nested Schema : items
Type: object
Show Source

400 Response

Invalid Arguments

401 Response

Unauthorized
Back to Top

Examples

cURL Command

The following example shows how to view details of a TCC transaction by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL.

Enter the command on a single line. Line breaks are used in this example for readability.

curl -X GET 
     -H "Authorization:Bearer $OTMM_COOKIE"
     https://192.0.2.1:8080/admin/v1/tcc-transaction/3885402b-1aa0-439a-af2c-63a3ea581ed5
  • OTMM_COOKIE is the name of the variable in which you stored the authentication cookie earlier. For information about retrieving the authentication cookie and storing it in a variable, see Authenticate.

  • 192.0.2.1:8080 is an example REST endpoint URL. Change this value to the REST endpoint URL to access the Istio ingress gateway in your environment. For information about finding out REST endpoint URL for your site, see Send Requests.

  • 3885402b-1aa0-439a-af2c-63a3ea581ed5 is an example value for a TCC transaction ID. Replace this value with the transaction ID of a TCC transaction in your environment.

Example of the Response Body

The following example shows the contents of the response body in JSON format. Example values have been truncated with ... to improve readability. When you view the response in your environment, you'll see the entire value.

{
  "encryptedEntry": "uu...",
  "end": 0,
  "hostname": "otmm-tcs-0",
  "id": "3885402b-1aa0-439a-af2c-63a3ea581ed5",
  "keyVersion": "1",
  "nonce": "oQKXXe2nfnWFeeo9",
  "participants": null,
  "status": "Active",
  "thumbprint": "Bearer eyJhbGci...",
  "timeLimit": 0,
  "userId": "43225c1d-a626-4519-8fca-7a60593e3fd5"
}
Back to Top