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. Archived-docs
  2. DIGIT Urban Service Specs
  3. Miscellaneous Collection Service

Miscellaneous Collection API

PreviousMiscellaneous Collections Data ModelNextOnline Building Plan Approval Service

Last updated 2 years ago

Was this helpful?

eChallan Service

Miscellaneous Collection Calculator API Specs

Get the list of existing challan details

post

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

Query parameters
tenantIdstring · varcharRequired

Unique id for a tenant.

serviceCodestring[]Optional

Allows search for service type - comma separated list

idsstring[]Optional

Search by list of UUID

mobileNostringOptional

Search by mobile number citizen

Responses
202
Successful response sorted by reverse chrnological order of creation
*/*
400
Invalid input.
*/*
post
POST /eChallan/v1/_search?tenantId=text HTTP/1.1
Host: 
Accept: */*
{
  "responseInfo": {
    "ts": 1,
    "resMsgId": "text",
    "msgId": "text",
    "status": "COMPLETED",
    "signature": "text",
    "error": {
      "code": "text",
      "message": "text",
      "description": "text",
      "params": [
        "text"
      ]
    },
    "information": {},
    "debug": {},
    "additionalInfo": {}
  },
  "challans": [
    {
      "citizen": {
        "tenantId": "text",
        "uuid": "text",
        "userName": "text",
        "password": "text",
        "idToken": "text",
        "mobile": "text",
        "email": "text",
        "primaryrole": [
          {
            "name": "text",
            "code": "text",
            "tenantId": "text",
            "description": "text"
          }
        ],
        "additionalroles": [
          {
            "tenantId": "text",
            "roles": [
              {
                "name": "text",
                "code": "text",
                "tenantId": "text",
                "description": "text"
              }
            ]
          }
        ]
      },
      "id": "text",
      "tenantId": "text",
      "businessService": "text",
      "challanNo": "text",
      "referenceId": "text",
      "description": "text",
      "accountId": "text",
      "additionalDetail": {},
      "applicationStatus": "text",
      "source": "whatsapp, ivr etc",
      "amount": [
        {
          "taxHeadCode": "text",
          "amount": 1
        }
      ],
      "address": {
        "tenantId": "text",
        "doorNo": "text",
        "plotNo": "text",
        "id": "text",
        "landmark": "text",
        "city": "text",
        "district": "text",
        "region": "text",
        "state": "text",
        "country": "text",
        "pincode": "text",
        "additionDetails": "text",
        "buildingName": "text",
        "street": "text",
        "locality": {
          "code": "text",
          "name": "text",
          "label": "text",
          "latitude": "text",
          "longitude": "text",
          "children": [
            "[Circular Reference]"
          ],
          "materializedPath": "text"
        },
        "geoLocation": {
          "latitude": 1,
          "longitude": 1,
          "additionalDetails": {}
        }
      },
      "auditDetails": {
        "createdBy": "text",
        "lastModifiedBy": "text",
        "createdTime": 1,
        "lastModifiedTime": 1
      }
    }
  ]
}

Get the list of count of paid, active, cancelled and total number of challan

post

Get the list of count of paid, active, cancelled and total number of challan for given tenant Id.

Query parameters
tenantIdstring · varcharRequired

Unique id for a tenant.

Responses
200
Successful response, present the list of count of challans for given tenant Id.
*/*
400
Invalid input.
*/*
post
POST /eChallan/v1/_count?tenantId=text HTTP/1.1
Host: 
Accept: */*
{
  "responseInfo": {
    "ts": 1,
    "resMsgId": "text",
    "msgId": "text",
    "status": "COMPLETED",
    "signature": "text",
    "error": {
      "code": "text",
      "message": "text",
      "description": "text",
      "params": [
        "text"
      ]
    },
    "information": {},
    "debug": {},
    "additionalInfo": {}
  },
  "ChallanCount": {
    "paidChallan": "text",
    "cancelledChallan": "text",
    "activeChallan": "text",
    "totalChallan": "text"
  }
}

