Uploaded image for project: 'Document Management System'
  1. Document Management System
  2. DMS-2090

DMS| Preprod | API | Not able to see multiple company when candidate logged in

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Company:
      All Clients/Multiple Clients

      Description

      DMS| Preprod | Not able to create candidate through API for multiple company

      steps:

      1. Create candidate through below API
        corporate/dms/api/candidateProfile
        Email id- prateek.saxena@careerbuilder.com ( Existing candidate for CB internal Beta, user id- SAPR, Pwd- SAPR)
        UserDid: featuretestuser1
        AccountDid: CBATSFEATURETEST2
        o/p -->Candidate id 997 ( create new candidate)
      2. now create same candidate
        corporate/dms/api/candidateProfile
        UserDid: ABC
        AccountDid: A7F0PT78MTMZ470WBBT
        o/p->
        "error": "Signer already exist."
      3. When we login with candidate, we are not able to see company name in drop down

        Attachments

          Activity

          Hide
          NalinB Nalin.Bhayana (Inactive) added a comment -

          AccountDid is not a parameter for this API and is discarded when sent as input. API simply adds the candidate to the company user is logged into, so if same candidate (with different AccountDid) is passed again as parameter it will show error saying already exist.

          Company was not getting mapped when only email of Candidate was passed. Issue fixed. PR: https://github.com/cbdr/DMS/pull/979

          Show
          NalinB Nalin.Bhayana (Inactive) added a comment - AccountDid is not a parameter for this API and is discarded when sent as input. API simply adds the candidate to the company user is logged into, so if same candidate (with different AccountDid) is passed again as parameter it will show error saying already exist. Company was not getting mapped when only email of Candidate was passed. Issue fixed. PR:  https://github.com/cbdr/DMS/pull/979
          Hide
          PrateekS Prateek added a comment -

          We had logged with SAPR/SAPR on Stage Env, found still list of company is not displaying in the drop down

          Show
          PrateekS Prateek added a comment - We had logged with SAPR/SAPR on Stage Env, found still list of company is not displaying in the drop down
          Hide
          NalinB Nalin.Bhayana (Inactive) added a comment -

          Did some code changes in SavePDFData API that was being called from the UI.

          https://github.com/cbdr/DMS/pull/1012

          Show
          NalinB Nalin.Bhayana (Inactive) added a comment - Did some code changes in SavePDFData API that was being called from the UI. https://github.com/cbdr/DMS/pull/1012
          Hide
          narendra.kumar Narendra Kumar added a comment -

          Hi Samir

          Now able to see multiple companies when login. 

          Refer to this screenshot.

          Closing this ticket.

          Show
          narendra.kumar Narendra Kumar added a comment - Hi Samir Now able to see multiple companies when login.  Refer to this screenshot. Closing this ticket.

            People

            Assignee:
            NalinB Nalin.Bhayana (Inactive)
            Reporter:
            PrateekS Prateek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 8h Original Estimate - 8h
                8h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 9.5h
                9.5h