Details

    • Type: New Feature
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Integration with CBAT
    • Labels:
      None

      Description

      API for getting the document history

      API Library

        Attachments

          Issue Links

            Activity

            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment -

            Verified below API request on swagger.

            Refer below mentioned status :

            /api/documents/

            {sourceProductId}/{documentId}/{personId}/LatestStatus - Pass
            /api/documents/{sourceProductId}

            /document/

            {id}/LatestStatus - Fail
            /api/documents/{sourceProductId}/person/{id}

            /LatestStatus - Pass
            /api/documents/sourceProduct/

            {id}/LatestStatus - Fail
            /api/documents/{sourceProductId}/person/{id}

            /statusHistory - Pass
            /api/documents/

            {sourceProductId}/document/{id}/statusHistory - Fail
            /api/documents/{sourceProductId}

            /person/

            {id}/statusHistory - PAss
            /api/documents/sourceProduct/{id}

            /statusHistory - Fail

            For Failed status : refer DMS-770

            Thanks,
            Jayshree

            Priya Dhamande Swapnil Pandhare Samir Sachin Hingole Hrishikesh Deshpande

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - Verified below API request on swagger. Refer below mentioned status : /api/documents/ {sourceProductId}/{documentId}/{personId}/LatestStatus - Pass /api/documents/{sourceProductId} /document/ {id}/LatestStatus - Fail /api/documents/{sourceProductId}/person/{id} /LatestStatus - Pass /api/documents/sourceProduct/ {id}/LatestStatus - Fail /api/documents/{sourceProductId}/person/{id} /statusHistory - Pass /api/documents/ {sourceProductId}/document/{id}/statusHistory - Fail /api/documents/{sourceProductId} /person/ {id}/statusHistory - PAss /api/documents/sourceProduct/{id} /statusHistory - Fail For Failed status : refer DMS-770 Thanks, Jayshree Priya Dhamande Swapnil Pandhare Samir Sachin Hingole Hrishikesh Deshpande
            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment -

            Hi Rohan J Khandave,

            While fetching status and history status details, its difficult to compare source product id with document id.
            Can you please change logic as per our current discussion.
            Assigning this ticket to you as discussed

            Thanks,
            Jayshree

            Priya Dhamande Swapnil Pandhare Samir Hrishikesh Deshpande Sachin Hingole

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - Hi Rohan J Khandave , While fetching status and history status details, its difficult to compare source product id with document id. Can you please change logic as per our current discussion. Assigning this ticket to you as discussed Thanks, Jayshree Priya Dhamande Swapnil Pandhare Samir Hrishikesh Deshpande Sachin Hingole
            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - - edited

            Verified on preproduction

            Verified below API for document status.
            All are working fine

            1. /api/documents/

            {sourceProduct}/{documentId}/{personId}/LatestStatus
            2. /api/documents/{sourceProduct}

            /document/

            {id}/LatestStatus
            3. /api/documents/{sourceProduct}/person/{id}

            /LatestStatus
            4. /api/documents/sourceProduct/

            {id}/LatestStatus
            5. /api/documents/{sourceProduct}/{documentId}/{personId}/statusHistory
            6. /api/documents/{sourceProduct}/document/{id}

            /statusHistory
            7. /api/documents/

            {sourceProduct}

            /person/

            {id}/statusHistory
            8. /api/documents/sourceProduct/{id}

            /statusHistory

            Closing this ticket

            Thanks,
            Jayshree

            Priya Dhamande Swapnil Pandhare Sachin Hingole Hrishikesh Deshpande Satya Samir

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - - edited Verified on preproduction Verified below API for document status. All are working fine 1. /api/documents/ {sourceProduct}/{documentId}/{personId}/LatestStatus 2. /api/documents/{sourceProduct} /document/ {id}/LatestStatus 3. /api/documents/{sourceProduct}/person/{id} /LatestStatus 4. /api/documents/sourceProduct/ {id}/LatestStatus 5. /api/documents/{sourceProduct}/{documentId}/{personId}/statusHistory 6. /api/documents/{sourceProduct}/document/{id} /statusHistory 7. /api/documents/ {sourceProduct} /person/ {id}/statusHistory 8. /api/documents/sourceProduct/{id} /statusHistory Closing this ticket Thanks, Jayshree Priya Dhamande Swapnil Pandhare Sachin Hingole Hrishikesh Deshpande Satya Samir

              People

              Assignee:
              rohan.khandave Rohan J Khandave (Inactive)
              Reporter:
              shashikant.mishra ShashiKant Mishra (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 32h Original Estimate - 32h
                  32h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 34h
                  34h