KronoDesk: REST Web Service (v4.0)
Click here for a complete list of operations.
PUT: tickets/{ticket_id}
Description
Updates a ticket in the system.
How to Execute
To access this REST web service, you need to use the following URL:
https://api.inflectra.com/KronoDesk/Services/v3_0/RestService.svc/tickets/{ticket_id}
Request Parameters
Name
|
Description
|
ticket_id
|
The id of the ticket
|
Request Body
Property
|
Description
|
TicketId
|
The ticket primary key
|
AccessedDate
|
The date/time that the ticket was last accessed
|
AssigneeId
|
The id of the user that the ticket is assigned to
|
AssigneeUserName
|
The name of the user that the ticket is assigned toRead-only
|
ClosedDate
|
The date/time that the ticket was closed
|
ConcurrencyId
|
The concurrency date/time (used to prevent users overwriting each other's changes)
|
CreationDate
|
The date/time that the ticket was createdIf no date/time is specified, the current UTC date/time is used
|
Description
|
The description of the ticket
|
LongDescription
|
The description of the ticket, with all the notes concatenated into itRead-only
|
HasAttachments
|
Does this ticket have any file attachments
|
IsDeleted
|
Has this ticket been deleted
|
LastUpdateDate
|
The date/time that the ticket was last updated
|
Name
|
The short name of the ticket
|
OpenerId
|
The id of the user that opened the ticketIf no value is specified on creation, the current user is used
|
OpenerUserName
|
The name of the user that opened the ticketRead-only
|
PriorityId
|
The id of the ticket priority
|
PriorityName
|
The name of the ticket priorityRead-only
|
ProductId
|
The id of the product that the ticket is associated with
|
ProductName
|
The name of the product that the ticket is associated withRead-only
|
ResolutionId
|
The id of the ticket resolution
|
ResolutionName
|
The name of the ticket resolutionRead-only
|
SourceId
|
An ID that tells KronoDesk what is the source of this ticket (e.g. -2 = from email)
|
CCList
|
The list of email addresses to be CCed
|
StatusId
|
The id of the ticket statusIf no status provided, the default status is used
|
StatusName
|
The name of the ticket status
Read-only
|
TypeId
|
The id of the ticket type
|
TypeName
|
The name of the ticket type
Read-only
|
Notes
|
The list of notes attached to the ticket
|
<RemoteTicket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.KronoDesk.Web.Services.v3_0.DataObjects">
<AccessedDate>0001-01-01T00:00:00</AccessedDate>
<AssigneeId i:nil="true" />
<AssigneeUserName i:nil="true" />
<CCList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<ClosedDate i:nil="true" />
<ConcurrencyId>00000000-0000-0000-0000-000000000000</ConcurrencyId>
<CreationDate i:nil="true" />
<Description i:nil="true" />
<HasAttachments>false</HasAttachments>
<IsDeleted>false</IsDeleted>
<LastUpdateDate>0001-01-01T00:00:00</LastUpdateDate>
<LongDescription i:nil="true" />
<Name i:nil="true" />
<Notes i:nil="true" />
<OpenerId i:nil="true" />
<OpenerUserName i:nil="true" />
<PriorityId i:nil="true" />
<PriorityName i:nil="true" />
<ProductId>0</ProductId>
<ProductName i:nil="true" />
<ResolutionId i:nil="true" />
<ResolutionName i:nil="true" />
<SourceId i:nil="true" />
<StatusId i:nil="true" />
<StatusName i:nil="true" />
<TicketId i:nil="true" />
<TypeId i:nil="true" />
<TypeName i:nil="true" />
</RemoteTicket>
{"AccessedDate":"\/Date(-62135578800000-0500)\/",
"AssigneeId":null,
"AssigneeUserName":null,
"CCList":null,
"ClosedDate":null,
"ConcurrencyId":"00000000-0000-0000-0000-000000000000",
"CreationDate":null,
"Description":null,
"HasAttachments":false,
"IsDeleted":false,
"LastUpdateDate":"\/Date(-62135578800000-0500)\/",
"LongDescription":null,
"Name":null,
"Notes":null,
"OpenerId":null,
"OpenerUserName":null,
"PriorityId":null,
"PriorityName":null,
"ProductId":0,
"ProductName":null,
"ResolutionId":null,
"ResolutionName":null,
"SourceId":null,
"StatusId":null,
"StatusName":null,
"TicketId":null,
"TypeId":null,
"TypeName":null}
Return Data
Property
|
Description
|
TicketId
|
The ticket primary key
|
AccessedDate
|
The date/time that the ticket was last accessed
|
AssigneeId
|
The id of the user that the ticket is assigned to
|
AssigneeUserName
|
The name of the user that the ticket is assigned toRead-only
|
ClosedDate
|
The date/time that the ticket was closed
|
ConcurrencyId
|
The concurrency date/time (used to prevent users overwriting each other's changes)
|
CreationDate
|
The date/time that the ticket was createdIf no date/time is specified, the current UTC date/time is used
|
Description
|
The description of the ticket
|
LongDescription
|
The description of the ticket, with all the notes concatenated into itRead-only
|
HasAttachments
|
Does this ticket have any file attachments
|
IsDeleted
|
Has this ticket been deleted
|
LastUpdateDate
|
The date/time that the ticket was last updated
|
Name
|
The short name of the ticket
|
OpenerId
|
The id of the user that opened the ticketIf no value is specified on creation, the current user is used
|
OpenerUserName
|
The name of the user that opened the ticketRead-only
|
PriorityId
|
The id of the ticket priority
|
PriorityName
|
The name of the ticket priorityRead-only
|
ProductId
|
The id of the product that the ticket is associated with
|
ProductName
|
The name of the product that the ticket is associated withRead-only
|
ResolutionId
|
The id of the ticket resolution
|
ResolutionName
|
The name of the ticket resolutionRead-only
|
SourceId
|
An ID that tells KronoDesk what is the source of this ticket (e.g. -2 = from email)
|
CCList
|
The list of email addresses to be CCed
|
StatusId
|
The id of the ticket statusIf no status provided, the default status is used
|
StatusName
|
The name of the ticket status
Read-only
|
TypeId
|
The id of the ticket type
|
TypeName
|
The name of the ticket type
Read-only
|
Notes
|
The list of notes attached to the ticket
|
<RemoteTicket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.KronoDesk.Web.Services.v3_0.DataObjects">
<AccessedDate>0001-01-01T00:00:00</AccessedDate>
<AssigneeId i:nil="true" />
<AssigneeUserName i:nil="true" />
<CCList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<ClosedDate i:nil="true" />
<ConcurrencyId>00000000-0000-0000-0000-000000000000</ConcurrencyId>
<CreationDate i:nil="true" />
<Description i:nil="true" />
<HasAttachments>false</HasAttachments>
<IsDeleted>false</IsDeleted>
<LastUpdateDate>0001-01-01T00:00:00</LastUpdateDate>
<LongDescription i:nil="true" />
<Name i:nil="true" />
<Notes i:nil="true" />
<OpenerId i:nil="true" />
<OpenerUserName i:nil="true" />
<PriorityId i:nil="true" />
<PriorityName i:nil="true" />
<ProductId>0</ProductId>
<ProductName i:nil="true" />
<ResolutionId i:nil="true" />
<ResolutionName i:nil="true" />
<SourceId i:nil="true" />
<StatusId i:nil="true" />
<StatusName i:nil="true" />
<TicketId i:nil="true" />
<TypeId i:nil="true" />
<TypeName i:nil="true" />
</RemoteTicket>
{"AccessedDate":"\/Date(-62135578800000-0500)\/",
"AssigneeId":null,
"AssigneeUserName":null,
"CCList":null,
"ClosedDate":null,
"ConcurrencyId":"00000000-0000-0000-0000-000000000000",
"CreationDate":null,
"Description":null,
"HasAttachments":false,
"IsDeleted":false,
"LastUpdateDate":"\/Date(-62135578800000-0500)\/",
"LongDescription":null,
"Name":null,
"Notes":null,
"OpenerId":null,
"OpenerUserName":null,
"PriorityId":null,
"PriorityName":null,
"ProductId":0,
"ProductName":null,
"ResolutionId":null,
"ResolutionName":null,
"SourceId":null,
"StatusId":null,
"StatusName":null,
"TicketId":null,
"TypeId":null,
"TypeName":null}