Skip to main content

Update Automated Smart Template - This is a non incremental API, send all changes when updating, else anything which is not sent will be updated to null, empty or false.


ApiScope: manage.smarttemplate.write
API Scope Level: DealerScope
Path Parameters
    dealerUUID string required
    smartTemplateUuid string required
Request Body required
    typeDesc string
    typeName string
    defaultTemplate string
    templateType string

    Possible values: [TEXT, EMAIL]

    isSmartTemplate boolean
    resourceUuid string
    inSelfAdmin boolean
    mandatoryTCPAFooter boolean
    isFreemarkerTemplate boolean
Responses

OK


Schema
    errors object[]
  • Array [
  • errorCode int32
    errorTitle string
    errorMessage string
  • ]
  • warnings object[]
  • Array [
  • warningCode int32
    warningTitle string
    warningMessage string
  • ]
  • apiRequestId string
    uuid string
PUT /v2/smartTemplates/:smartTemplateUuiddealers/:dealerUUID

Authorization

name: basicAuthtype: httpscheme: basic

Request

Base URL
/manage
Username
Password
dealerUUID — path required
smartTemplateUuid — path required
Body required
{
"typeDesc": "string",
"typeName": "string",
"defaultTemplate": "string",
"templateType": "TEXT",
"isSmartTemplate": true,
"resourceUuid": "string",
"inSelfAdmin": true,
"mandatoryTCPAFooter": true,
"isFreemarkerTemplate": true
}
Accept
curl / cURL
curl -L -X GET '/manage' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'