Unless explicitly stated on the documentation for a method, the accepted Web API call content types are:
Calls using any other content type (ex: text/plain) are not supported.
-
APIs
-
Tickets
Contents
Summary
Contains methods for working with
tickets.
Application Identifier Use
This set of APIs uses a application identifier parameter, named appId
and of type Int32, which specifies the corresponding application in which actions should be performed.
For the sake of brevity, it is omitted from the parameter list of the API methods below, but still needs
to be included whenever there is an {appId}
placeholder in the
URL for the API method.
API Methods
GET
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/{id}
Copy URL
Gets a ticket.
Parameters
-
-
Parameter Name
-
id
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The ticket ID.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
POST
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/{id}/application
Copy URL
Moves a ticket to a different application.
Parameters
-
-
Parameter Name
-
id
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The ticket ID.
-
-
Parameter Name
-
Request Body
(Validated as "ticketMoveOptions")
-
Type
-
TeamDynamix.Api.Tickets.MoveTicketOptions
-
Source
-
Request Body
-
Description
-
The ticket move options.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
Remarks
Ticket responsibility will be retained, if possible, during the move operation. This will follow
all of the same rules that ticket (re)assignment and "sticky" groups adhere to for ticket create and edit
operations.
If responsibility cannot be retained, such as the responsible user is not valid or the responsible group is not
associated with the destination ticketing application, it will instead be cleared.
GET
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/{id}/assets
Copy URL
Gets the collection of configuration items associated with a
ticket.
Parameters
-
-
Parameter Name
-
id
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The ticket ID.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
Remarks
The following properties will not be included in the results:
To retrieve such information, you must load a configuration item individually.
DELETE
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/{id}/assets/{assetId}
Copy URL
Removes an asset from ticket.
Parameters
-
-
Parameter Name
-
id
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The ticket ID.
-
-
Parameter Name
-
assetId
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The asset ID.
Returns
A response message indicating whether or not the deletion was sucessful.
Access Restrictions
This action requires access to the TDAssets application.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
POST
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/{id}/assets/{assetId}
Copy URL
Adds an asset to ticket.
Parameters
-
-
Parameter Name
-
id
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The ticket ID.
-
-
Parameter Name
-
assetId
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The asset ID.
Returns
A response message indicating whether or not the addition was sucessful.
Access Restrictions
This action requires access to the TDAssets application.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
POST
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/{id}/attachments?showViewLink={showViewLink}
Copy URL
Uploads an attachment to a ticket. The file should be included
as part of the submission's form data.
Parameters
-
-
Parameter Name
-
id
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The ticket ID.
-
-
Parameter Name
-
showViewLink
-
Type
-
Boolean
-
Source
-
URI
-
Default
-
This parameter is optional, with a default value of
null
.
-
Description
-
true
if the View link should be shown, otherwise false
. This
only applies to HTML files.
File Upload
This action accepts an uploaded file as part of the form's submission.
For information on how to structure calls with files, see the
Submitting Files page.
Returns
The generated attachment if the operation was successful.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
POST
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/{id}/children
Copy URL
Adds all of the specified tickets as children to the specified parent ticket.
Parameters
-
-
Parameter Name
-
id
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The parent ticket ID.
-
-
Parameter Name
-
Request Body
(Validated as "childTicketIds")
-
Type
-
Int32[]
-
Source
-
Request Body
-
Description
-
A collection of ticket IDs to be set as children of the specified parent ticket.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
4 calls
per IP address
every 60 seconds.
Remarks
This endpoint will both set and change a child ticket's parent. This means that even if
a child ticket already has a parent, it will be changed to the new parent.
PUT
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/{id}/classification?newClassificationId={newClassificationId}
Copy URL
Changes a ticket's classification.
Parameters
-
-
Parameter Name
-
id
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The ticket ID.
-
-
Parameter Name
-
newClassificationId
-
Type
-
TeamDynamix.Api.Tickets.TicketClass
-
Source
-
URI
-
Description
-
The new classification ID for the ticket. Please refer to the
TicketClass documentation for valid ticketing
classification values.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
Remarks
Please note that when editing a ticket's classification, the following items may be removed
without warning:
-
Parent/child relationships: if downgrading ticket classification
-
Maintenance activities: if downgrading ticket classification from Change or higher
to a classification lower than Change.
GET
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/{id}/configurationItems
Copy URL
Gets the collection of configuration items associated with a
ticket.
Parameters
-
-
Parameter Name
-
id
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The ticket ID.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
Remarks
The following properties will not be included in the results:
To retrieve such information, you must load a configuration item individually.
DELETE
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/{id}/configurationItems/{configurationItemId}
Copy URL
Removes a CI from ticket.
Parameters
-
-
Parameter Name
-
id
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The ticket ID.
-
-
Parameter Name
-
configurationItemId
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The CI ID.
Returns
A response message indicating whether or not the deletion was sucessful.
Access Restrictions
This action requires access to the TDAssets application.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
POST
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/{id}/configurationItems/{configurationItemId}
Copy URL
Adds a CI to ticket.
Parameters
-
-
Parameter Name
-
id
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The ticket ID.
-
-
Parameter Name
-
configurationItemId
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The CI ID.
Returns
A response message indicating whether or not the addition was sucessful.
Access Restrictions
This action requires access to the TDAssets application.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
GET
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/{id}/contacts
Copy URL
Gets the ticket contacts.
Parameters
-
-
Parameter Name
-
id
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The ticket id.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
DELETE
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/{id}/contacts/{contactUid}
Copy URL
Removes a contact from ticket.
Parameters
-
-
Parameter Name
-
id
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The ticket id.
-
-
Parameter Name
-
contactUid
-
Type
-
Guid
-
Source
-
URI
-
Description
-
The UID of the contact.
Returns
A response message indicating whether or not
the contact was successfully removed form the ticket.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
POST
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/{id}/contacts/{contactUid}
Copy URL
Adds a contact to ticket.
Parameters
-
-
Parameter Name
-
id
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The ticket id.
-
-
Parameter Name
-
contactUid
-
Type
-
Guid
-
Source
-
URI
-
Description
-
The UID of the contact.
Returns
A response message indicating whether or not
the contact was successfully added to the ticket.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
GET
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/{id}/feed
Copy URL
Gets the feed entries for a ticket.
Parameters
-
-
Parameter Name
-
id
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The ticket ID.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
Remarks
The replies and
likes collections will
not be returned by this endpoint.
However, replies count,
likes count, and
"liked by me" flag values will be loaded.
To retrieve replies and likes, query the single feed entry retrieval endpoint
using the individual entry's URI.
POST
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/{id}/feed
Copy URL
Updates a ticket.
Parameters
-
-
Parameter Name
-
id
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The ticket ID.
-
-
Parameter Name
-
Request Body
(Validated as "itemUpdate")
-
Type
-
TeamDynamix.Api.Feed.TicketFeedEntry
-
Source
-
Request Body
-
Description
-
The new feed entry to add.
Returns
The generated item update if the operation was successful.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
PUT
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/{id}/sla
Copy URL
Sets or changes the ticket's current service level agreement (SLA).
Parameters
-
-
Parameter Name
-
id
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The ticket ID.
-
-
Parameter Name
-
Request Body
(Validated as "slaAssignmentOptions")
-
Type
-
TeamDynamix.Api.Tickets.SlaAssignmentOptions
-
Source
-
Request Body
-
Description
-
The service level agreement (SLA) assignment options. Please refer to the
SlaAssignmentOptions documentation for valid SLA
assignment option settings.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
Remarks
Changing the SLA of a ticket will remove any pending SLA deadlines and clear the SLA violation
status of the ticket. However, if any SLA deadlines have already been evaluated, they will
remain in the SLA history of the ticket.
When changing the SLA of a ticket, you can specify from which point the respond by/resolve by deadlines for
the new SLA will be calculated. These deadlines can be calculated either from the Date/time the ticket is
assigned to the SLA or from the date/time the ticket was originally created.
PUT
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/{id}/sla/delete
Copy URL
Removes the ticket's current service level agreement (SLA).
Parameters
-
-
Parameter Name
-
id
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The ticket ID.
-
-
Parameter Name
-
Request Body
(Validated as "slaRemovalOptions")
-
Type
-
TeamDynamix.Api.Tickets.SlaRemovalOptions
-
Source
-
Request Body
-
Description
-
The service level agreement (SLA) removal options. Please refer to the
SlaRemovalOptions documentation for valid SLA
removal option settings.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
Remarks
Removing the SLA of a ticket will remove any pending SLA deadlines and clear the
SLA violation status Of the ticket. However, If any SLA deadlines have already been
evaluated, they will remain in the SLA history of the ticket.
GET
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/{id}/workflow
Copy URL
Gets the currently assigned workflow details for a ticket.
Parameters
-
-
Parameter Name
-
id
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The ticket ID.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
GET
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/{id}/workflow/actions?stepId={stepId}
Copy URL
Gets the currently assigned workflow's actions for a ticket for the authenticated user.
Parameters
-
-
Parameter Name
-
id
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The ticket ID.
-
-
Parameter Name
-
stepId
-
Type
-
Guid
-
Source
-
URI
-
Description
-
The step ID.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
POST
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/{id}/workflow/approve
Copy URL
Performs the provided action on the provided workflow step.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
POST
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/{id}/workflow/reassign
Copy URL
Reassigns the provided step to the provided resource(s).
Returns
An HTTP response of 200 if successful, otherwise returns an error messages describing the issue.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
PUT
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/{id}/workflow?newWorkflowId={newWorkflowId}&allowRemoveExisting={allowRemoveExisting}
Copy URL
Assigns or reassigns the workflow to the ticket.
Parameters
-
-
Parameter Name
-
id
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The ticket ID.
-
-
Parameter Name
-
newWorkflowId
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The workflow ID to assign.
-
-
Parameter Name
-
allowRemoveExisting
-
Type
-
Boolean
-
Source
-
URI
-
Default
-
This parameter is optional, with a default value of
False
.
-
Description
-
If
true
, will remove existing workflow if assigned and
assign the workflow specified by newWorkflowId. If false
, will not assign the workflow and fail.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
PATCH
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/{id}?notifyNewResponsible={notifyNewResponsible}
Copy URL
Patches an existing ticket.
This only supports patching the ticket itself and custom attributes. Other collections on
the ticket are not supported.
About PATCH Support
For information on how to structure HTTP PATCH calls, see the
HTTP PATCH Support page.
Parameters
-
-
Parameter Name
-
id
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The ticket ID.
-
-
Parameter Name
-
notifyNewResponsible
-
Type
-
Boolean
-
Source
-
URI
-
Default
-
This parameter is optional, with a default value of
False
.
-
Description
-
If
true
, will notify the newly-responsible resource(s)
if the responsibility is changed as a result of the edit.
-
-
Parameter Name
-
Request Body
(Validated as "patch")
-
Type
-
PatchDocument<TeamDynamix.Api.Tickets.Ticket>
-
Source
-
Request Body
-
Description
-
The patch document containing changes to apply to the ticket.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
Remarks
If the ticket has been converted to a task, some of the fields will not be editable.
These include StartDate, EndDate, EstimatedMinutes, ResponsibleGroupID, and ResponsibleUid.
If the ticket has been converted to a task, and it has not been completed, the StatusID will also not be editable.
POST
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/{id}?notifyNewResponsible={notifyNewResponsible}
Copy URL
Edits an existing ticket.
Parameters
-
-
Parameter Name
-
id
-
Type
-
Int32
-
Source
-
URI
-
Description
-
The ticket ID.
-
-
Parameter Name
-
notifyNewResponsible
-
Type
-
Boolean
-
Source
-
URI
-
Default
-
This parameter is optional, with a default value of
False
.
-
Description
-
If
true
, will notify the newly-responsible resource(s)
if the responsibility is changed as a result of the edit.
-
-
Parameter Name
-
Request Body
(Validated as "ticket")
-
Type
-
TeamDynamix.Api.Tickets.Ticket
-
Source
-
Request Body
-
Description
-
The ticket with updated values.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
Remarks
If the ticket has been converted to a task, some of the fields will not be editable.
These include StartDate, EndDate, EstimatedMinutes, ResponsibleGroupID, and ResponsibleUid.
If the ticket has been converted to a task, and it has not been completed, the StatusID will also not be editable.
GET
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/feed?DateFrom={DateFrom}&DateTo={DateTo}&ReplyCount={ReplyCount}&ReturnCount={ReturnCount}
Copy URL
Gets the feed items from the Tickets app matching the
specified search.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
GET
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/forms
Copy URL
Gets all active ticket forms for the specified application.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
GET
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/resources?searchText={searchText}
Copy URL
Gets a list of eligible assignments for the ticketing application.
Parameters
-
-
Parameter Name
-
searchText
-
Type
-
String
-
Source
-
URI
-
Description
-
The searching text to use.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
60 calls
per IP address
every 60 seconds.
POST
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets/search
Copy URL
Gets a list of tickets. Will not include full ticket information.
Returns
A list of tickets matching the specified criteria.
Because this is a search, not all properties will be provided for each ticket. For example,
ticket descriptions and custom attributes will not be returned. To retrieve such information,
you must load a ticket individually.
(
TeamDynamix.Api.Tickets.Ticket[])
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
30 calls
per IP address
every 60 seconds.
Remarks
This endpoint will not return all ticket information.
For example, the following properties will not be included in the results:
- Attachments
- Attributes
- Description
- Notify
- Tasks
To retrieve such information, you must load a ticket individually.
POST
https://gmu.teamdynamix.com/TDWebApi/api/{appId}/tickets?EnableNotifyReviewer={EnableNotifyReviewer}&NotifyRequestor={NotifyRequestor}&NotifyResponsible={NotifyResponsible}&AllowRequestorCreation={AllowRequestorCreation}&applyDefaults={applyDefaults}
Copy URL
Creates a ticket.
Parameters
-
-
Parameter Name
-
options
-
Type
-
TeamDynamix.Api.Tickets.TicketCreateOptions
-
Source
-
URI
-
Description
-
The creation options.
-
-
Parameter Name
-
applyDefaults
-
Type
-
Boolean
-
Source
-
URI
-
Default
-
This parameter is optional, with a default value of
True
.
-
Description
-
Indicates whether or not to apply default values for
properties that are not specified.
-
-
Parameter Name
-
Request Body
(Validated as "ticket")
-
Type
-
TeamDynamix.Api.Tickets.Ticket
-
Source
-
Request Body
-
Description
-
The ticket.
Returns
The created ticket if the operation was successful.
Rate/Submission Limitations
Invocations of this method are rate-limited, with a restriction of
120 calls
per IP address
every 60 seconds.