Public Grievance Redressal Service API

Rainmaker-PGR Service Contract

Get service requests

post

Gets the list of service requests for a particular ULB based on search criteria.

  • name: group in: query description: Attribute of service config, it indicate the "Department" for which service type is defined. required: false type: string format: varchar
  • name: serviceCode in: query description: Allows search for service type - comma separated list. type: array items: type: string format: varchar
  • name: startDate in: query description: Earliest epoch time to include in search - request created time | required: false type: integer format: int64
  • name: endDate in: query description: Latest epoch time to include in search - request created time | If search is on start date then end date is mandatory, if end date is null then server will take current date as end date. required: false type: integer format: int64
  • name: lastUpdatedSince in: query description: searches all requests that have been modified/created since last modified epoch time as provided here required: false type: integer format: int64
Responses
200

Successful response sorted by reverse chrnological order of creation

application/json
post
/requests/_search

Create service requests

post

Create new service requests - supports batch - please note that in case of errors entire batch is rejected

Body

Request object to fetch the report data

Responses
200

Service Request Created

application/json
post
/requests/_create

Update service requests

post

Updates service request - supports batch - please note that in case of errors entire batch is rejected

Body

Request object to fetch the report data

Responses
200

Service Request updated

application/json
post
/requests/_update

Last updated

Was this helpful?