Hello,I'm opening a ticket using the API (sending cURL POST). Everything works as expected and the content of the response I get is the external ticket id of the newly-created ticket. But I want the internal ticket id in order to create a URL and point to that ticket like this:https://mydomain/proves/scp/tickets.php?id=33Now, the external and the internal id doesn't match and I need the internal id which is the one that osTicket really uses.Any ideas? Thanks.

query the DB using what you have for the other?

Hello,Unfortunately I don't have access to the osTicket database. Any other workaround?

But what's the point on the API returning an ID that is only for visualizations purposes and not the internal id which is the one that osTickets uses to identify tickets?

I'm not the author or a dev, and do not have a 100% answer to your question.  I would assume that its because more APIs are planned and osTicket uses the internal ticket id for a bunch of stuff.

Write a Reply...