Skip to navigation

Import a prebuilt

Imports a prebuilt into Itential Platform. If Trigger Service fails to import the triggers of the automations after they’re written, the error response with status 500 carries a triggerImport object with code, automationId, message, metadata, reason, written, items, imported, and automationsWritten. Nothing is rolled back, so re-import the prebuilt with overwrite after you fix the cause.

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Request

request body
prebuiltobjectOptional
optionsobjectOptional

Response

The output of the prebuilt import process.
statusenumOptional
The status of the API request.
Allowed values:
messagestringOptional
Message containing either confirmation of the operation or the reason for the failure of the operation.
dataobjectOptional
triggerNoteslist of objectsOptional

What happened to the triggers of the imported Automations that the caller should know about: changes Trigger Service made while importing them, triggers that were cleared, and Automations whose asset sync failed. Empty when there is nothing to report.

Errors

500
Internal Server Error