1) Introduction

Pre-requisites.

  • HIK-Central installation on the machine
  • Enable OpenApi from HIK-Central 
  • Enable Https Protocol from HIK-Central 
  • Download and install ".NET 4.6.2 Runtime Framework", download

You'll be provided with. 

  • Service File (Compressed) , Extract it within the "D" partition ,Once Unzipped, the Structure Will Be As Follows:

     

     

    As we progress, we'll continuously update the configuration file located at: D:\CRM Integration\CRMHIKIntegration\BusinessLogic\Defaults\defaults.json 

    The File is composed in JSON format, and its layout resembles the following:

     
    {
    "Hik": {
    //Change Here
    "UserKey": "25820178",
    "UserSecret": "dWGcwkWnle7RIjLQg5Om",
    "DefaultOwnerAccessGroupIds": [ "6" ],
    "DefaultVisitorAccessGroupIds": [ "5" ],
     
    //Dont Change
    "OrgIndexCode": "1",
    "VehicleGroupIndexCode": "1",
    "VisitPurposeType": 2, //visit
    "ElectrostaticDetectionType": 0, //no detection
    "UnknownGenderOption": 0
    },
     
    "System": {
    //Change Here
    "MachineRef": "XYZ",
    "ErrorLogFilePath": "D:\\CRM Integration\\IntegrationErrorLog.txt",
    "WindowServiceLogFilePath": "D:\\CRM Integration\\WSIntegrationErrorLog.txt",
     
    //Dont Change
    "PermanentVisitTimeAsDays": 30,
    "RegularVisitTimeAsDays": 1,
    "WaitTimeBetweenActionHandlingAsSeconds": 60,
    "NextAttemptForFailedActionsWaitTimeAsSeconds": 150,
    "RegularRreservationAsHours": 120,
    "VehicleEffectiveWithinTimeAsYears": 10
    }
    }
    Please refrain from altering any keys or values unless specifically instructed during the installation process.
     

Was this article helpful?
©2025 Initium Solutions