8 Service APIs
This section provides a reference for APIs that should be implemented by this Building Block.

8.1 Administrative/Analyst Functions
Searches (Regex supported) and returns multiple records as an array-list.
Field for searching random string type data from database
JohnField name that user wishes to filter
FirstNameHow user wishes to order the data
descendingResult page number
1Number of results on one page
10Example of searchable database field. If more searchable fields are in DB, then more similar fields will follow in input
Value can be in any supported format, for an example 'string'Format is: INSTANCE/CLASS/MEMBER/SUBSYSTEM
eGovStack/GOV/90000009/digitalregistriesSearches and returns one record.
Format is: INSTANCE/CLASS/MEMBER/SUBSYSTEM
eGovStack/GOV/90000009/digitalregistriesRecord not found
Updates one existing record in the registry database.
Format is: INSTANCE/CLASS/MEMBER/SUBSYSTEM
eGovStack/GOV/90000009/digitalregistriesNo content
Updates multiple records in the registry database that match the input query.
Format is: INSTANCE/CLASS/MEMBER/SUBSYSTEM
eGovStack/GOV/90000009/digitalregistriesNo content
API updates existing record if matching with input parameters is successful. If record is not found the API will create a new record.
Format is: INSTANCE/CLASS/MEMBER/SUBSYSTEM
eGovStack/GOV/90000009/digitalregistries8.2 Applicant Functions
Searches records based on input parameters and returns boolean answer (true/false).
Format is: INSTANCE/CLASS/MEMBER/SUBSYSTEM
eGovStack/GOV/90000009/digitalregistriesDelete record.
ID of the citizen that needs to be deleted from the Registry data query API
ID1Format is: INSTANCE/CLASS/MEMBER/SUBSYSTEM
eGovStack/GOV/90000009/digitalregistriesNo content
Searches and returns one record’s one field value.
Primary key field
DB-1Data format. Endpoint: /data/DB/1.0/DB-1/read-value/First%20name.json
First nameData format. Endpoint: /data/DB/1.0/DB-1/read-value/First%20name.json
jsonFormat is: INSTANCE/CLASS/MEMBER/SUBSYSTEM
eGovStack/GOV/90000009/digitalregistriesAllows a user to see who has read their personal data.
User's personal unique identifier
EE378129277266Database acronym
MCTSFormat is: INSTANCE/CLASS/MEMBER/SUBSYSTEM
eGovStack/GOV/90000009/digitalregistriesSuccess Response
Invalid ID supplied
Person requests not found
API endpoint that allows user to get database information with schema
Id of the database that schema is requested
1Format is: INSTANCE/CLASS/MEMBER/SUBSYSTEM
eGovStack/GOV/90000009/eregistrations-devAPI endpoint that allows user to delete database schema
Id of the database that schema is requested
1Format is: INSTANCE/CLASS/MEMBER/SUBSYSTEM
eGovStack/GOV/90000009/eregistrations-devSuccess
Success
API endpoint that allows user to create or modify database schema
Format is: INSTANCE/CLASS/MEMBER/SUBSYSTEM
eGovStack/GOV/90000009/eregistrations-devGroup name where this schema is located
TestCatalog name where this schema is located
Mother and ChildShort code of the database
MCRSuccess
Success
API endpoint that allows user to get information about all databases
Format is: INSTANCE/CLASS/MEMBER/SUBSYSTEM
eGovStack/GOV/90000009/eregistrations-devSearches (Regex supported) and returns multiple records as an array-list.
Field for searching random string type data from database
JohnField name that user wishes to filter
FirstNameHow user wishes to order the data
descendingResult page number
1Number of results on one page
10Example of searchable database field. If more searchable fields are in DB, then more similar fields will follow in input
Value can be in any supported format, for an example 'string'Format is: INSTANCE/CLASS/MEMBER/SUBSYSTEM
eGovStack/GOV/90000009/digitalregistriesFormat is: INSTANCE/CLASS/MEMBER/SUBSYSTEM
eGovStack/GOV/90000009/digitalregistriesSearches and returns one record.
Format is: INSTANCE/CLASS/MEMBER/SUBSYSTEM
eGovStack/GOV/90000009/digitalregistriesRecord not found
Last updated
Was this helpful?