
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-25-2018 07:21 PM
I've been tasked with automating the ticket creation process after someone needs a password reset. I am able to open a URL with the correct parameters for creating a ticket but I am unable to retrieve the TicketID from the ticket I just made in my vbscript. I need this TicketID value because it appears that you cannot close a ticket after creating it because it requires the EditTicket function instead of the AddTicket function. And you can only use one of those Actions in a request.
Is there a certain call that I am supposed to make to get this TicketID?
Am I supposed to parse through the JSON values to get the TicketID?
What is the easiest way of going about this?
I'm not a seasoned coder but I am trying my best. Thanks for any input, I truly appreciate it.
Is there a certain call that I am supposed to make to get this TicketID?
Am I supposed to parse through the JSON values to get the TicketID?
What is the easiest way of going about this?
I'm not a seasoned coder but I am trying my best. Thanks for any input, I truly appreciate it.
Labels:
- Labels:
-
General Discussion
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2018 11:46 PM
Yes. When you use the AddTicket function, it'll return a JSON string. In that JSON string is the TicketID
Not sure how you parse JSON in VBScript though. A quick google doesn't yield many helpful results.
Not sure how you parse JSON in VBScript though. A quick google doesn't yield many helpful results.
