Details

    • Company:
      All Clients/Multiple Clients

      Description

      New API for download the document by document ID.

      API: 'api/document/download?id=2046&stream=true'
      Here 'id' parameter is document ID. 'stream' parameter tells whether to download the file or give file content in JSON response. If set to true, it will give the file directly, if false, it will return JSON response with file content in Base64 string

        Attachments

        1. Screenshot (3185).png
          Screenshot (3185).png
          234 kB
        2. Screenshot (3186).png
          Screenshot (3186).png
          128 kB
        3. Screenshot (3187).png
          Screenshot (3187).png
          143 kB

          Activity

          Hide
          priya.dhamande Priya Dhamande (Inactive) added a comment -

          Harshveer Singh, can you please update API details to verify?

          Sachin Hingole Samir Hrishikesh Deshpande Rohan J Khandave

          Show
          priya.dhamande Priya Dhamande (Inactive) added a comment - Harshveer Singh , can you please update API details to verify? Sachin Hingole Samir Hrishikesh Deshpande Rohan J Khandave
          Hide
          harshveer.singh Harshveer Singh (Inactive) added a comment -

          Priya Dhamande,

          This is the API which needs to be tested: 'api/document/download?id=2046&stream=true'
          Here 'id' parameter is document ID. 'stream' parameter tells whether to download the file or give file content in JSON response. If set to true, it will give the file directly, if false, it will return JSON response with file content in Base64 string.

          Show
          harshveer.singh Harshveer Singh (Inactive) added a comment - Priya Dhamande , This is the API which needs to be tested: 'api/document/download?id=2046&stream=true' Here 'id' parameter is document ID. 'stream' parameter tells whether to download the file or give file content in JSON response. If set to true, it will give the file directly, if false, it will return JSON response with file content in Base64 string.
          Hide
          priya.dhamande Priya Dhamande (Inactive) added a comment -

          Environment: Preprod OneIm
          API: api/document/download?id=2046&stream=true

          Points covered:
          1. Incorrect document Id > Pass
          2. Correct document ID > Pass
          3. Stream = True > Fail
          4. Stream = False > Pass
          5. Stream = 0 > Pass

          Scenario three failed, Refer screen capture. test cases attached with jira.
          So, marking jira done.

          Samir Sachin Hingole Hrishikesh Deshpande Rohan J Khandave

          Show
          priya.dhamande Priya Dhamande (Inactive) added a comment - Environment: Preprod OneIm API: api/document/download?id=2046&stream=true Points covered: 1. Incorrect document Id > Pass 2. Correct document ID > Pass 3. Stream = True > Fail 4. Stream = False > Pass 5. Stream = 0 > Pass Scenario three failed, Refer screen capture. test cases attached with jira. So, marking jira done. Samir Sachin Hingole Hrishikesh Deshpande Rohan J Khandave
          Hide
          harshveer.singh Harshveer Singh (Inactive) added a comment - - edited

          Priya Dhamande, setting stream=true, downloads the file, please test it through Postman using CBES token authentication, from there you will be able to download the file.

          Show
          harshveer.singh Harshveer Singh (Inactive) added a comment - - edited Priya Dhamande , setting stream=true, downloads the file, please test it through Postman using CBES token authentication, from there you will be able to download the file.
          Hide
          priya.dhamande Priya Dhamande (Inactive) added a comment -

          Environment: Preprod OneIm and Postman
          API: api/document/download?id=2046&stream=true

          Points covered:
          1. Incorrect document Id > Pass
          2. Correct document ID > Pass
          3. Stream = True > Pass
          4. Stream = False > Pass
          5. Stream = 0 > Pass

          So, marking jira done.
          Hrishikesh Deshpande Sachin Hingole Rohan J Khandave Samir

          Show
          priya.dhamande Priya Dhamande (Inactive) added a comment - Environment: Preprod OneIm and Postman API: api/document/download?id=2046&stream=true Points covered: 1. Incorrect document Id > Pass 2. Correct document ID > Pass 3. Stream = True > Pass 4. Stream = False > Pass 5. Stream = 0 > Pass So, marking jira done. Hrishikesh Deshpande Sachin Hingole Rohan J Khandave Samir

            People

            Assignee:
            priya.dhamande Priya Dhamande (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 - 16h
                16h
                Remaining:
                Time Spent - 2.75h Remaining Estimate - 13.25h
                13.25h
                Logged:
                Time Spent - 2.75h Remaining Estimate - 13.25h
                2.75h