Use the Import API to create content in AcceleratorKMS from existing JSON content.
URL
https://AcceleratorKMS_URL/api/Document/Import
Where:
AcceleratorKMS_URL is replaced with your AcceleratorKMS instance.
HTTP Verb
Make an HTTP Post request using the following header and parameters.
Header
Key |
Value |
Description |
---|---|---|
Authorization |
bearer <token> |
Actual token value acquired from the authentication step |
Content-Type |
application/json |
Designates the POST’s content response as JSON format |
Designates the POST’s content response as JSON format
Parameters
Import API accepts the following parameters:
Parameter |
Description |
---|---|
[in] document |
A Mandatory DocumentModel parameter. Imported documents require JSON string format and the request body must adhere to ApiModel.ContentModel. |
[in] updateExisting |
An optional query string Boolean parameter that can accept either "true" or "false" [default]:
|
[in] debug |
An optional query string Boolean parameter that can accept either "true" or "false" [default]:
|
[out] return |
Import.ImportResult |
For more information about "DocumentModel" and "ImportResult", see AcceleratorKMS Import Models documentation.