DIGIT Specifications
PlatformUrbanHealthPublic FinanceSanitation
  • Specifications Overview
    • Standardisation Approach
  • Common Service Specs
    • Access Control
    • Analytics
    • Billing
    • Collection
    • Dashboard Analytics
    • Decision Support System Ingest
    • Document Controller
    • Employee
    • Encryption
    • Filestore
    • ID Generation
    • Inbox
    • Indexer
    • Master
    • Master Data Management
    • OTP
    • Payment Gateway
    • PDF Generation
    • URL Shortening
    • User
    • Workflow
  • Domain Service Specs
    • Attendance
    • Bank Account
    • Billing Calculator
    • Birth-Death
    • Building Plan Approval
    • Building Plan Calculator
    • Campaign
    • Campaign Delivery
    • Contracts
    • Estimates
    • eChallan
    • Facility
    • Faecal Sludge Management (FSM)
    • Fire NOC
    • Fire NOC Calculator
    • Household
    • Individual
    • Inventory
    • Land
    • Muster Roll
    • National Dashboard Ingest
    • No Objection Certificate
    • Organization
    • Planning
    • Product
    • Project
    • Property Registry
    • Property Tax Calculator
    • Public Grievance Redressal
    • Registration
    • Sewerage Connection
    • Stock
    • Supervision
    • Sync
    • Trade Licence
    • Trade Licence Calculator
    • User Events
    • Vehicle Registration
    • Vendor Registration
    • Water Connection
  • Archived-docs
    • DIGIT Urban Service Specs
      • Property Tax Service
        • Property Tax Taxonomy
        • Property Tax Data Model
        • Property Tax Service API
      • Public Grievance Redressal Service
        • Public Grievance Redressal Taxonomy
        • Public Grievance Redressal Data Model
        • Public Grievance Redressal Service API
      • Trade License Service
        • Trade License Taxonomy
        • Trade License Data Model
        • Trade License API
      • Fire NOC Service
        • Fire NOC Taxonomy
        • Fire NOC Data Model
        • Fire NOC API
      • Miscellaneous Collection Service
        • Miscellaneous Collections Taxonomy
        • Miscellaneous Collections Data Model
        • Miscellaneous Collection API
      • Online Building Plan Approval Service
        • Online Building Plan Approval Taxonomy
        • Online Building Plan Approval Data Model
        • Online Building Plan Approval Service API
      • Water & Sewerage Service
        • Water & Sewerage Taxonomy
        • Water Service Data Model
        • Sewerage Service Data Model
        • Water & Sewerage Service API
      • Birth & Death Service
        • Birth & Death Taxonomy
        • Birth & Death Data Model
        • Birth & Death Service API
    • DIGIT Public Finance Management Service Specs
      • iFIX Master Data Service API
      • Adapter Master Data Service API
      • mGramSeva iFIX Adapter Service API
      • iFIX Department Entity Service API
      • Fiscal Event API
    • DIGIT Health Service Specs
      • Health Service Data Model
      • Health Service API
    • DIGIT Sanitation Service Specs
      • Faecal Sludge Management Service
        • Faecal Sludge Management Data Model
        • Faecal Sludge Management Service API
Powered by GitBook

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

On this page

Was this helpful?

Export as PDF
  1. Common Service Specs

Employee

PreviousDocument ControllerNextEncryption

Last updated 1 year ago

Was this helpful?

Employee APIs

APIs available from Employee Information System for employee services to -

  • create statewide standardized database of the employee to streamline processes related to personnel management

  • increase transparency for higher management for efficient resource planning

  • integrate with rainmaker modules for security, authentication and workflow handling

  • establish KPIs for employees and generate reports

Get the list of count of active and inactive employee.

post

Get the list of count of active and inactive employee for given tenant Id.

Query parameters
tenantIdanyRequired

Unique id for a tenant.

