Update Consumer

Overview

This screen enables employees to update consumer details.

Users are redirected to this screen/page when they click on the Update Consumer Details card.

Link

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

→ {base url}/mgramseva/home/consumersearchresult

It redirects to Search Connection Page in 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

Fields

Validations

consumer Name*

[A-Za-z ]

Gender*

None

Spouse/Parent’s Name*

[A-Za-z ]

Phone Number*

[0-9]

Old Connection No

None

Category

None

Sub Category

None

Door Number

None

Street Name/Number

None

Gram Panchayat Name*

None- Disabled

Propert Type*

None

Service Type*

None

Meter Id

[a-zA-Z0-9]

Meter Reading

[0-9]

Billing Cycle

None

Arrears

[0-9.]

Advance

[0-9.]

Penalty

[0-9.]

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

API Details

APIParamsDescription

/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

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

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

To get the values for Locality Dropdown

billing-service/demand/_search

consumerCode, businessService, tenantId

To Fetch Demand Details

property-services/property/_search

propertyIds, tenantId

To Fetch Property Type

ws-services/wc/_search

connectionNumber, tenantId

On Demand this API is Made

Components utilised from Widgets Library

Components

File Path

TextField Builder

RadioButtonField Builder

SearchSelectField Builder

DatePicker Builder

Last updated