Post Knowledge Article per REST API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2019 04:14 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2020 06:01 AM
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.
