About Genetec Patroller™ Simple Host - Genetec Patroller™ 6.6

Genetec Patroller™ Administrator Guide 6.6

Applies to
Genetec Patroller™ 6.6
Last updated
2022-04-22
Content type
Guides > Administrator guides
Language
English (United States)
Product
Genetec Patroller™
Version
6.6

Simple Host is a WCF service in Genetec Patroller™ that allows an external third party application to retrieve hits and reads, in an XML format, from the Genetec Patroller™. It also allows to push New Wanted entries to the Genetec Patroller™.

What is the AutoVu Simple Host service?

Communication to the service is done through an Ethernet connection, and the service connection is configured using Microsoft Visual Studio.

About the contract

The Simple Host service uses .NET WCF to offer SOAP based access to the Genetec Patroller™ database. A contract is defined to identify the data access available to client applications.

Example:


[ServiceContract(Name="SimpleHost", Namespace="http://autovu.com")]
public interface ISimpleHostContract
{
  [OperationContract]
  string GetLatestXGuidAndPlateNumber(int lastX);
  
  [OperationContract]
  string GetHitData(Guid hitGuid);
  
  [OperationContract]
  void AddNewWanted(string plateNumber, string plateState, 
                    int expirationDuration);
                    
  [OperationContract]
  List <Guid> GetReadIds(DateTime from, DateTime to);
  
  [OperationContract]
  string GetReadData(Guid readGuid);
  
  [OperationContract]
  void RaiseHit(Guid readGuid, string hitPlateNumber, 
                string hitPlateState, 
                string category, HitColorEnum hitColor, 
                string attributeKeyValuePairs);
}