POST api/Kb_Item/Post/{id}

Updates an existing knowledge base item.

Request Information

Parameters

NameDescriptionAdditional information
id
The Id of the knowledge base item

Define this parameter in the request URI.

model
The knowledge base item info

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "body": "sample string 1",
  "title": "sample string 2",
  "id": 1
}

application/xml, text/xml

Sample:
<kb_item_edit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api.KnowledgeBase">
  <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
  <body>sample string 1</body>
  <title>sample string 2</title>
</kb_item_edit>

Response Information

Response body formats

application/json, text/json

Sample:
{
  "errors": [],
  "is_valid": true
}

application/xml, text/xml

Sample:
<result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">
  <errors />
  <is_valid>true</is_valid>
</result>