Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Provides Employee to Update Consumer consumer Details Enables employee to update consumer details

...

User will be landed on Users are redirected to this screen/Page on Clicking on page when they click on the Update Consumer CardDetails card

...

Link → {base url}/mgramseva/home/consumersearchupdate?Mode=update

→ {base url}/mgramseva/home/consumersearchresult

then it It redirects to Search Connection Page with a Mode as update and then user can Provide Consumer specific Details to search Consumer. The Search Result Screen has a Button called Edit Consumer on click user will be navigate to Update consumer Screenin update mode where users enter specific consumer details to search for consumers. The search result screen has the Edit Consumer button. Clicking on this button navigates the users to the Update Consumer screen.

Field Validations

SL

Fields

Validations

1

consumer Name*

[A-Za-z ]

2

Gender*

None

3

Spouse/Parent’s Name*

[A-Za-z ]

4

Phone Number*

[0-9]

5

Old Connection No

None

6

Door Number

None

7

Street Name/Number

None

8

Gram Panchayat Name*

None- Disabled

9

Propert Type*

None

10

Service Type*

None

11

Meter Id

[a-zA-Z0-9]

12

Meter Reading

[0-9]

13

Billing Cycle

None

14

Arrears

[0-9.]

Note: All fields are validated on Submit apart from Phone the phone number which get’s gets validated on change.

 

API detailsDetails

SL

API

Params

Description

1

/egov-mdms-service/v1/_search

[{"moduleName":"ws-services-masters","masterDetails":[{"name":"connectionType"}]},{"moduleName":"PropertyTax","masterDetails":[{"name":"PropertyType"}]},{"moduleName":"BillingService","masterDetails":[{"name":"TaxPeriod","filter":"[?(@.service=='WS' && @.fromDate <= 1631989800000 && @.toDate >= 1631989800000)]

To get the Property Type and service Type and billing cycle values for the Dropdown

2

egov-location/location/v11/boundarys/_search?

hierarchyTypeCode=REVENUE&boundaryType=Locality&tenantId={tenantID}

To get the values for Locality DropDow

3

billing-service/demand/_search

consumerCode, businessService, tenantId

To Fetch Demand Details

4

property-services/property/_search

propertyIds, tenantId

To Fetch Property Type

5

ws-services/wc/_search

connectionNumber, tenantId

On Demand this API is Made

...