CreateTicket()

Abstract

The CreateTicket() API function is an XmlHttp function to create a new ticket record based on the name, email address, subject and description of an email.

API Address

https://api.tracker-rms.com/WebAPI/XmlHttpCreateTicket.aspx

Request Format

The input format XML for this function is as follows:

<?xml version="1.0"?>
<TrackerRMS>
    <UserLogon>
        <Username></Username>
        <Password></Password>
    </UserLogon>
    <TicketRecord>
        <Name></Name>
        <Email></Email>
        <Subject></Subject>
        <Description></Description>
        <Type></Type>
        <Assignment></Assignment>
        <AssignTeam></AssignTeam>
        <AssignPerson></AssignPerson>
        <TicketClient></TicketClient>
        <TicketContact></TicketContact>
        <TicketProject></TicketProject>
    </TicketRecord>
</TrackerRMS>
Parameter Notes
<Username> The username is typically the email address for the user in the format name@domain.com
<Password> The password will be the same as their web based password and can contain a combination of upper case, lower case and alpha-numeric characters
<Name> This is the name of the new Ticket to create
<Email> This is the email address of the new Ticket to create
<Subject> This is the email subject to be used for the new Ticket record
<Description> This is the email body text/description to be used for the new Ticket record

Response Format

The function will return a literal string value only containing the message to relay to the sender.

Example of a valid return:

No Default Ticket Type has been defined, please speak to your System Administrator
Contact does not exist or cannot be found with a valid email address of ‘some.one@domain.com’
User details cannot be verified
User ‘sender@domain.com’ not found
Record ‘TKT-00000’ successfully created