Skip Navigation
Expand
Knowledge Advanced REST API content record creation example
Answer ID 8937   |   Last Review Date 10/30/2019

Is there an example on how to create new content records using the Knowledge Advanced REST API?

Environment:

REST API for Oracle Service Cloud Knowledge Advanced
February 2016 and later

Resolution:

This sample application demonstrates how to use the Knowledge Advanced APIs for content creation scenarios with file attachments.

Authenticate and Authorize - POST /auth/integration/authorize and /auth/authorize

Create content from import - POST /content/import 

The construction of the payload used by the sample application will require the use of these APIs

Find all > View objects - GET /views 

Find all > ContentType objects - GET /contentTypes 

The zip file includes a README file that contains the instructions for building and running the sample program.

File Attachment