Get the list of existing challan details

post

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

Query parameters
tenantIdstring · varcharRequired

Unique id for a tenant.

serviceCodestring[]Optional

Allows search for service type - comma separated list

idsstring[]Optional

Search by list of UUID

mobileNostringOptional

Search by mobile number citizen

Responses
202
Successful response sorted by reverse chrnological order of creation
*/*
400
Invalid input.
*/*
post
POST /eChallan/v1/_search?tenantId=text HTTP/1.1
Host: 
Accept: */*
{
  "responseInfo": {
    "ts": 1,
    "resMsgId": "text",
    "msgId": "text",
    "status": "COMPLETED",
    "signature": "text",
    "error": {
      "code": "text",
      "message": "text",
      "description": "text",
      "params": [
        "text"
      ]
    },
    "information": {},
    "debug": {},
    "additionalInfo": {}
  },
  "challans": [
    {
      "citizen": {
        "tenantId": "text",
        "uuid": "text",
        "userName": "text",
        "password": "text",
        "idToken": "text",
        "mobile": "text",
        "email": "text",
        "primaryrole": [
          {
            "name": "text",
            "code": "text",
            "tenantId": "text",
            "description": "text"
          }
        ],
        "additionalroles": [
          {
            "tenantId": "text",
            "roles": [
              {
                "name": "text",
                "code": "text",
                "tenantId": "text",
                "description": "text"
              }
            ]
          }
        ]
      },
      "id": "text",
      "tenantId": "text",
      "businessService": "text",
      "challanNo": "text",
      "referenceId": "text",
      "description": "text",
      "accountId": "text",
      "additionalDetail": {},
      "applicationStatus": "text",
      "source": "whatsapp, ivr etc",
      "amount": [
        {
          "taxHeadCode": "text",
          "amount": 1
        }
      ],
      "address": {
        "tenantId": "text",
        "doorNo": "text",
        "plotNo": "text",
        "id": "text",
        "landmark": "text",
        "city": "text",
        "district": "text",
        "region": "text",
        "state": "text",
        "country": "text",
        "pincode": "text",
        "additionDetails": "text",
        "buildingName": "text",
        "street": "text",
        "locality": {
          "code": "text",
          "name": "text",
          "label": "text",
          "latitude": "text",
          "longitude": "text",
          "children": [
            "[Circular Reference]"
          ],
          "materializedPath": "text"
        },
        "geoLocation": {
          "latitude": 1,
          "longitude": 1,
          "additionalDetails": {}
        }
      },
      "auditDetails": {
        "createdBy": "text",
        "lastModifiedBy": "text",
        "createdTime": 1,
        "lastModifiedTime": 1
      }
    }
  ]
}

Get the list of count of paid, active, cancelled and total number of challan

post

Get the list of count of paid, active, cancelled and total number of challan for given tenant Id.

Query parameters
tenantIdstring · varcharRequired

Unique id for a tenant.

Responses
200
Successful response, present the list of count of challans for given tenant Id.
*/*
400
Invalid input.
*/*
post
POST /eChallan/v1/_count?tenantId=text HTTP/1.1
Host: 
Accept: */*
{
  "responseInfo": {
    "ts": 1,
    "resMsgId": "text",
    "msgId": "text",
    "status": "COMPLETED",
    "signature": "text",
    "error": {
      "code": "text",
      "message": "text",
      "description": "text",
      "params": [
        "text"
      ]
    },
    "information": {},
    "debug": {},
    "additionalInfo": {}
  },
  "ChallanCount": {
    "paidChallan": "text",
    "cancelledChallan": "text",
    "activeChallan": "text",
    "totalChallan": "text"
  }
}
  • eChallan Service
  • POSTCreate new challan request
  • POSTUpdate the existing challan details
  • POSTGet the list of existing challan details
  • POSTGet the list of count of paid, active, cancelled and total number of challan
  • Miscellaneous Collection Calculator API Specs
  • POSTCreate new challan request
  • POSTUpdate the existing challan details
  • POSTGet the list of existing challan details
  • POSTGet the list of count of paid, active, cancelled and total number of challan

