The Get All Ancestor Topics API retrieves the hierarchy from the root topic down to the given topic.
| Accept-Language required | string The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses). Example: en-US |
| x-ext-integration-id | string <= 40 characters ^[\w\W]+$ The unique numeric identifier for a tenant, used in self-service functionality as well as third-party integrations. 3155180e-0c13-43e9-9c38-e9045bcbf176 00Dbn00000IxGnx |
| x-egain-activity-id | string [ 4 .. 9 ] characters ^[0-9]{4,9}$ A unique numeric interaction identifier from eGain. Example: 59237 |
| x-ext-interaction-id | string <= 40 characters ^[\w\W]+$ A unique interaction identifier from other CRM applications. 3155180e-0c13-43e9-9c38-e9045bcbf176 00Dbn00000IxGnx |
Success
No Content
Bad Request
Unauthorized
Forbidden
Not Found
Not acceptable
Internal server error
{- "topic": [
- {
- "name": "Checking and Savings Accounts",
- "articleCountInTopic": 0,
- "createdBy": {
- "id": "1013",
- "firstName": "John",
- "middleName": "",
- "lastName": "Doe"
}, - "createdDate": "2022-08-04T16:25:45Z",
- "departmentId": "1001",
- "modifiedBy": {
- "id": "1013",
- "firstName": "John",
- "middleName": "",
- "lastName": "Doe"
}, - "modifiedDate": "2022-09-04T16:25:45Z",
- "topicHomeArticleId": "",
- "parentTopicId": "-1",
- "childCount": 0,
- "subTopicsIds": [ ],
- "link": {
- "rel": "self",
- "href": "/knowledge/portalmgr/v3/portals/PROD-1000/topics/PROD-1066?%24lang=en-US"
}, - "id": "PROD-1066"
}
], - "paginationInfo": {
- "count": 1,
- "pagenum": 1,
- "pagesize": 10
}
}