I'm currently working with the iTop API to retrieve tickets. Initially, I was using the UserRequest class, which has ticket references in the format R-XXXXXX. However, I've discovered that there are other ticket types, such as Demand (with references like D-XXXXXX) and Incident.
After some research I found that all these ticket types inherit from a base Ticket class. To create a comprehensive implementation, I need to know the reference formats for all ticket types derived from the Ticket class.
Could someone please provide a list of all the ticket types and their corresponding reference formats? Thank you for your help,
Imad SADDIK
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"Demand" is not a part of the standard iTop datamodel: so it looks like you're already using a customization. Perhaps just look at what's in the database table "ticket" - column "ref"?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello iTop community,
I'm currently working with the
iTop APIto retrieve tickets. Initially, I was using theUserRequestclass, which has ticket references in the formatR-XXXXXX. However, I've discovered that there are other ticket types, such asDemand(with references likeD-XXXXXX) andIncident.After some research I found that all these ticket types inherit from a base
Ticketclass. To create a comprehensive implementation, I need to know the reference formats for all ticket types derived from theTicketclass.Could someone please provide a list of all the ticket types and their corresponding reference formats? Thank you for your help,
Imad SADDIK
"Demand" is not a part of the standard iTop datamodel: so it looks like you're already using a customization. Perhaps just look at what's in the database table "ticket" - column "ref"?
Yes, we are doing some customization internally.
This is what I found, take the class Name and use the first character ask a prefix for the reference. For example:
UserRequest : R-xxxxxx
Demand : D-xxxxxx
Incident : I-xxxxxx
Etc, I hope this helps.