EMREG is a centralized service that has to be available to all SMPs. It gives a list of all available NCPs, as well as other information necessary to establish communication with each of them. Administration of NCPs within EMREG is out of scope of this document.
Available services (API)
There is only one service available to the SMPs, returning a list of all available countries and NCPs, where each NCP can contain a list of all institutions it is responsible for. There is also a parameter (called "singleFetch") saying whether a particular country has separate NCPs for each institution. In that case, after the country has been selected, the student will be presented with a list of all NCPs registered for that country, and for each NCP only the first institution on the list will be presented to the student (even though, for compatibility reasons, it will still be delivered by EMREG as a list).
In later versions, if we see that the list might be too large, we might give the possibility to send a filter/search parameter as well (however, we have to bear in mind that this would cause more connections towards EMREG).
Output: List of all available NCPs, in JSON format. Example:
We have implemented a live & running EMREG with three different sets of data (development, test, and production).