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. Domain Service Specs

Public Grievance Redressal

PreviousProperty Tax CalculatorNextRegistration

Last updated 2 years ago

Was this helpful?

Public Grievance Redressal APIs

Allows citizens to raise complaints, give feedback on the resolved complaints, or reopen complaints if not satisfied.

  • Public Grievance Redressal APIs
  • POSTsearch
  • POSTgetReports
  • POSTcount
  • POSTcreate
  • POSTplainsearch
  • POSTsearch
  • POSTupdate

search

post
Query parameters
offsetinteger · int32Optional
serviceRequestIdsstring[]Optional
tenantIdsstring[]Optional
Body
Responses
200
OK
*/*
Responseobject
201
Created
401
Unauthorized
403
Forbidden
404
Not Found
post
POST /rainmaker-pgr/v2/v2/_migrate HTTP/1.1
Host: egov-micro-dev.egovernments.org
Content-Type: application/json
Accept: */*
Content-Length: 424

{
  "RequestInfo": {
    "action": "text",
    "apiId": "text",
    "authToken": "text",
    "correlationId": "text",
    "did": "text",
    "key": "text",
    "msgId": "text",
    "plainAccessRequest": {
      "plainRequestFields": [
        "text"
      ],
      "recordId": "text"
    },
    "ts": 1,
    "userInfo": {
      "emailId": "text",
      "id": 1,
      "mobileNumber": "text",
      "name": "text",
      "roles": [
        {
          "code": "text",
          "id": 1,
          "name": "text",
          "tenantId": "text"
        }
      ],
      "tenantId": "text",
      "type": "text",
      "userName": "text",
      "uuid": "text"
    },
    "ver": "text"
  }
}
{}

getReports

post
Body
reportNamestringRequired
tenantIdstringRequired
Responses
200
OK
*/*
Responseobject
201
Created
401
Unauthorized
403
Forbidden
404
Not Found
post
POST /rainmaker-pgr/v2/reports/_get HTTP/1.1
Host: egov-micro-dev.egovernments.org
Content-Type: application/json
Accept: */*
Content-Length: 506

{
  "RequestInfo": {
    "action": "text",
    "apiId": "text",
    "authToken": "text",
    "correlationId": "text",
    "did": "text",
    "key": "text",
    "msgId": "text",
    "plainAccessRequest": {
      "plainRequestFields": [
        "text"
      ],
      "recordId": "text"
    },
    "ts": 1,
    "userInfo": {
      "emailId": "text",
      "id": 1,
      "mobileNumber": "text",
      "name": "text",
      "roles": [
        {
          "code": "text",
          "id": 1,
          "name": "text",
          "tenantId": "text"
        }
      ],
      "tenantId": "text",
      "type": "text",
      "userName": "text",
      "uuid": "text"
    },
    "ver": "text"
  },
  "reportName": "text",
  "searchParams": [
    {
      "input": {},
      "name": "text"
    }
  ],
  "tenantId": "text"
}
{}

count

post
Query parameters
accountIdstringOptionalPattern: ^[a-zA-Z0-9]$
activebooleanOptional
assignedTostringOptionalPattern: ^[a-zA-Z0-9]$
createdBystringOptional
endDateinteger · int64Optional
groupstringOptionalPattern: ^[a-zA-Z.]$
lastUpdatedSinceinteger · int64Optional
noOfRecordsinteger · int64Optional
offsetinteger · int64Optional
phonestringOptionalPattern: (^$|[0-9]{10})
serviceCodesstring[]Optional
serviceRequestIdstring[]Optional
startDateinteger · int64Optional
statusstring[]Optional
tenantIdstring · min: 2 · max: 25RequiredPattern: ^[a-zA-Z.]*$
Body
Responses
200
OK
*/*
Responseobject
201
Created
401
Unauthorized
403
Forbidden
404
Not Found
post
POST /rainmaker-pgr/v2/v1/requests/_count HTTP/1.1
Host: egov-micro-dev.egovernments.org
Content-Type: application/json
Accept: */*
Content-Length: 424

{
  "RequestInfo": {
    "action": "text",
    "apiId": "text",
    "authToken": "text",
    "correlationId": "text",
    "did": "text",
    "key": "text",
    "msgId": "text",
    "plainAccessRequest": {
      "plainRequestFields": [
        "text"
      ],
      "recordId": "text"
    },
    "ts": 1,
    "userInfo": {
      "emailId": "text",
      "id": 1,
      "mobileNumber": "text",
      "name": "text",
      "roles": [
        {
          "code": "text",
          "id": 1,
          "name": "text",
          "tenantId": "text"
        }
      ],
      "tenantId": "text",
      "type": "text",
      "userName": "text",
      "uuid": "text"
    },
    "ver": "text"
  }
}
{}

create

