Example Transaction ------------------- * task: GET transaction instance ``tool/Transaction/01de8720-d627-4e53-8e1b-e1ad66edb7bd/`` * user: site administrator * hierarchy: ``55b9dc81a6165413b9d16ab6`` The transaction shows the workflow steps to delete the instance of the ``relation/LineRelation``. The example is from the JSON format of the transaction with detail: "Delete Line Relation". :: curl -v -H 'Authorization: Basic YWRtaW5AbG9jdXMxLmNvbTpwYXNzd29yZA==' 'http://localhost/api/tool/Transaction/01de8720-d627-4e53-8e1b-e1ad66edb7bd/ ?hierarchy=55b9dc81a6165413b9d16ab6 &nowait=true &format=json' + About to connect() to localhost port 80 (#0) + Trying 127.0.0.1... connected > GET /api/tool/Transaction/01de8720-d627-4e53-8e1b-e1ad66edb7bd/ ?hierarchy=55b9dc81a6165413b9d16ab6 &nowait=true &format=json HTTP/1.1 > User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3 > Host: localhost > Accept: */* > Authorization: Basic YWRtaW5AbG9jdXMxLmNvbTpwYXNzd29yZA== > < HTTP/1.1 202 ACCEPTED < Server: nginx/1.1.19 < Date: Fri, 31 Jul 2015 11:44:27 GMT < Content-Type: application/json < Transfer-Encoding: chunked < Connection: keep-alive < Vary: Accept, Cookie, Accept-Language, X-CSRFToken < Content-Language: en-us < Allow: GET, POST, HEAD, OPTIONS < X-CSRFToken: pcWhI6fzSbevYskrNVcP34JDZOWH6Nti < Set-Cookie: csrftoken=pcWhI6fzSbevYskrNVcP34JDZOWH6Nti; SameSite=Lax; httponly; Path=/ < Set-Cookie: sessionid=nyoefznzm1qy9t51qq6v2x0vgkmbvbij; SameSite=Lax; httponly; Path=/ < Response JSON ``data`` attribute snippet showing some workflow steps: :: { ... "data": { "username": "admin", "status": "Success", "rolled_back": "No", "resource": { "hierarchy": "sys.prov1.cust1.locus1", "model_type": "relation/LineRelation", "current_state": "/api/relation/LineRelation/55ba2482a6165413b9d19fb8/ Entity", "pkid": "55ba2482a6165413b9d19fb8" }, "log": [ { "severity": "info", "format": "text", "log_id": "55ba24bea6165413b9d19fcd", "href": "/api/tool/Transaction/01de8720-d627-4e53-8e1b-e1ad66edb7bd/log/ ?log_id=55ba24bea6165413b9d19fcd", "time": "2015-07-30T13:21:02.637000", "message": "Step 2 - End", "transaction_id": "01de8720-d627-4e53-8e1b-e1ad66edb7bd" }, { "severity": "info", "format": "text", "log_id": "55ba24bea6165413b9d19fcc", "href": "/api/tool/Transaction/01de8720-d627-4e53-8e1b-e1ad66edb7bd/log/ ?log_id=55ba24bea6165413b9d19fcc", "time": "2015-07-30T13:21:02.637000", "message": "Step 2 - Condition unmet, skipping step. \n[\n ..(SNIPPED) "transaction_id": "01de8720-d627-4e53-8e1b-e1ad66edb7bd" }, { "severity": "info", "format": "text", "log_id": "55ba24bea6165413b9d19fcb", "href": "/api/tool/Transaction/01de8720-d627-4e53-8e1b-e1ad66edb7bd/log/ ?log_id=55ba24bea6165413b9d19fcb", "time": "2015-07-30T13:21:02.609000", "message": "Step 2 - Start update data/InternalNumberInventory\nat hierarchy level ..(SNIPPED) "transaction_id": "01de8720-d627-4e53-8e1b-e1ad66edb7bd" }, { "severity": "info", "format": "text", "log_id": "55ba24bea6165413b9d19fca", "href": "/api/tool/Transaction/01de8720-d627-4e53-8e1b-e1ad66edb7bd/log/ ?log_id=55ba24bea6165413b9d19fca", "time": "2015-07-30T13:21:02.605000", "message": "Step 1 - End", "transaction_id": "01de8720-d627-4e53-8e1b-e1ad66edb7bd" }, { "severity": "info", "format": "text", "log_id": "55ba24bda6165413b9d19fc5", "href": "/api/tool/Transaction/01de8720-d627-4e53-8e1b-e1ad66edb7bd/log/ ?log_id=55ba24bda6165413b9d19fc5", "time": "2015-07-30T13:21:01.280000", "message": "Step 1 - Start remove device/cucm/Line\n at hierarchy level sys.prov1.cust1.locus1", "transaction_id": "01de8720-d627-4e53-8e1b-e1ad66edb7bd" }, ...