Uploaded image for project: 'Document Management System'
  1. Document Management System
  2. DMS-1681

Make payload and source userId optional for create document

    Details

    • Company:
      All Clients/Multiple Clients

      Description

      Make payload and source userId optional for create document. Remove required attribute and validations related to source userId from create document API.

      Also below points needs to consider

      1. Fetch global custom fields.
      2. Allow form alias in payload.
      3. Make template ids optional. Payload may contain Template ids & Form Alias.
      4. In response payload of this API, make properties in camelCasing

       

        Attachments

        1. DMS-1681 Payload Changes.txt
          11 kB
        2. Screenshot (3549).png
          Screenshot (3549).png
          158 kB
        3. Screenshot (3550).png
          Screenshot (3550).png
          146 kB
        4. Screenshot (3551).png
          Screenshot (3551).png
          130 kB
        5. Screenshot (3552).png
          Screenshot (3552).png
          128 kB
        6. Screenshot (3553).png
          Screenshot (3553).png
          130 kB
        7. Screenshot (3554).png
          Screenshot (3554).png
          138 kB
        8. Screenshot (3555).png
          Screenshot (3555).png
          134 kB
        9. Screenshot (3556).png
          Screenshot (3556).png
          135 kB
        10. Testcases -DMS-1681.xls
          15 kB

          Issue Links

            Activity

            Hide
            Ganesh.sadawarte Ganesh Sadawarte (Inactive) added a comment - - edited
            • Will we use custom create document API: POST URL : /api/candidate/custom/document/create
            Show
            Ganesh.sadawarte Ganesh Sadawarte (Inactive) added a comment - - edited Will we use custom create document API: POST URL : /api/candidate/custom/document/create
            Hide
            Ganesh.sadawarte Ganesh Sadawarte (Inactive) added a comment - - edited

            Adding Payload Changes DMS-1681 Payload Changes.txt

            We have change casing for below response properties.

            • documentTemplateId
            • documentId

            CC-Samir,Rohan J Khandave

            Show
            Ganesh.sadawarte Ganesh Sadawarte (Inactive) added a comment - - edited Adding Payload Changes DMS-1681 Payload Changes.txt We have change casing for below response properties. documentTemplateId documentId CC- Samir , Rohan J Khandave
            Hide
            Ganesh.sadawarte Ganesh Sadawarte (Inactive) added a comment -

            Hi All,

            We have done with below changes.

            • Fetch global custom fields.
            • Allow form alias in payload: created common logic and applied for custom and create document API.
            • Make template ids optional. Payload may contain Template ids & Form Alias.
            • In response payload of this API, make properties in camelCasing: Changes done for properties and error response key.

            Harshveer Singh please have review & let me know any changes needed for camelCasing.

            CC-Samir,Rohan J Khandave

            Thanks,
            Ganesh

            Show
            Ganesh.sadawarte Ganesh Sadawarte (Inactive) added a comment - Hi All, We have done with below changes. Fetch global custom fields. Allow form alias in payload: created common logic and applied for custom and create document API. Make template ids optional. Payload may contain Template ids & Form Alias. In response payload of this API, make properties in camelCasing: Changes done for properties and error response key. Harshveer Singh please have review & let me know any changes needed for camelCasing. CC- Samir , Rohan J Khandave Thanks, Ganesh
            Hide
            priya.dhamande Priya Dhamande (Inactive) added a comment -

            Environment: Preprod OneIM
            Browser: FF and Chrome
            API: api/candidate/custom/document/create and api/candidate/document/create

            Scenarios verified:
            1. Custom create document without Source ID
            2. Create document without Source ID
            3. Custom create document with Form Alias
            4. Create document with Form Alias
            5. Custom create document with Form Template ID
            6. Create document with Template ID
            7. Custom create document with Send document: 0, 1 and 2
            8. Create document with Send document: 0, 1 and 2

            Issue found in Send document 1 and 0. Logged jira with ID: DMS-1700.

            Refer screen capture. So, marking jira done.

            Sachin Hingole Hrishikesh Deshpande Rohan J Khandave Harshveer Singh Samir

            Show
            priya.dhamande Priya Dhamande (Inactive) added a comment - Environment: Preprod OneIM Browser: FF and Chrome API: api/candidate/custom/document/create and api/candidate/document/create Scenarios verified: 1. Custom create document without Source ID 2. Create document without Source ID 3. Custom create document with Form Alias 4. Create document with Form Alias 5. Custom create document with Form Template ID 6. Create document with Template ID 7. Custom create document with Send document: 0, 1 and 2 8. Create document with Send document: 0, 1 and 2 Issue found in Send document 1 and 0. Logged jira with ID: DMS-1700 . Refer screen capture. So, marking jira done. Sachin Hingole Hrishikesh Deshpande Rohan J Khandave Harshveer Singh Samir

              People

              Assignee:
              priya.dhamande Priya Dhamande (Inactive)
              Reporter:
              harshveer.singh Harshveer Singh (Inactive)
              Developer:
              Ganesh Sadawarte (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 16h Original Estimate - 16h
                  16h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 26h
                  26h