Update Candidate details

You can update multiple candidates details by passing multiple candidates in array for updating their details or a single candidate details as well.

URL: https://apis.examroom.ai/api/UpdateCandidates

Input

{
  "apiKey": "enter your apiKey",
  "secretKey": "enter your secretKey",
  "candidatesDetailsList":
  [
      {
        "candidateId": "12345661",// this should be examroom Candidate ID
        "firstName": "john",
        "lastName": "doe",
        "addressLine1": "Address line 1",
        "addressLine2": "Test",
        "city": "Bangalore",
        "stateCode": "007",
        "postalCode": "007",
        "countryCode": "91",
        "mobileTelephoneNumber": "1234567892",
        "telephoneNumber": null,
        "emailAddress": "testg@abc.com",
        "gropID": 12345,
        "groupName": "sample goup 1"
      },
      {
        "candidateId": "123345671",
        "firstName": "",
        "lastName": "doe1",
        "addressLine1": "test",
        "addressLine2": "Test",
        "city": "Bangalore",
        "stateCode": "007",
        "postalCode": "007",
        "countryCode": "91",
        "mobileTelephoneNumber": "1234567892",
        "telephoneNumber": null,
        "emailAddress": "test@abc.com",
        "gropID": 12345,
        "groupName": "sample group"
      }
  ]
}

Output

{
    "records": [
        {
            "CandidateID": 0,
            "Result": "0",
            "Message": "First Name is invalid",

        },
        {
            "CandidateID": 14629,
            "Result": "1",
            "Message": "Candidate already exists: Updated successfully",
            "ExamID": 0
        }
    ]
}