Create new challan request

post

Generate the challan in the system with the defined attributes

Body

Request object to fetch the report data

Responses
202
Application submitted successfully
*/*
400
Failed to process the application
*/*
post
POST /eChallan/v1/_create HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 970

{
  "requestInfo": {
    "apiInfo": {
      "id": "text",
      "version": "text",
      "path": "text"
    },
    "deviceDetail": {
      "id": "text",
      "signature": "text"
    },
    "ts": 1,
    "action": "text",
    "key": "text",
    "msgId": "text",
    "requesterId": "text",
    "authToken": "text",
    "signature": "text"
  },
  "challan": {
    "tenantId": "text",
    "businessService": "text",
    "referenceId": "text",
    "description": "text",
    "accountId": "text",
    "additionalDetail": {},
    "source": "whatsapp, ivr etc",
    "amount": [
      {
        "taxHeadCode": "text",
        "amount": 1
      }
    ],
    "address": {
      "tenantId": "text",
      "doorNo": "text",
      "plotNo": "text",
      "landmark": "text",
      "city": "text",
      "district": "text",
      "region": "text",
      "state": "text",
      "country": "text",
      "pincode": "text",
      "additionDetails": "text",
      "buildingName": "text",
      "street": "text",
      "locality": {
        "code": "text",
        "name": "text",
        "label": "text",
        "latitude": "text",
        "longitude": "text",
        "children": [
          {
            "code": "text",
            "name": "text",
            "label": "text",
            "latitude": "text",
            "longitude": "text",
            "children": "[Circular Reference]"
          }
        ]
      },
      "geoLocation": {
        "latitude": 1,
        "longitude": 1,
        "additionalDetails": {}
      }
    }
  }
}
{
  "responseInfo": {
    "ts": 1,
    "resMsgId": "text",
    "msgId": "text",
    "status": "COMPLETED",
    "signature": "text",
    "error": {
      "code": "text",
      "message": "text",
      "description": "text",
      "params": [
        "text"
      ]
    },
    "information": {},
    "debug": {},
    "additionalInfo": {}
  },
  "challans": [
    {
      "citizen": {
        "tenantId": "text",
        "uuid": "text",
        "userName": "text",
        "password": "text",
        "idToken": "text",
        "mobile": "text",
        "email": "text",
        "primaryrole": [
          {
            "name": "text",
            "code": "text",
            "tenantId": "text",
            "description": "text"
          }
        ],
        "additionalroles": [
          {
            "tenantId": "text",
            "roles": [
              {
                "name": "text",
                "code": "text",
                "tenantId": "text",
                "description": "text"
              }
            ]
          }
        ]
      },
      "id": "text",
      "tenantId": "text",
      "businessService": "text",
      "challanNo": "text",
      "referenceId": "text",
      "description": "text",
      "accountId": "text",
      "additionalDetail": {},
      "applicationStatus": "text",
      "source": "whatsapp, ivr etc",
      "amount": [
        {
          "taxHeadCode": "text",
          "amount": 1
        }
      ],
      "address": {
        "tenantId": "text",
        "doorNo": "text",
        "plotNo": "text",
        "id": "text",
        "landmark": "text",
        "city": "text",
        "district": "text",
        "region": "text",
        "state": "text",
        "country": "text",
        "pincode": "text",
        "additionDetails": "text",
        "buildingName": "text",
        "street": "text",
        "locality": {
          "code": "text",
          "name": "text",
          "label": "text",
          "latitude": "text",
          "longitude": "text",
          "children": [
            "[Circular Reference]"
          ],
          "materializedPath": "text"
        },
        "geoLocation": {
          "latitude": 1,
          "longitude": 1,
          "additionalDetails": {}
        }
      },
      "auditDetails": {
        "createdBy": "text",
        "lastModifiedBy": "text",
        "createdTime": 1,
        "lastModifiedTime": 1
      }
    }
  ]
}

