Data - Save Knowledge Article

Saves the knowledge article of the specified entity

POST http://<Servername>/OperationsManager/data/knowledgeArticle

Request Body

Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"

Name Type Description
elementId

string

Specify the Element ID

elementType

string

Specify the Element Type

knowledgeArticleHTML

string

Specify the content of the knowledge article.

mpDescription

string

Specify the management Pack Description

mpId

string

Specify the management Pack ID

mpName

string

Specify the management Pack Name

mpVersion

string

Specify the management Pack Version

Responses

Name Type Description
200 OK

boolean

OK. Successfully saved knowledge article.

Media Types: "application/json", "text/json", "application/xml", "text/xml"

Examples

SaveCompanyKnowledgeArticle

Sample Request

POST http://<Servername>/OperationsManager/data/knowledgeArticle

{
  "elementId": "1AB35A7E-D5EE-969E-16BB-55D4A625BCAB",
  "elementType": "Event",
  "mpId": "F2426EF8-8B9C-433B-47D0-BE9A8B4F13A5",
  "mpName": "MomSdkTest_v3.MP",
  "mpVersion": "6.0.0.0",
  "mpDescription": "test",
  "knowledgeArticleHTML": "<HtmlContent>MomSdkTest_v3 : Knowledge Article for MomSdkTest_v3.StandardDataSet.Event</HtmlContent>"
}

Sample Response

[
  "true"
]

Definitions

UpdateKnowledgeArticleRequest

Name Type Description
elementId

string

Specify the Element ID

elementType

string

Specify the Element Type

knowledgeArticleHTML

string

Specify the content of the knowledge article.

mpDescription

string

Specify the management Pack Description

mpId

string

Specify the management Pack ID

mpName

string

Specify the management Pack Name

mpVersion

string

Specify the management Pack Version