- Using DIGIT-PLAYGROUND
- User
- Master Data V1
- Master Data V2
- Create Schema
- Search Schema
- Add Data
- Seach Data
- Update data
- Access-control
- Action
- Role
- Role-Action
- Workflow-v2
- WorkFlow
- Create new workflow entry for a given application number(businessId).
- Process search of the applicaition
- Get the list of workflow applications defined in the system.
- Get the count of applications satisfying the given criteria
- Get the nearing sla count of workflow applications defined in the system.
- Get the list of status count workflow applications defined in the system.
- Escalate
- BusinessServiceV2
- BusinessService
- Filestore
- Idgen
- Location
- Enc-Service
- Crypto
- Encrypts the given input value/s OR values of the object.
- Decrypts the given input value/s OR values of the object.
- Provide signature for a given value.
- Check if the signature is correct for the provided value.
- Deactivate the keys for the given tenant and generate new keys. It will deactivate both symmetric and asymmetric keys for the provided tenant.
- cryptoRotateAllKeys
- Crypto
- PG-Service
- URL-Shortening
- Indexer
- egov-indexer service
- This endpoint is used to start legacy index job to reindex records from DB. The data is fetched from DB by calling api mentioned in request in batches. The is useful when some record is present in DB but missing on index.
- This endpoint is used to start indexing job to reindex records from one index to another index.
- This endpoint is used to index one record on a index. The information to pick correct config is provided with the data to be indexed.
- Index data in row
- egov-indexer service
- PDF-Service
- PDF-Service endpoints
- Generate PDF and store output pdfs to filestore and return their filestoreids. The information is also saved into DB so that using _search endpoint we can retrieve already generated pdfs.
- Generates pdf without storing any information on filestore or in DB. The generated pdf would be returned as binary response
- Get filestoreids and other information about already generated pdf by searching on jobid or entityid with other optional search parameters
- PDF-Service endpoints
- Report
- eGov-OTP
- User-OTP
- Localization
- Service Request
- Audit Service
Search All Users
POST
/v1/_search
Users
Last modified:2024-05-28 09:18:51
Request
Header Params
Content-Type
string
optional
Example:
application/json
Body Params text/plain
Example
Example:{
"RequestInfo": {
"apiId": null,
"ver": null,
"ts": null,
"action": "POST",
"did": null,
"key": null,
"msgId": "5bfa85e7-dfa1-47c8-98b2-747bf552be86",
"userInfo": {
"id": 181,
"userName": "TestEggMUSTAKIMNK",
"uuid": "4f6cf5fa-bcb2-4a3a-9dff-9740c04e3a92",
"locale": "string",
"type": "EMPLOYEE",
"name": "mustak",
"mobileNumber": "1234567890",
"alternatemobilenumber": null,
"emailId": "xyz@egovernments.org",
"roles": [
{
"name": "Employee",
"code": "EMPLOYEE",
"tenantId": "pg"
},
{
"name": "System user",
"code": "SYSTEM",
"tenantId": "pg"
},
{
"name": "Super User",
"code": "SUPERUSER",
"tenantId": "pg"
}
],
"active": true,
"tenantId": "pg",
"permanentCity": "Kaikoo"
},
"authToken": "11926af5-050a-4fd6-a258-350ce179ff7f"
},
"type": "EMPLOYEE",
"active": "true",
"uuid": [
"bddd727f-9817-4d55-8c58-fdd81debb98a"
],
"tenantId": "pg"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://unified-dev.digit.org/user/v1/_search' \
--header 'Content-Type: application/json' \
--data-raw '{
"RequestInfo": {
"apiId": null,
"ver": null,
"ts": null,
"action": "POST",
"did": null,
"key": null,
"msgId": "5bfa85e7-dfa1-47c8-98b2-747bf552be86",
"userInfo": {
"id": 181,
"userName": "TestEggMUSTAKIMNK",
"uuid": "4f6cf5fa-bcb2-4a3a-9dff-9740c04e3a92",
"locale": "string",
"type": "EMPLOYEE",
"name": "mustak",
"mobileNumber": "1234567890",
"alternatemobilenumber": null,
"emailId": "xyz@egovernments.org",
"roles": [
{
"name": "Employee",
"code": "EMPLOYEE",
"tenantId": "pg"
},
{
"name": "System user",
"code": "SYSTEM",
"tenantId": "pg"
},
{
"name": "Super User",
"code": "SUPERUSER",
"tenantId": "pg"
}
],
"active": true,
"tenantId": "pg",
"permanentCity": "Kaikoo"
},
"authToken": "11926af5-050a-4fd6-a258-350ce179ff7f"
},
"type": "EMPLOYEE",
"active": "true",
"uuid": [
"bddd727f-9817-4d55-8c58-fdd81debb98a"
],
"tenantId": "pg"
}'
Responses
🟢200Successful response
application/json
Body
ResponseInfo
object (ResponseInfo)
optional
apiId
string
required
<= 128 characters
ver
string
required
<= 32 characters
ts
integer <int64>
required
resMsgId
string
optional
<= 256 characters
msgId
string
optional
<= 256 characters
status
enum<string>
required
Allowed values:
SUCCESSFULFAILED
Users
array [object]
optional
Example
{
"ResponseInfo": {
"apiId": "string",
"ver": "string",
"ts": 0,
"resMsgId": "string",
"msgId": "string",
"status": "SUCCESSFUL"
},
"Users": [
{}
]
}
🟠400Invalid input.
Modified at 2024-05-28 09:18:51