Update the existing challan details

post

Update the existing challan details

Body

Request object to fetch the report data

Responses
202
Application submitted successfully
*/*
400
Failed to process the application
*/*
post
POST /eChallan/v1/_update HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 970

{
  "requestInfo": {
    "apiInfo": {
      "id": "text",
      "version": "text",
      "path": "text"
    },
    "deviceDetail": {
      "id": "text",
      "signature": "text"
    },
    "ts": 1,
    "action": "text",
    "key": "text",
    "msgId": "text",
    "requesterId": "text",
    "authToken": "text",
    "signature": "text"
  },
  "challan": {
    "tenantId": "text",
    "businessService": "text",
    "referenceId": "text",
    "description": "text",
    "accountId": "text",
    "additionalDetail": {},
    "source": "whatsapp, ivr etc",
    "amount": [
      {
        "taxHeadCode": "text",
        "amount": 1
      }
    ],
    "address": {
      "tenantId": "text",
      "doorNo": "text",
      "plotNo": "text",
      "landmark": "text",
      "city": "text",
      "district": "text",
      "region": "text",
      "state": "text",
      "country": "text",
      "pincode": "text",
      "additionDetails": "text",
      "buildingName": "text",
      "street": "text",
      "locality": {
        "code": "text",
        "name": "text",
        "label": "text",
        "latitude": "text",
        "longitude": "text",
        "children": [
          {
            "code": "text",
            "name": "text",
            "label": "text",
            "latitude": "text",
            "longitude": "text",
            "children": "[Circular Reference]"
          }
        ]
      },
      "geoLocation": {
        "latitude": 1,
        "longitude": 1,
        "additionalDetails": {}
      }
    }
  }
}
{
  "responseInfo": {
    "ts": 1,
    "resMsgId": "text",
    "msgId": "text",
    "status": "COMPLETED",
    "signature": "text",
    "error": {
      "code": "text",
      "message": "text",
      "description": "text",
      "params": [
        "text"
      ]
    },
    "information": {},
    "debug": {},
    "additionalInfo": {}
  },
  "challans": [
    {
      "citizen": {
        "tenantId": "text",
        "uuid": "text",
        "userName": "text",
        "password": "text",
        "idToken": "text",
        "mobile": "text",
        "email": "text",
        "primaryrole": [
          {
            "name": "text",
            "code": "text",
            "tenantId": "text",
            "description": "text"
          }
        ],
        "additionalroles": [
          {
            "tenantId": "text",
            "roles": [
              {
                "name": "text",
                "code": "text",
                "tenantId": "text",
                "description": "text"
              }
            ]
          }
        ]
      },
      "id": "text",
      "tenantId": "text",
      "businessService": "text",
      "challanNo": "text",
      "referenceId": "text",
      "description": "text",
      "accountId": "text",
      "additionalDetail": {},
      "applicationStatus": "text",
      "source": "whatsapp, ivr etc",
      "amount": [
        {
          "taxHeadCode": "text",
          "amount": 1
        }
      ],
      "address": {
        "tenantId": "text",
        "doorNo": "text",
        "plotNo": "text",
        "id": "text",
        "landmark": "text",
        "city": "text",
        "district": "text",
        "region": "text",
        "state": "text",
        "country": "text",
        "pincode": "text",
        "additionDetails": "text",
        "buildingName": "text",
        "street": "text",
        "locality": {
          "code": "text",
          "name": "text",
          "label": "text",
          "latitude": "text",
          "longitude": "text",
          "children": [
            "[Circular Reference]"
          ],
          "materializedPath": "text"
        },
        "geoLocation": {
          "latitude": 1,
          "longitude": 1,
          "additionalDetails": {}
        }
      },
      "auditDetails": {
        "createdBy": "text",
        "lastModifiedBy": "text",
        "createdTime": 1,
        "lastModifiedTime": 1
      }
    }
  ]
}

