GET api/KnowledgeBase/GetArticles/{id}?pageIndex={pageIndex}&pageSize={pageSize}&sortColumn={sortColumn}&sortType={sortType}
Gets all articles for category.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
category id |
integer |
Required |
pageIndex | integer |
None. |
|
pageSize | integer |
None. |
|
sortColumn | ArticlesSortingEnum |
Default value is DateLastUpdateThenDateCreate |
|
sortType | TypeSortingEnum |
Default value is Descending |
Body Parameters
None.
Response Information
Resource Description
GetKnowledgeBaseArticlesResultName | Description | Type | Additional information |
---|---|---|---|
Articles | GetKnowledgeBaseArticleResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "Articles": { "PageIndex": 1, "PageSize": 10, "TotalItems": 1, "TotalPages": 1, "Items": [ { "Id": 1, "Name": "Help with api", "DateLastUpdateUTC": "2024-04-27T02:02:18.032589Z" } ] } }
application/xml, text/xml
Sample:
<GetKnowledgeBaseArticlesResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Results"> <Articles> <Items> <GetKnowledgeBaseArticleResult> <DateLastUpdateUTC>2024-04-27T02:02:18.032589Z</DateLastUpdateUTC> <Id>1</Id> <Name>Help with api</Name> </GetKnowledgeBaseArticleResult> </Items> <PageIndex>1</PageIndex> <PageSize>10</PageSize> <TotalItems>1</TotalItems> <TotalPages>1</TotalPages> </Articles> </GetKnowledgeBaseArticlesResult>