create freemarker templates for all the template type and all the given dealers in the request
create freemarker templates for all the template type and all the given dealers in the request
application/json
Request Body required
dealerUuids string[]
templateTypeNameMap object
service string
saveToDb boolean
handleForManualTemplate boolean
handleForFollowUp boolean
handleForFollowUpFreemarker boolean
Responses
- 200
OK
application/json
Schema
Example (from schema)
Schema
requestUuid string
requestStatus boolean
errors object[]
warnings object[]
{
"requestUuid": "string",
"requestStatus": true,
"errors": [
{
"errorCode": "string",
"errorDescription": "string",
"errorUID": "string"
}
],
"warnings": [
{
"warningCode": "string",
"warningDescription": "string"
}
]
}
POST /template/freemarker/migration
Authorization
name: basicAuthtype: httpscheme: basic
Request
Request
curl / cURL
curl -L -X POST '/communications/template/freemarker/migration' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"templateTypeNameMap": {},
"service": "string",
"saveToDb": true,
"handleForManualTemplate": true,
"handleForFollowUp": true,
"handleForFollowUpFreemarker": true
}'
python / requests
curl -L -X POST '/communications/template/freemarker/migration' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"templateTypeNameMap": {},
"service": "string",
"saveToDb": true,
"handleForManualTemplate": true,
"handleForFollowUp": true,
"handleForFollowUpFreemarker": true
}'
go / native
curl -L -X POST '/communications/template/freemarker/migration' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"templateTypeNameMap": {},
"service": "string",
"saveToDb": true,
"handleForManualTemplate": true,
"handleForFollowUp": true,
"handleForFollowUpFreemarker": true
}'
nodejs / axios
curl -L -X POST '/communications/template/freemarker/migration' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"templateTypeNameMap": {},
"service": "string",
"saveToDb": true,
"handleForManualTemplate": true,
"handleForFollowUp": true,
"handleForFollowUpFreemarker": true
}'
ruby / Net::HTTP
curl -L -X POST '/communications/template/freemarker/migration' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"templateTypeNameMap": {},
"service": "string",
"saveToDb": true,
"handleForManualTemplate": true,
"handleForFollowUp": true,
"handleForFollowUpFreemarker": true
}'
csharp / RestSharp
curl -L -X POST '/communications/template/freemarker/migration' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"templateTypeNameMap": {},
"service": "string",
"saveToDb": true,
"handleForManualTemplate": true,
"handleForFollowUp": true,
"handleForFollowUpFreemarker": true
}'
php / cURL
curl -L -X POST '/communications/template/freemarker/migration' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"templateTypeNameMap": {},
"service": "string",
"saveToDb": true,
"handleForManualTemplate": true,
"handleForFollowUp": true,
"handleForFollowUpFreemarker": true
}'
java / OkHttp
curl -L -X POST '/communications/template/freemarker/migration' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"templateTypeNameMap": {},
"service": "string",
"saveToDb": true,
"handleForManualTemplate": true,
"handleForFollowUp": true,
"handleForFollowUpFreemarker": true
}'
powershell / RestMethod
curl -L -X POST '/communications/template/freemarker/migration' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerUuids": [
"string"
],
"templateTypeNameMap": {},
"service": "string",
"saveToDb": true,
"handleForManualTemplate": true,
"handleForFollowUp": true,
"handleForFollowUpFreemarker": true
}'