Details

    • Type: Sub-task
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Labels:
      None
    • Company:
      All Clients/Multiple Clients

      Description

      Overview:

      We need to add mapping fields data in API response. Below is the analysis of current API implemented:

       

      The system fields are accurate which can be used to identify the field and apply validation.

      We can check the mapping of the form fields with the system fields from the mapping details and add validation accordingly.

       

      Analysis of this case:

      We are using following API to fetch the PDF details in Document Preview page.

      https://dmsapistage.workterra.net/api/FormsLibrary/GetFormDetails/mohd.belal@careerbuilder.com/1443

      Currently, this is not providing any data related to the Mapped fields which we have for this template. If we get the Mapped data in response we can use that to check the mapping and apply validation.

      Same applied to Document Review Page where the API used is:

      https://dmsapistage.workterra.net/api/Person/GetDetailsForEditPDF/61/1456/1/3509/3494/0

      So, both these API need to be updated to return Mapped Field data for the template in its response.

       

      FYI, the API which we are using in create template is returning the Mapped fields data:

      https://dmsapistage.workterra.net/api/DocumentTemplate/GetFormData/1443

        Attachments

          Activity

          Show
          NalinB Nalin.Bhayana (Inactive) added a comment - https://github.com/cbdr/DMS/pull/990

            People

            Assignee:
            NalinB Nalin.Bhayana (Inactive)
            Reporter:
            mohd.belal Mohd Belal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 8h
                8h
                Remaining:
                Time Spent - 4h Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - 4h Remaining Estimate - 4h
                4h