POST
/
settings
/
_import
Post import template settings from existing application
curl --request POST \
  --url https://{FUSION_HOST.com}/api/templating/settings/_import \
  --header 'Content-Type: application/json' \
  --data '{
  "app": "your-app-name",
  "entityDirty": true,
  "hierarchyFields": [
    {
      "field": "product_description",
      "fieldName": "product_description",
      "separator": ";"
    }
  ],
  "id": "<string>"
}'
{
  "app": "your-app-name",
  "hierarchyFields": [
    {
      "field": "product_description",
      "separator": ";"
    }
  ],
  "id": "your-app-name:version"
}

Query Parameters

context
string

The context parameter retrieves templates for the specified application. The parameter format is app:your-app-name. Only the first application listed in the context is displayed even if a comma-delimited list is entered in the parameter.

Example:

"app:your-app-name"

Body

application/json

Internal use only. Import templates from an existing Fusion application. Use this only for imports and upgrades.

app
string

The Fusion application name.

Example:

"your-app-name"

entityDirty
boolean

Specifies the status of the entities requested. If false, the template is published. If true, this is the staging version of this template and it contains changes that have not yet been published.

hierarchyFields
object[]
id
string

The version of the application that is sending the results. Because the application configuration can be changed, the version used for the query is helpful information if troubleshooting or investigation is necessary. The format is: "your-app-name:version".

Response

OK

app
string

The Fusion application name.

Example:

"your-app-name"

hierarchyFields
object[]
id
string

The version of the application that is sending the results. Because the application configuration can be changed, the version used for the query is helpful information if troubleshooting or investigation is necessary. The format is: "your-app-name:version".

Example:

"your-app-name:version"