Responses
200
Successful response, present the list of count of active and inactive employee for given tenant Id.
*/*
400
Invalid input.
*/*
post
POST /egov-hrms/[API endpoint]/employees/_count?tenantId=null HTTP/1.1
Host: 
Accept: */*
{
  "responseInfo": {
    "ts": 1,
    "resMsgId": "text",
    "msgId": "text",
    "status": "COMPLETED",
    "signature": "text",
    "error": {
      "code": "text",
      "message": "text",
      "description": "text",
      "params": [
        "text"
      ]
    },
    "information": {},
    "debug": {},
    "additionalInfo": {}
  },
  "EmployeeCount": {
    "activeEmployee": "text",
    "inactiveEmployee": "text",
    "totalEmployee": "text"
  }
}
  • Employee APIs
  • POSTGet the list of employees defined in the system.
  • POSTCreate a new employee in the system along with all the related informations like - assignment, jurisdiction, service, education and probation
  • POSTUpdate Employee data for a particular employee
  • POSTGet the list of count of active and inactive employee.

Get the list of employees defined in the system.

post

Get the employee list based on the input parameters. Response will give the minimum set of information related to the employee.

Query parameters
codesstring[]Optional

List of employee codes

namesstring[]Optional

List of employee names

departmentsstring[]Optional

List of Department codes for the employee assignment.

designationsstring[]Optional

List of Designation codes for the employee assignment.

asOnDatenumberOptional

Epoch Date of assignment

idsinteger[] · max: 100Optional

List of Unique Id of employee

employeestatusesstring[]Optional

List of Unique codes of employee status

employeetypesstring[]Optional

List of Unique codes of employee type

uuidsstring[]Optional

List of Unique uuid of employee

positionsinteger[]Optional

List of Unique Positions

rolesstring[]Optional

List of Roles of employee

phonestringRequired

Phone Number

isActivebooleanRequired

True will return active employees, False otherwise

offsetintegerRequired

Offset of the search result

limitintegerRequired

No of records to be returned from the offset

tenantidstringRequired

Tenant id

Body

RequestInfo should be used to carry meta information about the requests to the server as described in the fields below. All eGov APIs will use requestinfo as a part of the request body to carry this meta information. Some of this information will be returned back from the server as part of the ResponseInfo in the response body to ensure correlation.

apiIdstring · max: 128Required

unique API ID

verstring · max: 32Required

API version - for HTTP based request this will be same as used in path

tsinteger · int64Required

time in epoch

actionstring · max: 32Required

API action to be performed like _create, _update, _search (denoting POST, PUT, GET) or _oauth etc

didstring · max: 1024Optional

Device ID from which the API is called

keystring · max: 256Optional

API key (API key provided to the caller in case of server to server communication)

msgIdstring · max: 256Required

Unique request message id from the caller

requesterIdstring · max: 256Optional

UserId of the user calling

authTokenstringOptional

//session/jwt/saml token/oauth token - the usual value that would go into HTTP bearer token

correlationIdstringRead-onlyOptional
Responses
200
Successful response
*/*
400
Invalid input.
*/*
post
POST /egov-hrms/[API endpoint]/employees/_search?phone=text&isActive=true&offset=1&limit=1&tenantid=text HTTP/1.1
Host: 
Content-Type: */*
Accept: */*
Content-Length: 430

{
  "apiId": "text",
  "ver": "text",
  "ts": 1,
  "action": "text",
  "did": "text",
  "key": "text",
  "msgId": "text",
  "requesterId": "text",
  "authToken": "text",
  "userInfo": {
    "tenantId": "text",
    "uuid": "text",
    "userName": "text",
    "password": "text",
    "idToken": "text",
    "mobile": "text",
    "email": "text",
    "primaryrole": [
      {
        "name": "text",
        "code": "text",
        "description": "text"
      }
    ],
    "additionalroles": [
      {
        "tenantId": "text",
        "roles": [
          {
            "name": "text",
            "code": "text",
            "description": "text"
          }
        ]
      }
    ]
  }
}
{
  "ResponseInfo": {
    "apiId": "text",
    "ver": "text",
    "ts": 1,
    "resMsgId": "text",
    "msgId": "text",
    "status": "SUCCESSFUL"
  },
  "Employee": [
    {
      "user": {
        "id": 1,
        "userName": "text",
        "password": "password",
        "salutation": "text",
        "name": "text",
        "gender": "text",
        "mobileNumber": "text",
        "emailId": "text",
        "altContactNumber": "text",
        "pan": "text",
        "aadhaarNumber": "text",
        "permanentAddress": "text",
        "permanentCity": "text",
        "permanentPincode": "text",
        "correspondenceCity": "text",
        "correspondencePincode": "text",
        "correspondenceAddress": "text",
        "active": true,
        "dob": "2025-05-09",
        "pwdExpiryDate": "2025-05-09",
        "locale": "text",
        "type": "text",
        "signature": "text",
        "accountLocked": true,
        "roles": [
          {
            "id": 1,
            "name": "text",
            "code": "text",
            "description": "text",
            "createdBy": 1,
            "createdDate": "2025-05-09",
            "lastModifiedBy": 1,
            "lastModifiedDate": "2025-05-09",
            "tenantId": "text"
          }
        ],
        "fatherOrHusbandName": "text",
        "bloodGroup": "text",
        "identificationMark": "text",
        "photo": "text",
        "createdBy": 1,
        "createdDate": "2025-05-09",
        "lastModifiedBy": 1,
        "lastModifiedDate": "2025-05-09",
        "otpReference": "text",
        "tenantId": "text"
      },
      "id": 1,
      "uuid": "text",
      "code": "text",
      "employeeStatus": "text",
      "employeeType": "text",
      "dateOfAppointment": 1,
      "jurisdictions": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "hierarchy": "text",
          "boundary": "text",
          "boundaryType": "text",
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "assignments": [
        {
          "id": "text",
          "position": 1,
          "designation": "text",
          "department": "text",
          "fromDate": 1,
          "toDate": 1,
          "govtOrderNumber": "text",
          "reportingTo": "text",
          "isHOD": true,
          "isCurrentAssignment": true,
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "serviceHistory": [
        {
          "id": "text",
          "serviceStatus": "text",
          "serviceFrom": 1,
          "serviceTo": 1,
          "location": "text",
          "orderNo": "text",
          "isCurrentPosition": true,
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "isActive": true,
      "education": [
        {
          "id": "text",
          "qualification": "text",
          "stream": "text",
          "yearOfPassing": 1,
          "university": "text",
          "remarks": "text",
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "tests": [
        {
          "id": "text",
          "test": "text",
          "yearOfPassing": 1,
          "remarks": "text",
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "tenantId": "text",
      "deactivationDetails": [
        {
          "id": "text",
          "employeeId": "text",
          "reasonForDeactivation": "text",
          "effectiveFrom": 1,
          "orderNo": "text",
          "typeOfDeactivation": {},
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "reactivationDetails": [
        {
          "id": "text",
          "employeeId": "text",
          "reasonForReactivation": "text",
          "effectiveFrom": 1,
          "orderNo": "text",
          "typeOfReactivation": {},
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "documents": [
        {
          "id": 1,
          "employeeId": 1,
          "documentId": "text",
          "documentName": "text",
          "referenceType": "text",
          "referenceId": "text",
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "auditDetails": {
        "createdBy": "text",
        "createdDate": 1,
        "lastModifiedBy": "text",
        "lastModifiedDate": 1
      }
    }
  ]
}

Create a new employee in the system along with all the related informations like - assignment, jurisdiction, service, education and probation

post

To create a new employee we can use POST and set all the required and non-mandatory parameters. When an employee is created, an user is also created along with it. Type value in object will be "EMPLOYEE".

Body
Responses
202
Employee request accepted for creation.
*/*
400
Invalid Input.
*/*
post
POST /egov-hrms/[API endpoint]/employees/_create HTTP/1.1
Host: 
Content-Type: */*
Accept: */*
Content-Length: 3426

{
  "RequestInfo": {
    "apiId": "text",
    "ver": "text",
    "ts": 1,
    "action": "text",
    "did": "text",
    "key": "text",
    "msgId": "text",
    "requesterId": "text",
    "authToken": "text",
    "userInfo": {
      "tenantId": "text",
      "uuid": "text",
      "userName": "text",
      "password": "text",
      "idToken": "text",
      "mobile": "text",
      "email": "text",
      "primaryrole": [
        {
          "name": "text",
          "code": "text",
          "description": "text"
        }
      ],
      "additionalroles": [
        {
          "tenantId": "text",
          "roles": [
            {
              "name": "text",
              "code": "text",
              "description": "text"
            }
          ]
        }
      ]
    }
  },
  "Employee": [
    {
      "user": {
        "id": 1,
        "userName": "text",
        "password": "password",
        "salutation": "text",
        "name": "text",
        "gender": "text",
        "mobileNumber": "text",
        "emailId": "text",
        "altContactNumber": "text",
        "pan": "text",
        "aadhaarNumber": "text",
        "permanentAddress": "text",
        "permanentCity": "text",
        "permanentPincode": "text",
        "correspondenceCity": "text",
        "correspondencePincode": "text",
        "correspondenceAddress": "text",
        "active": true,
        "dob": "2025-05-09",
        "locale": "text",
        "type": "text",
        "signature": "text",
        "accountLocked": true,
        "roles": [
          {
            "id": 1,
            "name": "text",
            "code": "text",
            "description": "text",
            "createdBy": 1,
            "createdDate": "2025-05-09",
            "lastModifiedBy": 1,
            "lastModifiedDate": "2025-05-09",
            "tenantId": "text"
          }
        ],
        "fatherOrHusbandName": "text",
        "bloodGroup": "text",
        "identificationMark": "text",
        "photo": "text",
        "createdBy": 1,
        "createdDate": "2025-05-09",
        "lastModifiedBy": 1,
        "lastModifiedDate": "2025-05-09",
        "otpReference": "text",
        "tenantId": "text"
      },
      "id": 1,
      "uuid": "text",
      "code": "text",
      "employeeStatus": "text",
      "employeeType": "text",
      "dateOfAppointment": 1,
      "jurisdictions": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "hierarchy": "text",
          "boundary": "text",
          "boundaryType": "text",
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "assignments": [
        {
          "id": "text",
          "position": 1,
          "designation": "text",
          "department": "text",
          "fromDate": 1,
          "toDate": 1,
          "govtOrderNumber": "text",
          "reportingTo": "text",
          "isHOD": true,
          "isCurrentAssignment": true,
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "serviceHistory": [
        {
          "id": "text",
          "serviceStatus": "text",
          "serviceFrom": 1,
          "serviceTo": 1,
          "location": "text",
          "orderNo": "text",
          "isCurrentPosition": true,
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "isActive": true,
      "education": [
        {
          "id": "text",
          "qualification": "text",
          "stream": "text",
          "yearOfPassing": 1,
          "university": "text",
          "remarks": "text",
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "tests": [
        {
          "id": "text",
          "test": "text",
          "yearOfPassing": 1,
          "remarks": "text",
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "tenantId": "text",
      "deactivationDetails": [
        {
          "id": "text",
          "employeeId": "text",
          "reasonForDeactivation": "text",
          "effectiveFrom": 1,
          "orderNo": "text",
          "typeOfDeactivation": {},
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "reactivationDetails": [
        {
          "id": "text",
          "employeeId": "text",
          "reasonForReactivation": "text",
          "effectiveFrom": 1,
          "orderNo": "text",
          "typeOfReactivation": {},
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "documents": [
        {
          "id": 1,
          "employeeId": 1,
          "documentId": "text",
          "documentName": "text",
          "referenceType": "text",
          "referenceId": "text",
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "auditDetails": {
        "createdBy": "text",
        "createdDate": 1,
        "lastModifiedBy": "text",
        "lastModifiedDate": 1
      }
    }
  ]
}
{
  "ResponseInfo": {
    "apiId": "text",
    "ver": "text",
    "ts": 1,
    "resMsgId": "text",
    "msgId": "text",
    "status": "SUCCESSFUL"
  },
  "Employee": [
    {
      "user": {
        "id": 1,
        "userName": "text",
        "password": "password",
        "salutation": "text",
        "name": "text",
        "gender": "text",
        "mobileNumber": "text",
        "emailId": "text",
        "altContactNumber": "text",
        "pan": "text",
        "aadhaarNumber": "text",
        "permanentAddress": "text",
        "permanentCity": "text",
        "permanentPincode": "text",
        "correspondenceCity": "text",
        "correspondencePincode": "text",
        "correspondenceAddress": "text",
        "active": true,
        "dob": "2025-05-09",
        "pwdExpiryDate": "2025-05-09",
        "locale": "text",
        "type": "text",
        "signature": "text",
        "accountLocked": true,
        "roles": [
          {
            "id": 1,
            "name": "text",
            "code": "text",
            "description": "text",
            "createdBy": 1,
            "createdDate": "2025-05-09",
            "lastModifiedBy": 1,
            "lastModifiedDate": "2025-05-09",
            "tenantId": "text"
          }
        ],
        "fatherOrHusbandName": "text",
        "bloodGroup": "text",
        "identificationMark": "text",
        "photo": "text",
        "createdBy": 1,
        "createdDate": "2025-05-09",
        "lastModifiedBy": 1,
        "lastModifiedDate": "2025-05-09",
        "otpReference": "text",
        "tenantId": "text"
      },
      "id": 1,
      "uuid": "text",
      "code": "text",
      "employeeStatus": "text",
      "employeeType": "text",
      "dateOfAppointment": 1,
      "jurisdictions": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "hierarchy": "text",
          "boundary": "text",
          "boundaryType": "text",
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "assignments": [
        {
          "id": "text",
          "position": 1,
          "designation": "text",
          "department": "text",
          "fromDate": 1,
          "toDate": 1,
          "govtOrderNumber": "text",
          "reportingTo": "text",
          "isHOD": true,
          "isCurrentAssignment": true,
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "serviceHistory": [
        {
          "id": "text",
          "serviceStatus": "text",
          "serviceFrom": 1,
          "serviceTo": 1,
          "location": "text",
          "orderNo": "text",
          "isCurrentPosition": true,
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "isActive": true,
      "education": [
        {
          "id": "text",
          "qualification": "text",
          "stream": "text",
          "yearOfPassing": 1,
          "university": "text",
          "remarks": "text",
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "tests": [
        {
          "id": "text",
          "test": "text",
          "yearOfPassing": 1,
          "remarks": "text",
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "tenantId": "text",
      "deactivationDetails": [
        {
          "id": "text",
          "employeeId": "text",
          "reasonForDeactivation": "text",
          "effectiveFrom": 1,
          "orderNo": "text",
          "typeOfDeactivation": {},
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "reactivationDetails": [
        {
          "id": "text",
          "employeeId": "text",
          "reasonForReactivation": "text",
          "effectiveFrom": 1,
          "orderNo": "text",
          "typeOfReactivation": {},
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "documents": [
        {
          "id": 1,
          "employeeId": 1,
          "documentId": "text",
          "documentName": "text",
          "referenceType": "text",
          "referenceId": "text",
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "auditDetails": {
        "createdBy": "text",
        "createdDate": 1,
        "lastModifiedBy": "text",
        "lastModifiedDate": 1
      }
    }
  ]
}

Update Employee data for a particular employee

post

To update an existing employee's employee details and all other details like assignment, jurisdiction, qualification service details and porbation. This API will also be used for deactivating an employee

Body
Responses
202
Employee request accepted for update.
*/*
400
Invalid input.
*/*
post
POST /egov-hrms/[API endpoint]/employees/_update HTTP/1.1
Host: 
Content-Type: */*
Accept: */*
Content-Length: 3426

{
  "RequestInfo": {
    "apiId": "text",
    "ver": "text",
    "ts": 1,
    "action": "text",
    "did": "text",
    "key": "text",
    "msgId": "text",
    "requesterId": "text",
    "authToken": "text",
    "userInfo": {
      "tenantId": "text",
      "uuid": "text",
      "userName": "text",
      "password": "text",
      "idToken": "text",
      "mobile": "text",
      "email": "text",
      "primaryrole": [
        {
          "name": "text",
          "code": "text",
          "description": "text"
        }
      ],
      "additionalroles": [
        {
          "tenantId": "text",
          "roles": [
            {
              "name": "text",
              "code": "text",
              "description": "text"
            }
          ]
        }
      ]
    }
  },
  "Employee": [
    {
      "user": {
        "id": 1,
        "userName": "text",
        "password": "password",
        "salutation": "text",
        "name": "text",
        "gender": "text",
        "mobileNumber": "text",
        "emailId": "text",
        "altContactNumber": "text",
        "pan": "text",
        "aadhaarNumber": "text",
        "permanentAddress": "text",
        "permanentCity": "text",
        "permanentPincode": "text",
        "correspondenceCity": "text",
        "correspondencePincode": "text",
        "correspondenceAddress": "text",
        "active": true,
        "dob": "2025-05-09",
        "locale": "text",
        "type": "text",
        "signature": "text",
        "accountLocked": true,
        "roles": [
          {
            "id": 1,
            "name": "text",
            "code": "text",
            "description": "text",
            "createdBy": 1,
            "createdDate": "2025-05-09",
            "lastModifiedBy": 1,
            "lastModifiedDate": "2025-05-09",
            "tenantId": "text"
          }
        ],
        "fatherOrHusbandName": "text",
        "bloodGroup": "text",
        "identificationMark": "text",
        "photo": "text",
        "createdBy": 1,
        "createdDate": "2025-05-09",
        "lastModifiedBy": 1,
        "lastModifiedDate": "2025-05-09",
        "otpReference": "text",
        "tenantId": "text"
      },
      "id": 1,
      "uuid": "text",
      "code": "text",
      "employeeStatus": "text",
      "employeeType": "text",
      "dateOfAppointment": 1,
      "jurisdictions": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "hierarchy": "text",
          "boundary": "text",
          "boundaryType": "text",
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "assignments": [
        {
          "id": "text",
          "position": 1,
          "designation": "text",
          "department": "text",
          "fromDate": 1,
          "toDate": 1,
          "govtOrderNumber": "text",
          "reportingTo": "text",
          "isHOD": true,
          "isCurrentAssignment": true,
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "serviceHistory": [
        {
          "id": "text",
          "serviceStatus": "text",
          "serviceFrom": 1,
          "serviceTo": 1,
          "location": "text",
          "orderNo": "text",
          "isCurrentPosition": true,
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "isActive": true,
      "education": [
        {
          "id": "text",
          "qualification": "text",
          "stream": "text",
          "yearOfPassing": 1,
          "university": "text",
          "remarks": "text",
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "tests": [
        {
          "id": "text",
          "test": "text",
          "yearOfPassing": 1,
          "remarks": "text",
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "tenantId": "text",
      "deactivationDetails": [
        {
          "id": "text",
          "employeeId": "text",
          "reasonForDeactivation": "text",
          "effectiveFrom": 1,
          "orderNo": "text",
          "typeOfDeactivation": {},
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "reactivationDetails": [
        {
          "id": "text",
          "employeeId": "text",
          "reasonForReactivation": "text",
          "effectiveFrom": 1,
          "orderNo": "text",
          "typeOfReactivation": {},
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "documents": [
        {
          "id": 1,
          "employeeId": 1,
          "documentId": "text",
          "documentName": "text",
          "referenceType": "text",
          "referenceId": "text",
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "auditDetails": {
        "createdBy": "text",
        "createdDate": 1,
        "lastModifiedBy": "text",
        "lastModifiedDate": 1
      }
    }
  ]
}
{
  "ResponseInfo": {
    "apiId": "text",
    "ver": "text",
    "ts": 1,
    "resMsgId": "text",
    "msgId": "text",
    "status": "SUCCESSFUL"
  },
  "Employee": [
    {
      "user": {
        "id": 1,
        "userName": "text",
        "password": "password",
        "salutation": "text",
        "name": "text",
        "gender": "text",
        "mobileNumber": "text",
        "emailId": "text",
        "altContactNumber": "text",
        "pan": "text",
        "aadhaarNumber": "text",
        "permanentAddress": "text",
        "permanentCity": "text",
        "permanentPincode": "text",
        "correspondenceCity": "text",
        "correspondencePincode": "text",
        "correspondenceAddress": "text",
        "active": true,
        "dob": "2025-05-09",
        "pwdExpiryDate": "2025-05-09",
        "locale": "text",
        "type": "text",
        "signature": "text",
        "accountLocked": true,
        "roles": [
          {
            "id": 1,
            "name": "text",
            "code": "text",
            "description": "text",
            "createdBy": 1,
            "createdDate": "2025-05-09",
            "lastModifiedBy": 1,
            "lastModifiedDate": "2025-05-09",
            "tenantId": "text"
          }
        ],
        "fatherOrHusbandName": "text",
        "bloodGroup": "text",
        "identificationMark": "text",
        "photo": "text",
        "createdBy": 1,
        "createdDate": "2025-05-09",
        "lastModifiedBy": 1,
        "lastModifiedDate": "2025-05-09",
        "otpReference": "text",
        "tenantId": "text"
      },
      "id": 1,
      "uuid": "text",
      "code": "text",
      "employeeStatus": "text",
      "employeeType": "text",
      "dateOfAppointment": 1,
      "jurisdictions": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "hierarchy": "text",
          "boundary": "text",
          "boundaryType": "text",
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "assignments": [
        {
          "id": "text",
          "position": 1,
          "designation": "text",
          "department": "text",
          "fromDate": 1,
          "toDate": 1,
          "govtOrderNumber": "text",
          "reportingTo": "text",
          "isHOD": true,
          "isCurrentAssignment": true,
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "serviceHistory": [
        {
          "id": "text",
          "serviceStatus": "text",
          "serviceFrom": 1,
          "serviceTo": 1,
          "location": "text",
          "orderNo": "text",
          "isCurrentPosition": true,
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "isActive": true,
      "education": [
        {
          "id": "text",
          "qualification": "text",
          "stream": "text",
          "yearOfPassing": 1,
          "university": "text",
          "remarks": "text",
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "tests": [
        {
          "id": "text",
          "test": "text",
          "yearOfPassing": 1,
          "remarks": "text",
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "tenantId": "text",
      "deactivationDetails": [
        {
          "id": "text",
          "employeeId": "text",
          "reasonForDeactivation": "text",
          "effectiveFrom": 1,
          "orderNo": "text",
          "typeOfDeactivation": {},
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "reactivationDetails": [
        {
          "id": "text",
          "employeeId": "text",
          "reasonForReactivation": "text",
          "effectiveFrom": 1,
          "orderNo": "text",
          "typeOfReactivation": {},
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "documents": [
        {
          "id": 1,
          "employeeId": 1,
          "documentId": "text",
          "documentName": "text",
          "referenceType": "text",
          "referenceId": "text",
          "auditDetails": {
            "createdBy": "text",
            "createdDate": 1,
            "lastModifiedBy": "text",
            "lastModifiedDate": 1
          }
        }
      ],
      "auditDetails": {
        "createdBy": "text",
        "createdDate": 1,
        "lastModifiedBy": "text",
        "lastModifiedDate": 1
      }
    }
  ]
}