Previous Topic: createTicketNext Topic: closeTicket


createQuickTicket

The following parameters apply to the createQuickTicket method:

Parameter

Type

Description

SID

Integer

Identifies the session retrieved from logging in.

customerHandle

String

Identifies the customer handle used to create the ticket.

description

String

(Optional) Identifies the description of the ticket.

newTicketHandle

String Holder

String Holder object for capturing returned data. See the XML Element Return list below for details.

newTicketNumber

String Holder

String Holder object for capturing returned data. See the XML Element Return list below for details.

Description

Creates a ticket based on the preferred document type of the user represented by customerHandle. Contact access rights are determined by an Access Type record, which also sets the contact preferred document type (Request, Incident, Problem, Issue or Change Order). If a contact document type is Issue, this method will create an Issue; if the document type is Request, a Request is created, and so on. The contact represented by customerHandle is used to set the end user/customer field of the new ticket. The ticket description is set to the input description value.

Returns

Returns the new ticket handle, ticket number, and a brief representation of the new ticket in <UDSObject> format.

XML Element

Type

Description

<UDSObject>

N/A

Returns a partial set of attributes because it is a high-level method designed to simplify the process. Their values come from the following methods, and the XML element is returned so it is consistent with the returns of these methods:

  • createRequest()
  • createChange()
  • createIssue()

<newTicketHandle>

String

Identifies the new ticket handle.

<newTicketNumber>

String

Identifies the new ticket number (its “ref_num” or “chg_ref_num” attribute).