Détail du package

dbc-node-borchk

inleadmedia10GPL-3.02.0.2

Client for DBC webservice BorrCheck

dbc, borchk

readme

dbc-node-borchk

David David

Node borrow check wrapper module for the DBC webservice https://borchk.addi.dk/.

BORCHK is a web service used by systems and interfaces for lookup in library borrower records, to verify whether a user is enrolled, and whether he is a citizen of the municipality.

Borchk.getBorrowerCheckResult(values):Promise

Method for creating a borrow check request for a specific user.

This method returns a borrow check result from the webservice containing simple response which can be "ok" or "borrower_not_found".

Example:

params = {
  userId: '',
  userPincode: ''
};

Borchk.getBorrowerCheckResult(params);