- 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
Get the count of applications satisfying the given criteria
POST
/process/_count
WorkFlow
Last modified:2024-05-22 10:34:44
1.
2.
Request
Query Params
tenantId
string <varchar>
required
status
string
optional
ids
string
optional
businessService
string
optional
>= 2 characters<= 64 characters
moduleName
string
optional
>= 2 characters<= 64 characters
businessIds
array[string]
optional
<= 50 items
assignee
string
optional
>= 2 characters<= 64 characters
history
boolean
optional
limit
integer
optional
offset
integer
optional
fromDate
integer
optional
toDate
integer
optional
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/_count?tenantId&status&ids&businessService&moduleName&businessIds&assignee&history&limit&offset&fromDate&toDate' \
--header 'Content-Type: text/plain' \
--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
🟢200Successful
application/json
Body
ResponseInfo
object
optional
ProcessInstances
array[object (ProcessInstance) {20}]
optional
id
string
read-onlyoptional
>= 2 characters<= 64 characters
tenantId
string
required
>= 2 characters<= 128 characters
businessService
string
required
>= 2 characters<= 128 characters
businessId
string
required
TLid, ServiceRequestid)
>= 2 characters<= 128 characters
action
string
required
>= 2 characters<= 128 characters
moduleName
string
required
>= 2 characters<= 64 characters
state
string
read-onlyoptional
>= 2 characters<= 64 characters
comment
string
optional
>= 2 characters<= 64 characters
documents
array[object (Document) {6}]
optional
assigner
object
optional
assignes
array [object]
optional
nextActions
array[string]
read-onlyoptional
stateSla
integer <int64>
optional
businesssServiceSla
integer <int64>
optional
currentStatus
string
optional
previousStatus
string
optional
<= 128 characters
entity
object
optional
rating
integer
optional
>= 1<= 5
escalated
boolean
optional
auditDetails
object
optional
totalCount
integer
optional
Example
{
"ResponseInfo": {},
"ProcessInstances": [
{
"id": "string",
"tenantId": "string",
"businessService": "string",
"businessId": "string",
"action": "string",
"moduleName": "string",
"state": "string",
"comment": "string",
"documents": [
{
"id": "string",
"tenantId": "string",
"documentType": "string",
"fileStoreId": "string",
"documentUid": "string",
"auditDetails": {}
}
],
"assigner": {},
"assignes": [
{}
],
"nextActions": [
"string"
],
"stateSla": 0,
"businesssServiceSla": 0,
"currentStatus": "string",
"previousStatus": "string",
"entity": {},
"rating": 1,
"escalated": true,
"auditDetails": {}
}
],
"totalCount": 0
}
🟠400Invalid input.
Modified at 2024-05-22 10:34:44