SOAP API LookupService, Methods
Method: GetClassifications
Description
Retrieve Classifications.
Input
The input of this method is the argument GetClassifications that is always empty.
Output
List of int ID values and string names.
Element | Type | Nillable? | Description |
---|---|---|---|
GetClassificationsResult | PickListDataResults | Yes | List object used for paging list of key value pairs. |
Faults
Name | Content | Description |
---|---|---|
LogRhythmWebServiceFaultFault | LogRhythmWebServiceFault | This is the error message object for all of LogRhythm Web Services. This object provides custom meaningful error messages to the client while retaining security precautions for the system. |
EXAMPLE
private PickListDataResults GetClassifications()
{
LookupServiceClient lookupClient = null;
PickListDataResults result = null;
try
{
// Create connection to service.
lookupClient = new LookupServiceClient("LookupServiceBasicAuth_LookupService");
lookupClient.ClientCredentials.UserName.UserName = username;
lookupClient.ClientCredentials.UserName.Password = password;
// Call method retrieving data model.
result = lookupClient.GetClassifications();
}
finally
{
if (lookupClient != null && lookupClient.State != System.ServiceModel.CommunicationState.Faulted)
{
lookupClient.Close();
}
}
// This model is a single entity data model for the entity which ID was supplied. Or if not found you have a null object.
return result;
}
Method: GetClassificationsByType
Description
Retrieve Classifications filtered by type.
Input
The input of this method is the argument GetClassificationsByType having the following structure.
Element | Type | Nillable? | Description |
---|---|---|---|
classificationType | int | No | Type of Classification being requested |
Output
List of int ID values and string names.
Element | Type | Nillable? | Description |
---|---|---|---|
GetClassificationsByTypeResult | PickListDataResults | Yes | List object used for paging list of key value pairs. |
Faults
Name | Content | Description |
---|---|---|
LogRhythmWebServiceFaultFault | LogRhythmWebServiceFault | This is the error message object for all of LogRhythm Web Services. This object provides custom meaningful error messages to the client while retaining security precautions for the system. |
EXAMPLE
private PickListDataResults GetClassificationsByType(int classificationType)
{
LookupServiceClient lookupClient = null;
PickListDataResults result = null;
try
{
// Create connection to service.
lookupClient = new LookupServiceClient("LookupServiceBasicAuth_LookupService");
lookupClient.ClientCredentials.UserName.UserName = username;
lookupClient.ClientCredentials.UserName.Password = password;
// Call method retrieving data model.
result = lookupClient.GetClassificationsByType(classificationType);
}
finally
{
if (lookupClient != null && lookupClient.State != System.ServiceModel.CommunicationState.Faulted)
{
lookupClient.Close();
}
}
// This model is a single entity data model for the entity which ID was supplied. Or if not found you have a null object.
return result;
}
Method: GetClassificationTypes
Description
Retrieve Classification Types.
Input
The input of this method is the argument GetClassificationTypes that is always empty.
Output
List of int ID values and string names.
Element | Type | Nillable? | Description |
---|---|---|---|
GetClassificationTypesResult | PickListDataResults | Yes | List object used for paging list of key value pairs. |
Faults
Name | Content | Description |
---|---|---|
LogRhythmWebServiceFaultFault | LogRhythmWebServiceFault | This is the error message object for all of LogRhythm Web Services. This object provides custom meaningful error messages to the client while retaining security precautions for the system. |
EXAMPLE
private PickListDataResults GetClassificationTypes()
{
LookupServiceClient lookupClient = null;
PickListDataResults result = null;
try
{
// Create connection to service.
lookupClient = new LookupServiceClient("LookupServiceBasicAuth_LookupService");
lookupClient.ClientCredentials.UserName.UserName = username;
lookupClient.ClientCredentials.UserName.Password = password;
// Call method retrieving data model.
result = lookupClient.GetClassificationTypes();
}
finally
{
if (lookupClient != null && lookupClient.State != System.ServiceModel.CommunicationState.Faulted)
{
lookupClient.Close();
}
}
// This model is a single entity data model for the entity which ID was supplied. Or if not found you have a null object.
return result;
}
Method: GetFieldFilterTypes
Description
Retrieve Field Filter Types.
Input
The input of this method is the argument GetFieldFilterTypes that is always empty.
Output
List of int ID values and string names.
Element | Type | Nillable? | Description |
---|---|---|---|
GetFieldFilterTypesResult | PickListDataResults | Yes | List object used for paging list of key value pairs. |
Faults
Name | Content | Description |
---|---|---|
LogRhythmWebServiceFaultFault | LogRhythmWebServiceFault | This is the error message object for all of LogRhythm Web Services. This object provides custom meaningful error messages to the client while retaining security precautions for the system. |
EXAMPLE
private PickListDataResults GetFieldFilterTypes()
{
LookupServiceClient lookupClient = null;
PickListDataResults result = null;
try
{
// Create connection to service.
lookupClient = new LookupServiceClient("LookupServiceBasicAuth_LookupService");
lookupClient.ClientCredentials.UserName.UserName = username;
lookupClient.ClientCredentials.UserName.Password = password;
// Call method retrieving data model.
result = lookupClient.GetFieldFilterTypes();
}
finally
{
if (lookupClient != null && lookupClient.State != System.ServiceModel.CommunicationState.Faulted)
{
lookupClient.Close();
}
}
// This model is a single entity data model for the entity which ID was supplied. Or if not found you have a null object.
return result;
}
Method: GetFirstPageCommonEvents
Description
Retrieve the first page of Common Events.
Input
The input of this method is the argument GetFirstPageCommonEvents having the following structure.
Element | Type | Nillable? | Description |
---|---|---|---|
maximumResultsPerPage | int | No | The maximum results per page. |
Output
Pick List Data Results with result set and next page ID.
Element | Type | Nillable? | Description |
---|---|---|---|
GetFirstPageCommonEventsResult | PickListDataResults | Yes | List object used for paging list of key value pairs. |
Faults
Name | Content | Description |
---|---|---|
LogRhythmWebServiceFaultFault | LogRhythmWebServiceFault | This is the error message object for all of LogRhythm Web Services. This object provides custom meaningful error messages to the client while retaining security precautions for the system. |
EXAMPLE
private PickListDataResults GetFirstPageCommonEvents(int maxResultsPerPage)
{
LookupServiceClient lookupClient = null;
PickListDataResults result = null;
try
{
// Create connection to service.
lookupClient = new LookupServiceClient("LookupServiceBasicAuth_LookupService");
lookupClient.ClientCredentials.UserName.UserName = username;
lookupClient.ClientCredentials.UserName.Password = password;
// Call method retrieving data model.
result = lookupClient.GetFirstPageCommonEvents(maxResultsPerPage);
}
finally
{
if (lookupClient != null && lookupClient.State != System.ServiceModel.CommunicationState.Faulted)
{
lookupClient.Close();
}
}
// This model is a single entity data model for the entity which ID was supplied. Or if not found you have a null object.
return result;
}
Method: GetFirstPageCommonEventsByClassificationID
Description
Retrieve the first page of Common Events.
Input
The input of this method is the argument GetFirstPageCommonEventsByClassificationID having the following structure.
Element | Type | Nillable? | Description |
---|---|---|---|
maximumResultsPerPage | int | No | The maximum results per page. |
classificationID | int | No | The classification ID. |
Output
Pick List Data Results with result set and next page ID.
Element | Type | Nillable? | Description |
---|---|---|---|
GetFirstPageCommonEventsByClassificationIDResult | PickListDataResults | Yes | List object used for paging list of key value pairs. |
Faults
Name | Content | Description |
---|---|---|
LogRhythmWebServiceFaultFault | LogRhythmWebServiceFault | This is the error message object for all of LogRhythm Web Services. This object provides custom meaningful error messages to the client while retaining security precautions for the system. |
EXAMPLE
private PickListDataResults GetFirstPageCommonEventsByClassificationID(int classificationID, int maxResultsPerPage)
{
LookupServiceClient lookupClient = null;
PickListDataResults result = null;
try
{
// Create connection to service.
lookupClient = new LookupServiceClient("LookupServiceBasicAuth_LookupService");
lookupClient.ClientCredentials.UserName.UserName = username;
lookupClient.ClientCredentials.UserName.Password = password;
// Call method retrieving data model.
result = lookupClient.GetFirstPageCommonEventsByClassificationID(maxResultsPerPage, classificationID);
}
finally
{
if (lookupClient != null && lookupClient.State != System.ServiceModel.CommunicationState.Faulted)
{
lookupClient.Close();
}
}
// This model is a single entity data model for the entity which ID was supplied. Or if not found you have a null object.
return result;
}
Method: GetFirstPageLogSources
Description
Retrieve the first page of Log Sources.
Input
The input of this method is the argument GetFirstPageLogSources having the following structure.
Element | Type | Nillable? | Description |
---|---|---|---|
maximumResultsPerPage | int | No | The maximum results per page. |
Output
List of int ID values and string names.
Element | Type | Nillable? | Description |
---|---|---|---|
GetFirstPageLogSourcesResult | PickListDataResults | Yes | List object used for paging list of key value pairs. |
Faults
Name | Content | Description |
---|---|---|
LogRhythmWebServiceFaultFault | LogRhythmWebServiceFault | This is the error message object for all of LogRhythm Web Services. This object provides custom meaningful error messages to the client while retaining security precautions for the system. |
EXAMPLE
private PickListDataResults GetFirstPageLogSources(int maxResultsPerPage)
{
LookupServiceClient lookupClient = null;
PickListDataResults result = null;
try
{
// Create connection to service.
lookupClient = new LookupServiceClient("LookupServiceBasicAuth_LookupService");
lookupClient.ClientCredentials.UserName.UserName = username;
lookupClient.ClientCredentials.UserName.Password = password;
// Call method retrieving data model.
result = lookupClient.GetFirstPageLogSources(maxResultsPerPage);
}
finally
{
if (lookupClient != null && lookupClient.State != System.ServiceModel.CommunicationState.Faulted)
{
lookupClient.Close();
}
}
// This model is a single entity data model for the entity which ID was supplied. Or if not found you have a null object.
return result;
}
Method: GetFirstPageLogSourcesByEntity
Description
Retrieve the first page of Log Sources filtered by entity.
Input
The input of this method is the argument GetFirstPageLogSourcesByEntity having the following structure.
Element | Type | Nillable? | Description |
---|---|---|---|
maximumResultsPerPage | int | No | The maximum results per page. |
entityID | int | No | The entity ID. |
Output
List of int ID values and string names.
Element | Type | Nillable? | Description |
---|---|---|---|
GetFirstPageLogSourcesByEntityResult | PickListDataResults | Yes | List object used for paging list of key value pairs. |
Faults
Name | Content | Description |
---|---|---|
LogRhythmWebServiceFaultFault | LogRhythmWebServiceFault | This is the error message object for all of LogRhythm Web Services. This object provides custom meaningful error messages to the client while retaining security precautions for the system. |
EXAMPLE
private PickListDataResults GetFirstPageLogSourcesByEntity(int entityID, int maxResultsPerPage)
{
LookupServiceClient lookupClient = null;
PickListDataResults result = null;
try
{
// Create connection to service.
lookupClient = new LookupServiceClient("LookupServiceBasicAuth_LookupService");
lookupClient.ClientCredentials.UserName.UserName = username;
lookupClient.ClientCredentials.UserName.Password = password;
// Call method retrieving data model.
result = lookupClient.GetFirstPageLogSourcesByEntity(maxResultsPerPage, entityID);
}
finally
{
if (lookupClient != null && lookupClient.State != System.ServiceModel.CommunicationState.Faulted)
{
lookupClient.Close();
}
}
// This model is a single entity data model for the entity which ID was supplied. Or if not found you have a null object.
return result;
}
Method: GetFirstPageMPERules
Description
Retrieve the first page of MPE Rules.
Input
The input of this method is the argument GetFirstPageMPERules having the following structure.
Element | Type | Nillable? | Description |
---|---|---|---|
maximumResultsPerPage | int | No | The maximum results per page. |
Output
Pick List Data Results with result set and next page ID.
Element | Type | Nillable? | Description |
---|---|---|---|
GetFirstPageMPERulesResult | PickListDataResults | Yes | List object used for paging list of key value pairs. |
Faults
Name | Content | Description |
---|---|---|
LogRhythmWebServiceFaultFault | LogRhythmWebServiceFault | This is the error message object for all of LogRhythm Web Services. This object provides custom meaningful error messages to the client while retaining security precautions for the system. |
EXAMPLE
private PickListDataResults GetFirstPageMPERules(int maxResultsPerPage)
{
LookupServiceClient lookupClient = null;
PickListDataResults result = null;
try
{
// Create connection to service.
lookupClient = new LookupServiceClient("LookupServiceBasicAuth_LookupService");
lookupClient.ClientCredentials.UserName.UserName = username;
lookupClient.ClientCredentials.UserName.Password = password;
// Call method retrieving data model.
result = lookupClient.GetFirstPageMPERules(maxResultsPerPage);
}
finally
{
if (lookupClient != null && lookupClient.State != System.ServiceModel.CommunicationState.Faulted)
{
lookupClient.Close();
}
}
// This model is a single entity data model for the entity which ID was supplied. Or if not found you have a null object.
return result;
}
Method: GetFirstPageMPERulesByLogSourceTypeID
Description
Retrieve the first page of MPE Rules.
Input
The input of this method is the argument GetFirstPageMPERulesByLogSourceTypeID having the following structure.
Element | Type | Nillable? | Description |
---|---|---|---|
maximumResultsPerPage | int | No | The maximum results per page. |
logSourceTypeID | int | No | The log source type ID. |
Output
Pick List Data Results with result set and next page ID.
Element | Type | Nillable? | Description |
---|---|---|---|
GetFirstPageMPERulesByLogSourceTypeIDResult | PickListDataResults | Yes | List object used for paging list of key value pairs. |
Faults
Name | Content | Description |
---|---|---|
LogRhythmWebServiceFaultFault | LogRhythmWebServiceFault | This is the error message object for all of LogRhythm Web Services. This object provides custom meaningful error messages to the client while retaining security precautions for the system. |
EXAMPLE
private PickListDataResults GetFirstPageMPERulesByLogSourceTypeID(int logSourceTypeID, int maxResultsPerPage)
{
LookupServiceClient lookupClient = null;
PickListDataResults result = null;
try
{
// Create connection to service.
lookupClient = new LookupServiceClient("LookupServiceBasicAuth_LookupService");
lookupClient.ClientCredentials.UserName.UserName = username;
lookupClient.ClientCredentials.UserName.Password = password;
// Call method retrieving data model.
result = lookupClient.GetFirstPageMPERulesByLogSourceTypeID(maxResultsPerPage, logSourceTypeID);
}
finally
{
if (lookupClient != null && lookupClient.State != System.ServiceModel.CommunicationState.Faulted)
{
lookupClient.Close();
}
}
// This model is a single entity data model for the entity which ID was supplied. Or if not found you have a null object.
return result;
}
Method: GetLogManagers
Description
Retrieve Log Managers.
Input
The input of this method is the argument GetLogManagers that is always empty.
Output
List of int ID values and string names.
Element | Type | Nillable? | Description |
---|---|---|---|
GetLogManagersResult | PickListDataResults | Yes | List object used for paging list of key value pairs. |
Faults
Name | Content | Description |
---|---|---|
LogRhythmWebServiceFaultFault | LogRhythmWebServiceFault | This is the error message object for all of LogRhythm Web Services. This object provides custom meaningful error messages to the client while retaining security precautions for the system. |
EXAMPLE
private PickListDataResults GetLogManagers()
{
LookupServiceClient lookupClient = null;
PickListDataResults result = null;
try
{
// Create connection to service.
lookupClient = new LookupServiceClient("LookupServiceBasicAuth_LookupService");
lookupClient.ClientCredentials.UserName.UserName = username;
lookupClient.ClientCredentials.UserName.Password = password;
// Call method retrieving data model.
result = lookupClient.GetLogManagers();
}
finally
{
if (lookupClient != null && lookupClient.State != System.ServiceModel.CommunicationState.Faulted)
{
lookupClient.Close();
}
}
// This model is a single entity data model for the entity which ID was supplied. Or if not found you have a null object.
return result;
}
Method: GetLogManagersByEntity
Description
Retrieve Log Managers filtered by entity.
Input
The input of this method is the argument GetLogManagersByEntity having the following structure.
Element | Type | Nillable? | Description |
---|---|---|---|
entityID | int | No | The entity ID. |
Output
List of int ID values and string names.
Element | Type | Nillable? | Description |
---|---|---|---|
GetLogManagersByEntityResult | PickListDataResults | Yes | List object used for paging list of key value pairs. |
Faults
Name | Content | Description |
---|---|---|
LogRhythmWebServiceFaultFault | LogRhythmWebServiceFault | This is the error message object for all of LogRhythm Web Services. This object provides custom meaningful error messages to the client while retaining security precautions for the system. |
EXAMPLE
private PickListDataResults GetLogManagersByEntity(int entityID)
{
LookupServiceClient lookupClient = null;
PickListDataResults result = null;
try
{
// Create connection to service.
lookupClient = new LookupServiceClient("LookupServiceBasicAuth_LookupService");
lookupClient.ClientCredentials.UserName.UserName = username;
lookupClient.ClientCredentials.UserName.Password = password;
// Call method retrieving data model.
result = lookupClient.GetLogManagersByEntity(entityID);
}
finally
{
if (lookupClient != null && lookupClient.State != System.ServiceModel.CommunicationState.Faulted)
{
lookupClient.Close();
}
}
// This model is a single entity data model for the entity which ID was supplied. Or if not found you have a null object.
return result;
}
Method: GetLogSourceTypes
Description
Retrieve Log Source Types.
Input
The input of this method is the argument GetLogSourceTypes that is always empty.
Output
List of int ID values and string names.
Element | Type | Nillable? | Description |
---|---|---|---|
GetLogSourceTypesResult | PickListDataResults | Yes | List object used for paging list of key value pairs. |
Faults
Name | Content | Description |
---|---|---|
LogRhythmWebServiceFaultFault | LogRhythmWebServiceFault | This is the error message object for all of LogRhythm Web Services. This object provides custom meaningful error messages to the client while retaining security precautions for the system. |
EXAMPLE
private PickListDataResults GetLogSourceTypes()
{
LookupServiceClient lookupClient = null;
PickListDataResults result = null;
try
{
// Create connection to service.
lookupClient = new LookupServiceClient("LookupServiceBasicAuth_LookupService");
lookupClient.ClientCredentials.UserName.UserName = username;
lookupClient.ClientCredentials.UserName.Password = password;
// Call method retrieving data model.
result = lookupClient.GetLogSourceTypes();
}
finally
{
if (lookupClient != null && lookupClient.State != System.ServiceModel.CommunicationState.Faulted)
{
lookupClient.Close();
}
}
// This model is a single entity data model for the entity which ID was supplied. Or if not found you have a null object.
return result;
}
Method: GetNetworksByEntity
Description
Retrieve Networks.
Input
The input of this method is the argument GetNetworksByEntity having the following structure.
Element | Type | Nillable? | Description |
---|---|---|---|
entityID | int | No | The entity ID. |
Output
List of int ID values and string names.
Element | Type | Nillable? | Description |
---|---|---|---|
GetNetworksByEntityResult | PickListDataResults | Yes | List object used for paging list of key value pairs. |
Faults
Name | Content | Description |
---|---|---|
LogRhythmWebServiceFaultFault | LogRhythmWebServiceFault | This is the error message object for all of LogRhythm Web Services. This object provides custom meaningful error messages to the client while retaining security precautions for the system. |
EXAMPLE
private PickListDataResults GetNetworksByEntity(int entityID)
{
LookupServiceClient lookupClient = null;
PickListDataResults result = null;
try
{
// Create connection to service.
lookupClient = new LookupServiceClient("LookupServiceBasicAuth_LookupService");
lookupClient.ClientCredentials.UserName.UserName = username;
lookupClient.ClientCredentials.UserName.Password = password;
// Call method retrieving data model.
result = lookupClient.GetNetworksByEntity(entityID);
}
finally
{
if (lookupClient != null && lookupClient.State != System.ServiceModel.CommunicationState.Faulted)
{
lookupClient.Close();
}
}
// This model is a single entity data model for the entity which ID was supplied. Or if not found you have a null object.
return result;
}
Method: GetNextPageCommonEvents
Description
Retrieve the next page of Common Events.
Input
The input of this method is the argument GetNextPageCommonEvents having the following structure.
Element | Type | Nillable? | Description |
---|---|---|---|
nextPageID | string | Yes | The next page ID. |
Output
Pick List Data Results with result set and next page ID.
Element | Type | Nillable? | Description |
---|---|---|---|
GetNextPageCommonEventsResult | PickListDataResults | Yes | List object used for paging list of key value pairs. |
Faults
Name | Content | Description |
---|---|---|
LogRhythmWebServiceFaultFault | LogRhythmWebServiceFault | This is the error message object for all of LogRhythm Web Services. This object provides custom meaningful error messages to the client while retaining security precautions for the system. |
EXAMPLE
private PickListDataResults GetNextPageCommonEvents(string nextPageID)
{
LookupServiceClient lookupClient = null;
PickListDataResults result = null;
try
{
// Create connection to service.
lookupClient = new LookupServiceClient("LookupServiceBasicAuth_LookupService");
lookupClient.ClientCredentials.UserName.UserName = username;
lookupClient.ClientCredentials.UserName.Password = password;
// Call method retrieving data model.
result = lookupClient.GetNextPageCommonEvents(nextPageID);
}
finally
{
if (lookupClient != null && lookupClient.State != System.ServiceModel.CommunicationState.Faulted)
{
lookupClient.Close();
}
}
// This model is a single entity data model for the entity which ID was supplied. Or if not found you have a null object.
return result;
}
Method: GetNextPageLogSources
Description
Retrieve the next page of Log Sources.
Input
The input of this method is the argument GetNextPageLogSources having the following structure.
Element | Type | Nillable? | Description |
---|---|---|---|
nextPageID | string | Yes | The next page ID. |
Output
Pick List Data Results with result set and next page ID.
Element | Type | Nillable? | Description |
---|---|---|---|
GetNextPageLogSourcesResult | PickListDataResults | Yes | List object used for paging list of key value pairs. |
Faults
Name | Content | Description |
---|---|---|
LogRhythmWebServiceFaultFault | LogRhythmWebServiceFault | This is the error message object for all of LogRhythm Web Services. This object provides custom meaningful error messages to the client while retaining security precautions for the system. |
EXAMPLE
private PickListDataResults GetNextPageLogSources(string nextPageID)
{
LookupServiceClient lookupClient = null;
PickListDataResults result = null;
try
{
// Create connection to service.
lookupClient = new LookupServiceClient("LookupServiceBasicAuth_LookupService");
lookupClient.ClientCredentials.UserName.UserName = username;
lookupClient.ClientCredentials.UserName.Password = password;
// Call method retrieving data model.
result = lookupClient.GetNextPageLogSources(nextPageID);
}
finally
{
if (lookupClient != null && lookupClient.State != System.ServiceModel.CommunicationState.Faulted)
{
lookupClient.Close();
}
}
// This model is a single entity data model for the entity which ID was supplied. Or if not found you have a null object.
return result;
}
Method: GetNextPageMPERules
Description
Retrieve the next page of MPE Rules.
Input
The input of this method is the argument GetNextPageMPERules having the following structure.
Element | Type | Nillable? | Description |
---|---|---|---|
nextPageID | string | Yes | The next page ID. |
Output
Pick List Data Results with result set and next page ID.
Element | Type | Nillable? | Description |
---|---|---|---|
GetNextPageMPERulesResult | PickListDataResults | Yes | List object used for paging list of key value pairs. |
Faults
Name | Content | Description |
---|---|---|
LogRhythmWebServiceFaultFault | LogRhythmWebServiceFault | This is the error message object for all of LogRhythm Web Services. This object provides custom meaningful error messages to the client while retaining security precautions for the system. |
EXAMPLE
private PickListDataResults GetNextPageMPERules(string nextPageID)
{
LookupServiceClient lookupClient = null;
PickListDataResults result = null;
try
{
// Create connection to service.
lookupClient = new LookupServiceClient("LookupServiceBasicAuth_LookupService");
lookupClient.ClientCredentials.UserName.UserName = username;
lookupClient.ClientCredentials.UserName.Password = password;
// Call method retrieving data model.
result = lookupClient.GetNextPageMPERules(nextPageID);
}
finally
{
if (lookupClient != null && lookupClient.State != System.ServiceModel.CommunicationState.Faulted)
{
lookupClient.Close();
}
}
// This model is a single entity data model for the entity which ID was supplied. Or if not found you have a null object.
return result;
}
Method: GetProtocols
Description
Retrieve Protocols.
Input
The input of this method is the argument GetProtocols that is always empty.
Output
List of int ID values and string names.
Element | Type | Nillable? | Description |
---|---|---|---|
GetProtocolsResult | PickListDataResults | Yes | List object used for paging list of key value pairs. |
Faults
Name | Content | Description |
---|---|---|
LogRhythmWebServiceFaultFault | LogRhythmWebServiceFault | This is the error message object for all of LogRhythm Web Services. This object provides custom meaningful error messages to the client while retaining security precautions for the system. |
EXAMPLE
private PickListDataResults GetProtocols()
{
LookupServiceClient lookupClient = null;
PickListDataResults result = null;
try
{
// Create connection to service.
lookupClient = new LookupServiceClient("LookupServiceBasicAuth_LookupService");
lookupClient.ClientCredentials.UserName.UserName = username;
lookupClient.ClientCredentials.UserName.Password = password;
// Call method retrieving data model.
result = lookupClient.GetProtocols();
}
finally
{
if (lookupClient != null && lookupClient.State != System.ServiceModel.CommunicationState.Faulted)
{
lookupClient.Close();
}
}
// This model is a single entity data model for the entity which ID was supplied. Or if not found you have a null object.
return result;
}