Create User API

Overview

This page provides a comprehensive guide on using the CreateNovaildate API to create users with specific roles based on their responsibilities within the system. Adjust the parameters and roles as needed for your specific requirements.

Steps

The CreateNovaildate API allows users to create a new user with specified details that include username, name, gender, mobile number, activation status, user type, tenant ID, and password. Refer to the Request Parameters details available below.

Additionally, users can be assigned specific roles based on their responsibilities.

Request Parameters

  1. username (string): User's unique username.

  2. name (string): Full name of the user.

  3. gender (string): Gender of the user.

  4. mobileno (string): User's mobile number.

  5. active (boolean): User's account status (true for active, false for inactive).

  6. type (string): It will be EMPLOYEE only.

  7. tenantid (string): User's tenant ID.

  8. password (string): User's password.

  9. Roles: Roles determine the permissions and responsibilities assigned to a user.

The available roles are as follows:

Roles for Sarpanch

  • COLLECTION_OPERATOR

  • EXPENSE_PROCESSING

  • BULK_DEMAND_PROCESSING

  • DASHBOARD_VIEWER

  • GP_ADMIN

Roles for Secretary

  • EXPENSE_PROCESSING

  • BULK_DEMAND_PROCESSING

  • DASHBOARD_VIEWER

  • GP_ADMIN

  • COLLECTION_OPERATOR

Roles for Revenue Collector

  • COLLECTION_OPERATOR

  • DASHBOARD_VIEWER

Roles for Division User

  • HRMS_ADMIN

  • DIVISION_ADMIN

Roles for State User

  • HRMS_ADMIN

  • STATE_ADMIN

To assign roles to a user, include the desired roles in the roles section of the request.

PROFILE_UPDATE role is available for every user to update existing roles.

Last updated

All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.