Business Transaction Service
Overview - Business Context RESTful Service
Service | Description |
---|---|
Get all business context instances | This service returns information of all existing business context instances. |
Get one business context instance | This service returns information on existing business context instances (application). |
Get all business transactions of an application | This service returns all business transactions of an application. |
Get detailed information of a business transaction and application | This service returns detailed information of a business transaction and application. |
Overview - Business Context Definition RESTful Service
Service | Description |
---|---|
Get all business context definitions | This service returns information of all existing business context definition. |
Get detailed information of one business context definition | This service returns information on existing business context definition (application definition). |
Get information of all business transaction definitions of an application | This service returns all business transactions of an application. |
Get detailed information of one business transaction definition and application | This service returns detailed information of a business transaction and application. |
1. Get all business context instances
Path: | /rest/bc/app |
---|---|
Example URI: | /rest/bc/app |
Example output: | [ { "id": -1133255037, "name": "Calculator", "applicationDefinitionId": -1866447452 } ] |
2. Get one business context instance
Path: | /rest/bc/app/{id} |
---|---|
Parameters: |
|
Example URI: | /rest/bc/app/-1133255037 |
Example output: | { "id": -1133255037, "name": "Calculator", "applicationDefinitionId": -1866447452 } |
3. Get all business transactions of an application
Path: | /rest/bc/app/{id}/btx |
---|---|
Parameters: |
|
Example URI: | /rest/bc/app/-1133255037/btx |
Example output: | [ { "id": 463443944, "businessTransactionDefinitionId": 58868659, "name": "actionPerformMethod" } ] |
4. Get detailed information of a business transaction and application
Path: | /rest/bc/app/{id}/btx/{businessTxId} |
---|---|
Parameters: |
|
Example URI: | /rest/bc/app/-1133255037/btx/463443944 |
Example output: | { "id": 463443944, "businessTransactionDefinitionId": 58868659, "name": "actionPerformMethod" } |
1. Get all business context definitions
Path: | /rest/bc/definition/app |
---|---|
Example URI: | /rest/bc/definition/app |
Example output: | [ { "id": -1866447452, "applicationName": "Calculator", "description": null, "matchingRuleExpression": { "@type": "OR", "operands": [ { "@type": "StringMatching", "matchingType": "EQUALS", "snippet": "127.0.0.1", "stringValueSource": { "@class": "rocks.inspectit.shared.cs.ci.business.valuesource.impl.HostValueSource" }, "searchNodeInTrace": false, "maxSearchDepth": -1 } ] } }, { "id": 1952140054, "applicationName": "TestApp", "description": null, "matchingRuleExpression": { "@type": "OR", "operands": [ { "@type": "StringMatching", "matchingType": "CONTAINS", "snippet": "test", "stringValueSource": { "@class": "rocks.inspectit.shared.cs.ci.business.valuesource.impl.HttpUriValueSource" }, "searchNodeInTrace": false, "maxSearchDepth": -1 }, { "@type": "NOT", "operand": { "@type": "StringMatching", "matchingType": "EQUALS", "snippet": "my.method()", "stringValueSource": { "@class": "rocks.inspectit.shared.cs.ci.business.valuesource.impl.MethodSignatureValueSource" }, "searchNodeInTrace": true, "maxSearchDepth": -1 } } ] } } ] |
2. Get detailed information of one business context definition
Path: | /rest/bc/definition/app/{id} |
---|---|
Parameters: |
|
Example URI: | /rest/bc/definition/app/1952140054 |
Example output: | { "id": 1952140054, "applicationName": "TestApp", "description": null, "matchingRuleExpression": { "@type": "OR", "operands": [ { "@type": "StringMatching", "matchingType": "CONTAINS", "snippet": "test", "stringValueSource": { "@class": "rocks.inspectit.shared.cs.ci.business.valuesource.impl.HttpUriValueSource" }, "searchNodeInTrace": false, "maxSearchDepth": -1 }, { "@type": "NOT", "operand": { "@type": "StringMatching", "matchingType": "EQUALS", "snippet": "my.method()", "stringValueSource": { "@class": "rocks.inspectit.shared.cs.ci.business.valuesource.impl.MethodSignatureValueSource" }, "searchNodeInTrace": true, "maxSearchDepth": -1 } } ] } } |
3. Get information of all business transaction definitions of an application
Path: | /rest/bc/definition/app/{id}/btx |
---|---|
Parameters: |
|
Example URI: | /rest/bc/definition/app/1952140054/btx |
Example output: | [ { "id": 0, "businessTransactionDefinitionName": "Unknown Transaction", "nameExtractionExpression": null, "description": null, "matchingRuleExpression": { "@type": "Boolean", "value": true }, "changeable": false } ] |
4. Get detailed information of one business transaction definition and application
Path: | /rest/bc/definition/app/{id}/btx/{businessTxId} |
---|---|
Parameters: |
|
Example URI: | /rest/bc/definition/app/1952140054/btx/0 |
Example output: | { "id": 0, "businessTransactionDefinitionName": "Unknown Transaction", "nameExtractionExpression": null, "description": null, "matchingRuleExpression": { "@type": "Boolean", "value": true }, "changeable": false } |