- 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).POST
- Process search of the applicaitionPOST
- Get the list of workflow applications defined in the system.POST
- Get the count of applications satisfying the given criteriaPOST
- Get the nearing sla count of workflow applications defined in the system.POST
- Get the list of status count workflow applications defined in the system.POST
- 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
Process search of the applicaition
Developing
POST
/process/_search
Last modified:2024-05-22 10:24:05
Request
Query Params
tenantId
string
required
Example:
pg
businessIds
string
required
Example:
pgrmnkm001x1e
history
string
required
Example:
true
Header Params
Content-Type
string
required
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",
"authToken": "50b80fa6-bec2-438e-a168-ce5ad53770b5"
}
}
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/egov-workflow-v2/egov-wf/process/_search?tenantId=pg&businessIds=pgrmnkm001x1e&history=true' \
--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",
"authToken": "50b80fa6-bec2-438e-a168-ce5ad53770b5"
}
}'
Responses
🟢200Success
application/json
Body
ResponseInfo
null
required
ProcessInstances
array [object {19}]
required
id
string
optional
tenantId
string
optional
businessService
string
optional
businessId
string
optional
action
string
optional
moduleName
string
optional
state
object
optional
comment
null
optional
documents
null
optional
assigner
object
optional
assignes
null
optional
nextActions
array [object {8}]
optional
stateSla
null
optional
businesssServiceSla
integer
optional
previousStatus
null
optional
entity
null
optional
auditDetails
object
optional
rating
integer
optional
escalated
boolean
optional
totalCount
integer
required
Example
{
"ResponseInfo": null,
"ProcessInstances": [
{
"id": "4b45ce47-fece-47cd-bf1a-e0d0d9e291c2",
"tenantId": "pg",
"businessService": "PGR MNk1g",
"businessId": "pgrmnkm001x1e",
"action": "APPLY",
"moduleName": "work",
"state": {
"auditDetails": null,
"uuid": "23777cd8-9bf4-4ab7-b441-60c3955be5f9",
"tenantId": "pg",
"businessServiceId": "927b6028-c7ce-4abd-9b13-9b2128e3ad5f",
"sla": null,
"state": "PENDINGFORASSIGNMENT",
"applicationStatus": "PENDINGFORASSIGNMENT",
"docUploadRequired": false,
"isStartState": false,
"isTerminateState": false,
"isStateUpdatable": null,
"actions": [
{
"auditDetails": null,
"uuid": "b7c620f2-cfd2-4074-922c-dfb8c953e3b1",
"tenantId": "pg",
"currentState": "23777cd8-9bf4-4ab7-b441-60c3955be5f9",
"action": "ASSIGN",
"nextState": "2c1ddc1b-a858-4211-aa5b-d911920c22ed",
"roles": [
"EMPLOYEE"
],
"active": null
}
]
},
"comment": null,
"documents": null,
"assigner": {
"id": 338,
"userName": "EGOvM134NmNmd",
"name": "gudduPoilce",
"type": "EMPLOYEE",
"mobileNumber": "9353822214",
"emailId": "xyz123@egovernments.org",
"roles": [
{
"id": null,
"name": "Employee",
"code": "EMPLOYEE",
"tenantId": "pg"
},
{
"id": null,
"name": "Grievance Routing Officer",
"code": "GRO",
"tenantId": "pg"
},
{
"id": null,
"name": "System user",
"code": "SYSTEM",
"tenantId": "pg"
},
{
"id": null,
"name": "Super User",
"code": "SUPERUSER",
"tenantId": "pg"
},
{
"id": null,
"name": "HRMS ADMIN",
"code": "HRMS_ADMIN",
"tenantId": "pg"
},
{
"id": null,
"name": "Department Grievance Routing Officer",
"code": "DGRO",
"tenantId": "pg"
}
],
"tenantId": "pg",
"uuid": "afc7eaf1-a25f-46c9-b16f-3f7de29009ff"
},
"assignes": null,
"nextActions": [
{
"auditDetails": null,
"uuid": "b7c620f2-cfd2-4074-922c-dfb8c953e3b1",
"tenantId": "pg",
"currentState": "23777cd8-9bf4-4ab7-b441-60c3955be5f9",
"action": "ASSIGN",
"nextState": "2c1ddc1b-a858-4211-aa5b-d911920c22ed",
"roles": [
"EMPLOYEE"
],
"active": null
}
],
"stateSla": null,
"businesssServiceSla": -4758946002,
"previousStatus": null,
"entity": null,
"auditDetails": {
"createdBy": "afc7eaf1-a25f-46c9-b16f-3f7de29009ff",
"lastModifiedBy": "afc7eaf1-a25f-46c9-b16f-3f7de29009ff",
"createdTime": 1711609415094,
"lastModifiedTime": 1711609415094
},
"rating": 0,
"escalated": false
}
],
"totalCount": 0
}
Modified at 2024-05-22 10:24:05