Api Home > KnowledgeBase > AddOrUpdateHTMLKnowledgeApi

POST api/teams/KnowledgeBase/AddOrUpdateHTMLKnowledgeApi (Deprecated) Add or updates an HTML Knowledge article via the API

Request Information

URI Parameters

None.

Body Parameters

JSON representation of the article in this format (see API Examples document for more info): { "formJson" : { "current" : { projection object with changes }, "original" : { original projection object } } }

FormJson
NameDescriptionTypeAdditional information
formJson

Object

None.

Request Formats

application/json, text/json

Sample:
{
  "formJson": {}
}

application/xml, text/xml

Sample:
<FormJson xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CiresonWebConsole.Controllers.api.Models">
  <formJson />
</FormJson>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Article ID is returned for new articles, otherwise boolean for success, 1=true, 0=false

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>