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

CBES: Return the documentId in the response

    Details

    • Type: New Feature
    • Status: Done
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Enhancements - Fall
    • Labels:
      None

      Description

      CBES: Return the documentId in the response :

      API : /candidate/upload

       

      DMS-1169

        Attachments

        1. CandidateUpload.txt
          729 kB
        2. payload.json
          2 kB
        3. Testcases -DMS-1495.xls
          16 kB

          Activity

          Hide
          samir Samir added a comment -
          Show
          samir Samir added a comment - Jilna
          Hide
          harshveer.singh Harshveer Singh (Inactive) added a comment -

          Sample response now:
          [

          { "fileName": "banother file.txt", "fileDescription": "This is text file.", "fileContent": null, "orderId": 4, "releaseId": 1, "uploaderUserName": "Harshveer Singh", "attachmentId": 412 }

          ,

          { "fileName": "banother file1.txt", "fileDescription": "This is text file1.", "fileContent": null, "orderId": 4, "releaseId": 1, "uploaderUserName": "Harshveer Singh", "attachmentId": 413 }

          ]

          Show
          harshveer.singh Harshveer Singh (Inactive) added a comment - Sample response now: [ { "fileName": "banother file.txt", "fileDescription": "This is text file.", "fileContent": null, "orderId": 4, "releaseId": 1, "uploaderUserName": "Harshveer Singh", "attachmentId": 412 } , { "fileName": "banother file1.txt", "fileDescription": "This is text file1.", "fileContent": null, "orderId": 4, "releaseId": 1, "uploaderUserName": "Harshveer Singh", "attachmentId": 413 } ]
          Hide
          priya.dhamande Priya Dhamande (Inactive) added a comment -

          Environment: OneIM - Preprod
          API: /candidate/upload

          Payload attached with jira.

          We are getting below error:

          { "status": "error", "message": "Invalid file content format", "errorLevel1": "Error", "code": 306, "description": "Invalid file content format" }

          Harshveer Singh, can you please verify the same.

          Samir Rohan J Khandave Hrishikesh Deshpande

          Show
          priya.dhamande Priya Dhamande (Inactive) added a comment - Environment: OneIM - Preprod API: /candidate/upload Payload attached with jira. We are getting below error: { "status": "error", "message": "Invalid file content format", "errorLevel1": "Error", "code": 306, "description": "Invalid file content format" } Harshveer Singh , can you please verify the same. Samir Rohan J Khandave Hrishikesh Deshpande
          Hide
          harshveer.singh Harshveer Singh (Inactive) added a comment -

          HI Priya Dhamande, 'data:file/txt;base64,' is missing from start of your fileContent, please check the payload I have attached.

          Show
          harshveer.singh Harshveer Singh (Inactive) added a comment - HI Priya Dhamande , 'data:file/txt;base64,' is missing from start of your fileContent, please check the payload I have attached.
          Hide
          priya.dhamande Priya Dhamande (Inactive) added a comment -

          Environment: OneIm Preprod
          API: api/candidate/upload

          The API is verified for adding attachment. Able to add successfully. Refer screen capture.

          So, marking jira Done.

          Samir Sachin Hingole Hrishikesh Deshpande Rohan J Khandave

          Show
          priya.dhamande Priya Dhamande (Inactive) added a comment - Environment: OneIm Preprod API: api/candidate/upload The API is verified for adding attachment. Able to add successfully. Refer screen capture. So, marking jira Done. Samir Sachin Hingole Hrishikesh Deshpande Rohan J Khandave

            People

            Assignee:
            harshveer.singh Harshveer Singh (Inactive)
            Reporter:
            samir Samir
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Time Spent - 11.25h Remaining Estimate - 3h
                3h
                Logged:
                Time Spent - 11.25h Remaining Estimate - 3h
                11.25h