ITicketManagerCreateTicket Method |
[This is preliminary documentation and is subject to change.]
Creates a new ticket with attachments
Namespace: Netadmin.Management.TicketingAssembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntaxlong CreateTicket(
string title,
long regardingObjectTypeId,
long regardingObjectId,
long ticketFlowActionId,
ITicketPost initialPost,
IEnumerable<IPostAttachmentData> attachments,
long serviceProviderId = 0
)
Function CreateTicket (
title As String,
regardingObjectTypeId As Long,
regardingObjectId As Long,
ticketFlowActionId As Long,
initialPost As ITicketPost,
attachments As IEnumerable(Of IPostAttachmentData),
Optional serviceProviderId As Long = 0
) As Long
Parameters
- title
- Type: SystemString
Title of the ticket - regardingObjectTypeId
- Type: SystemInt64
The object type id of the regarding object - regardingObjectId
- Type: SystemInt64
The object id of the regarding object - ticketFlowActionId
- Type: SystemInt64
The id of the Ticket Flow Action used to create the ticket - initialPost
- Type: Netadmin.Management.Ticketing.DtoITicketPost
The first post in the ticket - attachments
- Type: System.Collections.GenericIEnumerableIPostAttachmentData
Attachments to add to the ticket - serviceProviderId (Optional)
- Type: SystemInt64
If non-zero, will link the ticket to a service provider
Return Value
Type:
Int64The created ticket's id
Exceptions
See Also