POST api/KnowledgeBase/SearchForArticles
Gets a list of Articles where the searched text is found.
Request Information
URI Parameters
None.
Body Parameters
SearchForArticlesPostName | Description | Type | Additional information |
---|---|---|---|
Text |
Search text |
string |
None. |
CategoryId |
(Optional) The category where to search in. |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Text": "Search string", "CategoryId": null }
application/xml, text/xml
Sample:
<SearchForArticlesPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Posts"> <CategoryId i:nil="true" /> <Text>Search string</Text> </SearchForArticlesPost>
Response Information
Resource Description
The method returns max 100 articles.
SearchForArticlesResultName | Description | Type | Additional information |
---|---|---|---|
Articles |
Articles |
Collection of SearchForArticleResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "Articles": [ { "Id": 1, "ArticleHeaderId": 1, "Title": "Title", "Categories": [ { "Id": 1, "Name": "Helps", "Total": 2 } ], "PlainText": "Title", "LastUpdateDateUtc": "2025-06-03T02:00:24.400841Z", "CratedDateUtc": "2025-06-03T02:00:24.400841Z" } ] }
application/xml, text/xml
Sample:
<SearchForArticlesResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Results"> <Articles> <SearchForArticleResult> <ArticleHeaderId>1</ArticleHeaderId> <Categories> <GetKnowledgeBaseCategoryResult> <Id>1</Id> <Name>Helps</Name> <Total>2</Total> </GetKnowledgeBaseCategoryResult> </Categories> <CratedDateUtc>2025-06-03T02:00:24.400841Z</CratedDateUtc> <Id>1</Id> <LastUpdateDateUtc>2025-06-03T02:00:24.400841Z</LastUpdateDateUtc> <PlainText>Title</PlainText> <Title>Title</Title> </SearchForArticleResult> </Articles> </SearchForArticlesResult>