Method GetTraceSwitches
GetTraceSwitches(String)
Retrieve a predefined list of trace switches
Declaration
List<TraceSwitchConfigContract> GetTraceSwitches(string connectionId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<TraceSwitchConfigContract> | Trace switch list |
Examples
POST http://YourServerName/InfoShare/Json/Server/GetTraceSwitches
Retrieve a predefined list of trace switches.{
"connectionId": "af45c56c-da84-4f2e-a186-6240c1d6bb9b"
}
Response:
{
"GetTraceSwitchesResult": [
{
"DisplayName": {
"Values": [
{
"Culture": "de",
"Text": "Generelle Informationen aufzeichnen"
}
]
},
"IsBooleanSwitch": false,
"Name": "Dcis.Workspace.Distributor",
"Value": 0
},
{
"DisplayName": {
"Values": [
{
"Culture": "de",
"Text": "SQL-Befehle aufzeichnen"
}
]
},
"IsBooleanSwitch": false,
"Name": "Dcis.VersionStore.Rdb.Internal",
"Value": 0
},
{
"DisplayName": {
"Values": [
{
"Culture": "de",
"Text": "Lizenzinformationen aufzeichnen"
}
]
},
"IsBooleanSwitch": false,
"Name": "Dcis.Workspace.LicenceMgmtSwitch",
"Value": 0
},
{
"DisplayName": {
"Values": [
{
"Culture": "de",
"Text": "DocumentAnalyzerOperationen aufzeichnen"
}
]
},
"IsBooleanSwitch": false,
"Name": "Dcis.Workspace.DocumentAnalyzer",
"Value": 0
},
{
"DisplayName": {
"Values": [
{
"Culture": "de",
"Text": "Mailversand aufzeichnen"
}
]
},
"IsBooleanSwitch": false,
"Name": "Dcis.Workspace.MailSendSwitch",
"Value": 0
},
{
"DisplayName": {
"Values": [
{
"Culture": "de",
"Text": "Ereignisse von TranscodingPluginGDPicture aufzeichnen"
}
]
},
"IsBooleanSwitch": false,
"Name": "TranscodingPluginGDPicture",
"Value": 0
},
{
"DisplayName": {
"Values": [
{
"Culture": "de",
"Text": "Ereignisse von TranscodingPluginAspose aufzeichnen"
}
]
},
"IsBooleanSwitch": false,
"Name": "TranscodingPluginAspose",
"Value": 0
},
{
"DisplayName": {
"Values": [
{
"Culture": "de",
"Text": "WCF-Ausnahmen"
}
]
},
"IsBooleanSwitch": false,
"Name": "WCFExecptions",
"Value": 0
},
{
"DisplayName": {
"Values": [
{
"Culture": "de",
"Text": "Token Kapazität"
}
]
},
"IsBooleanSwitch": false,
"Name": "TokenPayload",
"Value": 0
},
{
"DisplayName": {
"Values": [
{
"Culture": "de",
"Text": "Genehmigung mobiler Rechnungen"
}
]
},
"IsBooleanSwitch": false,
"Name": "MobileInvoiceApproval",
"Value": 0
},
{
"DisplayName": {
"Values": [
{
"Culture": "de",
"Text": "Verbindungs-Manager Ausnahmen"
}
]
},
"IsBooleanSwitch": false,
"Name": "ConnectionManagerExceptions",
"Value": 0
}
]
}
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |