Update Index
The Update Index API allows you to update a block of JSON or a specific entity within a resume or job description (JD) without requiring document parsing through the ResumeParser or JDParser API.
Currently, the ParseAndIndex method requires the complete Resume or JD
document. It uses the ResumeParser or JDParser API to parse the document and then
indexes or updates it based on the parsed JSON. This process consumes 2 credits.
The Update Index API is a more efficient option when you only need to update or delete a specific part of the JSON, such as a block or entity, in a resume or JD. You only need the document's indexed ID and the details you want to modify or remove, and it uses just 1 credit.
- In the Search and Match v3.0 API, you can update or delete any entity in both resumes and JDs.
- In the Search and Match v4.0, updates and deletions are supported for resumes only. JDs currently do not support update or delete functionality through the v4.0 API.
API URL
This API uses the below URL for Search and Match v3.0:
https://searchengine.rchilli.com/RChilliSearchEngineAPI/RChilli/updateIndex
This API uses the below URL for Search and Match v4.0:
https://searchengine.rchilli.com/RChilliSearchEngineAPI/RChilli/v4/updateIndex
API Endpoint
The API uses the below endpoint:/updateIndex
API Method
This API method uses POST method.API Request Type
The API uses JSON request type.API Request Headers
| Header | Data Type | Description |
|---|---|---|
| Content-Type | string | Indicates the input type of the incoming request body. The
only supported value is
application/json. |
API Parameters
| Name | Type | Description | Remarks | ||||
|---|---|---|---|---|---|---|---|
| indexType | String | Type of the file i.e Resume or JD | Required | ||||
| indexKey | String | Use your user key as shared by RChilli team | Required | ||||
| id | String | This is the indexed document ID for the resume or job description where you want to update or remove data. | Required | ||||
| insertEntityValue | Array | This is an array containing the details of the entities you
want to add or update in the document. Refer to the table below
for the entities that can currently be added using the
insertEntityValue array:
|
Optional Note:
|
||||
| removeEntityValue | Array | This is an array containing the details of the entities you
want to remove from the document. Refer to the table below for
the entities that can currently be removed using the
removeEntityValue array:
|
Optional Note: If you do not use
removeEntityValue, then
insertEntityValue become
required. |
Some Update Index entities are implemented through related mapping fields, wherever applicable.
Location fields:
In Resume insert operations, City, State, Country, CurrentCity, CurrentState, CurrentCountry, CurrentEmployerCity, CurrentEmployerState, CurrentEmployerCountry, PreferredCity, PreferredState, PreferredCountry, EmployerCity, EmployerState, EmployerCountry, and InstituteCity, InstituteState, InstituteCountry are handled through their respective geo-location mapping fields such as AddressGeoLocation, CurrentGeoLocation, CurrentExperienceGeoLocation, PreferredGeoLocation, ExperienceGeoLocation, and EducationGeoLocation. In JD insert operations, JobLocationCity, JobLocationState, and JobLocationCountry are handled through JobGeoLocation. In remove operations, the corresponding mapped fields are also considered.
Degree fields:
In Resume insert and remove operations, HighestDegree and Degree also affect related mapping fields such as Specialization. In JD insert and remove operations, qualification fields are also processed through these related degree mapping fields.
While updating the degree, the inserted value is normalized using the taxonomy dataset
Name fields:
In Resume insert operations, FullName is implemented through the mapped fields TitleName, FirstName, MiddleName, and LastName.
Job profile title:
In JD remove operations, JobProfileTitle also applies to related mapping fields such as JobProfileFormattedName, JobProfileAlias, JobProfileRelatedSkills, and Domains.
Sample Resume Request for Insert Entity - Search and Match v3.0
Below is the sample JSON Request to insert resume details.
{
"index": {
"indexType": "Resume",
"indexKey": "Use your indexKey",
"subUserId": "Your subUserId"
},
"data": {
"id": "202408220428PMResume",
"insertEntityValue": {
"TitleName": "Mr.",
"FirstName": "Ravi",
"MiddleName": "",
"LastName": "Kumar",
"FullName": "Mr. Ravi Kumar",
"Email": "ravi@rchilli.com",
"DateOfBirth": "1980-01-01",
"Gender": "Male",
"MaritalStatus": "Single",
"Nationality": "Indian",
"Category": "Information Technology",
"SubCategory": "Software Engineer & Developers",
"LastInstitute": "Oxford University",
"CurrentSalary": 220000.0,
"CurrentSalaryCurrency": "INR",
"CurrentSalaryUnit": "Year",
"ExpectedSalary": 300000.0,
"ExpectedSalaryCurrency": "INR",
"ExpectedSalaryUnit": "Year",
"ZipCode": "160055",
"ResumeLanguage": "English",
"LanguageKnown": [
"Spanish",
"English"
],
"PreviousEmployer": [
"RChilli Inc."
],
"Institute": [
"IIT Delhi"
],
"Degree": [
"B.Tech"
],
"JobProfile": [
"Software Developer"
],
"City": "Mohali",
"State": "Punjab",
"Country": "India",
"CurrentCity": "Delhi",
"CurrentState": "New Delhi",
"CurrentCountry": "India",
"CurrentEmployerCity": "Mohali",
"CurrentEmployerState": "Punjab",
"CurrentEmployerCountry": "India",
"InstituteLocation": [
{
"City": "Patna",
"State": "Bihar",
"Country": "India"
}
],
"EmployerLocation": [
{
"City": "Mohali",
"State": "Punjab",
"Country": "India"
}
],
"PreferredLocation": [
{
"City": "Delhi",
"State": "New Delhi",
"Country": "India"
}
]
},
Sample Resume Request for Remove Entity - Search and Match v3.0
Below is the sample JSON Request to insert resume details.
{
"index": {
"indexType": "Resume",
"indexKey": "Use your indexKey",
"subUserId": "Your subUserId"
},
"data": {
"id": "202408220428PMResume",
"removeEntityValue": {
"CurrentJobProfile": "Sr. Software Developer",
"HighestDegree": "M.Tech",
"CurrentEmployer": "RChilli Inc.",
"Category": "Information Technology",
"SubCategory": "Software Engineer & Developers",
"LastInstitute": "Oxford University",
"TotalExperienceInYear": 0.0,
"LanguageKnown": [
"Spanish"
],
"PreviousEmployer": [
"TCS"
],
"Degree": [
"B.Tech"
],
"Institute": [
"IIT Delhi"
],
"JobProfile": [
"Software Developer"
],
"PersonalDetails": [
"TitleName",
"FirstName",
"MiddleName",
"LastName",
"FullName",
"Email",
"DateOfBirth",
"Gender",
"MaritalStatus",
"Nationality"
],
"SalaryDetails": [
"CurrentSalary",
"CurrentSalaryCurrency",
"CurrentSalaryUnit",
"ExpectedSalary",
"ExpectedSalaryCurrency",
"ExpectedSalaryUnit"
],
"LocationDetails": [
"City",
"State",
"Country",
"ZipCode",
"CurrentCity",
"CurrentState",
"CurrentCountry",
"CurrentEmployerCity",
"CurrentEmployerState",
"CurrentEmployerCountry"
],
"EmployerLocation": [
{
"City": "Mohali",
"State": "Punjab",
"Country": "India"
}
],
"PreferredLocation": [
{
"City": "Delhi",
"State": "New Delhi",
"Country": "India"
}
],
"InstituteLocation": [
{
"City": "Patna",
"State": "Bihar",
"Country": "India"
}
]
}
}
}
Sample Resume Request for Insert Entity - Search and Match v4.0
Below is the sample JSON Request to insert resume details.
{
"index": {
"indexType": "Resume",
"indexKey": "Use your indexKey",
"subUserId": "Your subUserId"
},
"data": {
"id": "202408220428PMResume",
"insertEntityValue": {
"TitleName": "Mr.",
"FirstName": "Ravi",
"MiddleName": "",
"LastName": "Kumar",
"FullName": "Mr. Ravi Kumar",
"Email": "ravi@rchilli.com",
"DateOfBirth": "1980-01-01",
"Gender": "Male",
"MaritalStatus": "Single",
"Nationality": "Indian",
"Category": "Information Technology",
"SubCategory": "Software Engineer & Developers",
"LastInstitute": "Oxford University",
"CurrentSalary": 220000.0,
"CurrentSalaryCurrency": "INR",
"CurrentSalaryUnit": "Year",
"ExpectedSalary": 300000.0,
"ExpectedSalaryCurrency": "INR",
"ExpectedSalaryUnit": "Year",
"ZipCode": "160055",
"ResumeLanguage": "English",
"LanguageKnown": [
"Spanish",
"English"
],
"PreviousEmployer": [
"RChilli Inc."
],
"Institute": [
"IIT Delhi"
],
"Degree": [
"B.Tech"
],
"JobProfile": [
{
"value": "Software Developer",
"experienceInMonth": 12
}
],
"City": "Mohali",
"State": "Punjab",
"Country": "India",
"CurrentCity": "Delhi",
"CurrentState": "New Delhi",
"CurrentCountry": "India",
"CurrentEmployerCity": "Mohali",
"CurrentEmployerState": "Punjab",
"CurrentEmployerCountry": "India",
"InstituteLocation": [
{
"City": "Patna",
"State": "Bihar",
"Country": "India"
}
],
"EmployerLocation": [
{
"City": "Mohali",
"State": "Punjab",
"Country": "India"
}
],
"PreferredLocation": [
{
"City": "Delhi",
"State": "New Delhi",
"Country": "India"
}
]
},
Sample Resume Request for Remove Entity - Search and Match v4.0
Below is the sample JSON Request to insert resume details.
{
"index": {
"indexType": "Resume",
"indexKey": "Use your indexKey",
"subUserId": "Your subUserId"
},
"data": {
"id": "202408220428PMResume",
"removeEntityValue": {
"CurrentJobProfile": "Sr. Software Developer",
"HighestDegree": "M.Tech",
"CurrentEmployer": "RChilli Inc.",
"Category": "Information Technology",
"SubCategory": "Software Engineer & Developers",
"LastInstitute": "Oxford University",
"TotalExperienceInYear": 0.0,
"LanguageKnown": [
"Spanish"
],
"PreviousEmployer": [
"TCS"
],
"Degree": [
"B.Tech"
],
"Institute": [
"IIT Delhi"
],
"JobProfile": [
"Software Developer"
],
"PersonalDetails": [
"TitleName",
"FirstName",
"MiddleName",
"LastName",
"FullName",
"Email",
"DateOfBirth",
"Gender",
"MaritalStatus",
"Nationality"
],
"SalaryDetails": [
"CurrentSalary",
"CurrentSalaryCurrency",
"CurrentSalaryUnit",
"ExpectedSalary",
"ExpectedSalaryCurrency",
"ExpectedSalaryUnit"
],
"LocationDetails": [
"City",
"State",
"Country",
"ZipCode",
"CurrentCity",
"CurrentState",
"CurrentCountry",
"CurrentEmployerCity",
"CurrentEmployerState",
"CurrentEmployerCountry"
],
"EmployerLocation": [
{
"City": "Mohali",
"State": "Punjab",
"Country": "India"
}
],
"PreferredLocation": [
{
"City": "Delhi",
"State": "New Delhi",
"Country": "India"
}
],
"InstituteLocation": [
{
"City": "Patna",
"State": "Bihar",
"Country": "India"
}
]
}
}
}
Sample JD Request for Insert Entity - Search and Match v3.0
Sample JSON request to insert JD details.
{
"index": {
"indexType": "JD",
"indexKey": "Use your indexKey",
"subUserId": "test1"
},
"data": {
"id": "202408220428PMJd",
"insertEntityValue": {
"Organization": "RChilli Inc.",
"JobLocation": "Mohali, Punjab, India",
"JobLocationCity": "Mohali",
"JobLocationState": "Punjab",
"JobLocationCountry": "India",
"JobLocationIsoCountryCode": "IN",
"JobLocationZipCode": "160055",
"InterviewDate": "03rd March 2026",
"InterviewTime": "11:45 PM",
"InterviewLocation": "C-86, 3rd floor, Pannu Tower, Phase 7, Industrial Area, Sahibzada Ajit Singh Nagar, Punjab 160055",
"InterviewType": "Offline",
"JobCode": "DevOps591",
"JobType": "Contract",
"JobShift": "Day",
"IndustryType": "Information Technology",
"ContractDuration": "2 Years",
"PreferredDemographicNationality": "Indian",
"PreferredDemographicAgeLimit": "30-35 Years",
"SalaryMinAmount": 50000.0,
"SalaryMaxAmount": 90000.0,
"Currency": "INR",
"Units": "Monthly",
"JDLanguage": "English",
"Responsibilities": "Work alongside great mentors in the chosen industry.",
"Languages": [
"English",
"Hindi",
"Punjabi"
],
"Domains": [
"Network Engineers & Operations"
]
},
Sample JD Request for Remove Entity - Search and Match v3.0
Sample JSON request to insert JD details.
{
"index": {
"indexType": "JD",
"indexKey": "Use your indexKey",
"subUserId": "test1"
},
"data": {
"id": "202408220428PMJd",
"removeEntityValue": {
"JobDetails": [
"JobProfileTitle",
"Organization",
"JobLocation",
"JobLocationCity",
"JobLocationState",
"JobLocationCountry",
"JobLocationIsoCountryCode",
"JobLocationZipCode",
"InterviewDate",
"InterviewTime",
"InterviewLocation",
"InterviewType",
"JobCode",
"JobType",
"JobShift",
"IndustryType",
"ContractDuration",
"PreferredDemographicNationality",
"PreferredDemographicAgeLimit",
"Responsibilities",
"MinimumYearsExperience",
"MaximumYearsExperience"
],
"SalaryDetails": [
"SalaryMinAmount",
"SalaryMaxAmount",
"Currency",
"Units"
],
"Languages": [
"Hindi",
"Punjabi"
],
"Domains": [
"Network Engineers & Operations"
]
}
}
}
Sample JD Request Insert Entity - Search and Match v4.0
Sample JSON request to insert JD details.
{
"index": {
"indexType": "JD",
"indexKey": "Use your indexKey",
"subUserId": "test1"
},
"data": {
"id": "202408220428PMJd",
"insertEntityValue": {
"Organization": "RChilli Inc.",
"JobLocation": "Mohali, Punjab, India",
"JobLocationCity": "Mohali",
"JobLocationState": "Punjab",
"JobLocationCountry": "India",
"JobLocationIsoCountryCode": "IN",
"JobLocationZipCode": "160055",
"InterviewDate": "03rd March 2026",
"InterviewTime": "11:45 PM",
"InterviewLocation": "C-86, 3rd floor, Pannu Tower, Phase 7, Industrial Area, Sahibzada Ajit Singh Nagar, Punjab 160055",
"InterviewType": "Offline",
"JobCode": "DevOps591",
"JobType": "Contract",
"JobShift": "Day",
"IndustryType": "Information Technology",
"ContractDuration": "2 Years",
"PreferredDemographicNationality": "Indian",
"PreferredDemographicAgeLimit": "30-35 Years",
"SalaryMinAmount": 50000.0,
"SalaryMaxAmount": 90000.0,
"Currency": "INR",
"Units": "Monthly",
"JDLanguage": "English",
"Responsibilities": "Work alongside great mentors in the chosen industry.",
"Languages": [
"English",
"Hindi",
"Punjabi"
],
"Domains": [
"Network Engineers & Operations"
]
},
Sample JD Request Remove Entity - Search and Match v4.0
Sample JSON request to insert JD details.
{
"index": {
"indexType": "JD",
"indexKey": "Use your indexKey",
"subUserId": "test1"
},
"data": {
"id": "202408220428PMJd",
"removeEntityValue": {
"JobDetails": [
"JobProfileTitle",
"Organization",
"JobLocation",
"JobLocationCity",
"JobLocationState",
"JobLocationCountry",
"JobLocationIsoCountryCode",
"JobLocationZipCode",
"InterviewDate",
"InterviewTime",
"InterviewLocation",
"InterviewType",
"JobCode",
"JobType",
"JobShift",
"IndustryType",
"ContractDuration",
"PreferredDemographicNationality",
"PreferredDemographicAgeLimit",
"Responsibilities",
"MinimumYearsExperience",
"MaximumYearsExperience"
],
"SalaryDetails": [
"SalaryMinAmount",
"SalaryMaxAmount",
"Currency",
"Units"
],
"Languages": [
"Hindi",
"Punjabi"
],
"Domains": [
"Network Engineers & Operations"
]
}
}
}
Sample JSON Response
{
"status": "200",
"indexType": "JD",
"subUserId": "test1",
"action": "updated",
"id": "202408220428PMJd",
"doc": "eyJRdWFsaWZpY2..."
}