Create new challan request

post

Generate the challan in the system with the defined attributes

Body

Request object to fetch the report data

Responses
202
Application submitted successfully
*/*
400
Failed to process the application
*/*
post
POST /eChallan/v1/_create HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 970

{
  "requestInfo": {
    "apiInfo": {
      "id": "text",
      "version": "text",
      "path": "text"
    },
    "deviceDetail": {
      "id": "text",
      "signature": "text"
    },
    "ts": 1,
    "action": "text",
    "key": "text",
    "msgId": "text",
    "requesterId": "text",
    "authToken": "text",
    "signature": "text"
  },
  "challan": {
    "tenantId": "text",
    "businessService": "text",
    "referenceId": "text",
    "description": "text",
    "accountId": "text",
    "additionalDetail": {},
    "source": "whatsapp, ivr etc",
    "amount": [
      {
        "taxHeadCode": "text",
        "amount": 1
      }
    ],
    "address": {
      "tenantId": "text",
      "doorNo": "text",
      "plotNo": "text",
      "landmark": "text",
      "city": "text",
      "district": "text",
      "region": "text",
      "state": "text",
      "country": "text",
      "pincode": "text",
      "additionDetails": "text",
      "buildingName": "text",
      "street": "text",
      "locality": {
        "code": "text",
        "name": "text",
        "label": "text",
        "latitude": "text",
        "longitude": "text",
        "children": [
          {
            "code": "text",
            "name": "text",
            "label": "text",
            "latitude": "text",
            "longitude": "text",
            "children": "[Circular Reference]"
          }
        ]
      },
      "geoLocation": {
        "latitude": 1,
        "longitude": 1,
        "additionalDetails": {}
      }
    }
  }
}
{
  "responseInfo": {
    "ts": 1,
    "resMsgId": "text",
    "msgId": "text",
    "status": "COMPLETED",
    "signature": "text",
    "error": {
      "code": "text",
      "message": "text",
      "description": "text",
      "params": [
        "text"
      ]
    },
    "information": {},
    "debug": {},
    "additionalInfo": {}
  },
  "challans": [
    {
      "citizen": {
        "tenantId": "text",
        "uuid": "text",
        "userName": "text",
        "password": "text",
        "idToken": "text",
        "mobile": "text",
        "email": "text",
        "primaryrole": [
          {
            "name": "text",
            "code": "text",
            "tenantId": "text",
            "description": "text"
          }
        ],
        "additionalroles": [
          {
            "tenantId": "text",
            "roles": [
              {
                "name": "text",
                "code": "text",
                "tenantId": "text",
                "description": "text"
              }
            ]
          }
        ]
      },
      "id": "text",
      "tenantId": "text",
      "businessService": "text",
      "challanNo": "text",
      "referenceId": "text",
      "description": "text",
      "accountId": "text",
      "additionalDetail": {},
      "applicationStatus": "text",
      "source": "whatsapp, ivr etc",
      "amount": [
        {
          "taxHeadCode": "text",
          "amount": 1
        }
      ],
      "address": {
        "tenantId": "text",
        "doorNo": "text",
        "plotNo": "text",
        "id": "text",
        "landmark": "text",
        "city": "text",
        "district": "text",
        "region": "text",
        "state": "text",
        "country": "text",
        "pincode": "text",
        "additionDetails": "text",
        "buildingName": "text",
        "street": "text",
        "locality": {
          "code": "text",
          "name": "text",
          "label": "text",
          "latitude": "text",
          "longitude": "text",
          "children": [
            "[Circular Reference]"
          ],
          "materializedPath": "text"
        },
        "geoLocation": {
          "latitude": 1,
          "longitude": 1,
          "additionalDetails": {}
        }
      },
      "auditDetails": {
        "createdBy": "text",
        "lastModifiedBy": "text",
        "createdTime": 1,
        "lastModifiedTime": 1
      }
    }
  ]
}

