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

          samir Samir created issue -
          Hide
          samir Samir added a comment -
          Show
          samir Samir added a comment - Jilna
          samir Samir made changes -
          Field Original Value New Value
          Assignee Samir [ samir ] Harshveer Singh [ harshveer.singh ]
          samir Samir made changes -
          Epic Link DMS-480 [ 75973 ]
          samir Samir made changes -
          Fix Version/s Enhancements - Fall [ 10610 ]
          Sprint DMS - Fall Sprint 5 [ 164 ]
          samir Samir made changes -
          Status To Do [ 10000 ] In Progress [ 3 ]
          samir Samir made changes -
          Status In Progress [ 3 ] Code Review [ 11801 ]
          shashikant.mishra ShashiKant Mishra (Inactive) made changes -
          Sprint DMS - Fall Sprint 5 [ 164 ] DMS - Fall Sprint 5, DMS - Fall Sprint 6 [ 164, 165 ]
          samir Samir made changes -
          Status Code Review [ 11801 ] In QA Testing [ 11901 ]
          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 } ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Status In QA Testing [ 11901 ] In QA Testing [ 11901 ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Assignee Harshveer Singh [ harshveer.singh ] Samir [ samir ]
          shashikant.mishra ShashiKant Mishra (Inactive) made changes -
          Sprint DMS - Fall Sprint 5, DMS - Fall Sprint 6 [ 164, 165 ] DMS - Fall Sprint 5, DMS - Fall Sprint 6, DMS - Fall Sprint 7 [ 164, 165, 166 ]
          harshveer.singh Harshveer Singh (Inactive) logged work - 08/Jul/19 11:30 AM - edited
          • Time Spent:
            10h
             
            <No comment>
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Assignee Samir [ samir ] Priya Dhamande [ priya.dhamande ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Attachment CandidateUpload.txt [ 112483 ]
          priya.dhamande Priya Dhamande (Inactive) logged work - 14/Jul/19 10:51 PM
          • Time Spent:
            0.5h
             

            Preprod - oneim testing

          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
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Status In QA Testing [ 11901 ] In Progress [ 3 ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Assignee Priya Dhamande [ priya.dhamande ] Harshveer Singh [ harshveer.singh ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Remaining Estimate 0h [ 0 ]
          Time Spent 0.5h [ 1800 ]
          Worklog Id 188339 [ 188339 ]
          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.
          harshveer.singh Harshveer Singh (Inactive) made changes -
          Attachment payload.json [ 112524 ]
          harshveer.singh Harshveer Singh (Inactive) made changes -
          Assignee Harshveer Singh [ harshveer.singh ] Priya Dhamande [ priya.dhamande ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Status In Progress [ 3 ] In QA Testing [ 11901 ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Attachment Testcases -DMS-1495.xls [ 112593 ]
          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
          priya.dhamande Priya Dhamande (Inactive) logged work - 15/Jul/19 11:25 PM
          • Time Spent:
            0.75h
             

            OneIM Preprod testing
            Test case writing

          priya.dhamande Priya Dhamande (Inactive) made changes -
          Resolution Done [ 10000 ]
          Status In QA Testing [ 11901 ] Done [ 10001 ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Assignee Priya Dhamande [ priya.dhamande ] Harshveer Singh [ harshveer.singh ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Time Spent 0.5h [ 1800 ] 1.25h [ 4500 ]
          Worklog Id 188571 [ 188571 ]
          harshveer.singh Harshveer Singh (Inactive) made changes -
          Time Spent 1.25h [ 4500 ] 6.25h [ 22500 ]
          Worklog Id 205422 [ 205422 ]
          harshveer.singh Harshveer Singh (Inactive) made changes -
          Time Spent 6.25h [ 22500 ] 14.25h [ 51300 ]
          Worklog Id 206298 [ 206298 ]
          harshveer.singh Harshveer Singh (Inactive) made changes -
          Remaining Estimate 0h [ 0 ] 5h [ 18000 ]
          Time Spent 14.25h [ 51300 ] 9.25h [ 33300 ]
          Worklog Id 205422 [ 205422 ]
          Worklog Time Spent 5h [ 18000 ]
          harshveer.singh Harshveer Singh (Inactive) made changes -
          Remaining Estimate 5h [ 18000 ] 3h [ 10800 ]
          Time Spent 9.25h [ 33300 ] 11.25h [ 40500 ]
          Worklog Id 206298 [ 206298 ]
          Transition Time In Source Status Execution Times
          Samir made transition -
          To Do In Progress
          6d 22h 25m 1
          Samir made transition -
          In Progress Code Review
          1h 3m 1
          Samir made transition -
          Code Review In QA Testing
          5d 16m 1
          Raj Hawaldar (Inactive) made transition -
          In QA Testing In QA Testing
          2d 5h 52m 1
          Priya Dhamande (Inactive) made transition -
          In QA Testing In Progress
          18d 18h 17m 1
          Priya Dhamande (Inactive) made transition -
          In Progress In QA Testing
          23h 21m 1
          Priya Dhamande (Inactive) made transition -
          In QA Testing Done
          1h 11m 1

            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