ITicketManagerAddPost Method |
[This is preliminary documentation and is subject to change.]
Adds a ticket post to a ticket
Namespace: Netadmin.Management.TicketingAssembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntaxlong AddPost(
long ticketId,
long ticketFlowActionId,
ITicketPost ticketPost
)
Function AddPost (
ticketId As Long,
ticketFlowActionId As Long,
ticketPost As ITicketPost
) As Long
Parameters
- ticketId
- Type: SystemInt64
The ticket id - ticketFlowActionId
- Type: SystemInt64
The Ticket Flow Action id used to create the post - ticketPost
- Type: Netadmin.Management.Ticketing.DtoITicketPost
The post to add
Return Value
Type:
Int64The id of the created post
ExceptionsException | Condition |
---|
ObjectNotFoundException | Thrown if the ticket can not be opened. |
InvalidOperationException | Change of Ticket Type and/or Departments can only be done within the same Company |
ArgumentException | This ticket is missing an Author (and | or) an Owner |
InvalidIdentifierException | Thrown if the identifier is invalid. |
See Also