Update the existing challan details

post

Update the existing challan details

Body

Request object to fetch the report data

Responses
202
Application submitted successfully
*/*
400
Failed to process the application
*/*
post
POST /eChallan/v1/_update HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 970

{
  "requestInfo": {
    "apiInfo": {
      "id": "text",
      "version": "text",
      "path": "text"
    },
    "deviceDetail": {
      "id": "text",
      "signature": "text"
    },
    "ts": 1,
    "action": "text",
    "key": "text",
    "msgId": "text",
    "requesterId": "text",
    "authToken": "text",
    "signature": "text"
  },
  "challan": {
    "tenantId": "text",
    "businessService": "text",
    "referenceId": "text",
    "description": "text",
    "accountId": "text",
    "additionalDetail": {},
    "source": "whatsapp, ivr etc",
    "amount": [
      {
        "taxHeadCode": "text",
        "amount": 1
      }
    ],
    "address": {
      "tenantId": "text",
      "doorNo": "text",
      "plotNo": "text",
      "landmark": "text",
      "city": "text",
      "district": "text",
      "region": "text",
      "state": "text",
      "country": "text",
      "pincode": "text",
      "additionDetails": "text",
      "buildingName": "text",
      "street": "text",
      "locality": {
        "code": "text",
        "name": "text",
        "label": "text",
        "latitude": "text",
        "longitude": "text",
        "children": [
          {
            "code": "text",
            "name": "text",
            "label": "text",
            "latitude": "text",
            "longitude": "text",
            "children": "[Circular Reference]"
          }
        ]
      },
      "geoLocation": {
        "latitude": 1,
        "longitude": 1,
        "additionalDetails": {}
      }
    }
  }
}
{
  "responseInfo": {
    "ts": 1,
    "resMsgId": "text",
    "msgId": "text",
    "status": "COMPLETED",
    "signature": "text",
    "error": {
      "code": "text",
      "message": "text",
      "description": "text",
      "params": [
        "text"
      ]
    },
    "information": {},
    "debug": {},
    "additionalInfo": {}
  },
  "challans": [
    {
      "citizen": {
        "tenantId": "text",
        "uuid": "text",
        "userName": "text",
        "password": "text",
        "idToken": "text",
        "mobile": "text",
        "email": "text",
        "primaryrole": [
          {
            "name": "text",
            "code": "text",
            "tenantId": "text",
            "description": "text"
          }
        ],
        "additionalroles": [
          {
            "tenantId": "text",
            "roles": [
              {
                "name": "text",
                "code": "text",
                "tenantId": "text",
                "description": "text"
              }
            ]
          }
        ]
      },
      "id": "text",
      "tenantId": "text",
      "businessService": "text",
      "challanNo": "text",
      "referenceId": "text",
      "description": "text",
      "accountId": "text",
      "additionalDetail": {},
      "applicationStatus": "text",
      "source": "whatsapp, ivr etc",
      "amount": [
        {
          "taxHeadCode": "text",
          "amount": 1
        }
      ],
      "address": {
        "tenantId": "text",
        "doorNo": "text",
        "plotNo": "text",
        "id": "text",
        "landmark": "text",
        "city": "text",
        "district": "text",
        "region": "text",
        "state": "text",
        "country": "text",
        "pincode": "text",
        "additionDetails": "text",
        "buildingName": "text",
        "street": "text",
        "locality": {
          "code": "text",
          "name": "text",
          "label": "text",
          "latitude": "text",
          "longitude": "text",
          "children": [
            "[Circular Reference]"
          ],
          "materializedPath": "text"
        },
        "geoLocation": {
          "latitude": 1,
          "longitude": 1,
          "additionalDetails": {}
        }
      },
      "auditDetails": {
        "createdBy": "text",
        "lastModifiedBy": "text",
        "createdTime": 1,
        "lastModifiedTime": 1
      }
    }
  ]
}