Uploaded image for project: 'New Features 2017'
  1. New Features 2017
  2. NF-226

TSR Integration->Get Tours->Proper message should be display for invalid tour type instead of "An error has occurred".

    Details

    • Type: Change Request
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Integrations
    • Labels:
      None
    • Module:
      TSR
    • Reported by:
      Harbinger
    • Item State:
      Production Complete - Closed
    • Issue Importance:
      Q1
    • Severity:
      Simple

      Description

      1. Launch the Postman app.
      2. Select “Get” request from dropdwon.
      3. Select authorization type as “Basic Auth”.
      4. Enter Valid User ID and Password.
      5. Enter below URL:
      URL= http://wt-stage/api/Tours/GetTours?company=12480&tourType=ABC
      6. Click on Send button.
      7. Observe JSON output.

      Actual Result:
      "An error has occurred" message is displaying.
      Expected Result:
      Proper message should be display.

      Cc: Prasad Pise, Saurabh Sablaka

        Attachments

          Issue Links

            Activity

            Hide
            kunal.kedari Kunal Kedari (Inactive) added a comment -

            We have verified the change on Local (wt-stage) now proper message is displaying JSON format for invalid tour type. We can deploy it on Stage.

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - We have verified the change on Local (wt-stage) now proper message is displaying JSON format for invalid tour type. We can deploy it on Stage.
            Hide
            kunal.kedari Kunal Kedari (Inactive) added a comment - - edited

            Verified the fix on Stage environment, working as expected now below message is displaying for invalid tour type:

            Now below message is displaying:
            {
            "status": "Error",
            "message": "Invalid data input",
            "errorLevel": "Error",
            "code": 400,
            "description": "Invalid tour type"
            }

            As of now marking this issue as On hold for Production deployment.

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - - edited Verified the fix on Stage environment, working as expected now below message is displaying for invalid tour type: Now below message is displaying: { "status": "Error", "message": "Invalid data input", "errorLevel": "Error", "code": 400, "description": "Invalid tour type" } As of now marking this issue as On hold for Production deployment.
            Hide
            kunal.kedari Kunal Kedari (Inactive) added a comment -

            Verified the fix on Production, working as expected. Closing the ticket.

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - Verified the fix on Production, working as expected. Closing the ticket.

              People

              Assignee:
              kunal.kedari Kunal Kedari (Inactive)
              Reporter:
              kunal.kedari Kunal Kedari (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: