GET api/Kb_Item/ListForTags?offset={offset}&page_size={page_size}

Retrieves the knowledge base items associated with all of the specified tags.

Request Information

Parameters

NameDescriptionAdditional information
tagIds
The Ids of the tags to filter by

Define this parameter in the request body.

offset
The number of knowledge base items to skip

Define this parameter in the request URI.

page_size
The number of knowledge base items to retireve (max is 200)

Define this parameter in the request URI.

Request body formats

application/json, text/json

Sample:
[
  1,
  2,
  3
]

application/xml, text/xml

Sample:
<ArrayOflong xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <long>1</long>
  <long>2</long>
  <long>3</long>
</ArrayOflong>

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "body": "sample string 1",
    "date_created": "2024-04-22T22:08:02.2234822-04:00",
    "date_last_modified": "2024-04-22T22:08:02.2234822-04:00",
    "sub_id": 3,
    "title": "sample string 4",
    "views": 5,
    "ProviderId": 6,
    "id": 1
  },
  {
    "body": "sample string 1",
    "date_created": "2024-04-22T22:08:02.2234822-04:00",
    "date_last_modified": "2024-04-22T22:08:02.2234822-04:00",
    "sub_id": 3,
    "title": "sample string 4",
    "views": 5,
    "ProviderId": 6,
    "id": 1
  },
  {
    "body": "sample string 1",
    "date_created": "2024-04-22T22:08:02.2234822-04:00",
    "date_last_modified": "2024-04-22T22:08:02.2234822-04:00",
    "sub_id": 3,
    "title": "sample string 4",
    "views": 5,
    "ProviderId": 6,
    "id": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfkb_item xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api.KnowledgeBase">
  <kb_item>
    <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
    <ProviderId>6</ProviderId>
    <body>sample string 1</body>
    <date_created>2024-04-22T22:08:02.2234822-04:00</date_created>
    <date_last_modified>2024-04-22T22:08:02.2234822-04:00</date_last_modified>
    <sub_id>3</sub_id>
    <title>sample string 4</title>
    <views>5</views>
  </kb_item>
  <kb_item>
    <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
    <ProviderId>6</ProviderId>
    <body>sample string 1</body>
    <date_created>2024-04-22T22:08:02.2234822-04:00</date_created>
    <date_last_modified>2024-04-22T22:08:02.2234822-04:00</date_last_modified>
    <sub_id>3</sub_id>
    <title>sample string 4</title>
    <views>5</views>
  </kb_item>
  <kb_item>
    <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
    <ProviderId>6</ProviderId>
    <body>sample string 1</body>
    <date_created>2024-04-22T22:08:02.2234822-04:00</date_created>
    <date_last_modified>2024-04-22T22:08:02.2234822-04:00</date_last_modified>
    <sub_id>3</sub_id>
    <title>sample string 4</title>
    <views>5</views>
  </kb_item>
</ArrayOfkb_item>