About Genetec Patroller™ Simple Host - Genetec Patroller™ 6.5

Genetec Patroller™ Administrator Guide 6.5

Applies to
Genetec Patroller™ 6.5
Last updated
2020-05-15
Content type
Guides
Guides > Administrator guides
Language
English
Product
Genetec Patroller™
Version
6.5

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);
}