Configure the KMD Logic platform
The KMD Logic platform is developed, managed and distributed by KMD A/S and used by the CPRUpdate module as an endpoint to manage and administer imports from the Datafordeler web service. Using the KMD Logic platform increases update performance by selecting which data from the Datafordeler web service is applicable to the WorkZone CPR contacts, which reduces the amount of irrelevant data the system must process before importing into WorkZone.
After you have configured the Datafordeler and obtained the FOCES certificate, you can configure the KMD Logic platform subscription. The KMD Logic platform must be configured correctly to import CPR data into WorkZone.
To configure the KMD Logic platform, you must:
- Create a KMD Logic subscription
- Configure the connection to Datafordeler
Once you have set up your KMD Logic account, you must record or copy 5 important identifiers that are to be used when configuring the CPR Update module in WorkZone.
Create a KMD Logic subscription
- Go to https://console.kmdlogic.io/auth/login
-
Select Logic Users.
-
Enter your KMD Logic user credentials.
-
In a browser, press the F12 key to open the dev tools.
-
Click the Logic logo in the top left corner.
-
Copy the token from the dev tools (you will need it with the Bearer part).
-
In Swagger, click Authorize and paste the copied token.
-
You can use the token in Swagger:
- CPR: https://cpr.ddip.kmd.dk/
- CVR: https://cvr.ddip.kmd.dk/
Create CPR configuration
- In the CPR swagger, select KMD Logic CVR Service API.
- Under DataDistributorCvrConfiguration, find the request:
POST /subscriptions/{subscriptionId}/cpr/configurations/data-distributor
expand and click Try it out. -
fill:
- , expand and click Try it out.
- Fill in the following details:
- subscriptionId: Your subscription GUID.
- name: Some name.
- environment: Production environment for using production Datafordeler.
- certificate: Choose certificate p12 file (the one with private key)
- password: Type in the certificate password.
- Click Execute.
- After successful execution, copy the configuration, including the ID.
Identifiers from your KMD Logic account
Once you have set up your KMD Logic account and product, the following 4 identifiers must be recorded or copied. The identifiers are used when configuring the CPR Update module in WorkZone.
- KMD Logic Client ID: GUID
- KMD Logic Client Secret: GUID
- KMD Logic Subscription ID: GUID
- KMD Logic Product ID: GUID