Article

Get All Article Types in a Department

GET
/knowledge/portalmgr/v4/articletypes

Overview

The Get All Article Types in a Department API retrieves a list of all Article Types configured for a specific department.

Authorization

accessToken
AuthorizationBearer <token>

JWT Bearer Token authentication for API access

In: header

Query Parameters

departmentID*string

The ID of the department.

Match^999$|^[1-9][0-9]{3,8}$
Length3 <= length <= 8

Header Parameters

Accept-Language*string

The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses).

Value in

  • "en-US"
  • "es-ES"
  • "fr-FR"
  • "it-IT"
  • "de-DE"
  • "nl-NL"
  • "pt-BR"
  • "pt-PT"
  • "da-DK"
  • "ru-RU"
  • "fr-CA"
  • "zh-CN"
  • "ja-JP"
  • "ko-KR"
  • "sv-SE"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/knowledge/portalmgr/v4/articletypes?departmentID=999" \  -H "Accept-Language: en-US"
[  {    "articleTypeId": "100100000000001",    "typeName": "General",    "description": "Knowledge",    "imageURL": "https://hd.egain.com/images/km-for-dummies-24.jpg",    "articleCategoryId": 0,    "useStructuredAuthoring": true,    "isSearchable": true,    "isBrowsable": true  },  {    "articleTypeId": "100100000000002",    "typeName": "General",    "description": "FAQ",    "articleCategoryId": 0,    "useStructuredAuthoring": true,    "isSearchable": true,    "isBrowsable": true  },  {    "articleTypeId": "100100000000003",    "typeName": "Suggestion",    "description": "Suggestions",    "articleCategoryId": 4,    "useStructuredAuthoring": true,    "isSearchable": true,    "isBrowsable": true  }]