eChallan
eChallan System APIs
API specs to generate new challans, update existing challans, search challans, and generate demand bills for the challan amount for collection purposes.
Last updated
API specs to generate new challans, update existing challans, search challans, and generate demand bills for the challan amount for collection purposes.
Last updated
All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.
OK
OK
const response = await fetch('/eChallan/v1/_count?tenantId=text', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();
const response = await fetch('/eChallan/v1/_test', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();
{
"statusCode": "ACCEPTED"
}
Gets the list of service requests for a particular ULB based on search criteria.
Successful response sorted by reverse chrnological order of creation
const response = await fetch('/eChallan/v1/_search?tenantId=text', {
method: 'POST',
headers: {},
});
const data = await response.json();
{
"challans": [
{
"accountId": "text",
"address": {
"addressId": "text",
"addressLine1": "text",
"addressLine2": "text",
"addressNumber": "text",
"buildingName": "text",
"city": "text",
"country": "text",
"detail": "text",
"district": "text",
"doorNo": "text",
"id": "text",
"landmark": "text",
"latitude": 0,
"locality": {
"children": [],
"code": "text",
"label": "text",
"latitude": "text",
"longitude": "text",
"materializedPath": "text",
"name": "text"
},
"longitude": 0,
"pincode": "text",
"plotNo": "text",
"region": "text",
"state": "text",
"street": "text",
"tenantId": "text",
"type": "text"
},
"amount": [
{
"amount": 0,
"taxHeadCode": "text"
}
],
"applicationStatus": "ACTIVE",
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"businessService": "text",
"calculation": {
"challan": {
"accountId": "text",
"address": {
"addressId": "text",
"addressLine1": "text",
"addressLine2": "text",
"addressNumber": "text",
"buildingName": "text",
"city": "text",
"country": "text",
"detail": "text",
"district": "text",
"doorNo": "text",
"id": "text",
"landmark": "text",
"latitude": 0,
"locality": {
"children": [],
"code": "text",
"label": "text",
"latitude": "text",
"longitude": "text",
"materializedPath": "text",
"name": "text"
},
"longitude": 0,
"pincode": "text",
"plotNo": "text",
"region": "text",
"state": "text",
"street": "text",
"tenantId": "text",
"type": "text"
},
"amount": [
{
"amount": 0,
"taxHeadCode": "text"
}
],
"applicationStatus": "ACTIVE",
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"businessService": "text",
"challanNo": "text",
"citizen": {
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"additionalroles": [
{
"roles": [
{
"code": "text",
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text"
}
],
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"email": "text",
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"idToken": "text",
"identificationMark": "text",
"lastModifiedBy": "text",
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"primaryrole": [
{
"code": "text",
"name": "text",
"tenantId": "text"
}
],
"roles": [
{
"code": "text",
"name": "text",
"tenantId": "text"
}
],
"salutation": "text",
"signature": "text",
"tenantId": "text",
"type": "text",
"userName": "text",
"uuid": "text"
},
"description": "text",
"filestoreid": "text",
"id": "text",
"receiptNumber": "text",
"referenceId": "text",
"source": "text",
"tenantId": "text"
},
"challanNo": "text",
"taxHeadEstimates": [
{
"category": "ADVANCE_COLLECTION",
"estimateAmount": 0,
"taxHeadCode": "text"
}
],
"tenantId": "text"
},
"challanNo": "text",
"citizen": {
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"additionalroles": [
{
"roles": [
{
"code": "text",
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text"
}
],
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"email": "text",
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"idToken": "text",
"identificationMark": "text",
"lastModifiedBy": "text",
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"primaryrole": [
{
"code": "text",
"name": "text",
"tenantId": "text"
}
],
"roles": [
{
"code": "text",
"name": "text",
"tenantId": "text"
}
],
"salutation": "text",
"signature": "text",
"tenantId": "text",
"type": "text",
"userName": "text",
"uuid": "text"
},
"description": "text",
"filestoreid": "text",
"id": "text",
"receiptNumber": "text",
"referenceId": "text",
"source": "text",
"tenantId": "text"
}
],
"responseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ver": "text"
}
}
Update the existing challan details
Request schema.
Application submitted successfully
const response = await fetch('/eChallan/v1/_update', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();
{
"challans": [
{
"accountId": "text",
"address": {
"addressId": "text",
"addressLine1": "text",
"addressLine2": "text",
"addressNumber": "text",
"buildingName": "text",
"city": "text",
"country": "text",
"detail": "text",
"district": "text",
"doorNo": "text",
"id": "text",
"landmark": "text",
"latitude": 0,
"locality": {
"children": [],
"code": "text",
"label": "text",
"latitude": "text",
"longitude": "text",
"materializedPath": "text",
"name": "text"
},
"longitude": 0,
"pincode": "text",
"plotNo": "text",
"region": "text",
"state": "text",
"street": "text",
"tenantId": "text",
"type": "text"
},
"amount": [
{
"amount": 0,
"taxHeadCode": "text"
}
],
"applicationStatus": "ACTIVE",
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"businessService": "text",
"calculation": {
"challan": {
"accountId": "text",
"address": {
"addressId": "text",
"addressLine1": "text",
"addressLine2": "text",
"addressNumber": "text",
"buildingName": "text",
"city": "text",
"country": "text",
"detail": "text",
"district": "text",
"doorNo": "text",
"id": "text",
"landmark": "text",
"latitude": 0,
"locality": {
"children": [],
"code": "text",
"label": "text",
"latitude": "text",
"longitude": "text",
"materializedPath": "text",
"name": "text"
},
"longitude": 0,
"pincode": "text",
"plotNo": "text",
"region": "text",
"state": "text",
"street": "text",
"tenantId": "text",
"type": "text"
},
"amount": [
{
"amount": 0,
"taxHeadCode": "text"
}
],
"applicationStatus": "ACTIVE",
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"businessService": "text",
"challanNo": "text",
"citizen": {
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"additionalroles": [
{
"roles": [
{
"code": "text",
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text"
}
],
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"email": "text",
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"idToken": "text",
"identificationMark": "text",
"lastModifiedBy": "text",
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"primaryrole": [
{
"code": "text",
"name": "text",
"tenantId": "text"
}
],
"roles": [
{
"code": "text",
"name": "text",
"tenantId": "text"
}
],
"salutation": "text",
"signature": "text",
"tenantId": "text",
"type": "text",
"userName": "text",
"uuid": "text"
},
"description": "text",
"filestoreid": "text",
"id": "text",
"receiptNumber": "text",
"referenceId": "text",
"source": "text",
"tenantId": "text"
},
"challanNo": "text",
"taxHeadEstimates": [
{
"category": "ADVANCE_COLLECTION",
"estimateAmount": 0,
"taxHeadCode": "text"
}
],
"tenantId": "text"
},
"challanNo": "text",
"citizen": {
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"additionalroles": [
{
"roles": [
{
"code": "text",
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text"
}
],
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"email": "text",
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"idToken": "text",
"identificationMark": "text",
"lastModifiedBy": "text",
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"primaryrole": [
{
"code": "text",
"name": "text",
"tenantId": "text"
}
],
"roles": [
{
"code": "text",
"name": "text",
"tenantId": "text"
}
],
"salutation": "text",
"signature": "text",
"tenantId": "text",
"type": "text",
"userName": "text",
"uuid": "text"
},
"description": "text",
"filestoreid": "text",
"id": "text",
"receiptNumber": "text",
"referenceId": "text",
"source": "text",
"tenantId": "text"
}
],
"responseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ver": "text"
}
}
Generate the challan in the system with the defined attributes
Request schema.
Application submitted successfully
const response = await fetch('/eChallan/v1/_create', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();
{
"challans": [
{
"accountId": "text",
"address": {
"addressId": "text",
"addressLine1": "text",
"addressLine2": "text",
"addressNumber": "text",
"buildingName": "text",
"city": "text",
"country": "text",
"detail": "text",
"district": "text",
"doorNo": "text",
"id": "text",
"landmark": "text",
"latitude": 0,
"locality": {
"children": [],
"code": "text",
"label": "text",
"latitude": "text",
"longitude": "text",
"materializedPath": "text",
"name": "text"
},
"longitude": 0,
"pincode": "text",
"plotNo": "text",
"region": "text",
"state": "text",
"street": "text",
"tenantId": "text",
"type": "text"
},
"amount": [
{
"amount": 0,
"taxHeadCode": "text"
}
],
"applicationStatus": "ACTIVE",
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"businessService": "text",
"calculation": {
"challan": {
"accountId": "text",
"address": {
"addressId": "text",
"addressLine1": "text",
"addressLine2": "text",
"addressNumber": "text",
"buildingName": "text",
"city": "text",
"country": "text",
"detail": "text",
"district": "text",
"doorNo": "text",
"id": "text",
"landmark": "text",
"latitude": 0,
"locality": {
"children": [],
"code": "text",
"label": "text",
"latitude": "text",
"longitude": "text",
"materializedPath": "text",
"name": "text"
},
"longitude": 0,
"pincode": "text",
"plotNo": "text",
"region": "text",
"state": "text",
"street": "text",
"tenantId": "text",
"type": "text"
},
"amount": [
{
"amount": 0,
"taxHeadCode": "text"
}
],
"applicationStatus": "ACTIVE",
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text"
},
"businessService": "text",
"challanNo": "text",
"citizen": {
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"additionalroles": [
{
"roles": [
{
"code": "text",
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text"
}
],
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"email": "text",
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"idToken": "text",
"identificationMark": "text",
"lastModifiedBy": "text",
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"primaryrole": [
{
"code": "text",
"name": "text",
"tenantId": "text"
}
],
"roles": [
{
"code": "text",
"name": "text",
"tenantId": "text"
}
],
"salutation": "text",
"signature": "text",
"tenantId": "text",
"type": "text",
"userName": "text",
"uuid": "text"
},
"description": "text",
"filestoreid": "text",
"id": "text",
"receiptNumber": "text",
"referenceId": "text",
"source": "text",
"tenantId": "text"
},
"challanNo": "text",
"taxHeadEstimates": [
{
"category": "ADVANCE_COLLECTION",
"estimateAmount": 0,
"taxHeadCode": "text"
}
],
"tenantId": "text"
},
"challanNo": "text",
"citizen": {
"aadhaarNumber": "text",
"accountLocked": false,
"active": false,
"additionalroles": [
{
"roles": [
{
"code": "text",
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text"
}
],
"altContactNumber": "text",
"bloodGroup": "text",
"correspondenceAddress": "text",
"correspondenceCity": "text",
"correspondencePinCode": "text",
"createdBy": "text",
"email": "text",
"emailId": "text",
"fatherOrHusbandName": "text",
"gender": "text",
"idToken": "text",
"identificationMark": "text",
"lastModifiedBy": "text",
"locale": "text",
"mobileNumber": "text",
"name": "text",
"otpReference": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"permanentCity": "text",
"permanentPinCode": "text",
"photo": "text",
"primaryrole": [
{
"code": "text",
"name": "text",
"tenantId": "text"
}
],
"roles": [
{
"code": "text",
"name": "text",
"tenantId": "text"
}
],
"salutation": "text",
"signature": "text",
"tenantId": "text",
"type": "text",
"userName": "text",
"uuid": "text"
},
"description": "text",
"filestoreid": "text",
"id": "text",
"receiptNumber": "text",
"referenceId": "text",
"source": "text",
"tenantId": "text"
}
],
"responseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ver": "text"
}
}