LogoLogo
v1.0
v1.0
  • mGramSeva
    • Technology
    • Architecture
    • Demo video
    • Product Docs
      • Functional Docs
        • Login & Forgot Password
        • User Roles & Home Screen
        • Create Consumer
        • Search Consumer
        • Edit Consumer
        • View Consumer
        • Billing - Bulk Demand Generation
        • Billing - Metered Connection
        • Revenue Collection - Offline
        • Expenditure - Add Expense
        • Expenditure - Modify Expense
        • User Onboarding - Bulk Upload
        • User Onboarding/Walkthrough
        • Feedback - Post Payment
        • SMS Notifications
        • Home Page Notifications
        • Edit User Profile
        • Bill and Receipt PDF
        • Update Expense Search
        • Bulk Demand Generation For Non-Metered Connection
        • Demand/Bill Generation For Metered Connection
        • Household Register
        • Tabular Dashboard - Expense
        • Tabular Dashboard - Collection
        • Download Bills & Receipt
      • Technical User Docs
        • Application Structure
        • Firebase Analytics Integration
        • Integration Testing
        • Integration Testing With Github Actions
        • Backend Services
          • mGramSeva - Water Services
          • mGramSeva - Water Service Calculator
          • mGramSeva e-Challan Service
          • mGramSeva - User Service
          • mGramSeva - Billing Service
          • mGramSeva - User OTP
          • iFix Adapter Integration Service
          • mGramSeva - Rollout Dashboard
          • mGramSeva Scheduler
          • mGramSeva- Services Re-Indexing
          • mGramSeva Dashboard
        • Tech User Manual
          • Language Selection
          • Login
          • Change Password
          • Edit Profile
          • Home Page
          • Forgot Password
          • Update Password FTL
          • Generate Bill
          • Search Connection
          • Consumer Details
            • Create Consumer
            • Update Consumer
          • Expenses
            • Add Expenses
            • Search Expense Bills
            • Modify Expenses
          • Dashboards
            • Monthly Dashboard
            • Collections Dashboard
            • Expenditure Dashboard
          • Collect Payment
          • Consumer Feedback
          • Household Register
          • Bluetooth Thermal Printer Integration
        • Application Permissions & Dependencies
        • mGramSeva UI
          • UI Mockups
          • mGramSeva UI
      • User Docs
        • User Manual
    • Installation
    • Configuration
  • 🚻Community
    • Roadmap
    • Source Code
    • Discussion
    • Events
    • Training & Certification
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
  • Link
  • Field Validations
  • API Details
  1. mGramSeva
  2. Product Docs
  3. Technical User Docs
  4. Tech User Manual
  5. Consumer Details

Update Consumer

PreviousCreate ConsumerNextExpenses

Last updated 2 years ago

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 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

Door Number

None

Street Name/Number

None

Gram Panchayat Name*

None- Disabled

Property Type*

None

Service Type*

None

Meter Id

[a-zA-Z0-9]

Meter Reading

[0-9]

Billing Cycle

None

Arrears

[0-9.]

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

API Details

API
Params
Description

/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

All content on this page by is licensed under a .

Search Connection
​
eGov Foundation
Creative Commons Attribution 4.0 International License
punjab-mgramseva/TextFieldBuilder.dart at develop · egovernments/punjab-mgramseva
punjab-mgramseva/RadioButtonFieldBuilder.dart at develop · egovernments/punjab-mgramseva
punjab-mgramseva/SearchSelectFieldBuilder.dart at develop · egovernments/punjab-mgramseva
punjab-mgramseva/DatePickerFieldBuilder.dart at develop · egovernments/punjab-mgramseva
Creative Commons License