Share via


CrmServiceClient.CloseTroubleTicket(Guid, String, String, Guid) Method

Definition

Closes a Trouble ticket by ID

public Guid CloseTroubleTicket (Guid ticketId, string subject, string description, Guid batchId = default);
member this.CloseTroubleTicket : Guid * string * string * Guid -> Guid
Public Function CloseTroubleTicket (ticketId As Guid, subject As String, description As String, Optional batchId As Guid = Nothing) As Guid

Parameters

ticketId
Guid

ID of the Ticket to close

subject
String

Title of the close ticket record

description
String

Description of the closed ticket

batchId
Guid

Optional: if set to a valid GUID, generated by the Create Batch Request Method, will assigned the request to the batch for later execution, on fail, runs the request immediately

Returns

Returns the ID of the closed ticket

Applies to