Hi there ! How can I create a new Ticket using the Web service API and how can we close ticket using the Same API .
On which file i need to modify the code.

Thanks in Advance. 😃

ntozier
Where should we put the API codes inside which folder of our project.
I am running everything in my localhost.
And can we write extra code for close or update, or it is not supportive in this version ?

You can put it where ever you want to put it. I keep it at the root level in my instance, but putting it in the /api folder makes sense.

You can write any code that you want. That being said you would have to write a Close and Update API to achieve those functions. The base API does not handle them currently.

There are also several Pull Request (PR) over at git hub that expands the existing API. If you search for API in PRs then you will find them. HEre are a couple to get you started if you want to use unofficial code.
https://github.com/osTicket/osTicket/pull/5019
https://github.com/osTicket/osTicket/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aopen+API

    Very welcome.

    Should I close this thread and mark it resolved?

    Write a Reply...