🔴 January 2024 Alert: Forum support inactive!
New forum registration are currently closed.
Use GitHub discussions
.

    UVdesk

    • Login
    • Search
    • Recent

    Solved UVDesk API usage with Postman

    Technical Help
    3
    6
    730
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mkroon last edited by

      Hello!

      I've recently installed and started using the API package with UVDesk. I've followed the instructions here: https://www.uvdesk.com/en/blog/api-resource/ and here: https://github.com/uvdesk/api-bundle/wiki/Ticket-Related-APIs

      I've been able to GET single tickets and all tickets, now I'm trying POST to create a ticket. Does anyone have a walk through for that? I thought I had all the query params setup. Right now, I get the error message:

      {
      "status": false,
      "message": "An unexpected error occurred. Please try again later."
      }

      Thanks in advance!

      AlexSoft 1 Reply Last reply Reply Quote 0
      • Sanjeev
        Sanjeev developer UVdesk Staff last edited by

        @mkroon

        Have you post the request with all the fields which is required to create a ticket as in screenshot.
        https://prnt.sc/u2lu3r

        M 1 Reply Last reply Reply Quote 0
        • M
          mkroon @Sanjeev last edited by

          @Sanjeev

          This is how I have Postman setup.

          Screen Shot 2020-08-21 at 1.09.44 PM.png

          1 Reply Last reply Reply Quote 0
          • Sanjeev
            Sanjeev developer UVdesk Staff last edited by

            @mkroon

            Please post the data using form data under body.
            Please refer screenshot of postman.

            TicketCreateAPI.PNG

            1 Reply Last reply Reply Quote 0
            • M
              mkroon last edited by

              Yup! That did it! Thank you!

              1 Reply Last reply Reply Quote 0
              • AlexSoft
                AlexSoft @mkroon last edited by

                @mkroon☹ ☹ ☹ ☹ ☹ ☹

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post