post
Body
Responses
200
OK
*/*
Responseobject
201
Created
401
Unauthorized
403
Forbidden
404
Not Found
post
POST /rainmaker-pgr/v2/v1/requests/_create HTTP/1.1
Host: egov-micro-dev.egovernments.org
Content-Type: application/json
Accept: */*
Content-Length: 1691

{
  "RequestInfo": {
    "action": "text",
    "apiId": "text",
    "authToken": "text",
    "correlationId": "text",
    "did": "text",
    "key": "text",
    "msgId": "text",
    "plainAccessRequest": {
      "plainRequestFields": [
        "text"
      ],
      "recordId": "text"
    },
    "ts": 1,
    "userInfo": {
      "emailId": "text",
      "id": 1,
      "mobileNumber": "text",
      "name": "text",
      "roles": [
        {
          "code": "text",
          "id": 1,
          "name": "text",
          "tenantId": "text"
        }
      ],
      "tenantId": "text",
      "type": "text",
      "userName": "text",
      "uuid": "text"
    },
    "ver": "text"
  },
  "actionInfo": [
    {
      "action": "text",
      "assignee": "text",
      "businessKey": "text",
      "by": "text",
      "comments": "text",
      "isInternal": true,
      "media": [
        "text"
      ],
      "status": "text",
      "tenantId": "text",
      "uuid": "text",
      "when": 1
    }
  ],
  "services": [
    {
      "accountId": "text",
      "active": true,
      "address": "text",
      "addressDetail": {
        "auditDetails": {
          "createdBy": "text",
          "createdTime": 1,
          "lastModifiedBy": "text",
          "lastModifiedTime": 1
        },
        "city": "text",
        "houseNoAndStreetName": "text",
        "landmark": "text",
        "latitude": 1,
        "locality": "text",
        "longitude": 1,
        "mohalla": "text",
        "tenantId": "text",
        "uuid": "text"
      },
      "addressId": "text",
      "attributes": {},
      "auditDetails": {
        "createdBy": "text",
        "createdTime": 1,
        "lastModifiedBy": "text",
        "lastModifiedTime": 1
      },
      "citizen": {
        "aadhaarNumber": "text",
        "active": true,
        "emailId": "text",
        "gender": "FEMALE",
        "id": 1,
        "mobileNumber": "text",
        "name": "text",
        "pan": "text",
        "password": "text",
        "permanentAddress": "text",
        "roles": [
          {
            "code": "text",
            "name": "text",
            "tenantId": "text"
          }
        ],
        "tenantId": "text",
        "type": "BUSINESS",
        "userName": "text",
        "uuid": "text"
      },
      "description": "text",
      "deviceId": "text",
      "email": "text",
      "expectedTime": 1,
      "feedback": "text",
      "firstName": "text",
      "landmark": "text",
      "lastName": "text",
      "lat": 1,
      "long": 1,
      "phone": "text",
      "rating": "text",
      "serviceCode": "text",
      "serviceRequestId": "text",
      "source": "RB Bot",
      "status": "assigned",
      "tenantId": "text"
    }
  ]
}
{}

plainsearch

post
Query parameters
accountIdstringOptionalPattern: ^[a-zA-Z0-9]$
activebooleanOptional
assignedTostringOptionalPattern: ^[a-zA-Z0-9]$
createdBystringOptional
endDateinteger · int64Optional
groupstringOptionalPattern: ^[a-zA-Z.]$
lastUpdatedSinceinteger · int64Optional
noOfRecordsinteger · int64Optional
offsetinteger · int64Optional
phonestringOptionalPattern: (^$|[0-9]{10})
serviceCodesstring[]Optional
serviceRequestIdstring[]Optional
startDateinteger · int64Optional
statusstring[]Optional
tenantIdstring · min: 2 · max: 25RequiredPattern: ^[a-zA-Z.]*$
Body
Responses
200
OK
*/*
Responseobject
201
Created
401
Unauthorized
403
Forbidden
404
Not Found
post
POST /rainmaker-pgr/v2/v1/requests/_plainsearch HTTP/1.1
Host: egov-micro-dev.egovernments.org
Content-Type: application/json
Accept: */*
Content-Length: 424

{
  "RequestInfo": {
    "action": "text",
    "apiId": "text",
    "authToken": "text",
    "correlationId": "text",
    "did": "text",
    "key": "text",
    "msgId": "text",
    "plainAccessRequest": {
      "plainRequestFields": [
        "text"
      ],
      "recordId": "text"
    },
    "ts": 1,
    "userInfo": {
      "emailId": "text",
      "id": 1,
      "mobileNumber": "text",
      "name": "text",
      "roles": [
        {
          "code": "text",
          "id": 1,
          "name": "text",
          "tenantId": "text"
        }
      ],
      "tenantId": "text",
      "type": "text",
      "userName": "text",
      "uuid": "text"
    },
    "ver": "text"
  }
}
{}

search

post
Query parameters
accountIdstringOptionalPattern: ^[a-zA-Z0-9]$
activebooleanOptional
assignedTostringOptionalPattern: ^[a-zA-Z0-9]$
createdBystringOptional
endDateinteger · int64Optional
groupstringOptionalPattern: ^[a-zA-Z.]$
lastUpdatedSinceinteger · int64Optional
noOfRecordsinteger · int64Optional
offsetinteger · int64Optional
phonestringOptionalPattern: (^$|[0-9]{10})
serviceCodesstring[]Optional
serviceRequestIdstring[]Optional
startDateinteger · int64Optional
statusstring[]Optional
tenantIdstring · min: 2 · max: 25RequiredPattern: ^[a-zA-Z.]*$
Body
Responses
200
OK
*/*
Responseobject
201
Created
401
Unauthorized
403
Forbidden
404
Not Found
post
POST /rainmaker-pgr/v2/v1/requests/_search HTTP/1.1
Host: egov-micro-dev.egovernments.org
Content-Type: application/json
Accept: */*
Content-Length: 424

{
  "RequestInfo": {
    "action": "text",
    "apiId": "text",
    "authToken": "text",
    "correlationId": "text",
    "did": "text",
    "key": "text",
    "msgId": "text",
    "plainAccessRequest": {
      "plainRequestFields": [
        "text"
      ],
      "recordId": "text"
    },
    "ts": 1,
    "userInfo": {
      "emailId": "text",
      "id": 1,
      "mobileNumber": "text",
      "name": "text",
      "roles": [
        {
          "code": "text",
          "id": 1,
          "name": "text",
          "tenantId": "text"
        }
      ],
      "tenantId": "text",
      "type": "text",
      "userName": "text",
      "uuid": "text"
    },
    "ver": "text"
  }
}
{}

update

post
Body
Responses
200
OK
*/*
Responseobject
201
Created
401
Unauthorized
403
Forbidden
404
Not Found
post
POST /rainmaker-pgr/v2/v1/requests/_update HTTP/1.1
Host: egov-micro-dev.egovernments.org
Content-Type: application/json
Accept: */*
Content-Length: 1691

{
  "RequestInfo": {
    "action": "text",
    "apiId": "text",
    "authToken": "text",
    "correlationId": "text",
    "did": "text",
    "key": "text",
    "msgId": "text",
    "plainAccessRequest": {
      "plainRequestFields": [
        "text"
      ],
      "recordId": "text"
    },
    "ts": 1,
    "userInfo": {
      "emailId": "text",
      "id": 1,
      "mobileNumber": "text",
      "name": "text",
      "roles": [
        {
          "code": "text",
          "id": 1,
          "name": "text",
          "tenantId": "text"
        }
      ],
      "tenantId": "text",
      "type": "text",
      "userName": "text",
      "uuid": "text"
    },
    "ver": "text"
  },
  "actionInfo": [
    {
      "action": "text",
      "assignee": "text",
      "businessKey": "text",
      "by": "text",
      "comments": "text",
      "isInternal": true,
      "media": [
        "text"
      ],
      "status": "text",
      "tenantId": "text",
      "uuid": "text",
      "when": 1
    }
  ],
  "services": [
    {
      "accountId": "text",
      "active": true,
      "address": "text",
      "addressDetail": {
        "auditDetails": {
          "createdBy": "text",
          "createdTime": 1,
          "lastModifiedBy": "text",
          "lastModifiedTime": 1
        },
        "city": "text",
        "houseNoAndStreetName": "text",
        "landmark": "text",
        "latitude": 1,
        "locality": "text",
        "longitude": 1,
        "mohalla": "text",
        "tenantId": "text",
        "uuid": "text"
      },
      "addressId": "text",
      "attributes": {},
      "auditDetails": {
        "createdBy": "text",
        "createdTime": 1,
        "lastModifiedBy": "text",
        "lastModifiedTime": 1
      },
      "citizen": {
        "aadhaarNumber": "text",
        "active": true,
        "emailId": "text",
        "gender": "FEMALE",
        "id": 1,
        "mobileNumber": "text",
        "name": "text",
        "pan": "text",
        "password": "text",
        "permanentAddress": "text",
        "roles": [
          {
            "code": "text",
            "name": "text",
            "tenantId": "text"
          }
        ],
        "tenantId": "text",
        "type": "BUSINESS",
        "userName": "text",
        "uuid": "text"
      },
      "description": "text",
      "deviceId": "text",
      "email": "text",
      "expectedTime": 1,
      "feedback": "text",
      "firstName": "text",
      "landmark": "text",
      "lastName": "text",
      "lat": 1,
      "long": 1,
      "phone": "text",
      "rating": "text",
      "serviceCode": "text",
      "serviceRequestId": "text",
      "source": "RB Bot",
      "status": "assigned",
      "tenantId": "text"
    }
  ]
}
{}