Details

    • Type: New Feature
    • Status: Done
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: CBAT Offer Letter - Fall
    • Labels:
      None
    • Company:
      All Clients/Multiple Clients

      Description

      Get document template list API details

       GET : /api/documentTemplates/{sourceProduct}

      GET : /api/documentTemplates/{sourceProduct}/{templateType}

      API there is no check for user id to show only those templates which were created by same user.  Also no check for archived & deleted templates.

       

      Shamooka Mohapatra

        Attachments

        1. Pre-prod_1705.jpg
          161 kB
          Ramya Tantry
        2. Prod_1705.jpg
          173 kB
          Ramya Tantry
        3. Screenshot (115).png
          147 kB
          Priya Dhamande
        4. Screenshot (116).png
          152 kB
          Priya Dhamande
        5. Screenshot (117).png
          151 kB
          Priya Dhamande
        6. Screenshot (99).png
          142 kB
          Priya Dhamande
        7. Screenshot (99).png
          142 kB
          Priya Dhamande

          Activity

          Hide
          ramya.tantry Ramya Tantry (Inactive) added a comment -

          Files Affected :

          1. DMS\DMS.App\src\DMS_AppLogic\IntegrationLogic\GenerateDocument.cs
          2. DMS\DMS.App\src\DMS_WebApi\Controllers\IntegrationAPI\GenerateDocumentController.cs
          3. DMS\DMS.App\src\DMS_WebApi\Controllers\IntegrationAPI\SwaggerStubController.cs
          4. DMS\DMS.App\src\Entities\IntegrationDtos\DocumentDetailsDTO.cs
          5. DMS\DMS_App_Tests\GenerateDocumentControllerTest.cs

          Implementation done

          • Added check for user id to show only those templates which were created by same(logged in) user.
          • Also added check for archived & deleted template.
          Show
          ramya.tantry Ramya Tantry (Inactive) added a comment - Files Affected : DMS\DMS.App\src\DMS_AppLogic\IntegrationLogic\GenerateDocument.cs DMS\DMS.App\src\DMS_WebApi\Controllers\IntegrationAPI\GenerateDocumentController.cs DMS\DMS.App\src\DMS_WebApi\Controllers\IntegrationAPI\SwaggerStubController.cs DMS\DMS.App\src\Entities\IntegrationDtos\DocumentDetailsDTO.cs DMS\DMS_App_Tests\GenerateDocumentControllerTest.cs Implementation done Added check for user id to show only those templates which were created by same(logged in) user. Also added check for archived & deleted template.
          Hide
          ramya.tantry Ramya Tantry (Inactive) added a comment - - edited

          Verified API and its count on Pre-prod.

           

          Verified API and its count on Prod.

          Show
          ramya.tantry Ramya Tantry (Inactive) added a comment - - edited Verified API and its count on Pre-prod.   Verified API and its count on Prod.
          Hide
          priya.dhamande Priya Dhamande (Inactive) added a comment -

          Environment: Production - OneIM
          API: /api/documentTemplates/CBATS
          /api/documentTemplates/CBATS/Compliance

          Points covered:
          1. With Source product
          2. With Source Product and Template Type
          3. If Template with mentioned Template type doesnot exits

          Scenarios worked as expected, Screen captures attached.

          So, marking jira done on Production.

          Sachin Hingole Hrishikesh Deshpande Samir Rohan J Khandave

          Show
          priya.dhamande Priya Dhamande (Inactive) added a comment - Environment: Production - OneIM API: /api/documentTemplates/CBATS /api/documentTemplates/CBATS/Compliance Points covered: 1. With Source product 2. With Source Product and Template Type 3. If Template with mentioned Template type doesnot exits Scenarios worked as expected, Screen captures attached. So, marking jira done on Production. Sachin Hingole Hrishikesh Deshpande Samir Rohan J Khandave

            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 - 8h
                8h
                Remaining:
                Time Spent - 7.5h Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - 7.5h Remaining Estimate - 0.5h
                7.5h