Post Knowledge Article per REST API

anwie
Kilo Expert

Hello,

I have tried the following to post a Knowledge Article via REST API:

REST API Explorer
Create a record (POST)
tableName: Knowledge (kb_knowledge)
sys_parm_fields: short_description,text,kb_knowledge_base
Request format: application/xml

Per Builder in Request Body:
Short Description: test rest explorer
Knowledge base:a7e8a78bff0221009b20ffffffffff17
Article body: <p>hello world</p>

gives then:

<request><entry><short_description>test rest explorer</short_description><kb_knowledge_base>a7e8a78bff0221009b20ffffffffff17</kb_knowledge_base><text><p>hello world</p></text></entry></request>

Article is created, but Article Body contains:
{p=hello world}

What am i missing?

Kind regards,
anwie

1 REPLY 1

Hitoshi Ozawa
Giga Sage
Giga Sage

Used REST API Explorer to post a message to table kb_knowledge using application/json.

Short description came out as "<p>hello world</p>" as expected.