DocumentTicketAssociations
This entity contains ticket associations for documents in Autotask.
NOTE You can refer to the Online Help to find root and child access URLs of the entity you wish to query. Refer to Finding resource and child access URLs of REST API entities for more information.
Entity details
Entity Name: | DocumentTicketAssociation |
Entity Path: |
/atservicesrest/v1.0/DocumentTicketAssociations |
Can Create: | |
Can Update: | |
Can Query: | |
Can Delete: | |
Can Have UDFs: |
IMPORTANT Requests to this entity require special handling. Refer to the Entity URLs and relationships section of this article for details.
- If this entity has a Parent relationship, you must perform all Create, Update, and Delete actions on the parent entity.
- If this entity is a child of a parent, you can leverage our Swagger instance to find the URLs you should use in your API calls. For more information, refer to Finding resource and child access URLs of REST API entities.
- To learn how to access Swagger, refer to Using Swagger UI to explore REST API requests.
Parent | Documents |
URLs |
DocumentTicketAssociations/{id} (GET) DocumentTicketAssociations/query (GET, POST) DocumentTicketAssociations/query/count (GET, POST) DocumentTicketAssociations/entityInformation (GET) DocumentTicketAssociations/entityInformation/fields (GET) |
Conditions and requirements
General
- Knowledgebase must be enabled in Autotask at > Admin > Features & Settings > Application-Wide (Shared) Features > Knowledgebase for the API entity to function.
- Documentation Management must be enabled in Autotask at > Admin > Extensions & Integrations > Installed Modules > Documentation for document management endpoints to function.
- Your API user must have the Can access Documentation permission to use this entity.
- To manage ticket associations, your API user must have edit access to the selected document.
- To create assignments, your API user must have the Tickets - View object permission.
- DocumentID and TicketID combinations must be unique.
Special field attributes
Field | Conditions and Requirements |
---|---|
TicketID |
The TicketID value must reference a ticket that is visible to your API user. |
Field definitions
The following table describes the standard Autotask fields for this entity. Refer to the following articles for more information about working with these fields:
- The entityInformation REST API call
- Making basic query calls to the REST API
- Advanced query features of the REST API
To learn how to query picklist endpoints, refer to Understanding picklists.
Notes
- For string datatypes, the number in parentheses ( ) indicates the maximum number of characters allowed.
- LT indicates Local Term.
- If this entity has child collections, they will appear in a Child collection access URLs or an Entity URLs and relationships drop-down in the Entity details section of this article.
- You can call the /query/count/ endpoint of a resource to determine how many records a collection holds.
Field Name | Datatype | Read-Only | Is Required | Reference Name | Picklist |
---|---|---|---|---|---|
documentID | integer | Documents | |||
id |
long |
|
|
|
|
tagID | integer | Tags |