Organisation

Organisation registry to store vendors, contractors, CBOs and other org types.

Overview

The organisation service is a generic registry to store all types of organisations. This includes vendors, contractors, and community-based organisations in the Works domain. This registry stores information about an organisation including their contact details, tax identifiers, work areas and other relevant information.

Pre-requisites

The below services need to be running in the environment for the organisation registry to function as expected:

  • Persister

  • Indexer

  • User

  • Individual

  • MDMS

  • Access Control

  • Notification

  • IDGen

  • Filestore

Functionality

Provides APIs to create, update and search an organisation's details. As part of organisation creation, it also creates a system user who can log into the DIGIT system and perform actions on behalf of the organisation. The contact person details are used to create the user with a CITIZEN role and an OTP-based login.

Deployment

The Helm chart for this service is configured here.

Configuration

Configure MDMS

Configure roles, actions and role-actions per the table below by following the steps below.

Roles
API Endpoints
  • WORK_ORDER_CREATOR

  • MUKTA_ADMIN

/org-services/organisation/v1/_search

  • MUKTA_ADMIN

/org-services/organisation/v1/_create

  • MUKTA_ADMIN

/org-services/organisation/v1/_update

Configure Persister

Make sure organisation-persister.yml is present in the configs repo under the egov-persister directory.

Configure Indexer

Make sure that the file organisationservices-indexer.yml is present in the configs repo under the egov-indexer directory.

Configure ID Generation

The following ID formats are configured for the Organisation service under the common-masters directory, IDFormat.json file. Make sure these are present in the file.

Configure SMS Templates

SMS templates have to be configured with the service provider to send notifications to users. Current SMS template configurations are as follows:

Integration

Download the Postman collection for this service and test the APIs against a DIGIT server.

Last updated

Was this helpful?