ArticleToDocumentAssociations
This entity represents articles associated with Knowledgebase 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: | ArticleToDocumentAssociation |
Entity Path: |
/atservicesrest/v1.0/ArticleToDocumentAssociations |
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 |
ArticleToDocumentAssociations/{id} (GET) |
Conditions and requirements
General
-
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 Knowledgebase security permission to use this entity.
-
Your API user must have Article Edit object permissions set to All or Mine to make changes to this entity.
-
Global Articles are not accessible via the API.
Special field attributes
The articleID and associatedDocumentID combination must be unique. You cannot create the same association more than once via the API.
Article and document associations are stored in a way that their relationship is defined twice - once for the articleID to associatedDocumentID association and once for the associatedDocumentID to articleID association. A Delete action on an {id} will delete both association records, as one can't exist without the other.
In most scenarios this situation won't be seen by or impact the API. However, there is a circumstance in which two records instead of one record per association can be returned.
Two records:
GET .../ArticleToDocumentAssociations/query?search={ "filter":[{"op" : "exist", "field" : "id" }]}
One record:
GET .../ArticleToDocumentAssociations/{id}
GET KnowledgeBaseArticles/{parentId}/DocumentAssociations
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 |
---|---|---|---|---|---|
articleID | integer | KnowledgeBaseArticles | |||
associatedDocumentID |
integer |
|
|
|
|
id |
long |
|
|
|
|